What is a difference between - RETURN, EXIT, CHECK, STOP &
REJECT - To leave the processing blocks
Answer Posted / herry
TOP
If you use the STOP statement within an event block, the
system stops processing the block immediately. The ABAP
runtime environment triggers the next event.
Before and during selection screen processing, the next
event in the prescribed sequence is always called. From the
AT SELECTION-SCREEN event onwards, the system always jumps
from a STOP statement directly to the END-OF-SELECTION
statement. Once the corresponding event block has been
processed, the system displays the list.
EXIT
If you use the EXIT statement within an event block but not
in a loop, the system stops processing the block immediately.
Before and during selection screen processing, the next
event in the prescribed sequence is always called. From the
START-OF-SELECTION event onwards, the system starts the list
processor directly when the EXIT statement occurs, and
displays the list.
If the EXIT statement occurs in a loop using DO, WHILE, or
LOOP, it is the loop that terminates, not the processing block.
CHECK : if the statement fails then skips the current loop
pass. But it doesnot exit the loop.
CONTINUE : skips the current loop pass. But it doesnot exit
the loop.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Difference between sy-tabix and sy-index?
What is the function module to popup contents in the internal table?
What is the sap abap?
In which table the material master data is stored?
What is the structure of bdcmsgcoll? : abap bdc
What is time constraint ? : abap hr
What is the purpose of creating symbolic a/c, what is transaction code for same? Can we assign one symbolic a/c to multiple wage types? : sap abap hr
What are the different types of abap/4 programs?
From Excel to ABAP - Is batch mode possible ?
Is it possible to run host command from SAP environment? How do you run?
Explain the session method? : abap bdc
Create any functions? How to go about it?
How can we set the tablespaces and extent sizes ?
Which database object is used for storing the system variables? : abap data dictionary
What are the different types of parameters? : abap modularization