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 types of bdc s?
Can we define our own match code id's for sap matchcodes? : abap data dictionary
What is the difference between pnp and pnpce? : abap hr
What are the check tables and value tables?
How do you differentiate tax for different countries? : sap abap hr
What are the disadvantages of logical databases?
What is the tcode for sapscript forms?
Explain what is sequence of event triggered in report?
What are the different functions used in sap script? What are the parameters used in each function?
How do you send files to the legacy systems from SAP and vice versa? How does one know that the legacy files have come on to the SAP server you are working on?
how to read the standard field value in your custom program.
Hi to all abap gurus iam new to abap and my querry is as follows . and i feel so happy if u give exact anwers ? Querry1: i have one page( named "page1" )in my script with three windows(logo,adress,main windows) my requirement is to display some dynamic data in the script that is list of orders of the customer whn u give the customer number in selction-screen .then we can go for main window only to dispaly dynamic data ? or is there any other option ? then what should we give as apage number in the next page attribute in the header information. suppose if i dont give "page1" in the next page attribute as anext page what will happen ? i mean that dynamic data will be displayed or not ? Querry2: one one more querry incase if we have two pages in my layout .in page1 (3 windows as said above ) and page2 ( only logo and address window ) and no main window in page2. now if we give "page2" as next page in the next page attribute of page1 then that dynamic data will be displayed or not ?
What are the data types of the external layer?
What is a predefined type in abap?
Does the external program run in the same sap luw as the caller, or in a separate one?