I have written code in user-exit for MB31.
EXIT_SAPLIPW1_001 and EXIT_SAPLIPW1_008.
EXIT_SAPLIPW1_001 is getting fired first when user clicks "Create Serial Number automatically" button. If this is code is executed I don't want to execute EXIT_SAPLIPW1_008. So now I want to keep some global flag variable (?) and check the status. If the status is updated then I will not execute the code in EXIT_SAPLIPW1_008. If the status is not updated i.e. user has not clicked "Create Serial Number automatically" button then I want to execute EXIT_SAPLIPW1_008.
How to do it?
Advance thanks.
Regards,
Balaji Viswanath.
Hi Balaji.
From the first screen of the exit EXIT_SAPLIPW1_001 goto global data and choose include ZXQSMTOP which will be created the first time you click. Any data defined in this include will be global data, so define a switch here which will be set in EXIT_SAPLIPW1_001. You can then check in exit EXIT_SAPLIPW1_008 if the switch has been set.
Regards,
John.
Add a comment