ANY one can tell me what is basic diff b/w keywords
STOP,CONTINUE,CHECK,EXIT, AT-EXITCOMMAND?

Answer Posted / ashwini

stop : The statement STOP is only to be used in executable
programs and in the following event blocks:

AT SELECTION-SCREEN (without additions)

START-OF-SELECTION

GET

You leave these event blocks via STOP, and the runtime
environment triggers the event END-OF-SELECTION.

CONTINUE : The CONTINUE statement can only be used in
loops. If it is used, the current loop pass is ended
immediately and the program flow is continued with the next
loop pass.

CHECK : If the statement CHECK is executed in a loop and
log_exp is incorrect, the statement CHECK immediately
terminates the current loop pass and the program continues
with the next loop pass. For log_exp, you can specify any
logical expression.

Note
Outside a loop, the statement CHECK exits the current
processing block

EXIT ; If the EXIT statement is listed within a loop, it
leaves the loop by ending the current loop process. Program
execution is continued after the closing statement in the
loop.

Note
Outside of a loop, the EXIT statement leaves the current
processing block.

AT EXIT-COMMAND : it is used in module pool programming to
leave the screen without entering madatory fields.it is the
1st module in pai.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it possible to run host command from SAP environment? How do you run?

619


Where do you create indexes in abap?

625


What are clustered tables?

616


Value table VS check Table.

964


What is check table?

579






What are the different methods of passing data? : abap modularization

581


How many main windows are allowed in sapscript?

580


What are the disadvantages of logical databases?

667


What is difference between inner join and outer join?

630


Explain what are the problems in processing batch input sessions?

539


What is a variable in the sap abap?

557


What are local objects? : abap data dictionary

607


What is at exit-command:?

573


What are the different abap editors? What is the used of different editors in abap?

570


Can anyone done BDC/LSMW/BAPI for F-02 and F-04.If yes let me know the processs

1870