Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10519

Re: How to read the Notes/Text at runtime

$
0
0

Hello Sal.

 

In any BAdI you can get bol entity which will give you current (not saved) state.

Try to do something like this:

 

data: lr_core   type ref to cl_crm_bol_core,      lr_entity type ref to cl_crm_bol_entity.

lr_core = cl_crm_bol_core=>get_instance( ).
lr_core->start_up( 'BT' ).

try.

    lr_entity ?= lr_core->get_root_entity( iv_object_name = 'BTOrder'                                      iv_object_guid = iv_guid ).    lr_entity = lr_entity->get_related_entity( 'BTOrderHeader' ).

* Here you can do whatever you want with method such as get_related_entity, set_property, get_property etc.

    lr_core->modify( ).  catch cx_root.
endtry.

 


Viewing all articles
Browse latest Browse all 10519

Trending Articles



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