To reset (clear) buffer for BOL entity – use below code.
For eg: This is used in Search on quotes, which was retrieving old data of quote just after save.
DATA lr_core TYPE REF TO cl_crm_bol_core.
lr_core = cl_crm_bol_core=>get_instance( ).
lr_core->reset( ).
lr_core = cl_crm_bol_core=>get_instance( ).
lr_core->reset( ).
No comments:
Post a Comment