Invoice no + posnr + accounting doc

Hi All,
I have a invoice number and accounting document number . From which table I can get this connection along with the POSNR field. Means this accounting has been done for this material Item,
I checked in BSIS,BSEG and BKPF tables . But could not get the connnectivity between these 3 fields.
Please help.
Thanks in advance.
Madhuri

Check fields AWTYP and AWKEY of table: BKPF.
AWTYP holds value VBRK and AWKEY the invoice document number.
Alternatively for a billing document item if you need to get the accounting document number, you can consider FM: RV_ORDER_FLOW_INFORMATION.
Parameters to pass:
BELEGTYP = 'M' - for Invoice & Invoice number and item number to structure COMWA.
From the return entries in VBFA_TAB, co-relate entry with VBELV = Invoice Document Number, POSNV = Invoice Document Item, VBTYP_V = 'M' and VBTYP_N = '+'.
Maybe that can help you.
~Eswar

Similar Messages

  • Invoice no + posnr + accounting doc table

    Hi All,
    I have a invoice number and accounting document number . From which table I can get this connection along with the POSNR field. Means this accounting has been done for this material Item,
    I checked in BSIS,BSEG and BKPF tables . But could not get the connnectivity between these 3 fields.
    Please help.
    Thanks in advance.
    Madhuri

    Hi Bheem,
    There is fields present in BSEG table posn2, and material too.
    But POSN2 field is not getting populated.
    If in invoice, there are more than 2 line items having same material, then I can not use material field to differentiate the 2 rows in accouting doc.
    There must be  a table which is storing the accouting line items with invoice line items . I am not able to find it out yet.
    rds,
    Madhuri

  • Unable to generate accounting docs for invoice.

    hi all,
    I have a delivery related  billing invoice created in May 2010 that we're attempting to cancel.  We created a MIRO invoice against a sales generated PO tied to the Sales order for the invoice.
    Subsequently, in August, we determined that we needed to cancel the MIRO invoice, and discovered it's necessary to reverse the sales order Invoice first (subsequent docs.)
    In attempting to cancel the SD billing document, we received several error messages that prevented the creation of the invoice.  We were eventually able to create the invoice by changing the billing date to the current date (from the defaulted may date) and things got interesting.
    We created a SD cancellation invoice in Aug  but were not able to generate accounting docs
    I thought that if we updated the billing date to this month we would be able to process.   So updating the billing date to 09-13-2010 (today) I receive this error
    System error in the FI interface
    If we modify to any date before September, we receive the following error message, which we expect, since we've closed prior period.
    Posting period MMM YYYY is not open  (billing dates attempted - 07-31-2010, 08-05-2010, 8-31-2010)
    If i process using a september date, the changd date is not retained.  only non september dates (also attempted 10-1-2010) are retained.  This leads me to believe that there's an issue that's outside of the billing date causing the problem.
    Can someone provide some input on how to properly address this invoice and allow it to generate accounting documents?

    You could be encounrtering related FI errors. Release your billing document in VFX3 and refer to the details in the error logs.

  • Status of Accounting Doc of Cancelled Invoice

    Dear All,
    Please find following doc flow.
    Invoice 1             
    Accounting Doc 1
    Cance Invoice 2 (Invoice 1 is cancelled)
    Accounting Doc 2
    Please let me know what shold be status of Accounting Doc 1 (Cleared/Not Cleared) with proper clarification.
    Also Accounting Doc 2
    Thanks & Regards,
    Ganesh.

    Hi Guys i have a problem regarding duplication of invoice.
    Lets undestand by following Example:
    Invoive F2 Generated
    Accounting Document (Not Cleared)
    Then
    Cancellation Invoice Genrated ......( But With Future Date)
    Accounting Doc ( Not Cleared)
    New F2
    Invoice Generated with date before the invoice date of cancellation doc(as that was scheduled in future)
    Accounting doc (not Cleared)
    My issue is the system is allowing to created two invoices for the time being which is wrong.
    System should not allow any New F2 doc till the coresponding accouting doc of cancellation is cleared.
    Can we check this..Any suggessions????

  • MIRO - Check if invoice already entered under accounting doc. no. &&

    Hi Gurus,
    I am facing a problem while posting invoice verification(MIRO).  An error has been thrown while doing MIRO.  It states "Check if invoice already entered under accounting doc. no. xxxxxx xx" (Error message M8 108).  I tried to check with the given accounting document xxxxxx xx using MIR4, but it is saying "invoice document xxxxxx xx does not exist". 
    Please help why this error message is throwing.
    Note: I am not posting any duplicate documents.
    Thanks in advance
    Yeswanth

    Hi,
    Please check the following link..Hope this will help you..
    http://sap.ittoolbox.com/groups/technical-functional/sap-log-mm/check-if-invoice-already-entered-under-accounting-doc-no-000000000-errors-3057863
    Error message in MIRO
    Regards
    Bhuban

  • Force Accounting Doc when  create  Invoice

    HI all,
      I am unable to create an accounting doc when invoice is created.
    It error :  'Cost Center BB11 3120 does not exist on 10/28/2011'.
    Cost center 3120 does not exist at all.   The invoices has posting status 'Error in Accounting INterface'.   Is there a way i can force the invoice to create the accounting document for this invoice ?
    thanks
    Joyce

    Hi Shiva,
        We go by account assignment.  For this cost element  61530, the Column ' Acct Assgnmnt ' is 3 .
    It has profit ctr of 30, 400, 420 and its cost center.  However, acctg doc seems to point to an invalid cost center for profit center 30.
    Any suggestions ?
    thanks
    Joyce

  • Business area not appearing against VAT entry in Accounting doc for Invoice

    Dear All,
    We have configured Business areas,
    When we post an invoice with multiple line items and open the Accounting document for this invoice we find that Business area is visible against Freight Amount and the ,Sales  A/c but that no business area is appearing against the Vat payable amount in the accounting doc.
    Why so?
    what should we do so that system determines the business area against the VAT Account also.
    Regards,
    Avinash Gyale

    This could be due to two reasons
    1)  If one invoice contains multiple business areas, only blank space will appear in accounting document.  To avoid this, invoice split should happen based on business area.  Invoice split can be done through VOFM data transfer - billing document.
    2)  If a particular G/L Account is assigned in multiple Business Areas, this problem will come and you need to apply Substitution Exit RGGBS000
    thanks
    G. Lakshmipathi

  • Consolidated entries in Invoice Accounting Doc

    Hi gurus!
    Please throw some light.
    If my invoice is carrying 100 line items, how am I able to consolidate my accounting doc’s entries in 1 G/L account such that instead of having....
                    DR          Accts Receivable              $1000
                    CR           Sales                              $20
                    CR           Sales                              $25        
                    CR           Sales                              $15
                    CR           Sales                              $40
    .... I wanted to make it
                    DR          Accounts Receivable      $1000
                    Cr            Sales                           $1000

    Thanks for your answers. But im only referring to one invoice.
    My invoice will have several line items and once it generates an accounting document it will post SALES entries for each material line item.
    Ex. Here what's happening:
    Invoice 1000001 customer JOhn Smith
              material 1      $100
              material 2      $150
              material 3      $100
    Acctg Doc 10000001
              Debit John Smith  $ 350
              Credit Sales $100
              Credit Sales $150
              Credit Sales $100
    How possble to make it summarized:
              Debit John Smith  $ 350
              Credit Sales $350
    Thank you guys for responding. I really appreciate it.
    Rose

  • Table for Invoice accounting doc

    I have got the invoice number posted in MIRO,i need to get the accounting document number generated for this invoice number.
    Can any one please let me know th etable where i could give the  the invoice number posted in MIRO and get accounting doc generataed for it.I need to pass invoice number posted in MIRO and get the accounting doc.

    Hi,
    Table BKPF will help you...
    BELNR = Accounting document number
    AWKEY = Object Key which is nothing but Material Doc no + Fiscal year
    From SE16, select table BKPF
    In the field AWKEY (Object Key), give the material doc number+fiscal year ( for example, 50000000002009)
    Execute.
    You will get the corresponding accounting doc number
    Regards,
    Mike

  • Unable to create accounting doc from invoice

    HI all,
       In creating an accounting doc from an invoice via VF02, i  got an error message:
    Cost Center SGCA/33150 does not exist on 7/7/2010.
    First of all, we don;t have a cost center 3150. 
    Can anyone suggest why I cannot create an accounting doc ?
    Why the message on cost center ?
    thanks
    Joyce

    Hello Joyce
    Identify  the GL accounts that are likely to be posted ( if the posting were to go through). Typically you will have GL accounts for Trade Sales, Tax payable etc. here.
    While displaying them using T code FSS0, click on the' Edit Cost element' tab and go into 'Display Cost Element: Basic screen". Now click on the tab, 'Default Account Assignment' tab and see if  the cost center tab has been filled with '33150. If so, remove it. after checking with your FI colleague. Repeat this for all the accounts (likely) to be posted. I am guessing that is the reason.
    Let me know how it goes.

  • Invoice Currency differ from Accounting doc Currency...

    Dear all,
    Can any body tell me how the order and invoice currency differ from accounting doc currency.
    Ex:  in Order and billing value in 450 USD 
          But after invoice, in accounting doc currency will be  
          converted into 18900 INR how ?
    Cheers,
    San Rao..

    Dear san
    Yes whatever currency you maintain at Company Code Level, that currency is going to be your local currency.
    For more information, go through the link
    [Defining Currencies|http://help.sap.com/saphelp_46c/helpdata/en/08/51410a43b511d182b30000e829fbfe/content.htm]
    Thanks
    G. Lakshmipathi

  • Relationship between invoice and accounting doc

    hello,
    in which table can i find the relationship between invoice number and accounting document ??
    thanx in advance..
    regards,]
    Maya.

    Hi,
    accounting document  - BSEK
    INVOICE NUMBER - BSEK,BSAD
    Thanks,
    Shankar

  • How billing Doc (Invoice) get mapped to accounting doc

    Hi,
    I want to know how the billing doc get mapped to the accounting doc (FI Module)
    How the customerization is done.
    How it mapped through SD Doc.
    Thanks
    Uwanthi

    Normally, for F2 type of Billing document DR type of Accounting document is created.
    Similarly, for G2(Credit memo) ,accounting doc type DG and for Billing type L2( Debit memo) accounting doc type NN should be created.
    But those Account document type must have been specified in the respective Billing doc type( VOFA) in the "Document type" field.
    If the above field is blank in the Billing type, then irrespective of any Billing type, system will create Accounting document type RV.

  • ABAP Table - Invoice number & accounting doc date

    Hi ,
    In which ABAP Table i can get invoice number and Accounting document date ?
    Srini

    Hi Srini,
    I guess what you're really asking is "How can I find the tables that contain certain fields".  So, if that is really your question you should check out a blog like this;
    /people/martin.english/blog/2010/01/13/finding-what-tables-and-fields-lie-behind-an-sap-transaction
    Otherwise, every time you need to find a table for a field you don't know you'll have to ask the forum.
    Regards,
    Nick

  • Billing doc item to Accounting doc item no relation

    Hi all
    I want to link the billing doc item to Accounting doc item no.
    how is the relation available using tables & fields ?
    thanks

    Dear SRI,
    These are the fields
    1.BUZEI --- Number of Line item with in the Accounting
    Document.
    2.POSNR -- Billing item
    These are the Tables,
    1.VBRP -
    (INV ITEM)
    2.BSEG -
    (ACC DOC SEGMENT)
    I hope it will help you
    Regards
    Murali.

Maybe you are looking for