cancel
Showing results for 
Search instead for 
Did you mean: 

how to skip SAPscript's first page when printing

Former Member
0 Kudos

Hi Friends,

I have customized the SAPscript for Purchase orders (ZMEDRUCK). In that first page has fax cover sheet. Whenever they want to fax its working fine. Whenever they want to Print it is printing the fax cover also. I need to put some condition like if output medium is '1' Don't display the first page. It should go to second page immediately. I don't know how to do that. Please help me on this.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

In the output_options structure you pass to the script 'open form' set the tdpageslct = '2-'

Printing will start from the second page onwards.

Regards,

Satish

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

There is a command called NEW-PAGE pagename

Depend upon the condition use this command .

Reward if useful.

Regards,

Nageswar

Edited by: nageswar vattikuti on Jan 22, 2008 3:23 PM

Former Member
0 Kudos

Hi,

Not sure ....

try like this ...

if medium = '1'.

sy-formpage = 2

endif.

reward points if it is Useful.

Thanks,

Manjunath MS