Printing Multiple P.Os in Smartforms

Hi,
I was just wondering if we can print Multiple P.O.s using Smartforms?
There is requirment wherein our guys want to printout mulitple P.O.s.I am having botth internal table which holds header Info's and Item Info's.
regards
vara

Hi,
Thank you All for your replies.
It is a customer statement I am trying to print out.
I said P.O's for easy understanding.
Well here are the details.
T_HEADER (header table)
KUNNR
100000
110000
120000
T_ITEM (Item table)
KUNNR   VBELN     1-30 days amount  31-60 days amount ...
100000   99999    4000.00           70.40
110000   88888    7.00           30.00
120000   88878    300.33           32.00
LAYOUT is
**Header data**
Customer Address             ->Account Nr
                             ->Date:
->Date ->Invoice Nr  ->1-30 days      ->31-60 days...
**Item data***
          TOTAL:

Similar Messages

  • Print multiple copies of a smartforms in a one spool request

    Dear all,
    I've a network printer "HP Laserjet 4250" configured with an output accessory "Sheet Stapler/Stacker".
    With these accessory all pages of the same spool are stapled together.
    For transaction VL02N we would print n copies of the same delivery using smartforms in this printer, so all copies will be stapled.
    The problem is that in SPAD Copy Counter options if we set the choice "Pass copy counter to the host spool system" only one copy is printed;
    it seems that copy counter parameters has no effects.
    If we set the choice "Pass copies as separate Output Requests", the spool system will send a separate print request for each copy of a document to be printed; but with this option multiple copies are not stapled since they belong to different spool.
    SAP System is ERP 6.0 EHP5 based on windows /SQL 2008 and the last kernel patch.
    Any idea to solve the problem ?
    Thanks
      Maurizio Manera

    Hello,
    By default the number of copies is transferred to the OS host spooler
    and handled by it.
    The flag to pass copies is set in the Output Device definition via
    transaction SPAD as follows:
      SPAD -> Output Device -> <Output Device name> -> Output Attributes ->
              'Pass Copy Counter to Host Spool System'
    Can you please change this flag to:
       'Pass Copies as Separate Output Request(in SAP System)'
    regards,
    John Feely

  • Problem in printing multiple main window in smartforms

    Hi Experts,
    I have requirement form client to print PO which consists of 4 page.
    First page is cosists of header and some text.
    In second page different header and line item.
    Thirs page different header and line item.
    4th page different header and line item.
    I have printed tex in main window of first page and called command to trigger
    second page main window, but i am getting dump.
    How to print the line item in the multiple page of smartforms.
    Regards,
    Udupi

    Hello ,
    To print the text below are following steps which you can follow for your requirement :
    1. Create the Four pages having the Main Window, but take care that Logic should be in First Page Main window only , other pages main window will be blank.
    2. Create the Secondary Window in second, third & fourth page  which will be same size as the main window having the text which need to be print in respective pages.
    3. Logic Part - in the main window of first page fill all the data which you need to print in 1st to 4th page in different internal table. Now for example you need to print text in first page then in Main window create table having the data of 1st page.
              To print data in Second page create one more table having data of secondpage and put the Command there (follow the same for next pages,)
    I hope this will  help you
    Thanks
    Romit Raina

  • Error in smartform when printing multiple pages

    Hi,
    I m using a smartform which have two pages in it,
    i m able to save and activate it without any error message and when i run the function module generated to chk my smartform
    it runs fine and diplays two pages i m using.
    but as i m attaching this form with my driver program it is giving an error message while running . the error message is " No other output defined in main window."
    Please help me out to resolve the issue.

    Re: error in smartform when printing multiple pages
    dharani tadikonda
    Thanks for this answer. It is absolutely correct.

  • Printing multiple PR with different line items in smartform

    Hello all,
    I have an requirement to print multiple PR with different line items on different pages.
    So,suppose two PR are there,PR1 and PR2 with n no of line items,then i should get each PR on different page with its line items.
    Note: One loop processing is already there on line items.
    Best Regards,
    Anurodh

    Hi,
    Fetch all the PRs and its corresponding items into 2 different table. Then Loop at the internal whihc contains the PRs and  call the 2nd internal table for its items and call the FM for smartforms and pass them.
    LOOP AT it_PR.
      fetch all the items into it_PR_item
      Call Function Fnam
      Passign the it_PR_item
    ENDLOOP.
    Regards,
    Aditya

  • How to print multiple pages in single spool in smartforms

    Hi all,
      I have a issue on to print multiple pages in single spool,i can able to print multiple pages in multiple spool .I am doing Check Print smartforms in that i need to print Multiple pages in single spool.Currently i am using the below code please help to solve this issue.
    IF gv_tabix = 1.
    lwa_outp_option-tdnewid = 'X'.
    ELSE.
    lwa_outp_option-tdnewid = ' '.
    ENDIF.
    Thanks,
    Deesanth

    Hi
    TABLES: spfli.
    DATA:
      t_spfli type STANDARD TABLE OF spfli.
    DATA:
      fs_spfli TYPE spfli.
    DATA:
      w_form TYPE tdsfname,
      w_flag TYPE i,
      f_nam TYPE rs38l_fnam,
      w_input TYPE ssfcompin,
      w_control TYPE ssfctrlop.
    SELECTION-SCREEN BEGIN OF BLOCK blk WITH FRAME.
    SELECT-OPTIONS s_carrid FOR spfli-carrid.
    SELECTION-SCREEN END OF BLOCK blk .
    SELECTION-SCREEN BEGIN OF BLOCK block1 WITH FRAME.
    PARAMETERS:
      p_single RADIOBUTTON GROUP rad1,
      p_ind RADIOBUTTON GROUP rad1.
    SELECTION-SCREEN END OF BLOCK block1.
    START-OF-SELECTION.
    PERFORM display_data.
    PERFORM ssf_function_module_name.
    PERFORM spool_request.
    *& Form display_data
    * text
    * --> p1 text
    * <-- p2 text
    FORM display_data .
    SELECT * FROM spfli INTO TABLE t_spfli WHERE carrid IN s_carrid.
    ENDFORM. " display_data
    *& Form ssf_function_module_name
    * text
    * --> p1 text
    * <-- p2 text
    FORM ssf_function_module_name .
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING formname = ' '
    IMPORTING fm_name = f_nam
    EXCEPTIONS no_form = 1
    no_function_module = 2.
    * IF sy-subrc NE 0.
    * MESSAGE 'Form cannot be displayed' TYPE 'E' .
    * ENDIF. " IF sy-subrc eq 0
    ENDFORM. " ssf_function_module_name
    *& Form spool_request
    * text
    * --> p1 text
    * <-- p2 text
    FORM spool_request .
    w_input-dialog = 'X'.
    CALL FUNCTION 'SSFCOMP_OPEN'
    EXPORTING input = w_input
    EXCEPTIONS error = 1.
    *" LOOP AT t_spfli .....................................................
    LOOP AT t_spfli INTO fs_spfli.
    w_control-no_open = ' '.
    w_control-no_close = ' '.
    *"Single spool request..................................................
    IF p_single EQ 'X'.
    w_control-no_open = 'X'.
    w_control-no_close = 'X'.
    ELSE.
    *"Individual spool request.............................................
    IF w_flag NE '1'.
    w_control-no_open = 'X'.
    w_control-no_close = ' '.
    w_flag = 1.
    CALL FUNCTION ' '
    EXPORTING control_parameters = w_control
    fs_spfli = fs_spfli
    EXCEPTIONS formatting_error = 1
    internal_error = 2
    send_error = 3
    user_canceled = 4.
    endif. " IF w_flag ne '1'
    ENDIF. " IF p_single eq 'X'.
    CALL FUNCTION ' '
    EXPORTING
    control_parameters = w_control
    fs_spfli = fs_spfli
    EXCEPTIONS formatting_error = 1
    internal_error = 2
    send_error = 3
    user_canceled = 4.
    ENDLOOP. " LOOP at t_spfli into ...
    *&This function module close the spool request *
    CALL FUNCTION 'SSFCOMP_CLOSE'
    EXCEPTIONS error = 1.
    ENDFORM. " spool_request
    Regards,
    Sravanthi

  • Printing multiple copies of 3 page BOL in Duplex mode-

    Hi Gurus!
    I have created a smartform to print the BOL on front side and terms and conditions on back side. I used the duplex mode to print and it works perfectly fine. When I have a BOL with 3 pages of information , it prints the items on the front side and terms and conditions on the second side and it does everything absolutely correctly.
    At our organization we always print 5 copies of any BOL and that is when the problem arises. When we do a printing of the BOL form with number of copies set to 5 , it prints very akwardly with the settings. First it prints page 1 front and same thing on the back, then  again the first page on the first and its back and then front on the third side , then similarly 5 sides of terms and conditions and then followed by 5 sides of page 2 items and followed by 5 sides of terms and conditions, which is very akward. Actually it should print first set with page 1 and TC on back of it , then Page 2 and TC on its back and page 3 and TC on its side like it does when I make a single copy.
    Is there any settings that I am missing thats making the above happen when I print multiple copies of the BOL?
    Please suggest.

    Hi!
    Thanks for the reply. I changed the settings of the printer to 'Pass Copies as Separate Output Request(in SAP System)' and re-tried printing 5 copies of the BOL and it again seems to print the first page 5 sides then Terms and conditions on 5 sides, then again 5 sides of page 2 and followed by 5 sides of T&C.
    My settings on the smartforms is front page "D' and the back and the Last page is blank setting. This runs well when I just have to print one copy of my BOL , it prints the front page and then T&C on its back side , then again the second page and T&C on its back . This only messes when its more than one copy of the set of BOL.
    Please suggest as to what to do next to make it print in proper sets.
    Thanks and Regards
    Aarav

  • How to print multiple pages of same form with one print command

    Hi,
    I have created a cheque print form in smartform. There is provision to print multiple cheques. I give multiple cheque numbers from my selection screen and for each cheque the smart form is called in loop.  Currently I get preview of 1st cheque then I print 1st cheque then click on back, cancel or exit button and then I get preview of second cheque ans so on...
    Now I want to print all the cheques with one print command.
    Please advice.
    Regards,

    Instead of looping at the smartform multiple times, pass an internal table with the data content to the smartform and use loop/ Table youroption  in ur smartform in the main window.in this way u can achieve printing multiple cheques at once and avoid previewing the document several times.
    Edited by: Mithun Shetty on Feb 25, 2011 8:56 PM

  • Create multiple pages layout in Smartforms?

    Hei guys,
    I need to create a Smartform which has two parts. The top portion will remain the same, but it could possibly be more then one page because of size of text. The second part will have different values but the size will always be the same.
    Now we need to print multiple pages where the second the part will be different.
    I know that i will need to create a first page and a next page. But do i need to create two main windows in first page, one for each part. And what do i need to have in next page?
    Any help/suggestion will be appreciated.
    Thanks
    Nahman

    Hei,
    I have now worked on the Smartform. I am still struggling little bit. This is what i have now:
    I have one main which have 3 tables. The first two tables are displayed in the top portion of the page. As they are based on internal tables the number of rows will be different, so we dont know the exact size.
    In the bottom portion i have a table which is also based on an internal table. Now in this case we only want to print one row and then jump to next page where i want to display the top portion again and the next line of bottom portion. The issue i have right now is that the bottom portion needs to be printed on a fixed place of page. But what happens is that after first row is printed, and it goes to next page and starts printed on top of the next page. I dont want that.
    What i need is that the third table prints once on each page on a fixed position. Because once these pages are printed, they are not printed on a blank pages but a on a form where bottom portion values needs to be printed on specific fields.
    Thanks

  • Disable Auto-Centring When Printing Multiple Pages

    Hello,
    I am using Adobe Reader XI Version 11.0.04 (mac). I am trying to print multiple pages (specifically custom 1 by 3 portrait), but am finding that the 3 pages auto-centre (appear in the middle of the page). Is there a way to disable this auto-centring so that the three pages can be flush to th left of the page (e.g. left margin).
    Thanks

    Re: error in smartform when printing multiple pages
    dharani tadikonda
    Thanks for this answer. It is absolutely correct.

  • Select single time printer & multiple PR should come through that printer

    Hi friends,
    I am calling smartform in loop to print multiple Purchase Requisition. End user wants to select single time printer & multiple Purchase Requisition should come through that printer.
    I am calling my Smartform in a LOOP.
    How I will resolve this issue.
    Regards,

    Hi,
    Instead of driver programme write loop statement in the smartform.
    Aswarth

  • Unable to print multiple line items in Z-SAP SCRIPT

    Hi ALL,
    We have a scenario where in we are calling the Driver program (RFKORD50) for Document Extract(F.64), Where in we have attached the Z-Script to the program(RFKORD50),
    Unable to print multiple items.
    1) Checked with all the elements in STD program for printing multiple items in main window but unable to get all the items we are able to fetch only 1 item .
    (&BSEG-BUZEI&,,     &BSEG-SGTXT&,,,,&BSEG-DMBTR&)
    2) I have also tried with external subroutine but it also didnot work.it is fetching the latest value.
    Ex: if we have 3 items say 1,2,3 first 2 items are not getting fetched it is taking 3rd item and printing it straight away(Problem is it is not going to script for fetching the first item).
    see the perform which i have used
    /: PERFORM ITEMS IN PROGRAM ZTFI_ZNV20296
    /:USING &BSEG-BUKRS&
    /:USING &BKPF-BELNR&
    /:USING &BSEG-GJAHR&
    /:CHANGING &V_BUZEI&
    /:CHANGING &V_SGTXT&
    /:CHANGING &V_DMBTR&
    /: ENDPERFORM
    IL  &V_BUZEI&,,     &V_SGTXT&,,,,&V_DMBTR&
    Please suggest me whetther we can call write_form from external subroutine. or is there any loop commands in SAP SCRIPT Form.
    Regards,
    Jana

    Hi!
    The LOOP is always within the printer program. In this case also.
    Just check out the RFKORI35 include, the LOOP begins in the 215th line (in 4.6C).
    SORT HBSEG BY BUKRS SORTP1 SORTP2 SORTP3 SORTP4 SORTP5
                          BELNR GJAHR BUZEI.
            LOOP AT HBSEG.
    *         WHERE BUKRS = SAVE_BUKRS.
              SAVE_BUKRS  = HBSEG-BUKRS.
              IF  ( HBSEG-KUNNR = SAVE_KUNNR
              AND   NOT SAVE_KUNNR IS INITIAL )
              OR  ( HBSEG-LIFNR = SAVE_LIFNR
              AND   NOT SAVE_LIFNR IS INITIAL ).
                CLEAR RF140-ELEMENT.
                RF140-ELEMENT = '521'.
                CALL FUNCTION 'WRITE_FORM'
                         EXPORTING  WINDOW    = 'MAIN'
                                    ELEMENT   = '521'
                         EXCEPTIONS WINDOW    = 1
                                    ELEMENT   = 2.
    You might try out to write your code within the 521 elemnt in the sapscript.
    Regards
    Tamás
    Edited by: Tamás Nyisztor on Jun 12, 2008 3:34 PM

  • I am unable to print multiple copies on 1 page

    I have a macbook and I used to be able to print multiple copies on 1 page. It had a selection on the bottom right. Now something has changed with the format. It allows me to select multiple copies, but only prints one.

    Hi,
    In order to print multiple documents on one page, you may follow the steps mentioned below:-
    Press Command+p- Select multiple pages or booklet
    If you are not getting these options, please send us a screenshot to better understand the issue.
    Regards,
    Nakul

  • I'm trying to print multiple frames from a website onto separate pages.

    Firefox has this option on OSX (each frame on separate page), but safari seems to lack such an option.
    I need to print multiple frames (invoices from zencart) each on separate pages. When I try to print with Safari it will either try and print the selected frame, or it will print all the frames as it's laid out on the page (all printed on one page). Am I missing this option somewhere? Is there an extension I can try (already tried print plus to no avail)?
    Thanks for all the help!

    Wasn't aware of that, I'm trying to disable Full Screen completely in all Apps on my Lion.

  • Print multiple pictures on one page..so frustrating please help

    Just trying to print multiple pictures on a single piece of paper. The drop down menu that says "print multiple pictures on page" is grayed out and wont let me select it. I have read thread after thread , watched tutorial after tutorial and nothing addresses this simple command. What am I missing. Thank you in advance for your help

    Select the pictures and type Command+P to bring up the Print window. Then click on the Contact Sheet option at the left. You can change the number of photos per page and their size by clicking on the Customize button and the changing the number of columns on the page. The size of each photo will automatically be scaled to fit.
    If you want a specific size, then instead of selecting Contact Sheet select a print size. The size you select will determine how many photos of that size you'll get on the paper size selected.

Maybe you are looking for