Rebate agreement number link to accounting document (VBOF)

Hi,
When we run VBOF it updates the rebate relevant billing documents with the accruals and accounting documents are generated for the same. Is there any possibility to link an accounting document (line item) with a rebate agreement number? One billing document can come under the purview of N number of reabte agreements. Hence during VBOF one accounting document gets generated for updating the conditions of all these agreements if a chnage is present. THe accruals in provision account gets changed through a single accounting document but at different line item level in the accounting document for each rebate agreement. Hence is there a possbility to link the accounting document (line item) to a single rebate agreement number.
Note: The client wants to know the history(time based on posting date) of credit/debits happening in the provisions account for a single rebate agreement.
Your inputs are highly appreciated.
Regards,
Raj

Any new developemnt?  I am trying to write a report to list such relationship between a billing line item with the accounting document.
Thanks.

Similar Messages

  • Rebate Agreement number in GL account line item in Assignment Field

    Hi all
    We have two GL accounts in company code xxx - 299011 and 373500. They both have the same sort key 016 but do not get the same value in the assignment field. For the 299011 account the system seems to add the Rebate agreement number to the field from the sort key. This is also requested for the 373500 account.
    The document flow is like this Std order > outbound delivery > Invoice > Accounting Doc.
    In GL a/c 299011 the agreement number is displayed but no rebate agreement number is displayed in account 373500. What are the setting need to be done to achieve rebate no in gl account 373500.
    Thanks
    Naveen

    Hi
    Depending on the GL Account Assignment of the Two GL Accounts, you need to check the copy controls in VTFA
    Regards
    Sanil

  • Rebate agreement number to be displayed on accounting document

    Hello,
    Our client wants the rebate agreement number to be displayed on the accounting document generated when the billing documents are updated using VBOF t-code.
    Is there any possibility of doing so
    Regards,

    We were able to do it, but could never make it work through a user exit in VBOF.  We took a different approach.
    We copied VBOF to a Z-program and limited it so that only one rebate agreement could be processed at a time.  The Z-program would write the rebate agreement number and the generated accounting document numbers to a Z-table as the billing documents are updated.
    A second program runs nightly to use the Z-table and essentially execute FB02 to update the assignment field of the accounting documents with the rebate agreement number. 
    We removed VBOF from the user roles, making the custom version of it the only available program.  That ensures that the accounting documents are always updated.
    Regards,
    Ken

  • Billing Number Range problem ( accounting document not generated)

    Hi All,
    I have created some billing types and for them I have assigned some internal number ranges. Now when I create a billing document it is getting saved with the proper number range but no accounting document is getting generated.
    Also when I try to release the invoice I am getting an error which says " *Incorrect doc.no.: 10000009. Select document number between 0090000000 and 0099999999* "
    K I N D L Y     suggest  as U R G E N T.
    Regards,
    Danny.

    Dear,
              Billing Number Range problem ( accounting document not generated) is not an error because when you create billing document then accounting document not generated. Accounting done after posting of that billing document with VFX3 or VF02 T.Code by account department.
               And for second issue you had define number range between 0090000000 and 0099999999 for invoice so thats why it happen.
    Regards,
    Sandip Shaktavat

  • Table for link between Accounting document and Billing document

    Which is the table for link between Accounting document and Billing document ?
    Thanks & Regards

    Ø Go to SE16N, enter table BSAD
    Ø In the Reference Field (VBELN) enter the Billing Document no. 
    Tips:
    Ø Make sure that only those billing documents will be considered whose accounting documents actually exists
    Ø No Accounting documents will be displayed for Credits, Free of charge orders and those acc. Documents which have been cancelled.

  • Link Between Accounting Document and Invoice Document

    Hi,
    I need to map the following path for data fetching as per clint requirement.
    G/L a/c >Accounting Document->Invoice Document--->PO Document.
    I don't find the link between Accounting Document--->Invoice Document.
    Pls let me know from which table i can find this link.
    With Regards
    Punesh Sharma

    Hi Punesh ,
    Following tables would be helpful -
    BKPF , BSEG  , RBKP and RSEG
    Regards
    Nilesh

  • How to get MM Invoice number from FI Accounting document number

    Hi,
    I am writing a query (OPEN ITEMS FOR ACCOUNT PAYABLE)through SQVI. We need to display MM Invoice number from FI Accounting document number . Please let me know the table name from where I can join FI document number and can retreive MM Invoice number.
    Thanks
    Rama

    hi,
    use this.
      SELECT belnr
               awkey
               INTO TABLE it_bkpf
               FROM bkpf
               FOR ALL ENTRIES IN it_mkpf
               WHERE awkey = it_mkpf-awkey.

  • All sales orders under a rebate Agreement number

    Hello Colleagues,
    I need a list of all the sales orders within a rebate agreement number after billing. I am coding a powerlist for this which displays all the sales orders for a rebate agreement number. Are there any standard function modules which could be used(I tried but without any success ) Can anyone help me on this?
    Thanks,
    JVR

    Hi,
    The requirement is, user gives input as 'Shipment Date' in selection screen.
    Based upon this, we should have data of all the deliveries (04 and 05) whether shipment is created or not.
    From shipment date we can get shipment , its respective delivery and its SO (from table VBFA) .
    But the deliveries where shipment is not created like 05, we wont get any value in VBFA. How do i fetch all the deliveries(05 in this case) i such a case ?
    -Thanks

  • Link between Accounting Document and Sales Order

    Dear SD Gurus,
    How to find the Sales Order number and Sales Order Item from the accounting document- like document types DZ, DG, ID etc.
    Kindly specify the table links and fields to fetch the above details
    Regards
    Vimal

    Link Between SAP SD, MM & FI
    The link between SD and MM :-
    1. When you create sales order in SD, all the details of the items are copied from Material master of MM.
    2. MRP and availibility check related data is also taken from MM although you control this data in SD also.
    3. While you create inbound/outbound delivery with reference to a sales order,the shipping point determination takes place with the help of the loading group, plant data, shipping conditions etc. This also refers to Material Master.
    4. The material which you are entering in a sales order must be extended to the sales area of your sales order/customer otherwise you cannot transact with this material.
    There are many such links between SD and MM.
    Now the link between SD and FI :-
    1. Whenever you create a delivery with reference to a sales order, goods movement takes place in the bacgground. eg. In case of standard sales order, you create an outbound goods delivery to the customer.
    Here movement 601 takes place. This movement is configured in MM. Also, this movement hits some G/L account in FI. Every such movement of good s hits some G/L account.
    2. The accounts posting in FI is done with reference to the billing documents (invoice, debit note, credit note etc) created in SD. Thus this is a link between SD and FI
    3. Tax determination: In case of a tax determination also, there is a direct link between SD and MM
    SD Integration points with other modules
    SD module is highly integrated with the other modules in SAP.
    Sales Order –
    Integration Points                      Module
    •Availability Check             -       MM
    •Credit Check                   -       FI
    •Costing                        -       CO/ MM
    •Tax Determination              -       FI
    •Transfer of Requirements       -       PP/ MM
    Delivery & Goods Issue –
    Integration Points                      Module
    •Availability Check             -       MM
    •Credit Check                   -       FI
    •Reduces stock                  -       MM
    •Reduces Inventory $            -       FI/ CO
    •Requirement Eliminated         -       PP/ MM
    Billing -
    Integration Points                      Module
    •Debit A/R                      -       FI/ CO
    •Credit Revenue                 -       FI/ CO
    •Updates G/ L                   -       FI/ CO
      (Tax, discounts, surcharges, etc.)
    •Milestone Billing              -       PS
    Return Delivery & Credit Memo -
    Integration Points                      Module
    •Increases Inventory            -       MM
    •Updates G/ L                   -       FI
    •Credit Memo                    -       FI
    •Adjustment to A/R              -       FI
    •Reduces Revenue                -       FI
    SD Transaction Code Flow: 
    Inquiry / Document type IN
    Tcode for creation VA11,VA12,VA13. tables VBAK,VBAP
    Quotation / QT
    Tcode for creation VA21,VA22,VA23. tables VBAK,VBAP
    Purchase Order PO
    Tcode for creation ME21,ME22,ME23. tables EKKO,EKPO.
    Sales Order OR
    Tcode for creation VA01,VA02,VA03. tables VBAK,VBAP
    Delivery LF
    Tcode for creation VL01,VL02,VL03. tables LIKP,LIPS
    Billing F2
    Tcode for creation VF01,VF02,VF03. tables VBRK,VBRP
    <b>The SD & FI link is established through mapping of appropriate G/L accounts through T.Code: VKOA</b>
    Regards,
    Rajesh Banka
    Reward suitable points.
    How to give points: Mark your thread as a question while creating it. In the answers you get, you can assign the points by clicking on the stars to the left. You also get a point yourself for rewarding (one per thread).

  • Number range of  accounting document for different plants

    whenever a billing document is created in SD (using the T-code VF01); an accounting document will be simultaneously created in the FI module. one document type(TS,number range---60:1 to 9999 ) have four  plants .different plants have own number range and sequential document number .
    eg: doc. type   num.range    fr       to           plant cty       co code
             TS           61            1        1000       PLANT_1      3100
                            62           1001    2000       PLANT_2      3100
                            63           2001    3000       PLANT_3      3100
                            64           3001    4000       PLANT_4      3100
    How can that carry out this function ?
    thank you for your help !

    Hi leung,
      As Mr.Rohit has mentioned it has to be done with the z table and the available user exit.
    Wht we have done is.we have created no ranges in obj rv_beleg.Eg
    AA   0000000001 to 0000099999
    AB   0000100000 to 0000199999
    AC   0000200000 to 0000 299999.
    Using the user exit we have created a Z table.And assignd for this ombination in the Ztable.
    Plant X   Billing type A   AA
    Plant Y   Billing Type A  AB
    Plant Z    Billing type A  AC
    Once this combination matches the appropriate invoice no range gets picked up.
    Regards,
    K.Vivek

  • Internal number ranges  for accounting documents are not updating

    Dear Experts,
    We are existing user of SAP 4.6 C , are facing probelm while posting accounting document , the accounting document number ranges are not getting updated.
    When I post first document it got alloted first number from the interval when i post another document the system showing message Document Number XXXXXXX is already assigned to other document.
    And we have checked through T.C FBN1 and checked the number ranges where first document didn't showing in the alloted number range status.
    Early reply can be highly appreciated.
    thanking you.
    Regards,
    Y.Kiran Babu.

    hi Rajesh,
    check if any document exists with that number in table BKPF. Also check: the number (current number) you see in FBN1 should be the highest existing document number in BKPF (inside the range).
    ec

  • OMBA: Define Number Assignment for Accounting Documents

    Hello exparts,
    I ask about operation in "Allocate document type to transaction" at t-code OMBA.
    Can we insert new entries?
    If yes, please tell me how to.
    Thank you and regards.
    Emma S

    Hi
    There is a posibility that someone should have tried entering the number range assignment and missed the storage location during this activity
    regards
    Jagadish

  • Rebate Agreements - Settlement by Individual Billing Document

    We need to be able to create a single credit memo for each billing document being settled in an agreement. Does anyone know if this is possible?

    Hi Peter,
    I dont think that it is possible by standard or by any exit to do this. One way could be to create a program that checks the billing documents on which accrual has happened for the agreement and then this program internally creates credit memo request by calling VBO2, using partial settlement with the accrual amounts. All this credit memo requests can then be raised in one go by using VF04. This is the only alternative that comes to my mind.
    Or else you can explore the product Vistex, approved by SAP for this situation, if they provide any such solution.
    Regards,
    Naveen Aggarwal

  • Link between Invoice verifycation number and Accounting Document number

    Dear All
                   I want the Link between invoice verifycation number (MIRO) an accounting document number the same MIRO. in which table the both two numbers avilable.
    How can identify. can any one tell me the table name for this
    Regards
    Kumar.

    Hi..
    What is the link or join condition for these two tables
    BKPF and RBKP. and RSEG and BSEG.
    In this i want to Accounting document number and invoice verifycation number in a single report.
    Regards
    Kumar

  • How to fetch accounting document number from known material document number

    Hi,
    Using MIGO transaction, by giving mblnr(material document number) as input, I get accounting document number by clicking FI document.I have to add this accounting document number in my report for corresponding known mblnr(material document number) values.
    My question is how to fetch the accounting document number present in MIGO to add in my report program.
    I used the xblnr(Reference Document Number) which is present both in mkpf and bkpf tables to fetch values.
    I extracted xblnr values with known mblnr values from mkpf (Header: Material Document table).
    and then extracted belnr(accounting document number) from bkpf (Accounting Document Header table) by using xblnr values.
    But the query is running for a long time.
    Is there any other method  to extract the values in a simpler way.
    Kindly advise.
    Thanks and Regards,
    Sanjeev

    I had the values of xblnr and some other fields such as mblnr, budat etc in wi_item table.
    I created a new internal table i_xblnr and got down those values.
    And then created a new internal table i_belnr and tried to get values of belnr in it.
    The code I wrote is given below:
    IF not wi_item[] is initial.
    loop at wi_item.
       at new xblnr.
        ws_xblnr-xblnr = wi_item-xblnr.
         append ws_xblnr to i_xblnr.
       endat.
    endloop.
      select belnr xblnr from bkpf into table i_belnr for all entries in i_xblnr where xblnr = i_xblnr-xblnr.
    ENDIF.
    Kindly look after it.Thank you.
    Regards,
    Sanjeev

Maybe you are looking for

  • Photoshop CC 2014 64-bit crashes on Windows 8

    I recently installed the trial version of the new Photoshop CC 2014, in addition to Audition. Audition works just fine, but when I tried to run Photoshop, it crashes immediately with the typical "Adobe Photoshop has stopped working" error. I've tried

  • How can I burn just a few photos to a cd using Photoshop Elements 11 on a windows 7 computer?

    As a fairly new user of Photoshop Elements 11 I would like to burn just a few photos to a cd, not he whole catalogue. Please can somebody suggest an answer to this problem.

  • List View order

    What dictates the order of list view items after the chosen one? I use labels (colors) for the primary list view order, the secondary order appear to be reverse alphabetical. I want the secondary order to be normal alphabetical. Can I set his somehow

  • What is the best way to transfer my music library from my windows pc to my new macbook air?

    what is the best way to transfer my large iTunes library from my windows pc to my new macbook air?  Not all purchased, many from CDs I owned

  • Out of sync

    Dear Members I have the following scenario One Primary database ( A ) one Physical standby database (B) one logical standby database for reporting purpose ( C) We use dataguard for this setup. For the physical standby database we apply redolog and in