Link between Invoice document items and Accounting document items

Hello, Colleagues.
Can you help me, please. I don't solved next problem. I should associate Invoice document (Create with MIRO) items from tab "PO reference" with items from tab "G/L account" or with tax items Follow-on accounting document. Invoice document can contain items with amount equals 0 and this items don't add to the tab "G/L account" and to the items accounting document. So Invoice document can contain items with material code greate than one.
Or link between RSEG <-> BSEG or link between RSEG <-> RBCO.
Thank you.

Hi ,
U can refer the  VBRP - vbeln to BSEG-REBZG and get REBZZ (Invoice line item).
thanks
Shambhu

Similar Messages

  • 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

  • Link between Customer Purchase Order and Accounting Document Number

    Hello all,
    is there a table in SAP that contains the purchase order number of the customer and the Accounting Document Number (belnr)?
    thanks in advance
    Anne

    Do this:
    SELECT awtyp awkey
      FROM bkpf
      INTO CORRESPONDING FIELDS OF bkpf
      WHERE bukrs = bsis-bukrs
        AND belnr = bsis-belnr
        AND gjahr = bsis-gjahr.
    ENDSELECT.
    This should give you SD billing document information.
    Rob

  • Relation between Invoice Line items and Accounting Line item

    Dear All,
    My requirement is to print all the invoice documents and it's tax values like cenvat, Ecess, BED and VAT.
    I have to fetch these tax details from BSEG table .
    I' am getting Invoice number ( RBKP-BELNR ) from BKPF-AWTKEY .
    Can any one please tell me how to relate the Invoice line items and Accounting document line items..
    Any BAPI or FM is there to retrieve these data.
    Please do needful in this regard.

    Hi,
    from table bseg - field Koart
    K = Vendor
    D = Customer
    S = G/L account here tax lines identify with buzid = T
    or take table bset for taxes
    Andreas

  • Link between Service Entry Sheet and Material Document

    Hi
    I am busy with developing a report where i am required to find the link between the Material Document and Service Entry Sheet. 
    I am aware that on the Purchase Order Data tab of the Material Document has the service entry sheet number and line item.  However the problem I have picked up here is in the event I create a Service Entry Sheet  with a service in line 1 and for some reason Delete that Line and then capture the service again, it is saved in table ESLL as line 2.  This is correct.  However when I have a look at the material document, it references it as line 1 of the service entry.  Is there any way to get this in sync?
    Thanks
    Vinesh

    Thanks
    This table does show the service entry sheet number and line item however the line item does not correspond with the line item on the service entry sheet.
    Eg.
    I create a service entry sheet where I capture a service in line 1.
    I delete Line 1
    I recapture on line 2.
    Post Service Entry
    The Material Doc reference document is the service entry however the line item for the reference is 1.
    I need to try and link the line items
    Thanks
    Vinesh

  • Billing document date and accounting document date varying...

    Hello Experts,
    There is one billing document and the date of invoice is, say today, 12/01/2009. and the accounting document date is, say 15 days ahead or behind, 27/01/2009.however, the posting date is proper and according to the billing date and that is again dated today-12/01/209. Now, the user wants to know why the difference exists between the accounting document date and the billing date. any idea? there are some user exits being used but I cant make out, neither the abaper. suggestions please.
    Regards,
    N.Raja Sekhar.

    Dear Raja Sekhar
    Document date is nothing but the date on which that particular transaction has taken place.  But I dont know where you get the date as 27-01-2009.
    It is a general practice that for exports billing document, there would be a Posting block and once the exporter receives the B/L, based on that date, the billing document would be released manually.  For this, there is an user exit to input the B/L number and date and release the billing document.
    So here, what the end users normally does is that the B/L Date might be on 02-01-2009 but he would not have updated on the same date.  At a later date, say on 12-01-2009, he can input the B/L Date (in another words, it is Posting date) as 02-01-09 and execute the billing document.
    If you see the accounting document here, the posting date would have been 02-01-2009 but the document date would be 12-01-09.
    thanks
    G. Lakshmipathi

  • Link between table EKKO-EBELN and DMS - Document Management System

    Hi to all,
    I wanted to know the form to connect or link the Document Info Record (inside "Define Object Link") to object DRAW (DMS) with table EKKO-EBELN (order head). In standard form it is possible to do it with EKPO (Purchase order item) This is in transaction DC10 Define Object Link.
    Thanks!
    Greetings
    Martin

    Hi Martin,
    Within table DRAD you can see all linked objects to a specific document info record (DIR).
    To be able to link objects to DIRs you have to maintain the correct objects in customizing.
    First of it is necessary to maintain the correct screen numbers for all needed objects within the customizing. Therefore go to transaction SPRO and select
    Cross-Application Components
    > Document Management
    > Control Data
    > Maintain Screen for Object Link
    Here you can enter all needed SAP objects with the name and
    the related screen number. If you do not know the object or the screen number you can display a list of all SAP standard objects in transaction SE80 under function group CV130 ("Screens").
    So for material master you maintain the following entry:
    SAP object Screen Description Auth.
    MARA 201 material master 1
    Please note that the system automatically adds the leading "1" which is displayed in function group CV130 under
    "Screens". So for object MARA you just have to enter 201 instead of 1201.
    The value "1" in the column "Auth." is necessary to grant that always the latest dynpros and authorizations were used when linking this object to an document info record. This will avoid different problems by displaying linked documents from the object side.
    The next step is to decide which objects should be used in the different document types. Therefore please go to transaction DC10 and choose the relevant document type. Afterwards please select "Define object links". Here you can
    add all needed objects only by entering the object. The correct screen number is taken automatically. Also note the blue information buttons in the upper right corner which contain further necessary information about the possible settings of the current screen.
    After doing these settings in customizing you should be able to link the maintained objects to document info records and oppositely by using the DMS transaction CV02N (tab "object links") or the object related transactions.
    Important notes regarding the object link functionalities are:
    Note 880077: Performance problem using object links
    Note 885977: Extension to note 867241 on object links
    Note 926060: Extension of note 885977 for object link Purchase Order
    Note 960202: Object Links Deleted While Adding New Objects
    Note 1002648: Wrong behavior while using RFC_CHANGE_DOCUMENT_MASTER

  • Link between invoice number and accounting document number

    Hi Frnds,
    When i receive a partial receipt (of an invoice) from a customer, i am getting the link between invoice number and accounting document number from a table (BSEG), but when i am receiving the final settlement amount from the customer, i m not getting the link between the inv. no. and accounting document number. Can anyone tell me how can i get the same?

    hi
    try these tcodes
    FBL5N
    FB02
    regards

  • Link between billing document and accounting document number

    Hi Frnds,
    When i receive a partial receipt (of an invoice) from a customer using f-28, i am getting the link between invoice number and accounting document number from a table (BSEG), but when i am receiving the final settlement amount from the customer, i m not getting the link between the inv. no. and accounting document number. Can anyone tell me how can i get the same?
    I have tried table BSAD and BSID.

    Hi,
    I will give you two options.
    1)Goto FBL5n.Enter your customer number and company code.Select All items.
    Execute.
    Search for your billing document number using CTRL+F.Select that line.Click on display.
    Here you will find the reference number and clearing document number also.
    2)Goto VF02.
    Enter your billing document number.Enter.
    Press Shift+F4 or the path is:goto-->Accounting document.
    You will get the accounting document number here.
    3)Goto FB03.Key in the document number.Enter.
    Regards,
    Krishna.

  • Link between inv. number and accounting document number

    Hi Frnds,
    When i receive  a partial receipt (of an invoice) from a customer, i am getting the link between invoice number and accounting document number from a table (BSEG), but when i am receiving the final settlement amount from the customer, i m not getting the link between the inv. no. and accounting document number. Can anyone tell me how can i get the same?

    Hello,
    Try to prepare query based on tables BSIK, BSAK and BSEG. (Transaction code SQVI)
    Regards,
    Ravi

  • Sync of Material document and accounting document during MIGO

    Hi Friends,
    Can we synchronize the Document numbers between Material document (WE) for GR (101) and Accounting documents created for the MIGO transaction????
    We have 50 is assigned to WE. But, we have a gap in numbers of Material document number and Accounting document numbers??? though the document type WE is common for both.
    I have seen that "Buffer" is the culprit. But, not sure how to fix that.
    Appreciate your help in this regard.
    Dev.

    When the document type is same (WE) for both, how come the accounting doc has continuous numbers and Material doc has breaks ( from buffer)????
    document type WE is same for GR for material document and accounting docu but number range are stored diffrentely.
    OMBT is where u store the number range for material document
    and this number range is assigned to group of materia doc we wf wo ww
    OMBA is where u create diffrent number range for accounting document hear U assign WE to ur transaction code and in turn WE is assigned a number range what is created in OMBA, this number range is nothing to do with number range u have created in OMBT.
    when ever u post the docunemt in system
    SAp hav efixed the document type for GR that is WE
    it goes in OMBA in the group of Material documents for goods receipts
    check what is the year and number range assigned and current number so it assignes this number first
    than it go to OMBA  cheks what is the Tcode u are using and what is document type u have assigned to that tcode and it can be any WE or what ever u have assigned to that tcode
    taking that doc type it goes and see what Number range is assigned say 50 and then checks company code and year for this 50 and get the number for accounting doc
    so i think its is clear that material and account are 2 diffrent ranges
    skiping of numbers might be due to buffer
    also go throught following post it will be helpfull
    GR NO SEQUENCE - MISMATCH
    hope this helps

  • Link between billing and accounting documents

    Hi Friends,
    After creating the billing document, automatically acctg document will generate.
    How the acconting document is generating?
    Where we give the link between these number ranges?
    help me
    Thanks in advance

    Hi Raja,
    In SAP as soon as you run the billing transaction accounting document is generated along with billing creation. In transaction VKOA (FI-SD Integration) you determine the revenue GL account created in FI with the help of "AcctDetermProc." which is usually KOFI00. In this procedure there is a condition type of KOFI for revenue account. And this "AcctDetermProc."  KOFI00 is mapped in the Billing Document Type in
    transaction VOFA. under account assignment/pricing tab.
    And number range for the billing document type is maintained in VN01. Both FI number range and SD number ranges have same interval. so that both billing document and accounting document receive same number.
    Moreover, there is an "Account Key" for the revenue account aligned to condition type KOFI and same account key is mapped to the pricing procedure in order to maintain the stability.
    might help you......................................

  • Invoice and Accounting Document

    Hi All,
    I have to develop a report where I need to show the amount that for the invoices that been posted in particular GL Account say 4100001.
    Selection Screen will be: Invoice number
                                             Invoice Create Date
    Here I want the relationship between the Accounting Document line items and the Invoice line items.
    When an Invoice is created, accounting document is posted. Amount for a paritcular line itema in the invoices may be posted in to different GL Accounts. How do I come to know that the line item in the Invoice is posted in these GL Accounts.
    (Discounts, Taxes and the net value may be in different GL Accounts).
    Thanks and Regards,
    Shravan G.

    Hello Shravan,
    The link between invoice & A/C'ing doc are the tables BKPF & RBKP.
    RBKP-BELNR = BKPF-AWKEY+0(10)
    RBKP-GJAHR = BKPF-AWKEY+10(4)
    You can also restrict the search on BKPF by adding this WHERE clause as well:
    BKPF-AWTYP = 'RMRP'
    You can search on SDN, it has been answered many time before.
    BR,
    Suhas

  • J1IS and Accounting document Link

    Dear Experts,
    I have created some documents in J1IS with the ETT OTHER and posted the same into accounting. But when I try to see the link between the J1IS document and accounting document, I didnt find any. I checked below tables
    J_1IEXCHDR
    J_1IEXCDTL
    BKPF
    BSEG
    I didnt find the accounting document number in the Excise tables nor the excise document number in the FI tables. Do I need to do any configuration? How do i find out the link?
    Thanks
    Suresh.

    Check BKPF-AWTYP, if document created with Idoc we can see 'IBKPF' in BKPF-AWTYP. I am not sure its standard / project dependent, but i see the same in most of the projects.
    I hope - As some one mentioned in above, you cann check user id 'Created By' also, but it may be changed any time so you can hardcode in the program.
    Thanks
    Satyasuresh Donepudi

  • How to get relationship between material document no and accounting documen

    Hi Experts !!
                     I want to create a report displaying accounting document no and GL account no buy providing PO No and material document no (MIGO No).
    I want a database table from where I can get  material document no (MIGO No)(MBLNR/BELNR) and accounting document(BELNR) no both.Currently I am using
    BSEG for getting HKONT,EBELN,BELNR
    MSEG for getting MBLNR by using EBELN (P.O. NO)
    BKPF for getting BUDAT.
    the problem came with EBELN (P.O. NO) as repeated entries are there.
    I am unable to write query for getting MBLNR and  BELNR for same EBELN (P.O. NO).
    Is there any table where MBLNR and  BELNR are related to each other??????
    Thanks in advance !!!!

    Check this thread, if this helps.
    [url] Link between MKPF table and EKKO or RBKP table [url]
    I've done this as well earlier to create a custom document flow for archived documents where from the EBELN i've found all the related documents. Hope this helps.

Maybe you are looking for