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 a row from itab

Former Member
0 Likes
546

hi,

my itab has 2 fields - spras and maktx.

itab is loaded with data.

now i need to delete a row which has spras as EN.

after that my itab should have the remaining values other than the deleted value...

can some one help with the code

help wil be appreciated

regards

mano

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
513

Hi,

Try like this


delete itab where spras = 'EN'.

Regards,

Himanshu Verma

hi,

my itab has 2 fields - spras and maktx.

itab is loaded with data.

now i need to delete a row which has spras as EN.

after that my itab should have the remaining values other than the deleted value...

can some one help with the code

help wil be appreciated

regards

mano

4 REPLIES 4
Read only

Former Member
0 Likes
514

Hi,

Try like this


delete itab where spras = 'EN'.

Regards,

Himanshu Verma

Read only

0 Likes
513

hi

i have used work area.. now how to code that..

Read only

0 Likes
513

Hi Manoj,

Even if you have used work area....

You have to code

DELETE ITAB WHERE SPRAS = 'EN'.

This statement is called a mass delete statement.

Raghav

Read only

Former Member
0 Likes
513

hi,

try like this.

Delete Itab with key spras = 'EN'.

regards

Sandeep Reddy