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?