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

Delete internal table by Standard Option value

Former Member
0 Likes
469

Dear all,

How can we delete the internal table value by refer the standard Option value, in standard option we have " SIGN OPTION LOW HIGH" value, so can i use this value to delete unrelated value from internal table ? the idea is like this :

SELECT-OPTIONS: xbukrs FOR ekko-bukrs.

delete from [internal table] where bukes in xbukrs(standard option).

Can we do this way ?

Thanks...

Moderator message - Rather than ask here, please try this yourself - post locked

Edited by: Rob Burbank on May 24, 2010 11:57 AM

Dear all,

How can we delete the internal table value by refer the standard Option value, in standard option we have " SIGN OPTION LOW HIGH" value, so can i use this value to delete unrelated value from internal table ? the idea is like this :

SELECT-OPTIONS: xbukrs FOR ekko-bukrs.

delete from [internal table] where bukes in xbukrs(standard option).

Can we do this way ?

Thanks...

Moderator message - Rather than ask here, please try this yourself - post locked

Edited by: Rob Burbank on May 24, 2010 11:57 AM

2 REPLIES 2
Read only

Former Member
0 Likes
429

Yes. You can.

Read only

0 Likes
429

You can do like this :-

SELECT-OPTIONS: xbukrs FOR ekko-bukrs.

This will not worl

delete internal table where bukes in xbukrs-low or

delete internal table where bukes in xbukrs-high.

This will work..

delete internal table where bukes in xbukrs

delete internal table where bukes not in xbukrs

and if u are deleting from internal table user Delete <ITAN> istead of delete from <ITAB>

Edited by: Ankesh Jindal on May 24, 2010 1:05 PM