Mulitple Smartforms for single output type

Hi Experts,
I have 4 programs and 4 smartforms and One output type Z999.
Depends on Company code i need to generate appropriate smartform using VF02.
( 4 programs & 4 smartforms means,
  US invoice, US Creditmemo, Canada Invoice and Canada creditmemo).
Is it possible to assign 4 smartforms & 4 programs in NACE transaction in single output type?
If it is not possible what is the way? Please adivise me.

Hi,
I don't think so that you can not do it directly. But there is a workaround for your problem. You can define your output type as SAP script and enter program name and entry routine. You can ignore a SAP script name because you are going to use Smartforms. In this entry routine you will call different Smartforms based on company code of your document.
But why don't you use different output types for different documents? That would be the best solution.
Cheers

Similar Messages

  • Attaching multiple smartform to single output type

    Hello Experts,
    I have 2 different smartforms for invoice....
    these two i have to call depending upon the type of customer.
    I want to know that is it possible to attach both smartform to single output type ( in this case RD00).
    if not..., Please suggest me how i can achieve this.
    Thanks,
    Amar

    If your question is if is it possible to have 2 different SMFs in one single output the answer is yes.
    You have to use the control_parameters-no_open and control_parameters-no_close
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = 'ZSMF1''
        IMPORTING
          fm_name            = g_funcion
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc EQ 0.
        g_control_param-no_close = 'X'.
        CALL FUNCTION g_funcion
          EXPORTING
            control_parameters         = g_control_param
          TABLES
            g_t_lugares                = g_t_lugares2
          EXCEPTIONS
            formatting_error           = 1
            internal_error             = 2
            send_error                 = 3
            user_canceled              = 4
            OTHERS                     = 5 .
    *   Smartform Puestos
        CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
          EXPORTING
            formname           = 'ZSMF2''
          IMPORTING
            fm_name            = g_funcion
          EXCEPTIONS
            no_form            = 1
            no_function_module = 2
            OTHERS             = 3.
        IF sy-subrc = 0.
          g_control_param-no_close = ''.
          g_control_param-no_open  = 'X'.
            CALL FUNCTION g_funcion
              EXPORTING
                control_parameters = g_control_param
                i_num_pages        = l_tot_pages
                i_curr_pages       = l_pages_2
              TABLES
                g_t_puestos        = g_t_puestos_ssf
              EXCEPTIONS
                formatting_error   = 1
                internal_error     = 2
                send_error         = 3
                user_canceled      = 4
                OTHERS             = 5.
          ENDIF.
      ENDIF.

  • Help required: Two smartforms for same output type?

    Dear All,
    I have a requirement to display bill of lading for a shipment.
    The shipment usually contains two kinds of materials.
    The data to be displayed for the first set of materials data is different from what is
    displayed for the second set/kind of materials. The layout(columns and structure) is entirely
    different. But the user wants to see the two sets of data in two pages, (for the same output type).
    But, from what I know, we can only associate one smartform to an output type.
    Any inputs.
    Thanks.

    Hi
    V/30, just check your output type, if you click on form and routines there is option assigning multiple programs and forms (i,e, Upto 5).
    Have not tried it , you can try and let us know your feedback
    Regards
    Jitesh

  • How to extract error message for each output type.

    Hi All,
    Need your advice on the problem that I have.
    Expected Solution:
    1. Create an extra column for displaying header output error message from VF02 into a report program.
    Steps that i have did:
    1. Go to transaction VF02.
    2. Enter a billing document number.
    3. Hit enter. Click "Goto" > Header> Output
    4. Click on the status that is red colour. Click on "processing log".
    5. Press "F1" on the red colour message type. (Found out that it is a structure).
    Need your advice on the question that I have:
    1) How do we know that which "not successfully" process output type belong to which error message class?

    Hi Brad Bohn,
    Thanks for your advice. I am so sorry about that. Thanks so much for your advice. And i have follow your advices and steps given by you. Appreciate it very much.
    But for this issue about how to extract message for each output type. I have follow your steps by using SE30 to trace VF03 and I managed to found out that they are using this function module "WFMC_PROTOCOL_SHOW". Need your advice on this, how do we know each different output type with different error message is pulled from?
    From my further research and in depth debugging into this function module, i  manage to find this global internal table "PROTO_TAB" which stores all the text messages for each output.  How does this internal table is populated?
    Thanks in advance.
    Regards
    Shawn

  • Find the SAP Script name for the Output type RD00 and Appli V3

    Hi Gurus,
    My requirement was to copy the Std SAP Script for the output type RD00 and application name V3 and to do some modification.
    Please any one suggest me how to find the Std SAP script based on the above Output type and Appl ?
    Regards
    paul

    Hi,
    The script Name is LB_BIL_INVOICE
    You can find byNACE>V3>Output Types>RD00-->Processing Routines
    In thje output type Press Change button and select New entries.
    Regards
    Sandipan
    Edited by: Sandipan Ghosh on Mar 31, 2008 12:06 PM

  • Custom E-mail instead of Standard e-mail for PO Output type standard config

    The requirement goes something like this..
    "We need to create a custom table and based on the values maintained in this custom table the email addresses would be displayed when the user saves a PO. The user would select a email address from the list of email address that is shown on the screen. User would get a message confirming the email address that has been selected.
    Output type would be configured to use the standard email program to send out mails. We need to ensure that the email address which would usually be the vendor's mail address is replaced with this new email address selected by the user. This functionality should work for ME9F as well."
    My questions -
    1) Which medium to be chosen in O/P type configuration for sending out standard e-mail. Is the PO Details send out via attachment or in the body of the mail? How would that be configured?
    2) Output type would be configured to use the standard email program to send out mails. - If this is done, is there any exit where i can handle the change of e-mail address?
    3) In case, i attach a Z-program for that output type, how it can be handled.

    Hi abhisek,
    You try for Implicit enhancement where you call screen as popup. Design POPUP screen as per requirement which will fetch details from your Custom table. Find the internal table which contains the standard email ids maintained through the ran transaction and  update the existing EMAIL ID in that statndard internal table.
    Hope this will guide you to proceed.
    Thanks
    Sumesh

  • How to maintain a condition record for a output type ?

    Hi All
    How to maintain a condition record for a output type ?

    Hi,
    Goto NACE and there is a button for maintiaining the Condition Reocrds.

  • New Requirement for my Output type?

    Hi.
    I want to create a new requirement for my output type.
    Please guide me how shall I do it?
    thanks

    You can trigger the output type by creating a condition record.
    Go to transaction VV21, enter the output type, click on Key combination, if ther's a radiobutto for shipping point only, select it and create a condition.
    If ther's no radio button for shipping point, add table 024 to the access sequence assigned to the output type in NACE.
    After modifying the access seq. go back to VV21 and create a condition.
    You can create condition records in NACE also.
    Regards
    Sridhar

  • 'Send Aplication with Own transaction ' for triggering Output Type

    Hi All,
    Can anyone let me  know how the option 'Send Applicaion with own transaction'  for triggering output type works?
    Thanks in Advance,
    Savitha

    just F1 on the Dropdown list box, you get some help from there.

  • 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

  • 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.

  • FM or BAPI for processing output types of inbound deliveries

    Hello All,
    Does anyone know if there is a FM or BAPI what can be used to trigger the output type of an inbound delivery. FOr outbound deliveries there is a bapi called BAPI_LIKP_PROCESS_MSG_DIRECT but this does only work for outbound deliveries.
    Kind rgds,
    Patrick Keltjens
    Edited by: P. Keltjens on Apr 23, 2009 12:56 PM

    Thx for the quick reply. I'll run a test a will let you know if this solved my problem....

  • 2 medium for same output type

    Hi,
    is it possible to create 2 condition records for the same output type BA00 but i want it to be transmitted to 2 different medium.
    eg: 1 - print
         6 - EDI
    now i am unable to do so. I am defining my output via sales org.
    but when i enter 2 records of OR doc type with different medium, i get any error
    "The condition is being p rocessed in the current session. A condition record with the same variable key is already being
    processed."
    thanks
    dyl

    Hi,
    It is not possible to maintain 2 condition records with the same document type with different medium... System says its currently processed, if needed you can change the current record with the medium........
    Alternatively yu can simply copy and create a new condition type with ref to BA00 and maintain the different medium...
    Reward if helpful...
    Regards
    Bageerath

  • Two printers need to be setup for same output type

    Dear Experts
    How do we create condition records for two different printers in VV61 with same output type and packing material type?
    Thanks in advance for your answers.
    Regards
    Bala

    3)
    The configuration helps to redetermine the printer.
    F1 help for the field:
    "Description of print profile
    By specifying a print profile, the printers for output processing are redetermined. You can, for example, assign the printers of a specific packing station to a print profile.
    Using the parameter "PPT", you can individually define the print profile in the user parameters."
    Please note that you also have to maintain the profile for each user.
    2)
    You have to make yourself familiar with SAP's condition technique.
    http://wiki.scn.sap.com/wiki/display/ERPLO/output+determination+using+condition+technique
    (You will need a condition table in which one key field is the plant and assign it to the output type through an access sequence)

  • Write processing log for custom output type

    Hi,
      I have defined a new output type at delivery header level . This is processed using a special function and on processing moves  stock from unrestricted to a order special stock.
    I need to update the "processing log" of the output with the material document number. Can any one please let me know how I can write to this "processing log" of the output?
    Thanks in advance.
    Regards.
    Hari.

    Use function NAST_PROTOCOL_UPDATE:
    * No orders found
        wa_msgv_1 = nast-objky+0(10).
        CALL FUNCTION 'NAST_PROTOCOL_UPDATE'
          EXPORTING
            msg_arbgb = c_msgtype
            msg_nr    = 30
            msg_ty    = 'S'
            msg_v1    = 'No orders found for delivery'
            msg_v2    = wa_msgv_1
          EXCEPTIONS
            OTHERS    = 1.

Maybe you are looking for