Deleting entries in Int.table where all the fields are empty
I am displaying the report output in ALV.
if the customer contains all the numerical values as Zero those
records should be deleted from the internal table. Please suggest how can i do that.
Output internal table contains the following structure.
TYPES: BEGIN OF T_OUTPUT,
KUNNR LIKE BSID-KUNNR,
NAME1 LIKE KNA1-NAME1,
OPNBAL TYPE P DECIMALS 2, "Opening Bal
SALE LIKE KNC1-UM02S, "Sales
RECEIPT LIKE KNC1-UM02S, "Sales Receipt
RETRN LIKE KNC1-UM02S, "Sales Retn
CLETRAGODN LIKE KNC1-UM02S, "clearing from transporter godn
CLETRAGODN type p decimals 2, "clearing from transporter godn
CLOBAL TYPE P DECIMALS 2, "Sales Clobal
V_VARIANCE LIKE KNC1-UM02S, "Sales-Receipt
END OF T_OUTPUT.
data : IT_OUTPUT TYPE STANDARD TABLE OF T_OUTPUT.
delete itab where field1 = 0 and field2 = 0 etc.