cancel
Showing results for 
Search instead for 
Did you mean: 

sapscript - print out seperate labels for multiple delivery items

Former Member
0 Kudos

Hello,

we do have an output type that prints barcode labels for deliveries (VL02n).

Now if there are more than one delivery item on the delivery, it will only print out a label for the first item.

How can I trigger that all items will be printed out on a seperate label each?

thanks

Anne

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

First call Open_form

Loop at it_items.

CALL start_form

CALL write_form

pass all item data or PO data to script

CALL end_form

endloop.

CALL Close_form.

Regards

Krishna

Former Member
0 Kudos

Hi Krishna,

thanks for your answer.

What exactly is it_items?

Thanks

Anne

Former Member
0 Kudos

Hi,

it_items is an internal table contains all the item data

Regards

Krishna

Former Member
0 Kudos

Thanks again!!

One more thing, how do I pass all item data or PO data to script??

Thanks so much

Anne

Former Member
0 Kudos

Hi,

Just open the script which prints the lables and check for the variable name used for label printing

Check the script for variables and pass the value to that avriables and those to be declred in your print/driver program.

when you call write_from in the loop there you give a window name what ever the value in the variable it will pass to script

Regards

Krishna

Former Member
0 Kudos

Thanks, it worked perferctly!!

Anne

Answers (0)