2008 Mar 19 6:01 AM
Hi All,
I have a small issue like in the ECC 6.0 i am using "STOP" command.It is syntactically correct.But when i did the extended program check for this program.It is giving me error like "STOP statement is obsolete in OO context".
Which statement i should use Rather than STOP which will execute the same function like "STOP".
This is very urgent.Please.I will reward you points.
Thanks,
Swapna.
Hi
STOP ia absolete in ECC 6.0
make use of flag and check the flag and exit
regards
Shiva
2008 Mar 19 6:06 AM
Hi,
Try to use CHECK with condition.
If statement is true it will go ahead else it will stop that block.
2008 Mar 19 6:09 AM
Hi
STOP ia absolete in ECC 6.0
make use of flag and check the flag and exit
regards
Shiva
2008 Mar 19 6:11 AM
Hi swapna,
i tried stop statement its working in ECC 6.0......
use CHECK FLD IS INITIAL.
OR USE
SY-SUBRC EQ 0.
Regards,
V.balaji
2008 Mar 19 6:12 AM
Swapna,
Even though its obsolete, you can use it still if its an executable report.There is no command relacing STOP command.
If u are using STOP in selection-selction screen (not in loop and not in FORM) then EXIT has same effect.
Otherwise go for flag.
Thanks Arjun
2008 Mar 19 6:12 AM
Hi,
Yes STOP command is obsolete.
So, use flags and check it at the start of every sub-routine/event where u want to stop the execution, based on the condition.
Reward if helpful.
Regards,
Ramya
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |