cancel
Showing results for 
Search instead for 
Did you mean: 

to get the value of name1 to other component

Former Member
0 Kudos

Hi,

I need read the value of name1 (bp_head, bp_head/accountdetails, header, name1) to eh_onedit.

please guide to achieve this from iv_relation.

Regards,

Kishore.

Accepted Solutions (1)

Accepted Solutions (1)

former_member192716
Contributor
0 Kudos

Hi Kishore,

You can read the data from component controller in AccountViewSet ON_EDIT method,


data: lr_comp  type ref to CL_BP_HEAD_BSPWDCOMPONENT_IMPL,
         lr_ent      type ref to cl_crm_bol_entity,
         lv_name1 type string.

    lr_comp ?= me->COMP_CONTROLLER.
    lr_ent ?= lr_comp->typed_context->partner->collection_wrapper->get_current( ).

    lv_name = lr_ent ->get_property_as_string( iv_attr_name = 'NAME1'  ).

Regards,

Arun

Answers (0)