BAPI Or FM to add output type to VF02

Hi,
Is there is any Function Module or BAPI to add output type to VF02?
Thanks,
Suresh.

There is no FM, to my knowledge. You can call the program that runs transaction VF31. Naturally, the output must be correctly configured first.
I would check as to why do you need to add output in the first place - if it's configured correctly, it should be added automatically. Good luck!

Similar Messages

  • Assigning output types in vf02

    when assigning the output type in vf02 tcode ,
    it throws an error as system could not update.
    the  error in print program.
    weather the control goes to print program
    or not when an output type is assigned to the tcode.
    if i run sm13 tcode , its shows error in print program.
    thanks and regards,
    Thiru.

    Hi,
    Ask your technical consultant to check the code of that particular print program (smart form / script/ print program), there may be an error in it hence system is issuing an error and i dont think there is some problem with the out put assignment.
    Hope this will help you for going ahead
    regards,
    Kumar

  • Add output type in requirements for purchase order

    Hi,
          In a changed purchase order (ME22N), based on business condition (eg: tot po > $100,000), then it should trigger an email output which will send the PO to the user.    In output procedure for EF, control RMBEF1, there is requirement 101 (reprint)  as an example.  It has: 
      Loop at xnast where kschl = komt1-kschl and objky = msg_objky and vstat eq 0.
      Endloop.
      Here it seems user manually add a new condition record for ZSND so the loop will work.
    However, i need to create an output record for ZSND before i can resend the email on ME22N.   Do you think having a new requirement here will enable me to create a new output record  for ZSND ?   IF  the PO is more than $100,000, then i need to create an output type ZSND so it will re-send the PO.  User will not manually create the PO.
    Pls provide your suggestions. 
    thanks
    joyce

    It's difficult to say without seeing how you have it configured, but the breakpoint should be triggered if the requirement is triggered (update debugging not required).  Go back to a fresh PO and use Goto -> Determination Analysis from the output screen to view the analysis.  This should give you a clue as to what happened.  If the output was already issued and you don't have it flagged for 'multiple-issuing' then it won't be triggered again in change mode.  Keep in mind that requirement routines do not create outputs; they simply allow them to propose or stop them from proposing based on the criteria in the code.  You can access the EKPO data in memory using a field symbol for '(SAPLMEPO)EKPO' (if applicable, check whether this works in BAPI mode - I don't remember) or you can use the message determination user exit in RVCOMFZZ to put the value in KOMKBEA for direct access.
    OK, see my answer to your other post - it seems that you added the output manually - that doesn't work...
    Edited by: Brad Bohn on May 13, 2010 2:48 PM

  • BAPI_SALESORDER_CHANGE add output type

    Hi Experts,
    Generally when i change delivery date, rejection or unrejection of line item,delivery address and order/delivery qty of line item in the Sales order( VA02) ,system automatically  one output type( ZUG1) added to output control. how it is possiable? One more if possiable let me know. let me know how i can achieve above functonality when i change sales order through BAPI_SALESORDER_CHANGE Bapi F.M.
    waiting your valuable inputs.
    Regards
    Jaya Reddy

    If I remember well, there is customizing in SPRO, you may choose how output types are automatically generated or not according to some conditions (look for activities with "condition" word, and also check [sap library|http://help.sap.com/saphelp_nw70/helpdata/en/c8/19887b43b111d1896f0000e8322d00/frameset.htm]).

  • Output type - Access sequence

    Hi,
    I have created a output type for VF02 and my requirement is to restrict the output type to only certain company codes.
    I have created a access sequence with table 502 and assigned this to the output type and also maintained the condition records.
    But still I see that the output type is getting created for all company codes..Am i missing anything here.
    Please let me know.
    Regards
    Praneeth

    Hi,
    If company code field is not available in condition table then search in OV24 T code from their you can take, it is called allowed field catalog.
    If that field is not available their also then check below document and ask your abaper to fallow this process below and add that field then you can see this field in OV24 and from that you can use this field to crate condition table
    In SAP condition records store the pricing values. These records are stored in condition tables. Condition tables name has three digits. From 1 to 500 are reserved by SAP name space and from 501 to 999 are given to customer space. In the actual database a persistent data base table is created with u201CAu201D prefixed to the table number .i.e. condition table 980 creates a table with name A980.
    During the condition table creation required fields can be selected. Only the fields present in the field catalogue are available for selection in the condition table. Fields present in the KOMG table can be added to the field catalogue. By default SAP does not add all the fields of KOMG to field catalogue. KOMG table is a union of KOMP, KOMK tables. KOMK table contains the header information of the document (Sales order or Billing), KOMP contains item level information of the document (Sales order / Billing). New fields can be added to the KOMP, KOMK structures. To add the new fields to these structures, an append structure should not be created. To add a field to KOMP structure, field should be added to KOMPAZ structure, which is an include in KOMP structure. Similarly fields should be added to KOMKAZ structure.
    If it is required to create a condition table with a custom field the following steps should be followed.
    A.Add the field in KOMKAZ or KOMPAZ structure. If the field is at the header level, add the field to KOMKAZ, and if the field is at the item level add to KOMPAZ structure. This step should be done SE11 transaction.
    B.Activate the structure.
    C.Add the new field to field catalog.
    D.Create the condition table.
    Adding the field to field catalog and condition table creation can be done VOK0 transaction.
    At run time the custom field should be filled with the appropriate value. To to this the following user exits should be used.
    USEREXIT_PRICING_PREPARE_TKOMK in RV60AFZZ .
    USEREXIT_PRICING_PREPARE_TKOMP in RV60AFZZ.
    Below is an example to add sales representative , who is a partner at item level to KOMP structure.
    1. Go to Se11, and add the field WWSR1.
    2. Open the program RV60AFZZ using SE38 transaction.
    3. Add the field to field catalog. To do this go to VOK0 transaction. Then environment ? condition table ? field catalog.
    4. Create the condition table. To do this goto VOK0 transaction. Goto environment-> condition table create. Enter the condition table number 980 .
    Once the condition table is created, this table can be used in the access sequence. Access sequence is assigned to the condition type. Condition type is inserted in the required pricing procedure. Condition records can be created in VK11 transaction. All the condition records are created with reference to the condition type. As the condition type is linked to access sequence, and access sequence to condition table, system displays all the condition table assigned to access sequence , in the initial screen. User should select one table, and enter condition records.
    for more detail check http://www.magnatraining.com/sap-sd-pricing-how-to-add-custom-fields-to-a-condition-table/

  • Ho to add output record to PO mannually

    Hi All,
    When i create PO, it will not have output record for printing the PO in ME9F, so I need to maintain output record to PO in ME23N transaction (messages). How can i add the output record mannually to PO. Why it will not coming automatically when i create a PO?
    Thanks,
    Subbu.
    Edited by: Subramanyam Sesetty on Feb 18, 2009 11:51 AM

    Hi Subramanyam,
    follow the below steps to add output type in PO:
    1. use T.code ME22 (If PO is created already) or ME21.
    2. Enter the PO number and press Enter.
    3. goto Header --> Messages
    4. Enter the following values.
    Output type  with Condition Type
    Medium with Print Output
    PartFunc with  Partner Type (VN for Vendor or SH for ship to party etc.)
    Partner  with  Partner Number
    Language by Specify language
    5. now press on Further Data  and and change Requested Processing as Send Immediately.
    6. Finally Save the PO Changes.
    Regards,
    SB.
    Edited by: sunil bodda on Feb 18, 2009 12:54 PM

  • Output type not appearing in VF02.

    Hi,
    I have created a z-output type for VF02 in the golden client ... now for me to test I have transported it to another client in the Dev environment thru SCC1 ... my problem is that here in VF02 > goto> header--> output... in this screen when I press F4 to select the output type I do not see the one that I have created ... though the entry exists in NAST & TNAPR table ... what should I do ... please help...
    Thank You,
    SB.

    Hi,
    Condition records is basically used to link your output type to the SAP document based on certain criteria (i.e sales org, customer, etc).
    Once you are done, you should be able to see the z-output type in VF02.
    Regards,
    Ferry Lianto

  • Sale order create BAPI and output types

    Hi Experts,
           In our organization, we are using BAPI BAPI_SALESORDER_CREATEFROMDAT2 to create sales order.
    We are having no problem creating sales orders. But one more functionality they wanted to add.
    We have a screen where user enters all the data and at the same time he selects weather the order should be printed or Faxed or both.
    Please let me know where i can send this information in that BAPI and how.
    I hope ORDER_KEYS is the table to send the data. If that is the case, could you please explain how that works and how that makes entry in NAST table.
    Thanks,
    ABAPer.

    To propose output type automatically, you need to maintain proper output determination for the sales.
    For example, you want to have BA00 output for every order, than you need to maintain the order type for that condition in VV11 transaction. Here you can maintain customer numbers. Now, when you create a Sales order for this customer and saves it, system automatically propose an output.
    So, you need to maintain on output detemination to propose output.
    Regards,
    Naimesh Patel

  • BAPI to change Billing document for output type

    Hi Gurus,
            I need to know if there is a BAPI to change a Billing document SD to add a new output type.
    Thanks in advance.
    Mariano.

    Hi all,
          To be more specific, my requirement is determinate a new output type in the billing document if other output type already was printed, so as I can't determinate automaticaly the output type by standard I need to create a program to insert an output type in the billing document if other one was printed; for that I need to know if there is a BAPI to change the billing document to insert this new output type.
    Thanks,
    Mariano.

  • Add an output type in sales order header

    Hi Dear Experts,
    I try to find a way to add an output type in sales order header after the order was created.
    I also need the output to be sent immediately to the FAX.
    Do you know any BAPI or Function that can help me or have any idea how it can be done?
    Thanks and best regards,
    Sagit.

    Hi,
    You can use the FM ..RV_MESSAGE_UPDATE..
    Thanks
    Naren

  • How to add an error message to an Output Type.

    Hello SAPients,
    Using a User Exit I'm modifying the segments of an outbound IDoc. When certain conditions apply I trigger an exception 
    RAISE DATA_NOT_RELEVANT_FOR_SENDING.
    It's ok because the IDoc is not generated and the Output Type is set to "Incorrectly Processed" status.
    But, when the user clicks the "Processing Log" button there is no informatio of the error occurred. How can I add an error message to the Processing Log of the Output Type?
    Thanks in advance for your kind help.

    Hi,
    Try this statement..
          MESSAGE ID      sy-msgid << Your msg class
                  TYPE    sy-msgty << Your message type
                  NUMBER  sy-msgno << Your msg no.
                  WITH    sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4 << Other info
                  RAISING data_not_relevant_for_sending.
    Regards,
    Joy.

  • FM or BAPI for Output Type Creation mannually

    Hi All,
    Is there any FM or BAPI to create output type after creation of Inbound Delivery for that delivery, Normally it is automatically assigned, but I will stop the same , and wanted to create Output type mannualy through  ABAP program. Therfore can any one help me on this.
    best regards
    tanmay

    Hi,
    Try using FM WS_LM_TRANSFER_ORDER_CREATE.
    I hope this is available in ur system
    Thanks

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

  • How to add a new output type in sales order header via ABAP program

    Hi All,
    I have to add new output type (ex Z001) in sales order header via an ABAP program. please let me know how to do this.
    Thank you all in advance.

    Hi,
    You can use the FM ..RV_MESSAGE_UPDATE..
    Thanks
    Naren

  • Remove output type in PO through a report/BAPI

    Hi,
    am creating a PO from a report through BAPI .What i need to all the output types are triggered except a specific one.
    I want to achieve this .........I Don't want to change the settings.
    Thank you
    Mohsin

    It doesn't matter how PO is created. Output determination is triggered the same way.
    If you don't need output generated for a specific document, etc., use the output requirement routine (VOFM transaction). Routine needs to be assigned to the output type (or in the output procedure).
    Google 'Inside VOFM', there is a document available somewhere. Also check the existing routines, it's really a no-brainer.

Maybe you are looking for

  • HT1529 I have a screen that won't go away, how can I get it off my desk top

    Hi, I have a box that stays on my computer. It has four boxes on the left top that are general, accounts, viewing, audio/video and the main heading at the top is Accounts. There is nothing in the box that is clear enough to read and the box also says

  • Error message when trying to install Adobe Photoshop Lightroom 2

    I'm trying to install Lightroom 2 on a new computer (Macbook) that I got.  I insert the disk and start the install process and after it is almost done it says there is an error and I should contact the manufacturer. thanks

  • Mac iTunes doesn't detect iPhone 5

    No response at all when connect to MacBook Air MacBook Air 2012  Yosemite 10.10  All updates installed   iPhone 5 with iOS8.1.2 installed

  • Program for Cash withdrawal function fom ATM

    I have a question and i dont undersatnd what should i write the code for this program.If any link related to this topic then give me.Please help Q) write compiling code for Cash withdrawal function from ATM which based on user specified amount,dispen

  • ERS - Payment method not on the invoice

    Hi All, In the process of creating invoices using ERS, the payment method from the vendor master will not be defaulted on the invoice. Is there any way, may be a usereixt/badi, to default the first payment method given in the vendor master on the inv