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 all table entries problem

Former Member
0 Likes
746

HI,

i use the commend delete from Zemp_table in order to delete all entries for the table

and in the code inspector i get this warning :

Large table Zemp_table: No WHERE condition

How can I do that without the warning since i need to delete all table entries .

Regards

Joy

1 ACCEPTED SOLUTION
Read only

rainer_hbenthal
Active Contributor
0 Likes
703

Its just a warning....

5 REPLIES 5
Read only

rainer_hbenthal
Active Contributor
0 Likes
704

Its just a warning....

Read only

0 Likes
703

HI ,

i see that this is only a warning but there is no way to overcome it ?

Regards

Joy

Edited by: Joy Stpr on Oct 21, 2009 12:06 PM

Read only

0 Likes
703

If you must, you can suppress the warning with an appropriate "#EC comment, or add a WHERE-condition that covers all records (e.g. "keyfield" is not initial).

Thomas

Read only

Former Member
0 Likes
703

HI,

you can select the entire data from the ztable into an internal table

then delete ztable from table itab.

Regards,

Venkatesh

Read only

Former Member
0 Likes
703

just try delete Zemp_table , instead of delete from Zemp_table in order to delete all entries for the table .