Skip to Content
0
Former Member
Jun 25, 2009 at 05:24 PM

How to read the value from one context node in other in the same view.

32 Views

Hi,

I am working on enhanced component ICCMP_BP_CP/BuPaContactPersonCreate , i need to read the partner_guid from Customer context node in contactpersonaddress context node.

Could you please guid me how to achieve this? if possible, please explain me with some sample code.

i am trying this code in GET_FAXFAX method of contactpersonaddress-faxfax, but it is throwing me the type cast exception.

data: lr_entity type ref to cl_crm_bol_entity.

data: lv_test type string.

lr_entity ?= collection_wrapper->get_current( ).

lr_entity = lr_entity->get_related_entity( 'BuilContactPersonAddressRel' ).

Thanks in advance.

Regards,

Kamesh Bathla

Edited by: Kamesh Bathla on Jun 25, 2009 7:46 PM