‎2008 Nov 11 10:51 AM
Hi,
I've written an enhancement to prevent saving of production order based on some conditions. I want that whenever the conditions are not met , the program should simulate 'back' action i.e. return to previous screen. I've tried leave to screen 0 & leave program. Both of them terminate the program. Can any one please help ?
Bye
‎2008 Nov 11 11:12 AM
Try using the below;
If you want to reset the transaction use;
LEAVE TO TRANSACTION sy-tcode.If you want to come out to SAP Access SCreen use;
LEAVE PROGRAM.Regards
Karthik D
‎2008 Nov 11 11:12 AM
Try using the below;
If you want to reset the transaction use;
LEAVE TO TRANSACTION sy-tcode.If you want to come out to SAP Access SCreen use;
LEAVE PROGRAM.Regards
Karthik D
‎2008 Nov 11 11:15 AM