Quantcast
Channel: SCN: Message List - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 7775

Problem in Passing Parameter in Transaction Launcher

$
0
0


Hi,

 

I am facing an issue while passing the BP number to VA01 transaction. I am getting "object does not exist" message in r3 system once i click on the transaction launcher link.

 

I have done the below changes while configuring the Transaction Launcher.

 

BOR Object Type: BUS1006
Method Name : DISPLAY
Parameter : Object key
Value : currentCustomer/BP_NUMBER

 

Also i have enhanced the mehod IF_CRM_IC_ACTION_HANDLER~PREPARE_DATA_FLOW

Code is as below.

 

data: __gdc    type ref to if_crm_ui_data_context,

       __source type        string,

       __line   type        string,

       __path   type        crmt_ic_ac_identify_path.

 

 

__gdc ?=

cl_crm_ui_data_context_srv=>get_instance( gv_view_controller ).

********** Begin of parameter declaration ***********

 

data ICWCPROCESSEDOBJECT

type ty_ICWCPROCESSEDOBJECT .

data NEWINTERNALMODE

type ty_NEWINTERNALMODE .

data ICWEBCLIENTBORKEYPARAMETER

type ty_ICWEBCLIENTBORKEYPARAMETER .

ICWEBCLIENTBORKEYPARAMETER

=

'currentCustomer/BP_NUMBER'.

**rk**

data lr_entity type ref to if_bol_bo_property_access.

DATA LV_PARTNER  TYPE STRING.

DATA LV_PARTNER1 TYPE STRING.

DATA LV_PARTNER2 TYPE STRING.

*

lr_entity = __gdc->get_entity( name = if_iccmp_global_data_cont_con=>gdc_currentcustomer ).

*

CALL METHOD LR_ENTITY->GET_PROPERTY_AS_VALUE

   EXPORTING

     IV_ATTR_NAME = 'BP_NUMBER'

   IMPORTING

     EV_RESULT    = LV_PARTNER.

 

**rk**

 

me->set_container_object(

   iv_name        = 'Customer'

   iv_object_key  = LV_PARTNER        "ICWEBCLIENTBORKEYPARAMETER

   iv_object_type = gv_bortype ).

 

 

* Data flow is complete - set to false if data is missing

gv_data_flow_complete = abap_true.

 

 

endmethod.

 

Please suggest me if i have done something wrong while configuring the TL / Enhancing the method. Pls help me.

 

Thanks

Vamsi


Viewing all articles
Browse latest Browse all 7775

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>