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 should be declared explicitly in the corresponding abap/4 statements to access internal tables without header lines & why?
What are the function of the transport system and workbench organiser? : abap data dictionary
What is the difference between synchronous and asynchronous updates?
Polymorphism real time scenario
Which one is better joins or views and why?
What kind of deliverables you have on a day to day basis?
Why is pretty printer user in abap?
Explain the difference between a pool table and a transparent table?
Explain how do you get output from idoc?
What is a function group? : abap modularization
How can an internal table with header line and one without header line bedistinguished when passed to a subroutine?
why to create a custom BAPI if the BAPI already exists? y to find BAPI again? frankly even i dint undstnd tne question properly. if any one come across this q please do anser me.
what is friend class
What is an authorization in sap?
Module Pool Programming: Events and Table Control handling.