cancel
Showing results for 
Search instead for 
Did you mean: 

web dynpro for abap confirm exit in sap portal

Former Member
0 Kudos


hi:

    Could you please help me in resolving below webdynpro issue.

    when I click another application ,Pop-up confirmation message . When I click on the OK button can entering a new page。

    When you click the No button, do not enter a new page, keeping the original page

    how to do?

   

Accepted Solutions (0)

Answers (1)

Answers (1)

harsha_jalakam
Active Contributor
0 Kudos

Hi Kaiwei,

Work Protect mode has to be turned on, in order to achieve this. However this works if there is any unsaved data and you are trying to navigate to other page.

Work Protect Mode - Web Dynpro for ABAP - SAP Library

Using WorkProtect Mode - Running an Enterprise Portal - SAP Library

Regards,

Harsha

Former Member
0 Kudos

hi: Harsha

     Thank you for your reply!

      My application is web dynpro for abap , Are  there specific examples?

harsha_jalakam
Active Contributor
0 Kudos

The link provided above is the one for WD ABAP.

In case if you want to do it for customized dirty flags, then IF_FPM_WORK_PROTECTION has to be implemented and the method IF_FPM_WORK_PROTECTION~IS_DIRTY needs to be implemented ,wherein parameter ev_dirty is used to set true/false depending on your conditions, to trigger the data loss pop up

Work-Protect Mode - Floorplan Manager for Web Dynpro ABAP - SAP Library