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

Re: Not able to close Data lose popup through framework back button

$
0
0

Hi,

 

What code you have done in custom OVP ON_BEFORE_WA_CONTENT_CHANGE method.Are you checking changes are done before raising data loss popup?

 

Before raising popup using data_loss_handler->trigger_data_loss_handling( ) check changes are done or not and in IF_BSP_WD_EVENT_HANDLER~HANDLE_EVENT. method on save and cancel case clear the data loss attributes. CLEAR me->data_loss_trigger_view.CLEAR me->data_loss_trigger_event .and set returning parameter rv_success = abap_true.

 

In DO_CLEANUP_CONTEXT put this code

SET HANDLER on_before_wa_content_change ACTIVATION abap_false.

 

 

Regards,

Deepika.


Viewing all articles
Browse latest Browse all 8653

Trending Articles



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