What is reject statement? please reply me breifly?

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


Please Help Members By Posting Answers For Below Questions

What are the different software packets available in the market? : sap abap hr

582


What is the use of info groups? : sap abap hr

567


What are conversion routines? : abap data dictionary

597


wat is the default file name of BAPI trace?

1825


Explain how do you use structures in the abap programs?

553






What is the difference between table and template?

586


How do you Export a session ?

1603


Explain what are standard layouts sets in the sap script?

951


Fallback class

1751


Explain the systems fields used for interactive lists and lists?

540


what comes in Timkein written test I hope some body can tell me at this id plz tell it before 9 pm 19 march

1669


WHAT ARE THE INPUT PARAMETERS TO BE PASSED FOR THE BAPIS 'BAPI_CUSTMATINFO_GETDETAILM' AND 'BAPI_CUSTMATINFO_GETLIST'

1780


Did you create primary index?

551


How do you differentiate tax for different countries? : sap abap hr

699


Different types of luws. What are they?

628