cancel
Showing results for 
Search instead for 
Did you mean: 

Clear flag of Work Protect Mode

former_member94854
Participant
0 Kudos

Hi there,

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?

Kind regards,

Albert

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

former_member94854
Participant
0 Kudos

Hi John,

I've already solved this problem by switching the work protect mode to NONE. But regarding to you correct answer I will rate you...

Kind regards,

Albert

Answers (0)