What is reject statement? please reply me breifly?
Answer / malli.gontla
1. REJECT.
2. REJECT dbtab.
Variant 1
REJECT.
Effect
Stops processing the current database table line and resumes
with the next line of the table on the same hierarchy level.
Unlike the CHECK statement, you can also use REJECT within a
subroutine or loop for table selection.
Variant 2
REJECT dbtab.
Effect
Similar to variation 1. In this case, however, dbtab is a
table from the database hierarchy on a level no deeper than
the current database table. Processing continues by reading
the next record of the table dbtab .
Example
Logical database F1S
Hierarchy: SPFLI -> SFLIGHT -> SBOOK
TABLES: SFLIGHT,
SBOOK.
GET SFLIGHT.
...
GET SBOOK.
...
REJECT 'SFLIGHT'.
...
REJECT cancels processing of the event 'GET SBOOK' and
resumes with the processing of the event 'GET SFLIGHT' .
Note
The name of the subroutine containing the "PUT dbtab"
statement must begin with PUT_dbtab .
Is This Answer Correct ? | 1 Yes | 0 No |
What is an authorization in sap?
difference between bapi and lsmw
What will you code in start-of-selection & end-of-selecton & why?
WHAT IS FIELD-SYMBOLS?
What are two methods of modifying sap standard tables? : abap data dictionary
What is difference between dialog program and a report?
What is the significance of delivery class ? : sap abap data dictionary
Suppose Idoc is strucked in the Q then how can I resend it?
what is the function module to read the standard text?
what is event in abap?
What are the ABAP commands that link to a layout set?
at the checking of sy-subrc after call transaction stmt,if it is zero what is the meaning of that of syn and asynch updates explain. a.)update of database table is success. b.)execution of call transaction is success. For syn update which one is correct? For asyn update which one is correct?
1 Answers Bristle Cone, Cap Gemini, HP, Satyam, Wipro,