cancel
Showing results for 
Search instead for 
Did you mean: 

sapscript - output multiple line items

Former Member
0 Kudos

Hello,

I am creating a sapscript/ print program (OPEN_FORM, CLOSE_FORM) for the print output of our customer barcode labels for deliveries.

Now if I trigger the print output (output type) of a delivery with 2 line items, SAP prints out 2 barcode labels.

But I need information from both line items (for example both quantities) on one single label and I also need only one label to be printed out per delivery, regardless how many line items it has.

How can I set that up?

Thanks

Anne

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

Each OPEN_FORM/CLOSE_FORM will create another label. You need to have your loop inside the OPEN/CLOSE printing to a text element in the MAIN window. If there are enough lines you'll roll over into another label.

Regards,

Michael

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Please use control break events and call the write_form to print the barcode once you are done with all the items printing per delivery.