on 07-31-2014 1:39 PM
Hello.
The question about , how we can filling context area from email .
In ICCMP_DOC_LINK component I need to fill context area with customer detail.
I have a customer BP entity of parent interaction record
In DO_PREPARE_OUTPUT method of imlementation class
I use BP_CONFIRM of CL_CRMCMP_B_CUCOBUPA_IMPL class ,
but context area is empty.
Thank you.
Igor Spector
Hello .
The problem is solved.
The BP_CONFIRM processing must be not in ICCMP_DOC_LINK component.
The right place is ICCMP_INBOX/InboxItems component ,method EH_ONITEMPREVIEW of implementation class.
In standard configuration context area filling in class CL_BSPWD_BASICS_WA_HOST_VS , method SET_WORKAREA_CONTENT, before DO_PREPARE_OUTPUT of ICCMP_DOC_LINK implementation.
Thank to all.
Igor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi lgor Spector,
Could You please elaborate your requirement once.
actually in that component do_prepare_output there is a lo_source variable.
lo_source is holding current work item. based on that get the linked_coll i.e you will get linked data in that.
ICCMP_DOC_LINK/LinkHeader impl class there is method. get_refdoc_entries( ). check that method that might be help full to you.
Thanks & Regards,
Srinivask
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Igor,
Check the polling customizing because you are using right approach to confirm the BP.
SPRO->CRM->Interaction Center Webclient->Basic Functions->Define Context Area Profile.
As per above screenshots Context Area profile should have polling profile.
In Polling profile as shown in last screenshot, Polling should be active and frequency should have some value. Default is 1000.
Then as per below screenshot, you should have context area profile assigned to your IC business role.
Regards,
Naresh
Hi Igor,
Can you elaborate more on your need ?
How do you process the email ? From the inbox ?
At what exact moment do you wish to update the context area ?
Best regards,
Sylvain AGUETTAZ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sylvain,
We process the email from Agent Inbox (without interaction record approve).
I need update context area before email body show.
It's a reason for using DO_PREPARE_OUTPUT method.
The emails attached to interaction records (ERMS)
I looking for an option to confirm interaction BP of attached mail from this mail and show current interaction customer into context area .
Thank you
Igor
Hi lgor Spector,
if you want to conform the interaction bp in this case there is class CL_CRM_IC_BOL_TX_HANDLER and in that go to this so many methods CONFIRM_BP, AFTER_EDIT_BT. check the code..
you may get to know.
* Link one order to current interaction record and current context
cl_crm_ic_bt_bol_helper=>link_object( ir_entity ).
this might be help full to you..
Thanks & Regards,
Srinivask
Just to be sure I understood correctly.
Emails are integrated via ERMS into agent inbox, and an interaction record (IR) is also created at the time of integration of the email.
Then an agent selects the email in the inbox to process it right ?
I guess he does not use the "Contact" button, for it would create another IR. How do you process the email from the inbox ? You just use the hyperlink to display the email details ?
That would help to understand the requirement.
Best regards,
Sylvain AGUETTAZ
Ok, now I understand.
Context are is filled in standard via method FILL_CALLER_DISPLAY of class CL_CRMCMP_B_CUCOBUPA_IMPL (which then call some class depending on customizing).
In this method, you will see that the two lines of the context area are filled through custom controller 'GLOBAL.CRMCMP_IC_FRAME/CuCoHiddenView', by calling the following method set_caller_display_bpname.
You could try, in your DO_PREPARE_OUTPUT, to do the following :
DATA : lv_cuco TYPE REF TO cl_crmcmp_i_cucohiddenvie_impl.
lv_cuco ?= get_custom_controller( if_iccmp_global_controller_con=>cucohiddenview ).
CALL METHOD lv_cuco->set_caller_display_bpname
EXPORTING
iv_caller_display_company = 'Information to be displayed on the second line'
iv_caller_display_name = 'Information to be displayed on the first line'
See if it works.
Best regards,
Sylvain AGUETTAZ
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.