The question was: "how to create fields directly into the database level without using AET and EEWB???". Answering with "use AET or EEWB" does not solve the issue.
If someone wants to add fields directly this is how it can be done.
regards
The question was: "how to create fields directly into the database level without using AET and EEWB???". Answering with "use AET or EEWB" does not solve the issue.
If someone wants to add fields directly this is how it can be done.
regards
"hi guys my neighbour likes drum n bass and he plays it all the time, I can't sleep because the noise, how can I turn down the volume?"
1- "you can beat him up until he shuts up"
2- "You can politely ask him and if he doesn't understand you can call the police"
3- "Kill him! Kill him!"
As you can see with all the 3 options the neighbour probably will stop to make noise, but one option is far better than the other ones right? Assuming we all are civilised persons whom don't wish to go to jail
Anyway if you considered the answer was plainly how can I enhance a dictionary structure IMHO you should have pressed the "alert moderator" button for the following reasons:
- Topic is in the wrong
- Topic is widely discussed
Hello Community Members,
We have a requirement to drag document from desktop and drop
it into the attachment assignment block in the service request.
First of all is it possible with CRM Web UI EHP3?
If Yes then any views on how to achieve this?
Thanks,
Poonam
Honestly I don't know why you are pushing that answer? I have worked on this solution since 2001 and have built extensions manually and hated it. I really don't know why with the AET available that anyone would consider this, unless they are on a release without AET.
CI_EEW_CUSTOMER_H isn't included in the BI structures(more manual work) and also is not included in Webclient Query Search/Result objects. AET takes care of all of that with button click. It's not just that simple to say put a field in CI_EEW_CUSTOMER_H and life is good.
Finally sometimes you need to tell people that the approach is wrong. If you give people just the answer on how to solve a problem, but the fundamental approach is wrong, you are setting them up for failure. I share my knowledge sometimes because I don't want other people to repeat my painful mistakes . I have to apologize for not being as active here as I was five years ago, but my approach hasn't changed in challenging requirements that do not make logical sense. That being said I'm making sure in the next revision of my book that I put a better "rant/explanation" on when to use the various enhancement tools in CRM and when not to use them.
Take care,
Stephen
Hi
I DO agree that AET and EEWB is a better way to enhance the standard tables/structures.
But many times this forum is a last hope for a developer on a tight schedule and giving one a precise answer might save a lot of work.
regards
Except your answer does not include all other places that are required to add a new field to the business transaction. The developer will then end up putting the field in manually and then the business will ask him/her to add the field to the search, BI extractor, middleware and other places and the developer will face much more work and fail to meet the requirement. You just then caused this developer more work because you answered the question, but didn't find out their real problem and offer a real solution. Besides if someone is on a tight schedule and is on EHP1 and above AET is the answer. On the otherhand the question itself has only been asked several times over many years, so probably is a basic question. A strict moderator probably should have locked the thread and moved on .
I had a SAP CRM 7.0 system with manually added fields with no AET and we had to do extra work when needing to extend the search or BI extractor or middleware for custom fields since we used the manual route for those fields. That being said below CRM 7.0 EHP1, manual is an option for certain cases, but should be limited when EEWB doesn't work.
Take care,
Stephen
Did you mix up planned and actual dates? You could also check the dates in the BOL-browser.
Best regards,
Thomas Wagner
Thanks for replying...
I want to explain more ..
1. i want to search account on based of email id and when search done i am getting 13 entities for contact for that account .
Account email id : dilling3@bellsouth.net
and there are 2 contact as shown below having same email id ..
So i want to display only two of them contact having same email id as account having.
2. ir_bo_col contain account entity and in it relation have contact with its 13 entity , so i want to remove 11 entity from contact relation and want to show only 2 in contact view ....
I hope it clear to know more...
I guess applying filter on ir_bo_col not work becuase it will add filter to Account entity not it relation (Contact) .
Do have any idea ?
Regards,
Rishi
Hello,
This is totally doable.
You can create your own collection and set it to the given context node.
Something like that :
*__ Creation of new collection CREATE OBJECT lr_newcol TYPE cl_crm_bol_bo_col. TRY. lr_it = iv_col->get_iterator( ). IF lr_it IS BOUND. lr_entity ?= lr_it->get_first( ). WHILE lr_entity IS BOUND. *__ Here do some custom test for filtering IF "criteria is OK to add entity to collection". *__ Add entity to collection lr_newcol->add( lr_entity ). ENDIF. lr_entity ?= lr_it->get_next( ). ENDWHILE. ENDIF. CATCH cx_crm_genil_model_error. CATCH cx_sy_ref_is_initial. ENDTRY. *__ Now set collection to context node me->typed_context->customers->set_collection( lr_newcol ).
Hope this helps,
Best regards,
Sylvain AGUETTAZ
Thank you very much!
Thank you very much!
I have solved it my self . Actually when Contact View collection is getting filled then i added filter of email id .Now is working fine ..
Thanks a lot for your solution ...
Regards,
Rishi
Hi Experts,
I have a functionality select all , it is not activating when clicking on select all.
I write the code in do_prepare_output.
me->typed_context->btqract->set_selection_mode( EXPORTING iv_selection_mode = cl_bsp_wd_context_node_tv=>selmode_multiedit ).
lr_sel_col ?= me->typed_context->btqract->collection_wrapper->get_marked( ).
IF lr_sel_col ISBOUND.
IF lr_sel_col->size( ) < 1.
lv_enable = abap_false.
ELSE.
lv_enable = abap_true.
ENDIF.
ENDIF.
Please help me get the solution.
Thanks & Regards,
Prasaditha.
Hi ,
Enhance the method set_selection_mode at context node level.
CALL METHOD super->set_selection_mode
EXPORTING
iv_selection_mode = selmode_multi.
No need any code in do prepare output.
Thanks,
Anil
Hi Priya,
Sorry for the delay, I am not sure about the notes it effecting somewhere by this 'BTQuery1O' query m not able to find out the issue and its also effecting standard functionality of notes .So i request to Please revert all the changes and go with the standard flow and make visible upto 5 records.
you can try with Sylvain AGUETTAZ solution.
Regards,
Sumeet
Hello Gurus,
I am calling an IS-U transaction 'FPR1' ( to create an Installment Plan for a BP ) from CRM via Transaction Launcher (TL).
The Transaction Type used is of Type 'C' (Front Office Transaction).
The Transaction launcher is getting called absolutely fine, no issues with it. But after the User enters details.....traverses to next screen &
then clicks on SAVE a balnk screen appears & remains there. Ideally when the same task is performed in IS-U a Pop up comes.
The same SAVE button is working fine in IS-U but not happening when performing the task in CRM via the TL.
Interestingly, On SAVING (in CRM) the system is creating the Installment plan (i.e when the Blank screen comes ... I go to IS-U/ECC & check for the Installment plan. I see it as created although there is a blank screen in CRM ).
Please note:
A) Here the issue is not on Launching the Transaction via the TL but after it, i.e After traversing few screens & then clicking on Save.
B) Our CRM system version: Version CRM 7 Release 702 Patch level 6.
The Notes Notes 1620007 and 1521043 is not applicable as we are in higher system version.
C) I checked few other Links but they relate to problems on triggering the TL & hence not of much help.
Thanks & Reagrds
Rohit
Hi,
Enhance method do_prepare_output and change the selection mode
method DO_INIT_CONTEXT.
* set initial selection mode for all tables
typed_context->context_node_name->set_selection_mode(
IV_SELECTION_MODE = CL_BSP_WD_CONTEXT_NODE_TV=>SELMODE_MULTI
).
endmethod.
else change it .htm page tag configTable attribute "selectionMode" = 'MULTISELECT'
Regards,
Deepika.
Hi Priya,
Thats great , good to know you resolved by yourself.
Regards,
Sumeet
Thanks Srinivas...
HI,
You can create a button for Create and on click event navigate to New View for Contract ( create new view for this) using Navigation link under Run time Repository. In new view create button 'save' and 'save and back'
1.On 'save' event save the relation
2. On 'save and back' event save the relation and navigate bac to Account page.
Creating relation you need to use create_related_entity if your contract entity is bol entity.
Regards,
Deepika.