cancel
Showing results for 
Search instead for 
Did you mean: 

Very Urgent

Former Member
0 Kudos

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?

Accepted Solutions (1)

Accepted Solutions (1)

former_member196280
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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?

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Use the function module CONTROL_FORM function module..

call function ‘CONTROL_FORM’

EXPORTING COMMAND = ‘NEW-PAGE’.

Thanks

Naren