Skip to Content

SCRIPT: second page is not print but need spool number

Hi Friends,

I'm creating a script. It has only one page. if the line item is exceeds in main window then it automatically print the next page.

now my requirement isgiven below

I need to print the first page and the second page should not print. But i need seperate spool request for 2nd page. whenever the user wants second page at that time he use the 2nd page spool number to take the print.

is there any solution or alternative method?

Thanks in Advance.


Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 27, 2011 at 08:17 AM

    Hmmm if i knew your exact requirement i would be able to propose something better i guess, since this seems a little weird to be honest.

    E.G. having a own output type for your page 2.

    Anyway, returning to what you asked. You opened your form using FM OPEN_FORM. and when you are ready you use CLOSE_FORM to close it again.

    You could make use of END_FORM followed by START_FORM when page 2 is to be printed.

    This will give you page 1 and page in seperate spools.

    you could as well close your form and open it again with ITCPO-TDNEWID = 'X' inmstead of using end_form and start_form.

    But still i highly doubt that complete scenario.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Florian,

      i've copied RFFOUS_C and f110_prenum_check as Z programs. my user wants to print th first page in letter pad and second page in ordinary sheet, so he wants print the first page only. the second page does not print but he wants spool request for second page, when ever he wants to print the second page then he use the spool request.

      Thanks For you reply,