User Exit in Billing Document - VF01

Dear friends,
I want to validate the billing data while saving the billing document and issue error message or error log if the validation fails.
Kindly advice.
Regards,
Praveen Lobo

Hi,
You can use the copying requirements routine ...to do the validations and stop processing if the validation fails
Go to transaction VOFM..
In the menu..copying requirements -> billing documents..
Thanks
Naren

Similar Messages

  • User exit for billing document when released to Accounting

    Hi Expert,
                  we have a requirement, where the new output type has to be triggered automatically when the billing document is released to accounting while creating invoice in VF01.So to achieve the same what should be our approach?
    Thanks in advance.
    Moderator message: please do more research before asking, show what you have done when posting again.
    Edited by: Thomas Zloch on Jan 27, 2012

    Hi Ivano,
    I resolved my issue.
    I apply the note 339928 deactivating the new cancellation procedure.
    Thanks & Best regards,
    Ciao,
    MaxD.

  • 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

  • Add customer fields on item level billing document VF01

    Hi gurus,
    Does anybody know a user exit (or another way) to add 3 customer fields on a subscreen during creation of a billing document (transaction VF01) ? I'm afraid I need to do a modification for this but maybe there is a better solution.
    Thanks for your reaction.
    Serge

    Hi
    These are the userexits
    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
    may be you can look into this SDVFX010
    Please reward if useful.

  • Exit for Billing document

    HI ,
    I need an enhancement point for billing document creation.
    SAP uses FM RV_INVOICE_DOCUMENT_ADD to determine the invoice number using Function Module NUMBER_GET_NEXT.
    I need an enhancement point immediately after the standard SAP invoice number has been determined where I can put my own code and use

    Hi
    See in customizing (trx SPRO):
    Sales and Distribution->System Modifications->User Exits->User exit for billing
    Max

  • User exit for FI document

    Hi All,
    I need a user exit for FI document posting.
    My purpose is based on types of G/L accounts i need to add line item data to FI document.(i.e.,inserting into BSEG table )
    Can you please suggest me the user exir.
    Thanks and regards
    Praveen

    Transaction Code - FB01                     Post Document                                    
    Exit Name           Description                                                                               
    F050S001            FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment                  
    F050S002            FIDCC1: Change IDoc/do not send                                         
    F050S003            FIDCC2: Change IDoc/do not send                                         
    F050S004            FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send                
    F050S005            FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document                 
    F050S006            FI Outgoing IDoc: Reset Clearing in FI Document                         
    F050S007            FIDCCH Outbound: Influence on IDoc for Document Change                  
    F180A001            Balance Sheet Adjustment                                                
    FARC0002            Additional Checks for Archiving MM Vendor Master Data                   
    RFAVIS01            Customer Exit for Changing Payment Advice Segment Text                  
    RFEPOS00            Line item display: Checking of selection conditions                     
    RFKORIEX            Automatic correspondence                                                
    SAPLF051            Workflow for FI (pre-capture, release for payment)                      
    If you know tcode then you can find out user exits associated with the same with the following code:
    *& Report  ZUSEREXIT                                                   *
    *& Finding the user-exits of a SAP transaction code                    *
    *& Enter the transaction code in which you are looking for the         *
    *& user-exit and it will list you the list of user-exits in the        *
    *& transaction code. Also a drill down is possible which will help you *
    *& to branch to SMOD.                                                  *
    REPORT zuserexit NO STANDARD PAGE HEADING.
    TABLES : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
    TABLES : tstct.
    DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
    DATA : field1(30).
    DATA : v_devclass LIKE tadir-devclass.
    PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
    SELECT SINGLE * FROM tstc WHERE tcode EQ p_tcode.
    IF sy-subrc EQ 0.
      SELECT SINGLE * FROM tadir WHERE pgmid = 'R3TR'
                       AND object = 'PROG'
                       AND obj_name = tstc-pgmna.
      MOVE : tadir-devclass TO v_devclass.
      IF sy-subrc NE 0.
        SELECT SINGLE * FROM trdir WHERE name = tstc-pgmna.
        IF trdir-subc EQ 'F'.
          SELECT SINGLE * FROM tfdir WHERE pname = tstc-pgmna.
          SELECT SINGLE * FROM enlfdir WHERE funcname = tfdir-funcname.
          SELECT SINGLE * FROM tadir WHERE pgmid = 'R3TR'
                                      AND object = 'FUGR'
                                    AND obj_name EQ enlfdir-area.
          MOVE : tadir-devclass TO v_devclass.
        ENDIF.
      ENDIF.
      SELECT * FROM tadir INTO TABLE jtab
                    WHERE pgmid = 'R3TR'
                     AND object = 'SMOD'
                   AND devclass = v_devclass.
      SELECT SINGLE * FROM tstct WHERE sprsl EQ sy-langu
                                  AND  tcode EQ p_tcode.
      FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
      WRITE:/(19) 'Transaction Code - ',
           20(20) p_tcode,
           45(50) tstct-ttext.
      SKIP.
      IF NOT jtab[] IS INITIAL.
        WRITE:/(95) sy-uline.
        FORMAT COLOR COL_HEADING INTENSIFIED ON.
        WRITE:/1 sy-vline,
               2 'Exit Name',
              21 sy-vline ,
              22 'Description',
              95 sy-vline.
        WRITE:/(95) sy-uline.
        LOOP AT jtab.
          SELECT SINGLE * FROM modsapt
                 WHERE sprsl = sy-langu AND
                        name = jtab-obj_name.
          FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
          WRITE:/1 sy-vline,
                 2 jtab-obj_name HOTSPOT ON,
                21 sy-vline ,
                22 modsapt-modtext,
                95 sy-vline.
        ENDLOOP.
        WRITE:/(95) sy-uline.
        DESCRIBE TABLE jtab.
        SKIP.
        FORMAT COLOR COL_TOTAL INTENSIFIED ON.
        WRITE:/ 'No of Exits:' , sy-tfill.
      ELSE.
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        WRITE:/(95) 'No User Exit exists'.
      ENDIF.
    ELSE.
      FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
      WRITE:/(95) 'Transaction Code Does Not Exist'.
    ENDIF.
    AT LINE-SELECTION.
      GET CURSOR FIELD field1.
      CHECK field1(4) EQ 'JTAB'.
      SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
      CALL TRANSACTION 'SMOD' AND SKIP FIRST   SCREEN.
    *---End of Program.
    I hope it helps.
    Best Regards,
    Vibha
    *Please mark all the helpful answers

  • User exit for billing

    Hi, what is the user exit for billing doc. I mean the inlcude program name.
    regards
    sachin

    Hi
    Refer below
    <a href="http://help.sap.com/saphelp_46c/helpdata/en/18/f62c7dd435d1118b3f0060b03ca329/content.htm">User Exits For Billing</a>
    Billing user exit for partner determination/substitution

  • User Exit after posting document (FB01)

    Dear all,
    I want to change the BSEG entries based on a mapping table.
    Is there any User Exit after posting document. I debuged long time and couldnt find any User Exit where u can change the BSEG.
    Thank u very much!
    best regards

    thank u for ur answer. I know it but not really! I know there is also an option. But my question here:
    -> Is here no User Exit where I can change the BSEG?
    -> It is possible to write a normal ABAP code in the substitution?
    Thank u very much

  • Which user release the Billing document Number

    Hi,
    I want to see that which user release the Billing document Number.  (release to accouting)
    From where we can see this??
    Edited by: @ABAP@ on Feb 20, 2010 11:57 AM

    Go to FB03 --> Enter the document and othe details --> Enter -->  next screen click at "Display document header" (Small Cap icon) --> There in field "Entered by" you can see the name
    Regards,
    MT

  • 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

  • User exit at billing and sales document level

    Hi,
    Like we use a quantity contract through that we create resource related billing order and thn do the billing of that order but in the resource related billing order user enters the data manually which can exceeds the quantity of the contract.
    Now we want to put a check at the billing document level where system should throw an error message whenever total qauntity fo the billing document exceeds the contract quantity.
    So which user exit should i use?
    How to find a user exit or screen exit for a particular tab in a transaction like in VA41 at the item level in the sales B tab we want user should enter a field to a certain level.
    Regards,
    SATYA

    Hi,
    you can check with the below user-exits for you requirement.
    Enhancement
    V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
    V45L0001 SD component supplier processing (customer enhancements)
    Business Add-in
    BADI_SD_V46H0001 SD Customer functions for resource-related billing
    How to find [USER EXIT.|https://www.sdn.sap.com/irj/scn/advancedsearch?query=findauserexitorscreenexitforaparticulartab+&cat=sdn_all]
    you can get details in the SCN
    Regards!

  • USER EXIT / BADI on save VF01

    Hi,
    Do you know any user exit or BADI which triggers after save VF01 (Billing document), actually I need to modify the payment terms field in the VF01 while save.
    Used program RV60AFZC to modify payment terms field but it does triggers before save.
    <removed by moderator>
    Thanks,
    Srini
    Edited by: Thomas Zloch on Mar 2, 2011 3:24 PM - no promises, please

    Hi,
    There is an enhancement point in FM RV_INVOICE_DOCUMENT_ADD.
    "ENHANCEMENT-POINT rv_invoice_document_add_15 SPOTS es_saplv60a"
    You can check it once.
    You can try with BADI SD_CIN_LV60AU02.
    Thanks
    Arbind

  • Retriggering pricing while saving the billing document (vf01)

    Hi all,
             Please help me in the issue. I want to determine the pricing 'carry out new pricing B' at the time of saving invoice doucment . Can anyone tell me the userexit for doing the same.
    Thanks ina advance,

    Isn't there a configuration settings in copy control to the billing documents? Why do you need to use a user exit for this?
    In any case, please use search here and in the SD forums (all 3 of them). I believe this has already been discussed. Search for 'invoice repricing' as well.

  • USER EXITS IN BILLING

    HI ALL,
    Scenario. Billing document created and the user wants to cancel the billing document after the closing period . but the system should not allow to do that what is the user exit to be used ?
    Please provide the user exit
    Regards
    Anil Mairpady

    Dear Anil,
    Instead, what i would suggest to discuss with FI-Personnels and resolve the same.
    Best Regards,
    Amit.
    Note: As far as, your exact requirement is concerned, Lemme check and If, I come-up with some alternate solution, I'll definitely update. meanwhile, you may check with BAPI_BILLINGDOC_CANCEL1 (haven't much knowledge about it as never encountered such requirement at my end).
    Also, you may look in to following threads, if you get some helpful information:
    [Thread1|Fixing Billing Date in vf11 (cancel billing Document)]
    [Thread2|User-Exit to cancel a  Billing Document]
    [Thread3|Cancel Billing document User Exit]
    Edited by: Amit Yadav on Dec 8, 2008 7:08 AM

  • Update vbup/vbuk from user-exit for sales document

    Dear All.
    Is it possible to update the sales document status for an item (vbup) from a user exit , customer function, badi, or other, in the billing document?
    We'd like to make the control of updating the status tables dynamic, rather than based on the confiuration for an exception process.
    For example, when service item (order related billing) is partially billed, depending on some conditions we would set the sales order service item to fully invoiced. 
    In this case vbup-FKSAA = C.
    Many thanks!

    There is a BAdI LE_SHP_ITEM_STATUS that can change the item status in VBUP. Be sure to read the documentation first. It states
    If you use this BAdI to change the delivery item status that was set in delivery
    processing, it can affect further processing of the delivery extensively, and
    lead to data inconsistencies. Therefore, SAP recommends that you only use
    the BAdI to modify your own status fields.
    Regards,
    Brenda

Maybe you are looking for

  • Error upgrade 10.2.0.1.0 to 10.2.0.4 while running root102.sh

    RHEL 4 , ORACLE 10.2.0.1.0 VERSION RAC NODES USING VMware setup. today i tried to upgrade my test environment to 10.2.0.4.0 (p6810189_10204_Linux-x86.zip patch set installation) i got a error while running root102.sh on node RAC1. [root@rac1 install]

  • Migrating application from Windows 2000 to Windows XP Pro SP3

    I just got a new computer with Windows XP Pro SP3 installed and need an application that was installed on my old, really old, computer running Windows 2000. The application was developed by a third party in 1997 and uses Oracle as the database engine

  • Unable to install OS X Mavericks to main HDD on Mini. Help Please!

    Hello, I'm having a difficult time installing the update from Mountain Lion to Mavericks. I had no trouble when I updated to Mountain Lion. I downloaded the Mavericks update but when it comes to the point that I need to select the disk where I want t

  • Trouble With Links to Network Files Within Online PDF

    I posted this at the end of someone else's thread who had a similar problem but it may have gotten lost in the shuffle. Either that or no one has an answer. Here goes... I create a Word document that contains links to network files (tested and workin

  • Why can't i edit the variable declaration in Netbeans GUI Applications?

    When i drag and drop jbutton,jlabel and other tools from toolbox on the jform the code is automatically generated by the Netbeans. At bottom the variable declaration for the jbutton and for the other tools is automatically generated. The part of that