Skip to Content
avatar image
Former Member

Very Urgent

Can I write any command in program lines to call next page? I have to print 2 labels per page if item quantity is odd then remaining one label should get printed on next page. How to do this?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Oct 24, 2007 at 04:30 AM

    Use command in your smartform, tick the check box goto next page in command attribute.. if required place your condition... read number of labels in your program lines.

    Regards,

    Sairam

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thnaks friend,

      Ya I have done the same thing. But when I am putting condition its not displaying next page. IF I remove condition its displaying first page and after pressing page down the next page. I don't want like this. I want is w_lfimg field eq 1 it should directly display next page an dnot the first. IF W_lfimg is not eq 1 then first page. likewise can u help me?

  • avatar image
    Former Member
    Oct 24, 2007 at 04:13 AM

    Hi,

    Use the function module CONTROL_FORM function module..

    call function ‘CONTROL_FORM’

    EXPORTING COMMAND = ‘NEW-PAGE’.

    Thanks

    Naren

    Add comment
    10|10000 characters needed characters exceeded