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 command

Former Member
0 Likes
1,013

loop at lv_row into lwa_row.

endloop.

i want to say.

if lv_row-roytype is not initial.

delete.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
988

Hi,

you can try this

delete lv_row where not roytype is initial.

Regards

vijay

8 REPLIES 8
Read only

naimesh_patel
Active Contributor
0 Likes
988

Hello,

Delete lv_row where not roytype is initial.

regards,

Naimesh

Read only

suresh_datti
Active Contributor
0 Likes
988

use DELETE lv_row where not rowtype is initial.

~Suresh

Read only

Former Member
0 Likes
988

Don't check for if lv_row-roytype is not initial

check for lwa_row-roytype is initial.

And use DELETE TABLE lv_row FROM lwa_row.

Regards,

Prakash.

Read only

Former Member
0 Likes
988

Hi rani,

Delete lv_row where roytype is not initial.

regards,

keerthi.

Read only

Former Member
0 Likes
988

hi Rani,

Do this way..

loop at lv_row into lwa_row.
read table <table name > with key <>
if not lv_row-rowtype is  initial
  delete lv_row.
endif.
endloop.

else

delete lv_row where not roytype is initial.

Regards,

Santosh

Message was edited by: Santosh Kumar P

Read only

Former Member
0 Likes
989

Hi,

you can try this

delete lv_row where not roytype is initial.

Regards

vijay

Read only

Former Member
0 Likes
988
loop at lv_row into lwa_row.
delete lv_row where roytype is not initial.
endloop.

Message was edited by: Chandrasekhar Jagarlamudi

Read only

Former Member
0 Likes
988

Hi rani,

did u chk my post?

regards,

keerthi.