BADI during billing document save

Hi There,
I need to change the order status after CRM billing document has been created. Is there any BADI linke ORDER SAVE in billing?
Regards,
Ram.

Hi,
Check Badi that is called then document is saved.
cl_Exithandler
Denis.

Similar Messages

  • Automatic Debit Request after billing document save

    Hi,
    We have one busiess requirement where we need to automate the billing chain process and the flow is as follows -
    STO -> Delivery -> Billing -> Debit Request -> Debit Memo
    Here we need to automate the debit request creation after saving the billing document, for that i need exit or BADI which suites the above requirement. 
    The exit/badi i am searching should supports the data for VBRK, VBRP and VBPA table, after searching several places i found the below BADI whch suits my requirement.  However this BADI not at all triggering during billing save -
    BADI_SD_BILLING
    Please help me how to overthis issue, please advice
    Best Regards,
    Goutham

    Hi,
    Thanks for your reply,
    For calling a BAPI, i need a userexit which provides the Billing document number and also line items.  I tried with the following includes however these are not solving my purpose -
    RV60AFZZ
    RV61AFZA, ZB
    Hence guide me the correct exit which give the information of billing document number and the data related to line items.
    Anticipating a positive reply
    Best Regards,
    Goutham

  • Error during billing document Cancelation in VF11

    Hallo!
    When I'm trying to cancel a billing document with t code VF11, following error
    occurred:
    Error Log
    1. 2200800226 000000 Cancellation document is not the same as the original billing doc. 2200800226 (VF 056)
    2. 2200800226 000000 Data inconsistency during processing of document 2200800226 (VF 188)
    I've downloaded following sap notes: 489676, 895101, 978098. But nothing new to cancel the billing doc!
    In that billing doc I've just the EUR currency.
    Please help me on top priority.
    Thanks in advance!
    Best Regards,
    IB

    Hi!
    Our billing document is generated from a Delivery, and our release is 5.0.
    Thank you
    Best Regards,
    Ilario B.
    Edited by: Ilario Benetti on May 5, 2010 4:12 PM
    Edited by: Ilario Benetti on May 6, 2010 9:29 AM

  • Change in Qty during billing document creation

    Hi,
    I have create a sales order for an single item with 100 qtys. I have then delivered the entire quantity and had done the PGI. Now during creation of the billing document, I want to bill only 50 nos. Request you all to please guide how it can be done??
    Regards,
    Ritam

    >
    Ritam Bera wrote:
    > Hi,
    >
    > I have create a sales order for an single item with 100 qtys. I have then delivered the entire quantity and had done the PGI. Now during creation of the billing document, I want to bill only 50 nos. Request you all to please guide how it can be done??
    >
    > Regards,
    > Ritam
    Hi Ritam,
    If you are creating the billing document with reference to the delivery then goto the T.Code "VTFL".
    Select your document type(Billing as well as delivery).Goto Item and select the Item category and then Click on details and in the screen select pos/neg. quantity as "+" then it will allow you to enter partial quantity.
    If you are creating with reference to sala order then goto T.Code "VTFA" and repeat the same as above.
    Regards,
    Mohan.

  • Accounting determination simulation during billing

    Hello Friends,
      We have a business requirement to simulate account receivables before releasing to accounts during billing document save.   In standard, we can check account entries only after billing document save. Hence Could you please suggest -
    a. Is any standard approach available to simulate an accounting determination during the creation of billing document?
    b. I was identified simulation function in VF04 (Collective billing) but not sure how it works and the usage of this function.
    Account determination analysis in billing document not really fill the requirement, our business is looking more like simlation process in finance side.
    Many thanks in advance for your help.
    Thanks
    Regards,
    Goutham

    b. I was identified simulation function in VF04 (Collective billing)
    but not sure how it works and the usage of this function.
    Simulation of billing documents not simulation of accounting document.
    Search forum about simulation,have a look at simulation functionality in MIRO transaction !
    Edited by: Jeyakanthan A on Sep 17, 2010 10:18 AM

  • BADI for Substitution of billing documents and PGI

    Do we have any BADI for billing documents or PGI ??

    Hi,
    For billing -> Check the includes RV60AFZ* for user exits.
    For PGI -> BADI - MB_DOCUMENT_BADI
    Thanks
    Naren

  • Billing document to customer email ID

    Hi,
    I want any billing document save then billing document should go to automatically the customer email ID. Already I have maintained the email ID into the customer master.
    is it possiable? If yes, how?
    Pl provide the solution for above requirement
    Useful answers duly rewarded
    Regards,
    Devendra

    Hi
    Even for the Z output type you can set External send method in NACE.
    Other config steps are same as provided you earlier i.e. NACE -- VV31 - VF31 varient creation --> SCOT settings --> Job Schedule for VF31 with varient --> Job schedule for SCOT.
    Just one tip, if you want check SCOT settings are in place or not - generae spool request. In T.code SP01 select the spool request and Click Menu Bad --Spool Request --> Forward --> Send using SAP Office --> Type your Maild id. for e.g gmail ID.-Click on copy.
    Now go to T.code SCOT just check you have configur Adr Type INT and within INT -- SMTP. Click on Start send process and click on Start. If you get output via mail through this process your SCOT settings are in place. Else you need to ask your basis team to configure.
    Good luck
    Regards,
    Vijay
    Edited by: Vijay Salvekar on Jun 26, 2008 11:26 AM

  • Exchange rate in billing document

    Hi,
    I am facing issue in determining the exchange rate in billing document.  During billing document creation, system is picking the exchange rate based on the item level exchange rate.  This exchange rate is determining based on the pricing date but this pricing date in billing document is equal to the sales order pricing date.  But my requirement is to determine exchange rate based on the billing date.
    I done the following settings -
    1. Maintained the exchange rates in exchange rate table
    2. Defined copy control between delivery to billing and in that maintained pricing exchange rate settings as
    C Exchange rate determination according to billing date
    But still system is determining the exchange rate based on Condition Pricing date which is copied from the sales order (sales order pricing date is equal to billing pricing date).
    Please help, how to make pricing date as today's date or billing date
    Regards
    Goutham

    Hi,
    u can achive though copy controls vtfl u go to there item level u find exchange rate type 'C' Pricing date will based on billing date.
    Best regards,
    venkataswamy

  • Release the Cancelled Billing Document -Error

    HI,
    I am a fico consultant and not aware of SD fully.Kindly help me by giving inputs.
    Original Invoice document is -900000008
    cancelled invoice document is 1000000014
    when i try to release the cancelled invoice document 1000000014 in VF02,it is giving error like "automatic clearing off billing document 900000008 and can.doc. 1000000014 no poss".how to release  the cancelled invoice.
    Thanks
    Prathima

    Hi,
    Goto T.Code : VOFA
    Choose Billing type : F2
    Check the following entries in Billing type.
    Posting Block :  If you select,system blocks automatic transfer of the billing document to accounting
    Cancellation billing type - S1
    Acc Determination Procedure : KOFI00 (Standard)
    Choose Billing Type : S1
    Acc Determination Procedure : KOFI00 (Standard)
    Procedure:
    Cancellation : Go to T.code VF11
    Enter the Billing document : eg. 90000102 and press F8
    system will cancel the billing document and generates the cancellation billing document, save the transaction.
    We can release the blocked billing documents in VFX3 or goto VF02 enter billing document and choose green flag.
    Goto VF02 or VF03  enter the original billing document number and press document flow button.
    As per my knowledge we can't maintain external number ranges for billing documents.
    Regards,
    Chandrasekhar.s
    Edited by: chandra sekhar S on Jul 17, 2008 8:36 AM

  • Manual change / copy currency in intercompany billing document

    Hi,
    We are running the SD intercompany process, where 'F1' is the customer invoice billing document type and 'IV' is the intercompany billing document type.
    The currency in billing document type 'F1' is derived from the final customer master data, whereas the currency in billing document 'IV' is taken from the intercompany customer master data. We would like the currency in billing document 'IV' (intercompany) to be the same as the one in 'F1'. It is the Finance team business requirement.
    Is it possible to have the currency copied from 'F1' to 'IV'. We would also be happy to manually change the currency in 'IV'.
    Please advise which settings are required - if this is even possible.
    Thank you,
    Karol
    Edited by: Karol on Jun 17, 2010 12:07 PM

    Hello Karol
    Why do you want to get into copy controls etc,, when you can simply set up the Intercompany customer's currency based  on the  customer's (Sales Org) country.
    Let me explain. US Company is selling to US customer from a Plant in Switzerland.  Real customer is set up with USD in US sales area. The Inter Co Customer created in Swiss Sales Area should be set up with USD as currency based on the country of the Inter Co customer. This is how it is set up in my current client's setup and is working. The only issue you may get is when US is supplying to an International customer based in UK, then you will run into issues, I am assuming you don't have any such cases.
    If the customer master set up  idea does not work for you, then I guess your only option are user exits during Billing document creation or copy control routines.
    Proposals:
    1)  USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC). Yo can try filling up VBRK-WAERK with VBAK-WAERK.
    2)  Alternately you may insert the same logic in Include LV60AA95 for program SAPLV60A. This is supposed to be part of the copy control routines but I don't know how it is called etc. It does not appear to be filled in the copy control config. I got the inspiration for this from OSS note 358893 which was meant for Euro conversion, Same concept so why not use it?
    3)Thirdly in the area of copy control (Delivery- Billing Document)  itself, for the item category, set up a custom routine in the feild Data VBRK/VBRP and  insert code there to replace the Document currency with that  from the sales order. You may also want to set up the PricingExchRate type field also with a suitable value right here itself. Only doubt is whether this works for only item or for header also as the field name (VBRK/VBRP) indicates.
    Review  the following OSS note 358893 - Create billing document with different document currency for more on proposal 2.
    Keep us posted on how you are proceeding with the solution.
    Please keep us posted with how you are proceeding on the solution.

  • How to rerun the costing in the Billing document.

    Hi,
    I am working for an client who belongs to Cable Industry, we are capturing the costing in the sales order and pricing is based on the costing.
    We are capturing the pricing in Ek02, on this we are adding the profit margin.
    As Copper price is always changes in some cases client want to charge more or less the difference amount at the time of creating the invoice. The sales order may partially delivered and billed. In this case also client want to change the price.
    How can we incorporate the change of copper price in the billing document as i cannot run the costing once again in the sales order for the balanced quantity, and client want this calculation to be done by system itself during billing.And SAP has not given any provision to run the costing during billing document.
    Kinldy suggest how to proceed further.
    Thanks & Regards,
    Kumar.

    Hi,
    My client belong to cable industry, so copper becomes the major rawmaterial which changes daily.
    So, sometimes based on the customer request if the invoicing is done after 3 months from the date of sales order
    then we  need to update the price at the time of invoicing.
    In sales order we are running the costing and using the variant configuration Module in th project.
    And after production at the time of invoicing client is asking to put the changed prices (Ex. Copper, GI Wire and PVC component) for which prices will be announced by the LME.
    So, kindly suggest me how to re run the costing in the billing or is there any alternative to define separate condition types for Copper, GI Wire etc.
    Awaiting for your reply,
    Thanks & Regards,
    Tilak.

  • User  exit to populate BSEG field during billing doc release

    Hi,
       Can anyone identify for me a suitable user exit during Billing Document Release that will allow me to populate a field in bseg?
    Many thanks,
    Ross

    I got it, thanks anyway.

  • User Exit on the save of Billing document (VF01)

    Hello All,
    I have a requirement where in during the creation of a billing document of a particular type i need to put in a block to prevent the creation of a accounting document and call a workflow to remove the block in the Invoice.
    My requirement is that I require a user exit which is triggered on the save of the invoice document so that a call to the workflow can be done where in the runtime information of the document would be available in the workflow for further processing .
    Helpful answers would be rewarded.
    Thanks in Advance,
    Sowmya.

    Hi,
    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.
       Refer the help
    http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/frameset.htm
    Regards
    Kiran Sure

  • IW51 - Badi during save to change item data

    Hello experts,
    we are trying to modify on service notification the item data (classification data).
    We are trying to do it via BAdI Interface IF_EX_NOTIF_EVENT_SAVE.
    Once we reach that badi we want to update classification data using function BAPI_OBJCL_CHANGE.
    We pass the document number we have to the object key of the bapi (qmnum + fenum).
    But bapi returs us message that document xxxx does not exist.
    When we test bapi vie SE37 it works .
    But in the badi it seems failing cause the document is not yet commited.
    Do you have an idea of how we could call the bapi to change item data with document number saved before ? (other badi, exit, other solution,...)
    Or any other idea could be welcome.
    Thanks for the help.
    S.N

    Hi
    Transaction Code - VF01                     Create Billing Document
    Exit Name           Description
    J_3RSINV
    SDVFX001            User exit header line in delivery to accounting
    SDVFX002            User exit for A/R line in transfer to accounting
    SDVFX003            User exit cash clearing in transfer to accounting
    SDVFX004            User exit G/L line in transfer to accounting
    SDVFX005            User exit reserves in transfer to accounting
    SDVFX006            User exit tax line in transfer to accounting
    SDVFX007            User exit: Billing plan during transfer to Accounting
    SDVFX008            User exit: Processing of transfer structures SD-FI
    SDVFX009            Billing doc. processing KIDONO (payment reference number)
    SDVFX010            User exit item table for the customer lines
    SDVFX011            Userexit for the komkcv- and kompcv-structures
    V05I0001            User exits for billing index
    V05N0001            User Exits for Printing Billing Docs. using POR Procedure
    V60A0001            Customer functions in the billing document
    V60P0001            Data provision for additional fields for display in lists
    V61A0001            Customer enhancement: Pricing
    No of Exits:         17
    With Regards
    Nikunj Shah

  • Not to allow to save the billing document in the back date if FI period clo

    Can anybody help me please. My FI period for october is closed. But there are still some open delivery documents in billing due list for October. So now let say on 7th december if i will make the billing documents by giving the date 30.11.2007 logically as FI period is closed it will allow to save the billing document but will not pass to accounting.
    So this normaly happening in my industry endusers are creating the billing documents in the back date even after the period close so all the documents come into VFX3.
    So can any body help me? Can we have any check if the FI period is closed for a perticular months if we will try to make the billing documents in the closed period it will not allow to generate the billing document rather saving the documents and blocking for accounting.
    Reggards.
    Laxmikanta Das.
    09958119889.

    Dear laxmikanta
    I also not come across the situation what you said and hence dont have much idea about authorization group.
    However, on going through the F1 help, it says
    <b>Procedure</b>
        If only a limited set of users is to be able to post in a particular
        posting period, proceed as follows:
                 o   Add the posting period authorization (authorization object
            F_BKPF_BUP) to the authorizations of the selected users. Assign an
            authorization group (e.g. '0001').
                  o   Enter the account type '+' for the posting period variant to which
            the restriction is to apply. Enter the period(s) whose use is to be
            restricted in the first period, those which are available to all
            users in the second period, and the authorization group (e.g.
            '0001') in the last column.
    <b>Examples</b>
        A posting period can be successively restricted. If, e.g. 10 users have
        the posting period authorization with authorization group '0001', and 3
        of these 10 users also with authorization group '0002'.
        If the period is only to be accessible to the 10 selected users the
        authorization group '0001' is entered in the posting period variant.
        Access can later be restricted to the remaining 3 users by entering
        '0002'.
    From the above, I feel your requirement can be met.
    Thanks
    G. Lakshmipathi

Maybe you are looking for