What is a difference between - RETURN, EXIT, CHECK, STOP &
REJECT - To leave the processing blocks
Answers were Sorted based on User's Feedback
Answer / ravikumar
STOP: This terminates the block and executes end-of selection.
EXIT: It terminates the loop processing and process the next
statements.
CHECK: It evaluates the subsequent logical expression if it
is true the processing continue with the next statement.
CONTINUE terminates the current loop pass, returns the
processing to the beginning of the loop and starts the next
loop pass,
REJECT: it terminates the current event, even from loops or
subroutines.
Is This Answer Correct ? | 16 Yes | 5 No |
Answer / 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 |
If suppose There are 10 records in flat file then how many times BDC_open_group, BDC_INSERT, BDC_CLOSE_group executed?
What functions does a data dictionary perform? : abap data dictionary
How to Handel Duplicate entries in LSMW.
as a tem leader whats tools u have used in sap
u r running a report .it is taking a long time for execution .what steps will u do to reduce the execution time?
4 Answers Bristle Cone, Cap Gemini, HP, Satyam, Wipro,
Can we create Enhancements of our own, i.e. customer defined?
What is an abap data dictionary? : abap data dictionary
What are pool tables?
What are AUTHORITY OBJECTS ?
what will you do in Recording method?
Can we use Session method & Call transaction both in one BDC if yes please give me example and scenario where we use this ?
In module pool, when table controls are used the command that is written in both PBO and PAI is