on 06-08-2009 1:53 PM
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
Hi,
Try the BADI 'CUSTOMER_ADD_DATA'. In method CHECK_ALL_DATA perhaps you can write warning messages before saving. If the end-user goes on, mantain the error messages in the enhancement EXIT_SAPMF02D_001.
Regards,
Eduardo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.