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
In the abap/4 dictionary tables can be defined independent of the underlying database (t/f). : abap data dictionary
What is SAP Data conversion ?
Can we make use of flow logic control key words in abap/4 and vice-versa?
Explain what are the different functions used in sap script? What are the parameters used in each function?
there are 2 selection screens. material num in screen 200 and plant in screen 300. so how can you write in INITIALISATION event?
Explain what is the step-by-step process to create a table in data dictionary?
What are the internal tables and work area?
What are the user groups?
What is the collect statement?
What is database view ? : sap abap data dictionary
Can we display a list in a pop-up screen other than full-size stacked list?
What is the BAPI_CUSTMATINFO_GETDETAILM used for? what is the input and output of this bapi.
What is a table attribute?
What is a table pool?
What are client dependent objects in abap/sap?