Skip to Content
0
Former Member
Jun 08, 2009 at 12:53 PM

Cancel saving in EXIT_SAPMF02D_001

159 Views

Hi,

I have created a popup message in user exit EXIT_SAPMF02D_001. The user get a question if they really want to save and a choice 'Yes' or 'No'. My problem is that I do not know how I can handle this if the user answers 'No'. I do not want to just set an error message, because then they loose all information entered. I would just like to go back to the screen again.

I saw that if I try to exit without saving in XD01 I get a popup that handles it with setting the OK_CODE variable to 'CANC', but in the user exit, that variable is not available.

Have anyone experienced the same problem?

Best regards

Andreas