Clear flag of Work Protect Mode
I'm using work protect mode functionality in my WD ABAP application. The problem I'm facing at the moment is that I would like to clear this flag explicitly before I trigger a navigation. The scenario looks as follows:
1. I change data on my OIF screen.
2. I press a button to navigate to an OCI catalogue and suspend the current WD application. (Navigation is done inplace)
3. Some data has been chosen and the navigation back to the WD application (resume) is done --> Application is set to dirty
4. Now I want to navigate to the OCI catalogue again. Before navigation is done, the dirty flag is set to false explicitly.
Even though the dirty flag is set to false, the work protect mode is doing his job and opens the OCI catalogue in a new window, which is intended be displayed inplace. Now to my question:
Is there a way how I can clear the Work Protect Mode or set it to false explicitly?
Not sure if it will solve your particular problem, but have you tried setting the Work Protect Mode to APPLICATION_ONLY?
More info here: http://help.sap.com/saphelp_nw70/helpdata/EN/45/b76f4169e25858e10000000a1550b0/frameset.htm