Answer Posted / ramana
If you use the CHECK <expr> statement within an event block
but not within a loop, and the condition <expr> is not
fulfilled, the system exits the processing block
immediately.
<expr> can be any logical expression or the name of a
selection table. If you specify a selection table and the
contents of the corresponding table work are do not fulfill
the condition in the selection table, it is the same as a
false logical expression.
If you use the CHECK <expr> statement within an event block
but not within a loop, and the condition <expr> is not
fulfilled, the system exits the processing block
immediately.
If the CHECK statement occurs in a loop using DO, WHILE, or
LOOP, it is the loop that terminates, not the processing
block.
A subroutine normally ends at the ENDFORM statement.
However, you can terminate them earlier by using the EXIT
or CHECK statement.
In loop structures like
DO ... ENDDO
WHILE ... ENDWHILE
LOOP ... ENDLOOP
SELECT ... ENDSELECT
CHECK with a negative outcome terminates the current loop
pass and goes back to the beginning of the loop to start
the next pass, if there is one.
In structures like
FORM ... ENDFORM
FUNCTION ... ENDFUNCTION
MODULE ... ENDMODULE
AT
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the basic functions of database utility?
Why do we declare a method of a class final? What can be the purpose? Give a scenario.
When the top-of-page event does get triggered?
Hi every one ! You people are doing a great job here , Im going to attend Tata Technologies interivew on this sunday,Can anyone who has already attended this company interivew or other companies interivews in abap pls share ur experience with me and help me to get into job my id ushareddyabap@gmail.com. Thankyou verymcuh
What is processing class, where we do them and why? : sap abap hr
Why do we need to code a loop statement in both the pbo and pai events for each table in the screen?
What is the difference between collect and append statements?
What are the parameter types for a method?
what are the important fields while preparing sales order,inquiry?
How is the command suppress-dialog useful?
What functions does a data dictionary perform ?
Describe the difference between macro and subroutine?
What are the different abap editors? What is the used of different editors in abap?
How to pass data from list to report?
How do you find out whether a file exits on the presentation server?