‎2009 Oct 21 10:01 AM
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
‎2009 Oct 21 10:05 AM
‎2009 Oct 21 10:05 AM
‎2009 Oct 21 10:41 AM
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
‎2009 Oct 21 11:38 AM
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
‎2009 Oct 21 10:07 AM
HI,
you can select the entire data from the ztable into an internal table
then delete ztable from table itab.
Regards,
Venkatesh
‎2009 Oct 21 11:14 AM
just try delete Zemp_table , instead of delete from Zemp_table in order to delete all entries for the table .