Skip to Content
0
Former Member
Apr 28, 2014 at 10:15 AM

Data loss popup for cancel button on overview page

262 Views

Hi Experts,

Data loss popup generally appears on UI, when i try to navigate with out saving the changes. This is a standard SAP behaviour.

But, i come across the requirement where this data loss popup should also appear on clicking the 'Cancel' button on overview page on UI.

I understood that, this popup will be triggered by the methods ON_BEFORE_WA_CONTENT_CHANGE & IF_BSP_WD_EVENT_HANDLER~HANDLE_EVENT of the window impl class.

Please suggest how can i make this popup work in case of Cancel button as well.

Thanks....

Attachments

Capture.PNG (15.2 kB)
Capture.PNG (8.2 kB)