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
Explain the advantages of different types of bdc's?
What are the restrictions on subscreens?
SM35 transaction, How to automate BDC ?
Describe the difference between macro and subroutine?
What is the use of program rsbdcsub? : abap bdc
What is the bitwise operator in the sap abap?
What are multiple use BADIS?
What is the table & field to identify the no of items (bottles) stored in one case?
How can you display frames (horizontal and vertical lines) in lists?
What is the syntex used to call a screen as dialog box (pop up)?
What is meant by a schema? : sap abap hr
What is tmg?
Can a transparent table exist in the data dictionary but not in the database physically?
What is evaluation path, where do we do it and why? : sap abap hr
B -Credit Note report Selection Screen Ranges: Creation date Sales Org Sold to Party Selection condition: Document Category – VBTYP should be ‘O’ Table to be used: VBRK, VBRP,VBPA,ADRC List the CR order types or credit billing type by customer number (or selected customer) and displays the: - Billing Document date (FKDAT) - Customer number (KUNRG) - Name of the reseller (on top of the SAP No) (NAME1) - Billing document number,(VBELN) - order reason (AUGRU_AUFT) - Amount (NETWR) - Currency (WAERK) Group Currency wise, billing type wise sum of Net value. When user double click on field ‘Billing Document #’ , display the document in VF03 Do this using OO ABAP.