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

Re: Reading the Business partner data into email screen CRMCMP_CCS_EML

$
0
0

Hi Srinivas,

 

As we don't have direct relationship between the two components..I am not able to read the data using above logic.

 

But I used global context data and read the business partner data it's working as expected.

 

But you understood the requirment correctly.

 

Thanks for your reply on this.

 

data:

lr_gdc                 TYPE REF TO if_crm_ui_data_context,

lr_bp_entity           TYPE REF TO if_bol_bo_property_access,

 

lr_gdc ?= cl_crm_ui_data_context_srv=>get_instance( me ).

 

       lr_bp_entity ?= lr_gdc->get_entity( 'CURRENTCUSTOMER' ).

       IF lr_bp_entity IS BOUND.

         CALL METHOD lr_bp_entity->get_property_as_value

           EXPORTING

             iv_attr_name = 'BP_NUMBER'

           IMPORTING

             ev_result    = lv_partner.

 

Thanks,

Sara.


Viewing all articles
Browse latest Browse all 7775

Trending Articles



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