Userexit in Billing (VF01)

Dear All,
I want to place some conditions in Billing & based on these conditions, I want to update the data in some external tables. So please tell in which user exit I can place such conditions and logic for updating the table.
Regards,
Vishal

Hi,
If your requirement is to have condition types which should appear only in billing document means you need to assign the routine 24 against that condition.  Passing on the values from billing to external tables can be done in exit RV45AFZZ.
Thanks,
Krish.

Similar Messages

  • Add NEW invoice items  in accounting document when doing billing (VF01)

    Hi !
    Is it possible to ADD NEW Itemlines to the Accountingdocument while doing billing(VF01) ?
    Know that its no problem to change existing lines.
    Need to ADD one new debit and one new credit item line.
    Have tried  userexit  EXIT_SAPLV60B_008 and BADI  AC_DOCUMENT  in debugger.
    But did not get it to work , "Accounting document was not get created".
    Added lines to XACCIT and XACCCR tables.
    BTE 1130 ?
    Please let me know how i can solve this,
    Thanks !
    Cheers
    /Per

    Hi !
    OK did you solve it ??  What exit did you then use ?
    I copied one of the GL rows and changed to next index and changed the values i wanted in XACCIT.
    Same to the table that holds the amounts. Same index there as the XACCIT table.
    I just want to know IF it is possible and what exit to use.
    Best regards
    /Per

  • Error while doing the billing (VF01)

    hello,
    we have created Debit memo request "1234" (doc type : DR). when i am doing the billing(VF01) for the debit memo "1234" we are encountering the error as bellow.
    bellow message is from the log:
    "001234 000010 "Create billing document" not allowed (Sys. status Cost, object VB001234000010)
    Long txt
        Detail
         Diagnosis
             The status check for the status object VB001234000010
             indicated that the procedure "Create billing document"
             cannot be performed because Sys. status Cost forbids it.
         System Response
             Procedure "Create billing document" is not performed.
         Procedure
             If procedure "Create billing document" is to be performed,
             the Sys. status Cost of object VB001234000010 must be
             reset.
             Other statuses than Sys. status Cost can also prevent the
             procedure. This message does not tell you all statuses
             which currently prevent procedure "Create billing
             document"".

    Hello,
    First you check the requirement type in the order VA03 --> Overview screen --> Procurement tab --> check the requirement class for the line item.
    Check, IMG u2013 Controlling u2013 Product Cost Controlling u2013 Control of sales order related production / prod. Cost by sales order u2013 Check Requirement class.
    Check the requirement class from here. Remove all data from the Costing and Account Assignement tabs and save. It will be useful if you take the screenshot of the earlier setting, it will be helpful for you to revert back the config whenever you want.
    Try to generate the billing document and let us know whether it worked?
    Prase

  • Intercompany billing vf01 error no accounting document generated

    Hi,
    I face the problem while saving intercompany billing VF01 warning message no accounting document generated,
    when I manually realise biling VF02 it posted without giving any error message.
    I also check billing doc. type VOFA I doesnt check posting block field.
    Pls suggest what may be the reason.
    Thanks & Regards
    Ashish

    Dear Friend,
    To resolve the error, you can analyze Account determination in the billing document. Process:
    Goto T.Code: VF02 & Enter Invoice number
    Next (On the top most strip) goto Environment
    Next (Select Environment) go to Account determination
    Next (In Account Determination) select Revenue Account Determination (first option)
    This will list all the condition types in the Billing document & analyze each condition & check for which G/L accounts is not determined.
    Possible errors:
    1. VKOA not maintained for required combination
    Solution: Maintain the combination in VKOA.
    2. Account Assignment of Customer / material not maintained in Customer / Material Master (If maintained in combination in VKOA).
    Solution:
    Option 1 (Standard solution):
    step 1: Cancel Billing Document --> Reverse PGI --> cancel Delivery --> Cancel Sales Order
    step 2: Maintain Customer master / Material Master correctly.
    step 3: Recreate sales Order --> Delivery --> PGI --> Invoicing.
    Option 2:
    Force the Account Assignment Group of Customer / Material through Debug in change mode of Billing document, which will release Billing Document to Accounting.
    3. Account Key not maintained in Pricing Procedure:
    Impact: This may create accounting document, but if condition type, which are to be posted to account, but do not have account key maintained in pricing procedure, it will not be post the relevant condition type to G/L account.
    Regards
    AJIT K SINGH

  • Userexit in Billing

    Dear  All,
                       I just want to display a message  after the generation billing document Number , Is there any user exit available for this purpose , ie exit triggering after the generation of document number.
    Thanks in Advance
    Geo

    Hi,
               While doing the billing ,if the sale document contains materials of different tax catageory ( i.e different tax percentage ) we will get multiple billing doc numbers .Our requirement is that to display all the billing document number generated during billing (VF01) in a message box
    Thanks in Advance
    Geo

  • Getting runtime error during billing vf01

    Hello,i was doing billing vf01 getting runtime error after saving. what shud i do.The error says "SAPSQL_INVALID_FIEDNAME"CX_SY_DYNAMIC_OSQL_SEMANTIC SC"SAPLV61Z" or "LV61ZUQ1""SEL_KONDTAB".
    This is what i got in the error, in "what shud be done" title of the error.kindly suggest to clear out this problem.

    Hi Ramya,
    I am assuming you hv implemented your own function module in INCLUDE LV61ZUQ1. During VF01, SAP has detected at least 1 fieldname which does not exist in your ABAP codes/Select statement. This could happen, if for example a new field  has been implemented in a structure/trans. table or new fields added to field catalogs, but has not been successfuly generated/SAP stored the info structure incorrectly.
    If that's the case, the best way is to delete the field and re-generate, or if you added a field to field catalog, delete field in catalog then add, re-generate.
    Cheers,
    Benny Andre

  • Sales Billing VF01

    Hi
    I have created sales order. then while  I am posting for billing document in VF01 i got the below error:
    Billing document XXXXXXX saved( no accounting documetn generated) in VFO1.
    In VF02  error : account determination error.
    in VKOA i have assinned    Table  600     Sales org./AcctAssgGr/AcctAsgnmt/Tax Code/Acct key
                                                            C A
                                               V KOFI INT   2200             1                        1                    G2     ERL          G/L account
    Please Give advise.

    Dear,
    This error can have so many reason
    1) Due to VKOA proper G/L account assignment
    2) Tax code error ( It can differenciate from 1 when u will click on green flag then it gives taxinn error.
    Otherwise you have to go through 1
    Customer and Material Account assignment grp not maintaing with right G/L
    Application      Condition type  Chart of Account   Customer A/C gp  Mat. A/c Grp     A/C key          G/L Account
    V                      KOFI                    1100                      1                                 1                  ERL            240001
    If not solved then please write again otherwise close the thread.
    Thanks
    Vijay Pratap Singh

  • Accouting FI document is not generating at sale billing (VF01)

    Hi gurus,
    I am able to generate sales billing at sd (VF01), but Accouting document is not getting generated. Can any one help to correct this issue.
    Regards,
    RAM

    Hi Ram,
    Hope this link will help you.
    http://wiki.sdn.sap.com/wiki/display/ERPLO/SD+FAQ#SDFAQ-2.AccountDetermination
    Thanks and regards
    Praveen.J

  • Userexit for billing document

    Hi Gurus,
    There are some fields in material master record,if that fields are incomplete the accounting document will not generate after saving the billing document.In FI if comitment item is not creared the accounting document will not generate. Is there any  userexit to stop the saving of billing document in both the cases. Please give me some hint,points will be awarded.
    Regards
    Chetan

    Hi Chetan,
    Please try with these User Exits
    User Exits For Billing
        o   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.
        o   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).
        o   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).
        o   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.
        o   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
    following user exits are available in report SAPLV60B for transfer
    ccounting (function group V60B):
    EXIT_SAPLV60B_001: Change the header data in the structure acchd
    You can use this exit to influence the header information of the
    accounting document. For example, you can change the business
    transaction, "created on" date and time, the name of the person who
    created it or the transaction with which the document was created.
    EXIT_SAPLV60B_002: Change the customer line ACCIT
    You can use this exit to change the customer line in the accounting
    document. This exit is processed once the ACCIT structure is filled
    in with data from document header VBRK.
    EXIT_SAPLV60B_003: Change the customer line in costing
    The customer line is filled in differently for costing. You can use
    exit 003 to influence the ACCIT structure.
    EXIT_SAPLV60B_004: Change a GL account item ACCIT You can add
    information to a GL account item (such as quantity specifications)
    with this exit.
    EXIT_SAPLV60B_005: User exit for accruals
    Once all relevant data for accruals was entered in the GL account
    item, you can add to this data with this exit.
    EXIT_SAPLV60B_006: Change the control line ACCIT
    You can use exit 006 to add information to the control line.
    EXIT_SAPLV60B_007: Change the installment plan
    You can use exit 007 to add information to the installment plan
    parameters in the GL account item.
    EXIT_SAPLV60B_008: Change the transfer structure ACCCR, ACCIT and
    ACCHD
    After the accounting document is filled in with data, you can use
    exit 008 to change the document once again.
    EXIT_SAPLV60B_010: Item table for customer lines
    You can use exit 10 to influence the contents of customer lines
    before they are created.
    EXIT_SAPLV60B_0011: Change the parameter for cash account
    determination or reconciliation account determination
    You can use this exit to change inbound parameters in order to
    influence account determination.
    I hope it will help you,
    Regards,
    Murali.

  • Userexit at Billing Save to change condition value

    Hi
    My requirment to look for some userexit/enhancement etc. , which will work at the time of billing save (before passing to accounting)  where i can change the condition values (KOMV-KWERT) at item level for particular condition type.
    Regards/Rakesh

    Dear Rakesh,
    Try with these User Exits
    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.
    The following user exits are available in report SAPLV60B for transfer to accounting (function group V60B):
    EXIT_SAPLV60B_001: Change the header data in the structure acchd
    You can use this exit to influence the header information of the accounting document. For example, you can change the business transaction, "created on" date and time, the name of the person who created it or the transaction with which the document was created.
    EXIT_SAPLV60B_002: Change the customer line ACCIT
    You can use this exit to change the customer line in the accounting document. This exit is processed once the ACCIT structure is filled in with data from document header VBRK.
    EXIT_SAPLV60B_003: Change the customer line in costing
    The customer line is filled in differently for costing. You can use exit 003 to influence the ACCIT structure.
    EXIT_SAPLV60B_004: Change a GL account item ACCIT You can add information to a GL account item (such as quantity specifications) with this exit.
    EXIT_SAPLV60B_005: User exit for accruals
    Once all relevant data for accruals was entered in the GL account item, you can add to this data with this exit.
    EXIT_SAPLV60B_006: Change the control line ACCIT
    You can use exit 006 to add information to the control line.
    EXIT_SAPLV60B_007: Change the installment plan
    You can use exit 007 to add information to the installment plan
    parameters in the GL account item.
    EXIT_SAPLV60B_008: Change the transfer structure ACCCR, ACCIT and ACCHD
    After the accounting document is filled in with data, you can use exit 008 to change the document once again.
    EXIT_SAPLV60B_010: Item table for customer lines
    You can use exit 10 to influence the contents of customer lines before they are created.
    EXIT_SAPLV60B_0011: Change the parameter for cash account determination or reconciliation account determination
    You can use this exit to change inbound parameters in order to influence account determination.
    I hope this will help you,
    Regards,
    Murali.

  • Billing - VF01 Update Terminated

    Hi,
    I try to issue billing through delivery using tcode VF01. However when I click save, i receive an update terminated email in my inbox. Can anyone advice what is going wrong?
    Update was terminated
    System ID....   P08
    Client.....     010
    User.....   SGSW0TLLA
    Transaction..   VF01
    Update key...   33CDDE59D08F440B8170E7B43A906203
    Generated....   09.01.2007, 03:24:06
    Completed....   09.01.2007, 03:24:15

    Hi,
    I had found out the error due to the Nota Fiscal number go out of range, the path is :
    IMG-Cross-Application Components-General Application Functions-Nota Fiscal-Number Ranges.
    There is a t-code J1B3N for displaying the nota fiscal document. This is a special billing needed by Brazil for legal requirement.
    Thank everyone for all your help and hope everyone had learned something new =)

  • Userexit for billing documents vs Excise invoice --

    Hi
    i am canceling the billing document (VF11) with reference to excise invoice
    in this case i am using the sap standard program RV60BFZA
    but for some invoice , its triggering , but some invoice , its not triggering
    so i cant use that program
    any other badi / User exit available to control of billing documents Vs Excise invoice
    transction access is VF11

    Hi,
    Use this program SAPMJ1IJ in this program there are 4 includes.
    First try with  MJ1IJF01
    So check with your abaper which exit is working in this include.you can do it by setting break-point.
    Also check other includes MJ1IJTOP  MJ1IJO01  MJ1IJI01
    Thank you,

  • Error while billing - VF01

    Hi all,
    While i conform the SD billing the system is displaying the following message...
    The Material belong to 3000 plant.
    No standard cost estimate could be found for material "11120DAL0"
    Message no. K/834
    Diagnosis
    In Profitability Analysis, an attempt was made while valuating with material costing to read for material "11120DAL0" a standard cost estimate released on posting date "28.09.2008".
    The system has discovered that there are no error-free standard cost estimates released in plant "2000" on the specific date "28.09.2008" for material "11120DAL0".
    The material cost estimate is accessed according to the CO-PA Customizing settings for costing key "001" under Define Access to Material Costing.
    Display Cost Estimate for Material
    Display Material Cost Estimate without Quantity Structure
    System Response
    It is not possible to process the document further.

    Dear Praveen
    Go to material master for which you are trying to generate billing and select Accounting1 view tab.  There maintain the standard price for this material.
    Also in COPA IMG (I forget the exact menu path as I dont have access to SAP right now), there is a step to assign costing keys to characteristics.  Check whether you have maintained all the relevant datas there also.
    thanks
    G. Lakshmipathi

  • Customer Sales value not decrease (FD33) after billing (VF01)

    Hi,
    When Billing a delivery, in FD33 the receivable are correctly increased but sales value still unchanged
    normaly it should be decreased with the billed amount.
    Thanks for your help.

    Dear Ihsen,
    If I were you I would go to [Note 425523|https://service.sap.com/sap/support/notes/425523]. These issues are usually annoying, but at the end you can always perform reorganization of credit data after update errors- report RVKRED77.
    Regards,
    Milen.

  • Freight agent (vendor) credited after billing (VF01)

    Dear All,
    I want to create freight agent (vendor) liability after creating commercial invoice i:e vendor will credited after creating billing document.
    Regards,
    Ambarish

    This explanation is not suffice to propose a solution.  You have to explain clearly from SAP point of view, what is configured (like Shipment, Shipment Cost etc.) and also the business process.  Based on this, suitable suggestion can be given.
    G. Lakshmipathi

Maybe you are looking for

  • We want display image by using plsql but image is not display properly

    DECLARE p_dir varchar2(100):='/prd/rcms/test/bala_test/'; p_file varchar2(100):= 'sam.png'; dest_dir varchar2(100):='/prd/rcms/test/bala_test/'; dest_file varchar2(100):='test_image.html'; dest_handle UTL_FILE.file_type; p_clob CLOB; l_bfile BFILE; l

  • Where can I find a basic tutorial for the EOS rebel T4i?

    I just recievecd my first DSLR and I'm looking for a video tutorial that will take me through the basics of how to use the camera. I feel like this is something that should have come with the camera, (Nikon includes 3 how-to discs) but it didn't and

  • Subscribed Calendar time off by 1 hr (CDT) - Many folks UNHAPPY!

    Our church uses mychurchevents.com as our on-line calendar.  You can subscribed to this calendar and have it show with your other calendars.  Our problem (for all our staff) is the hour is showing CDT as the time zone which we are in Central Time Zon

  • Why can't I add HD videos to my iPod touch?

    So I recently bought an iPod touch, and I haven't had trouble with it until now. I downloaded a free TV show extra thing and it's in HD & SD, and it downloaded fine and everything. But when I tried to add it to my iPod, a popup comes up with the mess

  • Get parent frame of an inline (anchored) box?

    Hi How can I obtain the parent frame of an inline (anchored) frame? I can obtain it with "IsPageItemAnchoredObject", but this doesn't seem to work if the inline frame is overflowed. Thanks Hans