BAdi for VF01 - Get Invoice Number

Hi,
I am working on the VF01, I want to save the outbound delivery number(LKIP-VBLEN) from VL01N as invoice number(VBRK-VBELN) when creating billing document.
The below enhancement seem not trigger debugging mode.
Enhancement
J_3RSINV
V61A0001 Customer enhancement: Pricing
V60P0001 Data provision for additional fields for display in lists
V60A0001 Customer functions in the billing document
V05N0001 User Exits for Printing Billing Docs. using POR Procedure
V05I0001 User exits for billing index
SDVFX011 Userexit for the komkcv- and kompcv-structures
SDVFX010 User exit item table for the customer lines
SDVFX009 Billing doc. processing KIDONO (payment reference number)
SDVFX008 User exit: Processing of transfer structures SD-FI
SDVFX007 User exit: Billing plan during transfer to Accounting
SDVFX006 User exit tax line in transfer to accounting
SDVFX005 User exit reserves in transfer to accounting
SDVFX004 User exit G/L line in transfer to accounting
SDVFX003 User exit cash clearing in transfer to accounting
SDVFX002 User exit for A/R line in transfer to accounting
SDVFX001 User exit header line in delivery to accounting
Business Add-in
SD_CIN_LV60AU02 BADI for billing
VOR_WA_FAKTURA Billing before Goods Issue
I am looking for "$" sign number. Any idea?

Also check this user exits as well.
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_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.

Similar Messages

  • Need User exit or BAdi for VF01

    Hi.
    I need User exit or Badi for VF01.
    Condtion: After Successful Save of document number in database.
    Please help me.
    To be reward all helpfull answers.
    Regards.
    Jay

    Hi
    The follwing user exits and badis available:
                                                                                    Enhancement                                                                               
    V05N0001                              
    User Exits for Printing Billing Docs. using POR Procedure       
    V05I0001                              
    User exits for billing index                                    
    SDVFX011                              
    Userexit for the komkcv- and kompcv-structures                  
    SDVFX010                             
      User exit item table for the customer lines                     
    SDVFX009                               
    Billing doc. processing KIDONO (payment reference number)       
    SDVFX008                              
    User exit: Processing of transfer structures SD-FI              
    SDVFX007                               
    User exit: Billing plan during transfer to Accounting           
    V61A0001                               
    Customer enhancement: Pricing                                   
    V60P0001                               
    Data provision for additional fields for display in lists       
    V60A0001                               
    Customer functions in the billing document                                                                               
    Business Add-in                                                                                SD_CIN_LV60AU02                       
    BADI for billing                                                
    VOR_WA_FAKTURA                        
    Billing before Goods Issue                                                                               
    If it is helpful rewards points.
                         Regards
                          Pratap.M

  • Get Invoice number in BADI INVOICE_UPDATE

    Hi all.
    It`s posible to get a invoice number in badi invoice_update. I create invoice in tc MIRO. I create my implementation and i call my function group (here i need number just creating invoice)
    Thx
    Grzegorz

    HI,
       Check the methods parameters for CHANGE_AT_SAVE method: S_RBKP_NEW or S_RBKP_OLD.
    S_RBKP_NEW-BELNR will ahve the document number.
    Regards,
    Ravi

  • Is there any userexit OR BADI  for MIR7 WHEN change number of PO

    I know I can use badi  NVOICE_UPDATE- CHANGE_BEFORE_UPDATE method. to check PO's number when
    I save .
    I want to find an exit or badi to implement when I change number of PO, and  type enter  to  check the number .How can I do ??

    Hi,
    Please check this thread for the procedure to find the BADI for a transaction
    http://searchsap.techtarget.com/tip/0,289483,sid21_gci1276392,00.html#
    Or
    You goto se24 and specify the class CL_EXITHANDLER and in that double click on GET_INSTANCE method in that put a break point on the line 
    CALL METHOD cl_exithandler=>get_class_name_by_interface
    and run you transaction... for almost every action you will get this method trigger and in that check the exit name... And that's the BADI for the interaction made in that transactation.
    Please go through this link for Finding BADI using class CL_EXITHANDLER in detail.
    [Finding BADI|http://abapreports.blogspot.com/2008/06/badi-finding-in-abap.html]
    Hope this would help you.
    Good luck
    Narin
    Edited by: Narin Nandivada on Aug 19, 2008 5:30 PM

  • BAdi For Vf01 transaction

    Hi,
      Is there any BADI exists for VF01.
    Regards
    Pratap.M

    Please check this user exits available for VF01.
    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
    Also check this user exits as well.
    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_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.
    Regards,

  • BAdi for VF01

    Hi friends
    I have requirement like in VF01(billing document) while click the Save button need to send a mail ...
    SO can anybody let me know whether any standard BAdi available or need to go for enhancement ???
    Thanks alot

    Hi!
    You don't need BADi for that.
    Simply send your mail from one of the output messages.
    Use NACE transaction to assign custom messages to V3 (invoicing) output.
    I suggest you to copy the printer program from RD00 output type and implement the mail sending to the copied ones.
    Then use VV33 transaction to set this output message to invoice types.
    Regards
    Tamá

  • The FIRST user exit/badi for VF01

    I need to know the first user exit/badi/etc... for VF01 (the pricing procedure).  We need to change field values BEFORE the first pass through the pricing routine (hits the condition types).  We are having an issue where we need to change field values and use those new values in a pricing condition.  What happens is the pricing condition is hit before our user exit is hit and so then it fails when it hits the condition a second time.  It fails this time because the values are different.  I need to change these values before the first pass.
    Regards,
    Davis

    Hi,
      what values are changing???
      are you changing the pricing condition values??
                 OR
      are you changing the value that will have an effect the pricing condition value..
    Thanks
    Naren

  • User Exit/Badi for VF01

    Hi all,
    I'm trying do find a user-exit/badi for t-code VF01, that allows me to change at the same time,some fields, of the header structure VBRK and items structure VBRP (all the items available). Until now, all the user-exits i've tried dont allow me to change both structures at the same time, neither badi (SD_CIN_LV60AU02). Regards,
    PCastro

    Hi,
    may be you are trying to chage the some other BADI. to find the exact BADI, follow this procedure.
    1) Goto se24 (Display class cl_exithandler)
    2) Double click on the method GET_INSTANCE.
    3) Put a break point at Line no.25 (CASE sy-subrc).
    Now
    4) Execute SAP standard transaction
    5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
    6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
    7) This way you will find all the BADIs called on click of any button in any transaction
    if you follow this 7 steps, you will find a suitable BADI.
    pl reward if it helps.
    Thanks & Regards
    Sadhu Kishore

  • Need a user-exit/BADI for VF01

    friends,
        am looking for an user exit or a badi that would restrict creating proforma invoice (VF01) if PGI is not done for the delivery...Even if PGI is not done, we are able to raise invoice for the delivery now..i have tried all the exits that one would get in smod, but nothing seems to work..any help would be appreciated
    Sathish. R

    Hi,
    Pls use the exits :
    RV60AFZA
    RV60AFZB
    RV60AFZC
    RV60AFZD
    RV60AFZJ
    RV60AFZZ
    These can be used for trigerring your logic in VF01.
    Regards,
    JLN

  • Suitable Exit/BADI for populating Requirement Tracking Number in PO and PR

    Hi all,
    I need help from you all. I need a single exit or badi which will trigger before saving any PO or PR while creating.
    For PO, it should handle 3 possible cases.
    1. Tcode : ME21
    2. Tcode : ME21N
    3. BAPI function module (Ex: BAPI_PO_CREATE1)
    For PR, it should also handle 3 possible cases
      1. Tcode : ME51
      2. Tcode : ME51N
      3. BAPI function module (Ex: BAPI_PR_CREATE)
    I need to populate Requirement Tracking Number (BEDNR) field in the line item from a custom number range object and also have to update a custom table.
    Please suggest...
    Raj

    Hi
    <b>At runtime, you will get the GUID in the BADI Interface.</b>
    Incase this BADI does not help, go for another BADI
    1) <u>BBP_SEND_MEDIUM_MODE</u>     
    (Determines the Default Settings for the Send Medium)
    2) '<u>BBP_OUTPUT_CHANGE_SF'</u>.
    <u>Here are some related links -></u>
    Re: PO output medium issue
    Re: SRM PO SMARTFORM
    Re: Control PO output to vendor
    Re: Add a Printer ?  -> LP01
    Hope this will help.
    Regards
    - Atul

  • Get Invoice Number after adding the invoice

    Hi,
       I am adding a service invoice to SBO using the DI api. I am able to create the Invoice successfully. Immedietly after I execute the Invoice.Add line, I would like to get the Docentry that was assigned to the invoice. What is the bst way to do this? Appreciate any help you can give me.\
    See code I am using:
    private void CreateSAPServiceInvoice()
                   SAPbobsCOM.Documents oServiceInvoice;//ChargeBack Invoice.
                   SAPbobsCOM.Documents oPaymentInvoice; //Orig: Invoice
                   SAPbobsCOM.Payments_CreditCards pCC;
                   oServiceInvoice = (SAPbobsCOM.Documents) frmMain.oCompany.GetBusinessObject(
                        SAPbobsCOM.BoObjectTypes.oInvoices);
                   oPaymentInvoice = (SAPbobsCOM.Documents) frmMain.oCompany.GetBusinessObject(
                        SAPbobsCOM.BoObjectTypes.oInvoices);
                   oServiceInvoice.DocType=SAPbobsCOM.BoDocumentTypes.dDocument_Service;
                   oServiceInvoice.CardCode = pmt.CardCode;
                   int x = pmt.Invoices.Count;
                   //Get CC Payment Info
                   pCC = pmt.CreditCards;
                   for (int i=0;i<pCC.Count;i++)
                        pCC.SetCurrentLine(i);
                        this.CBAccountInfo= modcb.cbaccts.Find(pCC.CreditCard);
                        if (this.CBAccountInfo != null)
                             //Service lines
                             oServiceInvoice.Lines.ItemDescription = this.pCBAcct.AccountName;
                             oServiceInvoice.Lines.AccountCode = pCC.CreditAcct;
                             oServiceInvoice.Lines.Price = pCC.CreditSum;
                             oServiceInvoice.Lines.TaxCode="0";
                             oServiceInvoice.Lines.Add();
                   //Add the invoice only if any lines have been added to the
                   //Service Invoice.
                   if (oServiceInvoice.Lines.Count > 0)
                        //Add the invoice
                        int j = oServiceInvoice.Add();
                        if  (j!=0)//If there is an error
                             int ix; string m;
                             frmMain.oCompany.GetLastError(out ix,out m);
                             throw new Exception(ix + ":" + m);          
                        else
                             j =oServiceInvoice.DocNum;

    I think this thread might have some useful information for you.
    After Save Document: How to get DocNum, LineNum

  • Screen Exit / Badi for VF01 in ECC 5.0 Version

    Dear experts,
    I want to add some customized field(Bill of lading date) to the screen of billing header and the field should be displayed in the screens of t-code VF01 and VF02 always.
    I found that the BAdi: BADI_SD_CUST_HEAD
    But When I try to  create implementation for the Badi. The following error is coming Badi definition  BADI_SD_CUST_HEAD is only provided for SAP internal use. Our client using sap ecc 5.0 version.
    Is there any screen exit or how  to add a popup on the billing screen in user exit rv60afzc . Adding popup enter bill of lading date Causes any problems?
    Pleaes give me ur help ASAP. Thanks a lot!

    Added zfiled in vbrk table.and user exit Called popup.

  • User Exit or BADI for catch the document number after saving the document

    Hi ,
    I am working on data conversion where Document number(BELNR),BKPF and BSEG  data should
    transfer to my Z table(Containes fileds of BKPF and BSEG) after SAVE the document related to
    Tcodes F-01 , F-22 , F-28 , F-43 , FB01 , FB02, FB60 ) . It need to go through by any user-exit or
    BADI.So Could you please suggest me any User exit or BADI ASAP.
    Waiting for reply.
    Thanks
    Lakshmi

    You should use BTE (Business transaction event). This concept is used especially for FI related enhancements...
    Study this document to know how to use BTE
    http://www.todoabap.com.ar/archives/FI%20Enhancement%20Technique%20-%20How-To-Guide%20on%20the%20Usage%20of%20Business%20Transaction%20Events%20(BTE).pdf
    Let me know if you face any specific issues..

  • User-Exit or BADi for VF01

    Hi.
    Please, I need a Badiu2019s or User Exitu2019s name to validate data before to create the invoice, im using the VF01 transaction to create the invoice
    Tanks.
    Carlos

    Hi,
    please use search functionality of this forum. This question has been asked so many times. I believe that  you will have not any problems to find an answer for your question.
    Cheers

  • Badi for checking the vendor number entered in ME31K

    Hi all,
    My requirement is to check the vendor number that user has entered in me31k and give messege accordingly.
    Is there any badi to implement it?
    badi me_process_pocust perhaps will not work in this case.
    Plz help.

    Hi Santosh,
    Have you looked BADI <b>ME_PROCESS_PO_CUST</b> or user exits <b>EXIT_SAPMM06E_016</b> / <b>EXIT_SAPMM06E_017</b>?
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

Maybe you are looking for