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
Is it possible to bring select option in module pool screens?
What is the difference between refresh and free statements?
How do you find the information on the current screen? : abap bdc
Explain what is the difference between primary key and unique key?
What is the disadvantage of a call by reference?
SAP Script for Billing in which Billing document number was displayed as header, Bill Type, Bill Category, Bill Item, Cost, Base Unit of Measurement and Material number were categorically displayed for each billing document number. plz mention the detail coding Tahnks, Rahul
What is the structure of bdcmsgcoll? : abap bdc
What are the techniques involved in using sap supplied programs?
How do you find if a logical database exists for your program requirements?
How do you read files from the application server ? : abap bdc
How can I make a differentiation between dependent and independent data? : abap hr
What are the differences between table controls and step loops?
Explain how to Handle the internal tables in ABAP?
What is the transaction code to display the payroll results ? : abap hr
What is the maximum number of structures that can be included in a table or structure