Printing multiple forms for one output types.

Hi,
I need to print the form 4 times for one specific output type.  My internal table contains only one record, but for that one record also i need to print 4 forms. How can i do this, i tried using control parameters but in vain.
Any suggestions of how to achieve this,
Thanks & Regards,
Ramana.

Hi,
I am working with only one smart form. But there are different output types(ZVSL, ZVFX, ZVFE & ZVFI) configured for that form. But for one specific output type (ZVSL), i need to repeat the print for 4 times.
Thanks & Regards,
Ramana

Similar Messages

  • Diff forms for one output type.

    We have 2 types of prints: (1) normal final invoice and (2) Pauschal Final Invoice.
    For the (1) Normal final invoice following pages are needed:
    normal invoice page
    overview sheet
    Rechnungsanlage
    For the (2) Puaschal final invoice the following pages are needed:
    Pauschal Invoice page
    Rechnungsanlage
    To differentiate between (1) and (2) we use the field VBAK-KVGR1
    If VBAK-KVGR1 = C01 à print (2) Pauschal final invoice (meaning the Pauschal Invoice page and the Rechnungsanlage)
    If ELSE à print (1) normal invoice page (meaning normal invoice page, overview sheet and Rechnungsanlage)
    Above is my requirement i have one output type ZDE6 so how can i develop above requirement .
    Pls guide me how to process .

    did u mean its possible only one smartform. I am using only one billing type for all smartforms but when vbak-kvgr1 = co1 here pauschal invoice and rechnungsalang invoice will desplay.
    in normal invoice i have to display overview layout and rechnungsalang layout including normal invoice.
    Finally i am asking i required to develop four smartforms for this development.
    if i develop four smartforms how to assign all , because all are using same billing type .
    Pls suggest me the same.

  • How to print multiple form for tag printing in smartforms

    Dear Experts,
    I am working on tag printing in smartforms .in tag printing i am showing
    1.material no.
    2.material descrption.
    3.material doc no.
    4.Quantity
    5.supplier.
    my requirement is that for example , if the mat. document no.  has a material of 10,000.00 quantity , in tag printing it should come 1,000.00 of each tag  and total no of tag should be 10. and it should come one after another .
    and the page format size 8 x 6 cm. is it possible .if possible how ! how the system will know how many tag is to be printed . please reply its urgent.

    Hi Kumar,
    Let me know. is the quantity 1000.00 is fixed? if so thn you can achieve the requirement.
    For example:
    There are  A-material with 20000.00 quantity thn  u can first divide the quantity with 1000.00
                 v_ex = 20000.00/1000.00=20.
    thn  you can repeat the  print of the smartform for 20 times by passing  the parameter to  form fm.
    Please reward if  useful.

  • Invoice Split for same customer but for different output types

    Hi Gurus,
    I have a requirement from the customers. A new output type has to be created with reference to the old type and for this output type a new driver program and SAP script was created with reference to the old one.They wants  invoice split to be happened based on item level PO number. That was done successfully.
    This invoice split logic  was written in the billing routine  RV60C901(Customized).
    But now they came back with a issue that the invoice split  should be done  only if they use the new output  type but not for the old one. That means for the same customer for one output type invoice split should be done based on item level po number and for one output type it should not. How can this be controlled for a particular
    output type?
    This output types will not be used in the billing routine as the split happens at the sales order level. Is there any configuration that allows split for a particular output type.
    Please suggest me how to proceed???

    Hi,
    In the invoice split routine check if it is possible to find the output type making use of field symbols.
    Just check in debug if the variable for output type is available as follows:-
    (Program Name)variable name.
    Regads,
    Ankur Parab

  • Two idocs are created for one output message type

    hi all,
    we are communicating our sap idocs to external system using ALE.It is working smoothly.
    Our problem raises here,
    .idocs are creating at the time of output type attachment for purchase orders.But rarely,two idocs are creating for one message type.It means two idocs are created for same Purchase order.It makes complications for the external system.
    anyone can help me pls?
    thnks in advance..........

    thanks jurgen for ur reply,
    jurgen, the second idoc is not an "ORDCHG",It is the replica of first idoc.This one has also "ORDERS" message type.The only difference between these idocs are the time.It means the difference between the time field segments of these idocs have only three(3)seconds difference.We think that its from the system error.If it is not from the system error pls give me the explanation.
    thanks in advance.......

  • Print multiple forms between FP_JOB_OPEN and FP_JOB_CLOSE

    I am aware, that there are questions regarding "Printing Multiple forms", but I didn't find answers there.
    Still my system is not working as expected:
    1.  FP_JOB_OPEN is called
    2. the generated Adobe Forms function is called multiple times
    3.  FP_JOB_CLOSE is called
    This program doesn't deliver all the pages, but just the first call. How shall I solve this problem?
    (Coding should work anywhere with copy-pase.)
    data: fm_name           type rs38l_fnam,
          fp_docparams      type sfpdocparams,
          fp_outputparams   type sfpoutputparams.
    parameters: p_fpname type fpname default 'FP_TEST_02'.
    * Get the name of the generated function module
    call function 'FP_FUNCTION_MODULE_NAME'
      exporting
        i_name     = p_fpname
      importing
        e_funcname = fm_name.
    * Sets the output parameters and opens the spool job
    call function 'FP_JOB_OPEN'
      changing
        ie_outputparams = fp_outputparams
      exceptions
        cancel          = 1
        usage_error     = 2
        system_error    = 3
        internal_error  = 4
        others          = 5.
    * Call the generated function module
    call function fm_name.
    * SECOND CALL ****************************
    call function fm_name.
    * Close the spool job
    call function 'FP_JOB_CLOSE'
    *    IMPORTING
    *     E_RESULT             =
      exceptions
        usage_error           = 1
        system_error          = 2
        internal_error        = 3
        others               = 4.

    Hi ZSOLT,
    In order to call the form multiple times please do the following,
    1) Just before your FP_JOB_OPEN you need to pass the output parameters (good practice). You can also set other parameters as well (for example nodialog, preview, copies., etc)
      CLEAR  fp_outputparams.
      fp_outputparams-dest = 'PDF1'.      "Default pdf printer
      fp_outputparams-reqnew = 'X'.       "New spool request
    Now call your FM FP_JOB_OPEN with the above output parameters.
    2) Usually this step is processed in a loop. (getting your interface data into a internal table and then looping at it)
    But here I am enhancing your example code.
    In order to trigger the form multiple times you need to change some input data to the form (for example I have changed date and time below in the prepare test data sections) so that the call function fm_name gets regenerated every time there is new data
    data  l_datatypes       type sfpdatatypes.
    prepare test data
      l_datatypes-char = '#'.
      l_datatypes-string = 'Auf geht''s! '.    "#EC NOTEXT
      l_datatypes-numc = '42'.
      l_datatypes-dec = 0 - ( 12345 / 7 ).
      l_datatypes-fltp = 0 - ( 12345 / 7 ).
      l_datatypes-int = 4711.
      l_datatypes-curr = 0 - ( 12345 / 7 ).
      l_datatypes-cuky = 'JPY'.       " no decimals
      l_datatypes-quan = 12345 / 7.
      l_datatypes-unit = 'DEG'.       " 1 decimal
      l_datatypes-date = '20040613'.      
      l_datatypes-time = '100600'.         
      l_datatypes-lang = sy-langu.
    FIRST CALL ****************************
    Call the generated function module
      CLEAR fp_docparams.
      fp_docparams-langu = 'EN'.       
      fp_docparams-country = 'US'.  
      call function fm_name
        exporting
          /1bcdwb/docparams        = fp_docparams
          datatypes                = l_datatypes
          mychar                   = l_datatypes-char
         mybyte                   =
          mystring                 = l_datatypes-string
         myxstring                =
          mydate                   = l_datatypes-date
          mytime                   = l_datatypes-time
          mynum                    = l_datatypes-numc
          myint                    = l_datatypes-int
          myfloat                  = l_datatypes-fltp
          mypacked                 = l_datatypes-dec
      IMPORTING
        /1BCDWB/FORMOUTPUT       =
    prepare test data
      l_datatypes-char = '#'.
      l_datatypes-string = 'Auf geht''s! '.    "#EC NOTEXT
      l_datatypes-numc = '42'.
      l_datatypes-dec = 0 - ( 12345 / 7 ).
      l_datatypes-fltp = 0 - ( 12345 / 7 ).
      l_datatypes-int = 4711.
      l_datatypes-curr = 0 - ( 12345 / 7 ).
      l_datatypes-cuky = 'JPY'.       " no decimals
      l_datatypes-quan = 12345 / 7.
      l_datatypes-unit = 'DEG'.       " 1 decimal
      l_datatypes-date = '20100913'.                 "You need to change your data in order it to trigger a new form with the new data.
      l_datatypes-time = '10700'.                        "You need to change your data in order it to trigger a new form with the new data.       
      l_datatypes-lang = sy-langu.
    SECOND CALL ****************************
    Call the generated function module
      CLEAR fp_docparams.
      fp_docparams-langu = 'EN'.
      fp_docparams-country = 'US'.
      call function fm_name
        exporting
          /1bcdwb/docparams        = fp_docparams
          datatypes                = l_datatypes
          mychar                   = l_datatypes-char
         mybyte                   =
          mystring                 = l_datatypes-string
         myxstring                =
          mydate                   = l_datatypes-date
          mytime                   = l_datatypes-time
          mynum                    = l_datatypes-numc
          myint                    = l_datatypes-int
          myfloat                  = l_datatypes-fltp
          mypacked                 = l_datatypes-dec
      IMPORTING
        /1BCDWB/FORMOUTPUT       =
    Close the spool job
    call function 'FP_JOB_CLOSE'
       IMPORTING
        E_RESULT             =
      exceptions
        usage_error           = 1
        system_error          = 2
        internal_error        = 3
        others               = 4.
    I have tested the above code and I am getting multiple forms.
    Please try on your end and let me know if it works.
    Thanks
    Raj

  • Print multiple photos on one page to printer

    I am new to macs, and I can't figure out (using iphoto 11) how to just print multiple photos on one piece of 8 1/2 X 11 paper in my own printer at home. I want to choose the size of each picture (like one 4X6 and two wallets on one page. How do I do this? it seems I can only print one pic per page when I use the print function in iphoto. Please help! If i can't do this basic thing I feel like I just wasted a couple thousand dollars on a really expensive piece of junk.

    This is a detailed set of instructions I made for my mother to use. Hope it helps.
    To print single or multiple photos in iPhoto
    Open iPhoto
    If photo(s) are not already in iPhoto then dragand drop into iPhoto
    Locate photo(s)
    Select (highlight) photo(s)
    Click File
    Click Print
    New window pops up
    Select border type on left side (standard, etc.)
    Select Print Size at bottom right (2x3, 3x5,etc.)
    Click Customize
    New window opens
    On bottom right are new icons
    IGNORE Print settings -are the options you chose in steps 7a, b & c
    IGNORE Themes - is thesame as step 7a
    IGNORE Background –ignore in most cases
    IGNORE Borders –default is 1 (use default in most cases)
    Layout (select 1 or 3 in most cases)
    1is horizontal photo
    IGNORE 2 is horizontal photo with text below
    3is vertical photo
    IGNORE 4 is vertical photo with text below
    SettingsClickon Photos per page
    If you want only 1 copy of each photo you selectedon each page then choose Single photo per page
    If you want 2, 3 or 4 different photos on eachpage then choose Multiple photos per page
    If you want many copies of the same photo oneach page then choose Multiple of the same photo per page
    ClickPrint on the bottom right
    Newwindow pops up
    If the arrow (triangle) to the right is pointingdown click it so it points up and displays additional options
    Choose number of copies (pages to print)
    ClickPrint

  • Copies window printing in VF02/VF03 through output type

    Dear Experts,
    I have copied the standard smartform of the Invoice into YLB_BIL_INVOICE and i did the modification according to the client's requirement.
    In YLB_BIL_INVOICE, i have taken one window type as Copies Window and i have chosen the radio button Original and Copies. In the window I wrote the code for Copies like Original, Factory Copy, Buyer Copy, Triplicate and Marketing Copy based on SFSY-COPYCOUNT checking. I haven't changed the standard program(RLB_INVOICE).
    And I have assigned the smartform YLB_BIL_INVOICE and RLB_INVOICE in NACE settings. When I am viewing the print using VF02/VF03 with output type which configured by SD Consultant it is not showing the Copies means if I mention Number of Copies as 4 in print preview it is showing only single Page and when I gave the print with number of copies as 4 Pages are printing 4 copies but the name of the copies is same for all 4 pages like 1st page as Original and 2nd page as Original etc..
    I debugged the code and i am getting NAST-ANZAL = 1. in program, I think it should be 4. Please give me some input to resolve this issue?
    Thanks n Regards,
    Muralikrishna
    Edited by: muraliabap on Feb 14, 2011 6:35 AM

    Hi,
    I am not clear about the following context.
    muraliabap wrote:
    if I mention Number of Copies as 4 in print preview it is showing only single Page and when I gave the print with number of copies as 4 Pages are printing 4 copies
    Where did you give the no of copies as 4? In the message or Print Dialog?
    NAST-ANZAL is from message and OUTPUT_OPTIONS-TDCOPIES is from the Print Dialog. For copies window, no of copies is fetched through OUTPUT_OPTIONS-TDCOPIES (or the Print Dialog), thus SFSY-COPYCOUNT is changed accordingly .
    Check the this [link|http://wiki.sdn.sap.com/wiki/display/ABAP/Copies(duplicate,etc.)]

  • Two print programs using the same output type in t-code v/40

    Hi,
    I am trying to use the same Output type RD00 to print diferent forms.
    In t-code v/40 we can fill a second Processing but how this work?
    Can someone tell me more about this?
    The final goal is to print diferent forms according to different companies.
               Thank you and best regards
                         João Fernandes

    Hi,
    It is not possible to have 2 different routines to be assigned to one output type in the procedure. I think when you say 2 routines, you are saying 2 logics or you are saying the subroutines KOBED and KOBEV of the routine.
    In all reqmt routines, which is in discussion now, only one of the subroutines will be always called, though I dont know unfortunately which one is this. As you said, that only one of your processing logic works, that is the right subroutine area where the second logic should also be coded. So please move your code from the inactive subroutine area to the active subroutine area. Now you should be able to see both the validations being active.
    Hope this helps. If the case is different, please let us know.

  • Determining only one output type (out of 4) in delivery header

    Hello everyone!
    We have 4 different Label Output Types (in delivery header). And the requirement is to print only 1 output type (depending on Customer No.)
    I made the 4 output types link to one Access Sequence. Defined some condition records for each Output type and defined the same tables in the Access Sequence. So the access sequence has 4 accesses (exclusive flag checked)
    Now when I create a delivery with a Ship To number which has condition records only for only 1 output type. I mean it passes the first Access in my access sequence and hence should only print the output type that has condition record for that "Ship to" number. Yet it is printing all 4 output types.
    Any help is appreciated .
    Regards,

    Hi Vineet,
    Appreciate your help. I was actually getting it right, don't know what I was thinking. It works good.
    regards,

  • Attach a Smart form to a output type .

    Hi,
    May i know how to attach a smart form to a output type in NACE transaction.
    So that when we take PO printout from me9f it should work fine.
    Is it same as we do for a script or any thing extra need to be done??/
    Regards,
    Neha

    Hi Neha,
    If you want to print a PO with smartform, please maintain it in t-code
    NACE with SAP standard settings.
    1- normal method using the standard PO printing:
    Out type   Print program   Form Routine   Form      Smartform
    NEU        SAPFM06P        ENTRY_NEU      MEDRUCK   Not applicable
    2- for smartforms:
    Out type   Print program   Form Routine   Form     Smartform
    NEU        /BPR3PF/FM06P   ENTRY_NEU      Not      Indicate the
                                               Applic   template to use
    Please find notes which explains on where to find Standard
    Smartforms , assistance and documentation on this issue.
      526824   Smart Forms: Which information sources are available?
      430621   Delivered print programs and form templates
    Best Regards,
    Arminda Jack

  • Invoice Print and Email from same output type

    Hi All,
    We want to print invoice and send an email to customer. Can this be acheived using same output type??
    If yes, plz guide how can we do this..
    I check some queries in forums but they had coding etc.  Can we do it with config??
    Regards,
    Satish.

    I'm not sure why you wouldn't configure two output types. However, you can do this with one output type in a number of ways:
    1. Use a speciial function output (transmission medium 8).
    This allows you to write ABAP code to anything you want. However, you have to manage print contols on yur own as the special function transmssion medium doesn't allow you to specify these on he condition record.
    2. Change the driver program for the print output for the output to send emails.
    You would need to handle the email routing on your own because the output records for print are just for printing.

  • FORM ROUTINE in Output Types

    Hi group,
      there is a requirement in which after the generation of accounting document(after saving VF01), we need to immediately reverse some of the lines in the accounting document by using F-02.  We have thought of using the Output Type Program to write our code as that was the only genuine place we could find to write our enhancement ( searched for user-exits after accounting doc is generated but cudn't find any). In the program , we shall write the BDC for aor reversal process. Now, when we SAVE VF01, this program(RLB_INVOICE, output type RD00) gets triggered. I thought instead of  writing something in the standard program( or even a Z version of it ), we wud write our code in a new program & then assign this program in NACE. I tried with some dummy program(zxxxxx), but there is an error log which says 'Processing Routine Entry does not exist for program zxxxxx).
    what is the significance of this FORM Routine 'ENTRY' in the output type???  wat is the solution for my problem??
    hope i am clear enough
    ur valuable inputs awaited...
    Thanks & Regards,
    Bikash Agarwal

    Hi
    The routine ENTRY is the start form called by the progam runs the print (RSNAST00 for example), that routine has to be defined in the program is assigned to output type.
    See the program RLB_INVOICE, here you can find the form ENTRY.
    So the program manages the print for the output type RD00 run a comand like this:
    PERFORM ENTRY IN PROGRAM RLB_INVOICE USING .......
    I don't think there's an exit after accounting document is created, there are some BTE (trx FIBF) are triggered just before it is generated, for example in BTE 1030: here you can know all accounting number and data (but the document isn't stored in database yet).
    I don't know if it's a good idea to insert the code in the routine of the print: remember all the process of saving of account document are running in update tusk, so while the output is been printing you can't be sure the accounting document is really stored in database.
    Max

  • Print multiple pages on one page in Preview?

    I tried to print a PDF in OSX Lion and I was unable to find the option to print multiple pages on one Page. Instead there is an option to print multiple copies of pages on one page. Does anybody know where I can find the old option from (as in Snow Leopard, Leopard, Tiger..)? (See screenshot.)
    Thanks!
    roboter

    Look under the "Vorschau" menu for the Layout menu, and then choose "Seiten pro Blatt."
    Hope this helps.

  • How to print multiple footers for each page in RTF template xml report.

    Hi,
    How to print multiple footers for each page in RTF template xml report.
    i am able to print ( two sets ) ...
    up to last page ( one template ) and for last page ( another template).
    i want to change the footer information based on the group value printed in the report ( it might be 5 to 6) In every report run.. can you please check and let me know do we have any feasibility to achieve this.
    Thanks in advance.
    Regards,
    KAP.

    You can remove all other logic, like last page only contents (start@last-page:body), etc and section breaks if any you have inserted manually.
    Just have for-each@section logic.
    It would be difficult for me to guess what you have done without looking at your RTF or describing here.

Maybe you are looking for

  • Please can anybody help me. My itunes will not open on my laptop desktop.I have not changed anything on the laptop of significance.What can I do?

    Please can anybody help me? For no apparent reason or significant changes to my laptop I cannot open itunes from my desktop icon.I have uninstalled the whole product and re-installed it. But to no avail. I am very frustrated and cannot access my libr

  • Captivate file won't open

    Has anyone ever had an issue where the Captivate file will not open? In my case, the program generates the following error: "Exception EParserError in module converter.dll at 0002B53E" I've tried opening this projects on 2 different computers using C

  • New 128MB Flash card for Nomad

    I have a Nomad II with 0 internal memory. I have recently bought a new 28 MB Flash card for my Nomad. I have the firmware upgrade ( got it 2 years ago) and had formatted it. It had problems when I first tried to format it, but I did format it and it

  • Transparency in mutable image

    Hi all, I'm developing a j2me application with the following features: wtk 2.5.2 cldc 1.1 midp 2.1 I have to show a image with a trasparency channel, loaded from a png file; on this image I have to write a number. The code is: icon = Image.createImag

  • Can I stop Migration assistant and run setup instead?

    While running setup on my new iMac, I was prompted to transfer data from my old computer using Migration assistant.  I thought I was just transferring the user profiles but it seems to be transferring all the associated documents and downloads.  It's