Skip to Content
0
Former Member
Feb 14, 2011 at 09:26 AM

Get BP_NUMBER in BTPARTNER Attributes

165 Views

Hello Experts,

I BTPARTNER Component I have added a Z Field whicj called ZZPOSITION

In this field I have to show the position, what I need is:

How do I in GET_ZZPOSITION, get the BP_NUMBER ??

I have tried this but I got an errors on (r_entity ?= lr_entity->get_parent( ) ) :

Data: lr_entity type ref to cl_crm_bol_entity,

lv_partner type string.

  • Get Buil Roles entity

lr_entity ?= collection_wrapper->get_current( ).

  • Read parent entity Buil Header

lr_entity ?= lr_entity->get_parent( ).

  • Read business partner

lv_partner = lr_entity->get_property_as_string( iv_attr_name = 'BP_NUMBER' ).

Thanks