cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Script - printing one bill two times in one page

Former Member
0 Kudos

Hi folks,

Can guide me how to print a single bill(i.e same bill) twice in one page using SAP script,

for example like one is customer copy and other is merchant copy.

Appreciate you timely response ASAP.

Thanks,

Imtiaz

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

The easier way is repeat twice the print: the first time you print the sign CUSTOMER COPY and the second one MERCHANT COPY:

DO V_COPY TIMES.
      COPY_NR = SY-INDEX.
      PERFORM GET_DATA.
      CHECK RETCODE = 0.
..........................................
ENDDO.

So insert all codes in a DO/ENDDO loop in order to print the same document for several times.

Max