Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Internal table

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.

REFRESH STAB.

SELECT MENGE BSMNG FROM EBAN INTO CORRESPONDING FIELDS OF TABLE STAB WHERE BANFN = WT_EKPO-BANFN.

APPEND STAB.

LOOP AT STAB.

STAB-NVALUE = STAB-MENGE - STAB-BSMNG.

ENDLOOP.

Regards

Sagar

Tags:
Former Member
Former Member replied

Hi,

comment append stab statement which is causing that extra row to be added.

Regards,

Vishal

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question