Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Replacement for REJECT Statement

former_member317731
Participant
0 Likes
772

Hi Experts,

I have used REJECT statement in the code :

REJECT< DBTAB>.

But when i am doing extended chek, it is giving me an obsolete statement error .

Pleae tell me any replacement statement for REJECT statement.

Thanks and Best regards,

Sahil

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
631

extract from SAP help:

The REJECT statement should only be used during the GET event while executable programs are being executed with logical databases. Editing of the current line of the node of the logical database is terminated with REJECT and the next line of the same or of a lower lying node dbtab is read. The old event concept of the ABAP runtime environment and the previous way of processing logical databases is not supported by ABAP Objects.

3 REPLIES 3
Read only

Former Member
0 Likes
632

extract from SAP help:

The REJECT statement should only be used during the GET event while executable programs are being executed with logical databases. Editing of the current line of the node of the logical database is terminated with REJECT and the next line of the same or of a lower lying node dbtab is read. The old event concept of the ABAP runtime environment and the previous way of processing logical databases is not supported by ABAP Objects.

Read only

0 Likes
631

Dear TT,

Thanks for the quick reply.

I know that REJECT statement is not allowed in OO Objects.

SO , do you know any replacemnt statement or syntax for REJECT statement.

regards,

Sahil

Read only

0 Likes
631

Hi Sahil,

May be this link helps you in getting some information:

http://www.sdn.sap.com/irj/scn/advancedsearch?query=reject+statement

Regards,

Swarna Munukoti