Hi All There,
I am new ABAP, I my follwoing code intrnal table STAB contains the value which I am selecting and lso it is giving some 000 value for each fields which is not there in the database
I don't want that 00 value
Data : BEGIN OF STAB OCCURS 0,
MENGE LIKE EBAN-MENGE,
BSMNG LIKE EBAN-BSMNG,
NVALUE LIKE EBAN-BSMNG,
END OF STAB.
SELECT MENGE BSMNG FROM EBAN INTO CORRESPONDING FIELDS OF TABLE STAB WHERE BANFN = WT_EKPO-BANFN.
LOOP AT STAB.
STAB-NVALUE = STAB-MENGE - STAB-BSMNG.
comment append stab statement which is causing that extra row to be added.