cancel
Showing results for 
Search instead for 
Did you mean: 

sapscript printout - serial number on barcode

Former Member
0 Kudos

Hello all,

we are printing barcode labels out of SAP. We trigger the output out of the delivery.

We do have a barcode on that label with a running serial number.

So my question is, is there a way that the user can trigger the printout and determine the print quantity, for example 10 printouts. SAP then prints out 10 labels, but the serial number should increase on each printout??

I know, when setting the DIALOG = 'X' on the open_form FM, a dialog pops up, where the user can enter the number of copies. But the problem is, that all printouts are identical.

Any suggestion?

Thanks

Anne

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Anne,

Please check the RVADIN01 standard print program for invoices, form processing. The idea is to program something similar (DO nast-anzahl TIMES.) . Within that do, you can of course increment the serial number.

Best regards,

George

Former Member
0 Kudos

Hello Geore,

how/where will the user then be able to determine the number of print outs with serial number change?

Thanks

Anne

Former Member
0 Kudos

I think you have to change your program that way that it gaves a popup where you give your qty tp print.

Then a loop with counter to given qty. which is increasing the startserialno.

So you need a little abap skills.

Hope this helps.

Gr., Frank

Former Member
0 Kudos

Hello,

thanks for your answer.

Where exactly do I have to insert that additional code?

I am not sure where in the code the printout is triggered. I guess somewhere in the open_form FM??

Thanks

Anne