‎2008 Feb 08 10:21 AM
Because of using LEAVE PROGRAM statement in LOAD-OF-PROGRAM event the BDC report is going to dump can any one tell me the alternation for LEAVE PROGRAM statement its urgent please?
‎2008 Feb 08 10:23 AM
‎2008 Feb 08 10:30 AM
STOP statement is obselete in ECC 6.0 version any other alternative please reply urgent
‎2008 Feb 08 10:28 AM
‎2008 Feb 08 10:31 AM
‎2008 Aug 28 8:35 AM
You're technically not allowed to do anything that would cause the program to exit in the LOAD-OF-PROGRAM event, STOP is also not allowed.
The best way I know to make sure the program exits completely is to set a flag in the LOAD-OF-PROGRAM event, and then use "RETURN" or something similar to leave the event. The next event to run will be INITIALIZATION, from which you can check the flag and call "LEAVE PROGRAM". With no problems.
(You can also sometimes move everything to the INITIALIZATION event, depending upon your needs.)