Skip to Content
0
Former Member
Dec 04, 2006 at 01:53 PM

looping the data

25 Views

loop at i_open_posting into wa_open_posting.

move: wa_open_posting-mblnr to wa_print_mat-mblnr,

wa_open_posting-mbpos to wa_print_mat-mbpos,

wa_open_posting-bwart to wa_print_mat-bwart,

wa_open_posting-menge to wa_print_mat-menge,

wa_open_posting-meins to wa_print_mat-meins.

endloop.

*looping at i_cpudt to append the data into i_print_mat.

loop at i_cpudt into wa_cpudt.

move: wa_cpudt-cpudt to wa_print_mat-cpudt.

endloop.

*looping at i_t156t to append the data into i_print_mat.

loop at i_t156t into wa_t156t.

move: wa_t156t-btext to wa_print_mat-btext.

endloop.

*Appending i_open_posting, i_cpudt, i_t156t into one i_print_mat.

append initial line to i_print_mat.

the above code is not working properly to append all the 3 loops into one intenral table can u plz help me out.