Hi Experts,
My requirement is, Create URL link ,Telephone number as parameter for account search and result page...If user clicks the link then automatically Account page will be opened with searc and result page.
For this i have done some steps Upto here correct...i.e with help of RIcha damija in SAP portal i have created these steps...
Step 1 -
Bussines role - ZCC_ICAGENT
I have added code in inbound plug .i.e
method
IP_INBOUNDPLUG.
*CALL METHOD SUPER->IP_INBOUNDPLUG
** EXPORTING
** iv_collection =
* .
DATA: lt_ivr_url_param TYPE tihttpnvp,
ls_ivr_url_param TYPE ihttpnvp,
lr_searchcustomer TYPE REF TO if_bol_bo_property_access,
ls_searchcustomer TYPE crmt_bupa_il_header_search.
CALL METHOD cl_crm_ui_session_manager=>get_initial_form_fields
CHANGING
cv_fields = lt_ivr_url_param.
lr_searchcustomer ?= me->typed_context->searchcustomer->collection_wrapper->get_current( ).
CHECK lr_searchcustomer IS BOUND.
READ TABLE lt_ivr_url_param INTO ls_ivr_url_param WITH KEY name = 'sap-phoneno'.
IF ls_ivr_url_param-value IS NOT INITIAL.
ls_searchcustomer-telephone = ls_ivr_url_param-value.
CALL METHOD lr_searchcustomer->set_properties( EXPORTING is_attributes = ls_searchcustomer ).
eh_onsearch( ).
ENDIF.
endmethod
.
Step 2 -
I have created URL is like as below...
So My link is -
http://rrnewcrm.ril.com:8000/sap(bD1lbiZjPTI0MiZkPW1pbg==)/bc/bsp/sap/crm_ui_start/default.htm
?sap-system-login-basic_auth=X&sap-system-login=onSessionQuery&saprole=ZCC_AGENT& sap-phoneno=
Step 3 -
Now after clicking this link it will be opened screen displayes as below screen shot.
But The exast result is like as below screen shot.This is exact result we required...Account page will be opened with result and telephone number..So this is what i want exact result..please help here....Urgent ..Thanks For great support.
Thanks for your support..
Thanks
Kalpana.
Message was edited by: Andrei Vishnevsky
The "discussion" is locked. Many abuse alerts have been received on this thread.