Skip to Content
avatar image
Former Member

sticker printing through sap script

I m priting specific stickers through sap script.

An A4 size page contains 8 stickers, 4 in one line.

No of stickers to be printed are generated dinamically.

I have put 8 windows on the page. Now i want that if lets say the no of stickers to be printed are 5, then the program should not print the rest 3 stickers.

So give some solution of hiding or unhiding the rest of the windows.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jan 16, 2007 at 10:23 AM

    call them in the loop..

    give the window name in layout as window1, window2,...window8.

    tkhen.. suppose u wnat 5 windows..

    do 5 times.

    v_num = sy-index.

    condence v_num.

    concatenate 'window' v_num to v_window.

    call the window.

    enddo.

    Please Close this thread.. when u r problem is solved

    Reward if Helpful

    Regards

    Naresh Reddy K

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 16, 2007 at 11:20 AM

    With SAPScript you can have more than one main window. Copy your main window to a possition for each label and make sure that the data always only print the size of one window.

    Regards,

    Marius

    Add comment
    10|10000 characters needed characters exceeded