Accounting document status table

Hi,
WHere can we see the status of the accounting document?
Accounting document : Table:BSEG_BELNR
in this table i didnt find the status of accounting doc.
to see the status, VBUK in sales, i guess in FI also there will be some table to check the document status.
can anyone tell me what is that table name?

Table:BSID
if
KUNNR-
BUKRS
GJAHR,
then display
BSID_BELNR
BSID_AUGBL,
if BSID_AUGBL = "-"
then Open item  is not cleared.
the rest of the tables r to find out all open items which is due, but they r irrespective of customer.
eg:BSIS,BKPF,BSEG,
thanks for ur replies-

Similar Messages

  • How to find out the Accounting document status for sales order

    Hi
    We have created the sales document by referring the billing document of contract no.Aftre that we have raised invoice for sales document. Now system is generated both invoice , accounting document and the value is appearing against the invoice document. However the status against the accounting document is showing as not cleared. I want to know where we could see this status in Table,
    Normally we can see the status in FPLT for contracts since its having the billing plan no. Suppose if the billing plan is not available like S.O , How to check the status in table?
    I have refered so many tables but not helping. Since i want to get the uncleared value of accouting document.
    Please help me.
    Regards
    Thenna

    Hi Thenna
    The accounting document status in the document flow is determined dynamically when you display the document flow,
    it's not saved in a specific table.
    Here is the relevant logic:
    LV05CF01 -> form BUCHHALTUNGSBELEG
    IF vbrk-vbeln <> vbfa_tab-vbeln.
       PERFORM vbrk_ermitteln USING vbfa_tab-vbeln.
       REFRESH xbkpf.
       CALL FUNCTION 'FI_DOCUMENT_READ'
        LOOP AT xbseg WHERE bukrs EQ xbkpf-bukrs
                      AND   belnr EQ xbkpf-belnr
                      AND   gjahr EQ xbkpf-gjahr
                      AND   ( koart EQ 'D' OR koart EQ 'K' ).
        ENDLOOP.
                IF NOT sy-subrc IS INITIAL.
      SET STATUS TO 'No items are cleared'
                  l_xdoc_num-status = 'A'. <<<
                ELSE.
                  LOOP AT xbseg WHERE augbl IS initial
                                AND   umskz NE 'A'
                                AND   vorgn NE 'AZUM'
                                AND   ( koart EQ 'D' OR koart EQ 'K' ).
                  ENDLOOP.
                  IF NOT sy-subrc IS INITIAL.
      Set status to 'All items are cleared'
                    l_xdoc_num-status = 'C'. <<<
                  ENDIF.
                ENDIF.
    Regards,
    Alex

  • Accounting document status and Balance amount

    Dear All, We have add the Accounting document status and also balance amount in the report ,Please advice how to get write the logic where we will get the balance amount of the accounting document

    Dear Ravi
    No need to post in two places  Accounting document status and Balnce amount

  • Goods issue accounting document

    Hello All,
    I have a sales orderand Billing invoice number, What i need is Goods issue delivery document number and the goods issue accounting document number.
    Please let me know the tables and mapping condition to get goods issue Accounting document number.
    Thanks
    Raghuram

    HI,
    As i understand Your query i positing.
    Please check in VA03 the Status Overview of Order for which OBD done(Shift+F5).
    Overther you will find the OBD no. as well Goods Issue Doc no (material Doc no) and with this GI no. in MIGO display you will find the Accounting Document.
    Tables for OBD is LIKP and MIGO is MSEG. as well MBEW is for Accounting data. as well the Accounting Document will be trace out with FB03 Tcode.
    Try and reply.
    Regards,
    Ninad Kshirsagar

  • Accounting document creation for sales invoice with IDOC INVOIC02 ?

    Hi All,
    Our sales invoice are managed in a external system and those Invoice are going to be send in FI with IDOC interface.
    is it possible to use the IDOC INVOIC02 to do this operation ?
    if yes, what are the customizing points I have to implement ?
    if not, what kind of IDOC can I use ?
    Thank you in advance for your help
    Franck

    Hi Thenna
    The accounting document status in the document flow is determined dynamically when you display the document flow,
    it's not saved in a specific table.
    Here is the relevant logic:
    LV05CF01 -> form BUCHHALTUNGSBELEG
    IF vbrk-vbeln <> vbfa_tab-vbeln.
       PERFORM vbrk_ermitteln USING vbfa_tab-vbeln.
       REFRESH xbkpf.
       CALL FUNCTION 'FI_DOCUMENT_READ'
        LOOP AT xbseg WHERE bukrs EQ xbkpf-bukrs
                      AND   belnr EQ xbkpf-belnr
                      AND   gjahr EQ xbkpf-gjahr
                      AND   ( koart EQ 'D' OR koart EQ 'K' ).
        ENDLOOP.
                IF NOT sy-subrc IS INITIAL.
      SET STATUS TO 'No items are cleared'
                  l_xdoc_num-status = 'A'. <<<
                ELSE.
                  LOOP AT xbseg WHERE augbl IS initial
                                AND   umskz NE 'A'
                                AND   vorgn NE 'AZUM'
                                AND   ( koart EQ 'D' OR koart EQ 'K' ).
                  ENDLOOP.
                  IF NOT sy-subrc IS INITIAL.
      Set status to 'All items are cleared'
                    l_xdoc_num-status = 'C'. <<<
                  ENDIF.
                ENDIF.
    Regards,
    Alex

  • Unable to cancel Billing due to cleared accounting document for Free Goods

    Hi,
    I have a case as described below:
    I.                    SALES ORDER CREATION
    Transaction VA01 à Sales order is created for the following details:
    1.       Material Normal  (TAN) : 100 CAR
    2.       Free Goods (TANN) : 10 CAR
    II.                  Subsequent processing of sales order 
    a.       Delivery(1) and Billing (1) creation for the SO with the following details :
    Material Normal (TAN) : 100 CAR
    Free Goods (TANN) : 5 CAR
    Status of accounting document after releasing billing document to Accounting: Not cleared
                    Accounting Journal:
                    A/R                                                                     xxxx
                    Sales discount                                                     xxxx
                                    General Domestic Sales                                        xxxx
                                    VAT u2013 Out(TAX)                                                    xxxx
    b.      Delivery (2) and Billing (2) is then being made for the leftover item of the Sales Order:
    Free Goods (TANN) = 5 CAR  
    Status of Accounting document after releasing billing document to Accounting: CLEARED
    Accounting Journal
    Dr. Sales Discount                                        xxxx
                            Cr. General Domestic Sales                  xxxx
    III.                Reversal of Billing (2) needs to be done
    Activities conducted:
    a.       Go to VF11 and enter Billing (2) document number
    b.      Execute!
    System response:
    Error Log:
    1)      Data inconsistency during processing of document xxxxxxx
    2)      The Billing Document xxxxxxx  is already cleared
    From the error found, we tried to reverse the cleared accounting document by using t-code FBRA:  
    System response:
    Document xxxxxx IS NOT  a clearing document
    Question:
    We have to reverse the clearing document first in order to cancel the related billing document but we keep finding this error, do Anyone have any advice to solve this issue?
    We have simulated similar transaction in IDES and no problem is found, is there any specific setting in customizing that can allow cancellation of billing document regardless of its accounting document status (Cleared or Not Cleared) ?
    Thanks in Advance,
    Indro

    Thanks a lot for the reply,
    It answers my question, I found the copying requirement using routine 029 was defined in the cancellation document section of the Billing type to be cancelled
    After removing, the billing document can be cancelled
    Thanks,
    Indro

  • 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

  • Table for Dispute case ID and accounting document number

    Hi,
    For a given dispute case ID (EXT_KEY) I am unable to find the corresponding accounting document number ( BELNR ) for this dispute case. I am able to see the accounting document for the dispute case on the transaction UDM_DISPUTE but then I am not finding the same in any tables. Can anyone let me know in which table can I find the relationship to determine this. Thanks in advance.
    Rgds,
    Sowmya

    Hi Sowmya,
    check the table UDMCASEATTR00.it contains all the details about disputemanagement
    please reward poitns if helpful

  • Table relations between vbrk and bkpf for  Accounting Document Number

    hello,
    i am using 4 tables to get data into my programs.
    vbrk,vbrp konv and bkpf.
    i want to get belnr from bkpf.i found relation between vbrk and belnr.but in vbrk table belnr's value is initial.
    can anybody tell me that how should i relate vbrk and bkpf or how to get Accounting Document Number(belnr) from bkpf for Billing Document(vbeln).
    regards,
    soniya s.

    hi,
    chekc this. its working for me.
    data : WA_AWKEY LIKE BKPF-AWKEY.
    data :  WA_BELNR LIKE BKPF-BELNR.
    data : LENGTH TYPE I.
    *BREAK MTABAP.
    LENGTH = STRLEN( IT_VBRK-VBELN ).
    if  LENGTH = '10' .
    MOVE it_vbrk-VBELN TO WA_AWKEY.
    SELECT SINGLE BELNR FROM BKPF INTO WA_BELNR
      WHERE AWKEY = WA_AWKEY
      AND AWTYP = 'VBRK'
      and blart = 'RV'.
    it_final-acc_doc = WA_BELNR.
      CLEAR WA_BELNR .
      CLEAR WA_AWKEY .
    else.
    CONCATENATE '0' it_vbrk-vbeln INTO wa_awkey.
    SELECT SINGLE BELNR FROM BKPF INTO WA_BELNR
      WHERE AWKEY = WA_AWKEY
      AND AWTYP = 'VBRK'
      and blart = 'RV'.
    it_final-acc_doc = WA_BELNR .
      CLEAR WA_BELNR .
      CLEAR WA_AWKEY.
    endif.

  • PO ref i need Table Data from GR,IR & Account Document Numbers

    Hi Fi/Co Family Please give me valuable suggestion ,
    Through PO Number we will get GR Number in TC: ME23, how can I get from table data with reference PO to GR, IR and Accounting Document Numbers.
    Regards,
    Venkat

    hi
    if ur problem is to find the document number only, then go to tcode me23n and give ur PO number and click on PO history tab on item details.
    hope it works.award if useful.

  • Table for picking PURCHASE ORDER field corresponding to accounting document

    Dear All
    Table for picking PURCHASE ORDER field corresponding to accounting document.
    Thanks
    Rahul Jain

    Dear Jayram
    I know that Purchase order field can be picked from BSEG table but i am not able to capture the data into it. Whenever i book a invoice through FB60 or MIRO i give the reference PO number which is not getting updated in BSEG, BSAK and other relevant tables.
    Thanks
    Rahul Jain

  • 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.

  • Table for Accounting Document of Invoice Document

    Dear All,
      We have accounting doc. table of material document as BKPF(HEADER) & BSEG(ITEM).
      In the same way, can any one share, whats the accounting doc table for Invoice/MIRO??
    Regards
    Mahesh
    Re

    Hi Dear
    actually what table you have mentioned in your thread that table is for Accounting document, it doesn't matter whether the accounting document is created during good receipt or Invoice receipt
    hence BKPF and BSEG is accounting table for invoice as well
    Thanks

  • How to catch accounting Document Number in SE37 for  BAPI_ACC_DOCUMENT_POST

    HI Frds,
    My ReQ is i have to post Customer Invoice from Legacy to ECC through PI interface. So i am using one BAPI , ' BAPI_ACC_DOCUMENT_POST''. I had customized this BAPI by adding 2 fields (1.zstatus, 2.zsaprefno) as i have to send the status(1. Success/Fail, 2.Account Document Number) back to Legacy.
    For PI i have to give the BAPI structure. So when i am executing in SE37 zstatus field is catching the value as 'Success'. But the ZSAPREFNO is not catching the account document number. Bez we have to execute BAPI_TRANSACTION_COMMIT after this BAPI(in test sequence from Menu bar). So directly updating in Database tables.
    when i was excuting in SE38 the Accounting Document Number is returned in RETURN parameter of MESSAGE_V2 as we are checking the return parameter after BAPI_TRANSACTION_COMMIT.
    when i am trying in SE37 its not catching the value in MESSAGE_V2(catching as $).  After COMMITing we have no option to check the RETURN parameter.
    So, any idea how to get the Account Document Number  in SE37.......Or any other way to do..........
    Edited by: priya tavanam on Sep 3, 2010 7:02 AM

    Hi,
    if standard BAPI did not return the Acc. document number before BAPI_COMMIT then create wrapper FM
    1) call actual BAPI and BAPI_COMMIT with in that.
    2) retrun the account document back.
    otherwise you can try sync proxy as well.
    Regds,
    Suresh

  • 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

Maybe you are looking for

  • Purchase Quotation License Issue

    Hi, Everyone Non of the limited Licenses are working with Purchase Quotation in my 8.81 PL05 except Professional License. Can anyone confirm that Limited Logistic and CRM are not allowed to access Purchase Quotation ?

  • COMPUTE_BCD_OVERFLOW MIRO Incoming Invoice

    Hi, Gurus, I have extended most of my domains successfully and everything seems fine until in MM when the MM consultant tries to simulate or save in trans MIRO, a short dump appears saying the above. I have look at the position specified in the dump

  • Set Server Pool Master to Maintenance Mode

    Hi all, when trying to set a server pool master to maintenance, I got this: "OVM-2020 Server pool master (vm-13) can not be set to maintenance mode, please use server pool master failover policy to change its role, then try again." I have dug through

  • Where can I get slp.jar?

    I want to register a JMX service with SLP. But it needs slp.jar. I can't find the file in the jmx directory. Where can I get it? Thanks.

  • Can not send mail over Edge

    My boss has an original iPhone and I am constantly having problems keeping his e-mail functioning properly. The latest issue is he can not send e-mail over the Edge network. I visited the AT&T support page, and they say to contact Apple for support.