Skip to Content

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

print prog RVADOR01

i'm using this form to print more then 1 copy with

new data <b>komk-exp_busobj komk-inco2,</b>

if i print 3 layouts i get the first and the third two times why?

form PRINT_ADDITIONAL_COPIES.

loop at itab_h. "i_matnrs where check = 'X'.

z_count = z_count + 1.

komk-exp_busobj = itab_h-sernr.

komk-inco2 = itab_h-maktx.

perform restart_form using gvf_fonam nast-spras.

if z_count > 1.

perform print_copies.

endif.

endloop.

endform. " PRINT_ADDITIONAL_COPIES

form print_copies.

perform item_print.

endform. " PRINT_COPIES

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