Skip to Content
author's profile photo Former Member
Former Member

how to skip SAPscript's first page when printing

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 22, 2008 at 02:28 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 22, 2008 at 02:22 PM

    Hi,

    Not sure ....

    try like this ...

    if medium = '1'.

    sy-formpage = 2

    endif.

    reward points if it is Useful.

    Thanks,

    Manjunath MS

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 22, 2008 at 02:22 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.