ANY one can tell me what is basic diff b/w keywords
STOP,CONTINUE,CHECK,EXIT, AT-EXITCOMMAND?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / rajesh
One main thing to understand about continue and check
commands is :
Inside a loop, CHECK exactly works as CONTINUE but with a
logical/conditional expression. Below is the syntax
In a loop
- stmt -
- stmt -
CHECK <log-exp> .
- stmt -
- stmt -
endloop.
If the logical expression is TRUE, it immediately terminates
that particular loop pass and resumes with the next loop
pass. If it is FALSE, nothing happens, it just ignores and
continues with the next stmt.
Is This Answer Correct ? | 2 Yes | 0 No |
how to Create reports in SD module such as sales order report, which covers all organization levels, delivery status, invoice status, shipping details and partner function details. The data will be extracted from VBAP, VBPA, VBAK, VBUP, VBFA, KNA1, LIPS, VBRP, MARA, VBEP and KONV tables. plz mention the detail coding Tahnks, Rahul
Difference between check table and value table.
3 Answers vCentric Technologies,
Concepts of OO ABAP and why we are using it?
What are the advantages of logical databases?
HOW DO YOU CONFIGURE ALE BETWEEN TWO DIFFERENT VERSIONS OF SAP ?
By using which FM we can upload data into Infotype
difference between application, presentation servers in sap and servers or layers both are same or not
PLEASE TELL ME SD AND MM FLOW/CYCLE WITH TRANSACTION CODE AND CORRESPONDING TABLE TO BE UPDATED?
Hi To all ABAP Gurus Is there any other way to create data elements apart from se11 tocde as we dont use the se11 in real time generally this question is asked in enteg infotech
hi, what is basic diff b/w RFCs and BAPI? What is basic diff b/w BADI and BAPLI?please dont give the general diff?please any one can tell me?
In tm, if a group of employees gets 10 days of annual leave, what will be the time evaluation status? : sap abap hr
what is DATA ,TYPES,PaRAMETERS called in ABAP terms?