Skip to Content
0
Former Member
Sep 01, 2007 at 06:49 AM

Insert records into ztable

18 Views

hi all,

I want to inserts records from itab to ztable...

i create a ztable and a report (both having same fields), they r working properly but now i want that records of report (coming after execution), transport into ztable...

For this, my coding is:

LOOP AT ITAB.

WA-VKBUR = ITAB-VKBUR .

WA-KUNNR = ITAB-KUNNR .

WA-NAME1 = ITAB-NAME1 .

WA-AUBEL = ITAB-AUBEL .

WA-ERDAT1 = ITAB-ERDAT1 .

WA-NETWR1 = ITAB-NETWR1 .

WA-VBELN = ITAB-VBELN .

WA-ERDAT = ITAB-ERDAT .

WA-NETWR = ITAB-NETWR .

WA-ZTERM = ITAB-ZTERM .

INSERT INTO ZCHEQUE VALUES WA.

CLEAR WA.

ENDLOOP.

after it, records r coming in ztable, but not enough.. means in report records r approx. 90+ and in ztable records transaport only 10....

howz its possible....

thanks & regards,

<b>Anil Kumar</b>