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

Is there any Replacements/ Code for the Reject Statement.....!

Former Member
0 Likes
1,179

Hi All,

When I do syntax Check its's showing "REJECT" is obsolete statment

Generally The statement REJECT is not allowed in ABAP Objects.

Error message is shown in ABAP Objects if the following syntax is used:

REJECT dbtab.

Thanks in advance

Venkatesh

Hi All,

When I do syntax Check its's showing "REJECT" is obsolete statment

Generally The statement REJECT is not allowed in ABAP Objects.

Error message is shown in ABAP Objects if the following syntax is used:

REJECT dbtab.

Thanks in advance

Venkatesh

7 REPLIES 7
Read only

Former Member
0 Likes
1,066

Hi Mukkalla,

Use CHECK keyword instead of using REJECT.

Refer the following thread:

Regards,

Nitin.

Read only

Former Member
0 Likes
1,066

Did you press F1 on reject ?? Just do that, you will get some information on that.

Read only

Former Member
0 Likes
1,066

Hi,

As far as i know

CHECK <CONDITION> is the replacement for Reject ..coz other keywords like EXIT..are obselete in ABAP objects..

Regards

Vasavi Kotha

Read only

Former Member
0 Likes
1,066

HI,

REJECT is used when LDB's are used if not you can go with EXIT if inside the itearative statement or CHECK to got END-OF_SELECTION event.

Read only

Former Member
0 Likes
1,066

hi>

only use REJECT word.

dnt give reject dbtab etc.

REJECT will let u come out of the flow of instrcution which u are executing in a particular block.

Read only

Former Member
0 Likes
1,066

hi,

you can use check statement instead of reject.

thanks

Read only

Former Member
0 Likes
1,066

Thanks for all