HOW TO TRIGGER AN OUTPUT TYPE ON INVOICE SAVING

I need to write a routine to trigger a specific ouput type on invoice saving for a particular pricing condition.I have written the code within the routine.But now what do I do to trigger the output type , I mean in which transaction do I place the routine
to make it to trigger when the invoice is saved if the given condition is satisfied

Hi Shah,
You need to assign that routine in your billing outptut determination procedure control data then specic the the condition type.
IMG path is
SPRO>Sales and Distribution>Basic functions-->Output control >Output determination>Output determination using by the condition technique >Maintain output detrminetion for the billing documents>Maintain output determination procedure-->Control data.
Before tha you make sure that you are maintaining condition record for that output type in VV31 transaction
I hope it will help you,
Regards,
Murali.

Similar Messages

  • How to trigger EDI output type by logical system

    Hi,
    I am trying to propose a delivery output on delivery document based on logical system.
    I have maintained partner profile by logical system. In the partner profile, i have given the delivery output type and the process code.
    I have also maintained condition records for the delivery output.
    I would like the system to propose the delivery output not by ship to party or sold to party but by the logical system.
    Because i do not want to maintain 3000 customers in the partner profiles, instead trigger the output by logical system.
    Please let me know, if anyone has gone thru this situation and resolved.
    Thank you in advance.
    -Naga

    Hi,
    First thing you should make sure that, when you create the output type , partner function should have an entry for EDI - LS combination.
    Secondly , make sure you have option for EDI transmission on the output type (medium 6).
    Third, when you create partner profile for LS, make sure you give partner function as LS, even though SAP gives warning that its not required.
    Last but not least, i didnt create any distribution model , because when i created distribution model and generate partner profile, system was not generating the profile properly.
    I am not sure, whatever i did was right, but its working for me.
    -Naga

  • How can I determining Output Type automatically in Invoice

    Hi Friends
    Can any body advise How can I configure output type or its related settings so that output type should be determining Automatically when saving the invoice.
    right now it comes in the invoice only manually but I want automatically.
    Thanks in advance.
    Regards
    Neeraj Jain

    Hi,
    did you assign output determination procedure,output type and application to billing type? Check in VOFA t.code.
    Goto NACE t.code Select the application V3 and click on output type.
    Select the output type and choose details.
    Activate the field Access to conditions. in general data tab.
    If this field is not selected, then system will not search for condition records.
    Regards,
    Chandra

  • Output Type for Invoice document

    Hi,
    The Output Message for Invoice Document was not created during MIRO in 2004. So no output generated & user cant able to take invoice printout via MR90.
    Now user needs to output the message & take the printout. How to create the output type (tcode) for invoice document.
    Regards,
    Baskar

    Hi
    Follow this
    Goto Tcode NACE ...select application MR ...click output types .... here create a copy of ERS and name it as say INVS
    Now again in NACE slect MR and click on condition records and maintain condition record for INVS wrt co code
    Now in Tcode M808 maintain INVS in the schema MR0002
    Now when u create a MIRO doc then at header level do check if print is getting activated or not
    Then take print out in MR90 tcode

  • How to not retriggered output type when changes are made in Purchase Order

    Hi All,
    Could you let me know how can I resolve this one?
    We have a custom output type. Now this output type should NOT be automatically retriggered if a change is made to the document/purchase order. Currently the system automatically repeating the output type for every change made to the document/purchase order. But there is still an option for the user to be able to manually repeat the output.
    TIA

    Hi,
    1.In order to restrict the output type to trigger you need to write the requirement routine in transaction
       VOFM> requirements>output control.
    2. create the requirement routine in application EF and write the required logic and pass the sy-subrc EQ 4 if you not require to trigger the output type and pass sy-subrc equal 0 to trigger the output type.
    3. assign this requirement routine to custom output type.

  • How to assign an output type to an Output Device?

    How to assign an output type to an Output Device?
    I'm using SSF_GET_DEVICE_TYPE to get the device type. But for that device type there is no output device configured. How to do that one. I'm getting the output type as PDF1.
    Please help me.

    Hi,
    Guess u need to maintain it in SPAD transaction.
    Cheers
    VJ

  • How to attach custom output type to tcode VT02N

    HI All,
    My requirement to  create a new print program, form and output type i.e. to be attached to transaction VT02N when called.
    Please help to resolve
    -  How we create new output type
    -  Attach smartform/ spascript to the output type
    -  Take print of the smartforms using output type .
    there is some predefined output type in different application like in application v7 we are using the output type ALTR and there is smartrform associated with that output type but unable to take the print of that smartform.
    Regards,

    How we create new output type
    Copy the existing std output type to some Z*** output type
    menu path
    IMG Guide - Logistic Execution - Transportation - Basic Transportation Function - Output Control - Maintain Output Determination for shipment -Maintain Output Types
    Attach smartform/ spascript to the output type
    onthe same screen of output type click on processing routine folder on right and under form field assign ur smartform
    Take print of the smartforms using output type
    Either create a condition record (dont remember the tcode but u can search from SAP menu)  or while creating shipment doc...assign the ouput type (in shipment doc screen, from menubar  Goto ->Output ).......do not forget to specify the communication mode ie logical destination
    take printout from VT02n screen( initial screen goto-> output) or using VT70
    Regards
    Jagdish
    Edited by: jagdish parihar on Jan 23, 2008 11:31 AM

  • How/ where to  check output type while saving sales order for confirmation

    Hi All,
    Could you anyone pls let me know How/ where to  check output type while saving sales order for confirmation.
    Present scenario : when the Sales Order is created the Order confirmation is sent irrespective of credit block of the sales order.
    Requirement : Order confirmation “ZA00” sent to the partner only for those Sales orders which does not have credit block and ZCLE sent to the partner if the order has credit block.
    Now i want to know where exactly to check the output types "ZA00" and 'ZCLE' based on the credit block to send the confirmation to partener.
    Quick help highly appreciated......
    Preetham

    Hi Santosh,
    Thanks for the info. But here in this case I have to send the confiramation based on credit limit check. If credit limit check exceeds "ZCLE' should go as confirmation else 'ZA00' should go as confirmation.
    Where can we check the credit limit whether it exceeded or not. My doubt is whether it is config issue or do we need to write code user exit or routine to send the specific output type for confirmation.
    Thanks & Regards,
    Preetham

  • How to know the output type for particular tcode

    Hi
    how to know the output type for the VL10D & VAL TCODES.
    Can anybody help me out.
    Thanks and Regards
    Krishnarao

    Hi Krishna,
    GO to NACE and select your application and click on output types and in the next screen select your output type and and dbl click on Processing routines.
    Here you will come to know about which driver program is used for which smartform or Script.
    and for Program details you can refer table: REPOSRC
    Regards,
    Sachin

  • How to find out program name to the corresponding output type of invoice..

    hi ALL,
    I want to findout program name to my output type.
    For one invoice functional peoples are configured. Here i know the outtype. But i don't know the program name .
    Can any body please tell me how to find out the program name for the output type..?

    Hi,
    Goto NACE t-code
    Select Billing (V3)
    Press 'Output Types' Button
    In the next screen select the corresponding output type you want.
    Then press 'Processing Routines' in the left pane. You can see the program name
    Cheers,
    Kothand

  • Controlling time of EDI dispatch in output type for invoice

    Hi Gurus,
    I am trying to change the setting for invoice dispatch through EDI
    Currently the system is set so that invoice is sent (EDI) upon saving - and the desire it to make a manual decision when to send invoice
    I have looked at output types in SPRO - but could not figure out how to change the setting - it is not allowing me to change. Am I missing something?
    Any tips / tircks / suggestions?
    Thanks. - this is urgent as YE closing nears

    Go to V/40 .
    select the output type that you are using for Invoicing.
    double click it.
    go to Default Values tab .
           Change the Dispatch time to 1. Send with periodically scheduled job. .
    Now the invoices will be posted only when you run the program RSNAS00.
    IF this doesn't work out, Change it at COndition record level.
    Regards,
    Ajai
    Don't forget to reward points if useful.

  • Changing output type in invoice

    Hi All,
    I need to attach the output type in alraedy processed invoices but as the invoices are in display mode in MIR4 I am not sable to do so.
    Please advice how to do the same.
    Thanks and Regards,
    Manu
    Edited by: Manu Agrawal on Sep 23, 2008 7:40 AM

    Hi,
    you must use something like
    int32 out[50][50];
    int32 j, k;
    if (i==0)
    for (j=0; j<50; j++)
    for(k=0; k<50; k++)
    out[j][k]=in1[j][k];
    else
    for (j=0; j<50; j++)
    for(k=0; k<50; k++)
    out[j][k]=in2[j][k];
    I think this is because formula node must be precompiled before execution of your VI. In your case it doesn't know how to address different array elements of "in1" and "in2" because it doesn't know its sizes before you start your VI. In my example I specify the adresses of array elements by using indecies [j][k].
    In any case it looks like you can't make direct assignment of arrays like "arr1=arr2". You always must assign its elements in a loop like "arr1[i]=arr2[i]".
    Good luck.
    Oleg Chutko.

  • Email Output type : No Automatic trigger of output type while saving doc.

    Hi Gurus - To trigger an email from the output type, I've configured a output type with medium as 5(external send) with communication strategy and created condition records with medium as 5 to trigger immediately.
    While creating corresponding document, the output is not automatically determined, it required to manually feed the output type every time. Can you please provide if any settings were missed to trigger immediately!!
    In Output analysis showing a message as "No print data determined for the communication strategy"
    Steps:
    1. Configured the output type with Medium as"5" and associated partner functions.
    2. Created the condition records with medium as 5 and trigger immediately.
    Thanks,
    Sree

    Hi ,
    while maintaining condition record for output type when you click on communication method, give logical destination as 'LP01'.Hope this will solve.PLease let me know if you have any issues on this.
    Thanks and regrads,
    Rajeshwar

  • Assignning Output type to Invoice/Po.

    Ho Folks,
    is there any userexit in the Invoice print/po print for assigning the exact form to an output?
    I have different forms for each country right now.
    I would prefer not to setup an output type (email) for every country unless I have to. 
    The best solution would be a userexit so that I can build a table to assign the correct form.
    is there any user-exit or program so that i can assign?
    Amit.

    Hi Amit,
    These are the User Exits available in the billing please go through this and choose one of them which will sute for you with the help of ABAPer.
    User Exits For Billing
    USEREXIT_NUMBER_RANGE (Module pool SAPLV60A, program RV60AFZZ)
    The internal number range used in the standard system is specified in the billing type table and can be changed in this user exit. This user exit is only called when the billing documents is created.
    USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program RV60AFZZ)
    In this user exit additional fields for account determination that are not provided in the standard system are copied into communication structure KOMKCV (header fields).
    USEREXIT_ACCOUNT_PREP_KOMPCV (Module pool SAPLV60A)
    In this user exit additional fields for account determination that are not provided in the standard system are copied into communication structure KOMPCV (item fields).
    USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program RV60AFZC)
    Depending on the number range, table TVFKD is used to set the billing date (country-specific requirments in Italy). USEREXIT_NUMBER_RANGE is automatically deactivated when this user exit is being applied.
    USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC)
    This user exit is only called when the billing document is created. It is used to provide the header and the item of the new billing document with deviating or additional data.
    USEREXIT_PRINT_ITEM (Module pool SAPLV61A, program RV61AFZB)
    Printing the item line of a billing document can be supplemented or changed.
    USEREXIT_PRINT_HEAD (Modulpool SAPLV61A, Programm RV61AFZB)
    Printing the header line of a billing document can be supplemented or changed.
    User exits in program RV60AFZD
    Short descriptions of the user exits are contained in the program:
    USEREXIT_RELI_XVBPAK_AVBPAK
    USEREXIT_NEWROLE_XVBPAK_AVBPAK
    USEREXIT_NEWROLE_XVBPAP_AVBPAK
    I hope it will help you,
    Regards,
    Murali.

  • How to assign an output type to a document via ABAP

    Hello Guru's
    I have an interface with a 3rd party system to send information from deliveries. When a delivery is created, we trigger output with 'Post goods issue' and output triggers the interface.
    We need to also trigger output with 'reverse goods issue' and here is the problem. When GI is cancelled I don't know how to trigger the interface having the control from Sales not from MM.
    I'm thinking to use the same approach assigning an output to the delivery in a user-exit of GI cancellation process. But I don't know how to assign this output to a delivery document using ABAP. I have looked for BAPI's or Functions but no successful.
    - Do you know how to assign outputs to documents via ABAP?
    - Do you have any other idea to trigger the interface when GI is cancelled?
    Thank you in advance,
    Manuel

    Hi,
    Guess u need to maintain it in SPAD transaction.
    Cheers
    VJ

Maybe you are looking for

  • Cannot find Photo Stream on Mac / No iLifeAssetManagement folder

    I want to access my Photo Stream without iPhoto. Supposedly, these photos are located in the folder found at: ~Library/Application Support/iLifeAssetManagement/assets/sub. However, I do not have an iLifeAssetManagement folder -- and it is *not* becau

  • Events Spanning Midnight.....

    Events which cross midnight from one day to the next are not shown on the second day. It used to work with the previous versions...??

  • Install windows xp on mac os 10.7?

    how to install windows xp on mac os 10.7 ?

  • Product Name: HP Pavilion 15-e017tx, Operating System: Windows 8

    When playing videos, sound is not coming but picture is clear. The following prompt appears when testing sound: "This device is using another application.  Please close any other devises that are playing audio to this application and try again." But

  • Unknown error occurred (0xE800002E).

    After downloading updates to applications and syncing to iphone I got error message: Some of the applications in your iTunes library were not installed on the iPhone "(my name) iPhone because one or more errors occurred. Example of error: "The applic