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
What is retro active accounting
any 1 having notes on SAP-ABAP certification, or even if any 1 could provide the url for getting notes on SAP-ABAP certification, would be appreciated.
What does a lock object involve?
How to handle errors in call transaction bdc method without using bdcmsgcoll internal table? : abap bdc
How to pass data from list to report?
What is partner selection?
What is meant by hot spots? : abap data dictionary
It is not possible to create an abap/4 program, which contains only subroutines. State true or false. : abap modularization
What actually happens in real-time recruitment? : sap abap hr
What is a bsp application? : sap abap hr
What does the ‘suppress dialog’ do?
What is the tcode for sapscript forms?
How to read 5th record from Hash Internal Table?
What is the reserve command?
What is the table buffer? Which type of tables used this buffer?