Skip to Content

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

Urgent!!! at new - filling table

Can u tell why inside of " AT NEW / ENDAT" all the contents of internal table are initial?

i need them.

example,

LOOP AT TLZK.

AT NEW BUDAT.

T_RESULT-ERFMG = summa.

MODIFY T_RESULT TRANSPORTING ERFMG WHERE BUDAT = ZBUDAT.

T_RESULT-NPP = NPP.

  • T_RESULT-ERFMG = T_RESULT-ERFMG + TLZK-ERFMG.

T_RESULT-RSNUM = TLZK-RSNUM.

T_RESULT-RSPOS = TLZK-RSPOS.

T_RESULT-LGORT = TLZK-LGORT.

T_RESULT-UMLGO = TLZK-UMLGO.

T_RESULT-BUDAT = TLZK-BUDAT.

APPEND T_RESULT.

CLEAR SUMMA.

NPP = NPP + 1.

ENDAT.

zbudat = WA_TLZK-budat.

summa = summa + WA_TLZK-ERFMG.

ENDLOOP.

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question