REJECT is a keyword used in SAP ABAP programming.This tutorial covers its introduction & syntax details.
2. REJECT dbtab.
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
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
Logical database F1S
Hierarchy: SPFLI -> SFLIGHT -> SBOOK
REJECT cancels processing of the event ‘GET SBOOK’ and resumes with the processing of the event ‘GET SFLIGHT’ .
The name of the subroutine containing the “PUT dbtab” statement must begin with PUT_dbtab .