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


Please Help Members By Posting Answers For Below Questions

Why do we use abstract class

1214


What are smart forms?

815


Differentiate database index and match code.

808


What is the meaning of table buffer? This buffer is used by which type oftable?

964


When a program is created and need to be transported to prodn does selection texts always go with it? If not how do you make sure? Can you change the cts entries? How do you do it?

773


What are matchcodes?

725


What are the tcodes for performance tuning?

1115


Did you create help views?

741


Explain get cursor field?

872


Can we reuse a userexit?

1251


What is sequence number

1915


Explain what are the problems in processing batch input sessions? How is batch input process different from processing on line?

780


Explain the uses of the simple maintenance interface? : sap abap hr

790


Hi my dear friends,Please give the answers for the following link http://www.saptechnical.com/InterviewQ/interviewQ.htm

1897


Difference between stand alone CRM and back-end CRM

3983