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

Re: Need Help in the tool bar button of the overview page

$
0
0

Thanks Deepika and Hasan for your reply.

 

Below shown is the code for my Cancel button.

 

method EH_ONCANCEL.

 

     data: lr_entity type ref to cl_crm_bol_entity,

              lr_tx type ref to if_bol_transaction_context.

 

     get_current( ).

          check lr_entity is bound.

          lr_tx ?= lr_entity->get_transaction( ).

          lr_tx->revert ( iv_suppress_buffer_sync = abap_true ).

          view_group_context->reset( ).

 

endmethod.

 

After clicking the CANCEL button, it should show the previous values in the screen. But it's showing the modified one.

 

Thanks n regards,

Simon


Viewing all articles
Browse latest Browse all 9080

Trending Articles



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