Answer Posted / 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 |
Post New Answer View All Answers
What is a predefined type in abap?
What is the function of a domain? : abap data dictionary
Explain what are the problems in processing batch input sessions?
Badi concepts
What are the uses of secondary indexes?
What is the abap program name to process the batch input session automatically? : abap bdc
How to read files and process BDC's automatically ?
Can you create an internal table dynamically?(at run time)
How do you populate data into a multiple line field?
What are the different methods of passing data? : abap modularization
Why do we use abstract class
What are conversion & interface programs in sap?
What is lock mechanism? How do we create lock objects in abap?
Difference between function group and function module?
What are dml commands in abap?