2010 Apr 14 7:19 AM
Hi expert ,
I am working for a upgrade project fron 4.7 to ECC. We need to replace the obsolete statement STOP. Which is the best statement to replace STOP(RETURN or EXIT)
Thanks and Regards
Joby Jacob
2010 Apr 14 7:29 AM
HI STOP leaves the current event block and trigger END-OF-SELECTION.
SAP recommend using EXIT only within loops (see EXIT - loops ). Instead, use RETURN to leave processing blocks.
So RETURN seems to be better option.
Edited by: Anurag_n on Apr 14, 2010 8:31 AM
HI STOP leaves the current event block and trigger END-OF-SELECTION.
SAP recommend using EXIT only within loops (see EXIT - loops ). Instead, use RETURN to leave processing blocks.
So RETURN seems to be better option.
Edited by: Anurag_n on Apr 14, 2010 8:31 AM
2010 Apr 14 7:29 AM
HI STOP leaves the current event block and trigger END-OF-SELECTION.
SAP recommend using EXIT only within loops (see EXIT - loops ). Instead, use RETURN to leave processing blocks.
So RETURN seems to be better option.
Edited by: Anurag_n on Apr 14, 2010 8:31 AM
2010 Apr 14 7:29 AM
hi,
you can use leave to list-processing if you are displaying any error message in end-of-selection so that you can return back to the selection screen
rgds/
shivraj
Edited by: ShivrajSinha on Apr 14, 2010 8:33 AM
2010 Apr 14 7:30 AM
Hi,
It is recommended to use RETURN instead of EXIT.
Exit is considered best incase of loop processing, But to terminate the event block, Pls use RETURN.
Regrads,
Lokesh.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |