Account Document Number Against the Purchase Order No.

Hi,
I have 2 queries in my report...
1..i want Account Document Number Against the Purchase Order No.
2..and Account Document Number Against the Invoice No.
Note:.. Account Document Number have the 55... series. foe ex. 5500017019...
Plz let me know in which table i can get it...
Thanks...

Hello Prince,
To find the GR no. against the FI doc number the tables involved will be BKPF, RSEG, EKBE.
Plz see the algorithm below for details:
1. Select the A/C'ing docno. from BKPF. For the FI docs selected, get the incoming invoice details from RSEG.
RSEG-BELNR = BKPF-AWKEY+0(10)
RSEG-GJAHR = BKPF-AWKEY+10(4)
Please note you can restrict the FI docs selections by using BKPF-AWTYP = 'RMRP'.
2. From RSEG you get the PO number (RSEG-EBELN) & then go to the PO History Table EKBE to get the GR number (EKBE-BELNR).
EKBE-EBELN = RSEG-EBELN
EKBE-EBELP = RSEG-EBELP.
Hope this is clear.
BR,
Suhas

Similar Messages

  • Accounting document number display in purchase order history tab

    Is it possible to display the accounting document number in the purchase order history tab?  Currently it is displaying material document number for Good receipts and LIV (logistic invoice verification) document number for Invoice receipts against material document number colmn.  We can get to the accounting document number by drilling into the LIV document number.  We are looking for a way to display the accounting document number in the display screen of purchase order history tab instead of drilling down. 
    Is there an option to display accounting document number of the MIRO posting in ME23N , purchase order history tab?
    Truly appreciate any help in this regard.

    Thanks for the response.

  • Excise No. using  Accounting Document Number and the P.O. number

    Hi All ! In my GL report, I'm displaying the Accounting Document Number and the P.O. number.
    Now, the requirement is to display the excise no..
    Tried different tables in SE11 using J_1EXC for excise detials, but to no avail.
    And last which vendor to pick, Because vendors in P.O and BSEG differs.
    If I use the BSEG-BELNR I get a different vendor & If I use the P.O. no. in EKKO then also I get a different vendor.
    Please suggest.

    Hi,
    Actually the vendor in the accounting document and PO should match. If not look in table EKBE, It will have the accounting document or at least the invoice receipt against which accounting document would have been created. Check if the vendor number matches with the invoice receipt.
    Regarding the excise number I'm not sure what you mean, If you mean excise invoice number, you can look at the J_1IEXCDTL
    J_1IEXCHDR tables. You could check with FC on what basis the document is getting created to make out the relation ship. If it is vendor excise no etc. you can hit F1 help to find out the table etc.
    Hope it helps.
    Sujay

  • Accounting document number in Po

    Hi
    when ever  completing goods receipt accounting document created, Is this possible to configure accounting document number
    show in purchase order history me53n t.code, showing like that goods receipt and invoice number,plz suggest
    Regards
    Sam

    Hi
    when ever completing goods receipt accounting document created, Is this possible to configure accounting document number
    show in purchase order history me53n t.code,
    1)accounting docuement will not come in Po history its FI docuement and second its generate at heade level
    2)ME53N is display purchase requestion ,if you want PR history whethere po is create or no,t grn happen or not and invocie happen or not
    you can see this on status tab in PR ans select layout button on this change requierment as per your requierment
    note: in PR you will get Po number only and GRN and Invoice status and its posting date you will get ,not docuement number beacse ir po base not PR base
    Regards
    Kailas ugale

  • Need to find how to relate the purchase order table with account assignment

    i need to reterieve the account assignment from the table bbp_pdacc, what is field or any tables that is between BBP_PDACC and Purchase order number or the purchase order items. I am working on the SRM system

    Jacques-Antoine,
    You can't directly translate a repeating node or element (such as an Item or a Project Task from the Accounting Coding Block of an Item) to a singular node or element.
    The reason is that, though your use case may have the elements assumed to be the same for all items, this isn't necessarily the case, so ByDesign won't assume that you can use that kind of logic.
    The simplest approach would be to do an On-Save at the Root node of the Purchase Order along the following lines:
    this.projecttaskpo = this.Item.GetLast().ItemAccountingCodingBlockDistribution.AccountingCodingBlockAssignment.ProjectTaskKey.TaskID;
    i wouldn't actually recommend this code.
    You'd need validations for IsInitial, IsSet, and those kinds of functions.
    i'd at least use some foreach loop to check that all the accounting coding blocks were for the same task, raise warnings if they weren't, etc.

  • How to find the invoice number from accounting document number?

    Hi
    I am using the bapi BAPI_AP_ACC_GETSTATEMENT and trying to get the invoice numbers of all the payments.
    but i am unable to find the link between the accounting document number from the bapi and the vendor invoice number.
    i have tried the tables BSE_CLR, BSEG and BKPF. the field AWKEY in BKPF has the combination of BELNR & BUKRS & GJAHR when the document type is anything other than RE.
    How can i get the invoice numbers from the accounting doc. numbers?
    Regards
    Sujai

    I am unable to find the link between BKPF-BELNR and RBKP-BELNR from the bapi return values.
    XBLNR is blank when i check the table.
    the output of the bapi is something like this                                                                               
    COMP VENDOR   CLEAR_DATE CLR_DOC_NO ALLOC_NMBR   FISC   DOC_NO     ITE
                                                                                    1000    1100 ........ .........................................  20020123           2002 1900000202   002
    1000    1100 ........ .........................................20020123           2002 1900000203   002
    1000    1100........ .........................................20020123           2002 1900000204   002
    1000    1100........ .........................................20020123           2002 1900000205   002
    now i try passing the doc_no (1900000XXX) and the fiscal year (2002) and company code to BKPF
    the XBLNR field is blank. This document number sequence doesn't seem to be the accounting document number of the invoice coz that starts with 51XXXXXXXXX.
    If i try passing the number with sequence 51XXX... to BKPF i get the invoice number there in the AWKEY field.
    I am not sure what this sequence (19___) represents.
    Sujai
    Edited by: Sujai S on Nov 5, 2008 7:22 PM
    Edited by: Sujai S on Nov 5, 2008 7:22 PM

  • Down payment against the Internal Order - for Capital Expenditure

    Dear friends
    I am getting an error while making down payment against the purchase order.
    The order of my entries or steps are as follows:
    Created one internal order for Capital WIP with budget and availability control activation.
    Created one purchase order against a vendor with reference to the above Internal Order.
    When I am making the down payment to the vendor through tcode:F-48, the system throwing an error
    "Define Cost Elements for Down Payments".
    Can any one please explain why this error is coming. When I checked in Internal orders, there is a TCode: OKEP for Define Default Cost Elements for Down Payments.
    System is asking for cost element, but where as what ever the down payment we are making is nothing but advance which is current asset. Why system is asking for cost element?
    Can any one give me the guidance how to handle the issue.
    Thanks in Advance
    Kiran Kumar A

    The reason is when you want the down payment for AUC to be capitalised, then you would need to create cost element for Downpayments.
    Normally as per design of SAP, down payment being a Balance Sheet Account (Current Asset as you rightly mentioned) doesnot need / accept an Cost object, as a special case since down payments for AUC needs to be capitalised and hence need to be carried to Controlling (Internal Order) by creating Cost Element for Downpayments.
    Go ahead and create the cost element. That would resolve your issue.

  • Invoice Value tolerances based on the Purchase Order type..

    Hi Gurus,
    Can anyone please tell me if there is a way to assign the variance (tolerance limit) to the Invoice document based on the Purchase Order? What I want to do is that when the Invoice is posted in the system, the system should be able to check the document type of the Purchase Order and then based on that the tolerance limits should be applied on the Invoice. for example PO document type NB- tolerance for Invoice plus/ minus 10%, Document type FO- tolerance limit plus/minus 5%.
    I know we can do it based on the Vendor but we use the same vendors for a number of purposed ( a number of PO types)hence can use that.
    Thanks in advance
    Anoop

    Hi,
    Check on it:-
    Purchase Order Tolerance
    http://wiki.sdn.sap.com/wiki/display/ERPSCM/MM-IV-LIV-CRESetTolerancesforIncoming+Invoice
    pherasath

  • 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

  • Is the purchase order number and purchase document numer both are same

    is the purchase order number and purchase document numer both are same or different?
    thanks.

    Hi Sunny,
    Yes they are same. You will be creating a purchase order in ME21n. After creating purchase order you will shown a number for that order.
    Reward points if useful.
    Thanks,
    Swamy Kunche

  • Uploading Purchase Order Against the Sales Order through DTW

    Hi Experts,
    I searched the forum but could not see anything regarding this.
    Can I upload Purchase Orders against the Sales Orders using DTW upload facility? Manually we do it through the Logistics Tab in Sales Order.
    Thank you in advance.
    Kind Regards,
    IC

    Hi,
    You can use the BaseType, BaseEntry and BaseLine columns for this in the row level template (DLN1):
    BaseType: it's the Object Type of base document (ORDR.ObjType) which is '17' in case of Sales Order
    BaseEntry: it's the Document Entry of the base document (ORDR.DocEntry)
    BaseLine: it's the row number of the line in the base document (RDR1.LineNum)
    If you import your Delivery Notes with this info, the link to the Sales Order will be updated just as if you used Copy To in SAP.
    Regards,
    Nat

  • Accounting Document number from Purchasing Document Number

    Hi Gurus,
    My Requirement is that i have a Purchasing Document number (EBELN) and i need Accounting Document Number( BELNR_D)  so that i can get the Amount in Document Currency (WRBTR) for that document .

    Hi,
    Check table EKBE.

  • Purchase orders manily against the sales orders

    My client do purchase orders manily against the sales orders... but to meet the minimumn purchase order quantity or value they club many sales orders in a single purchase order... now is there any way to track for what sales-order-item what purchase-order-item made?? (in SAP B1 2007 B PL7)

    Hi
    By Design ,SAP creates link between SO to PO when you create PO based on SO .
    Then you can use TargetDoc  which is PO  Number and can be seen in row level
    If it is disabled , you can enable it through form setting .
    I usually ask my user to start with SO . When they are ready to make purchase , they can click on purchase check box on SO and create PO based on SO . This way the link stay as B1design .
    The reason of this you can see the PO and (orrange arrow link) which can let you navigate your PO  from AR module .
    An other workaround  ,user defined field can be used at row level and manually link
    Hope this helps
    Bishal

  • Can we create the Purchase order that using P&L account or just using account do not use cost center.

    Dear Experts,
    Could you please advise :
    1) Can we create the purchase order that using profit and loss account ? ( if yes , which kind of account assignment category we should use ?)
    2) How to create a purchase order for service charge .( just using GL account )
    Thanks & Best Regards,
    Watson

    Hi,
       May I know why you do not use cost center for consumption?
       You may create a new account assignment category in OME9 by copying K and maintain the cost center as optional. Please note that you have to maintain the item category blank and the account assignment category combination in OMG0. Now, you can use a GL account in PO which doesnt require a cost center assignment (in OBC4 against the field status group of the GL)
       You may use the same account assignment category created in the previous step with item category D, after you maintain the combination of the account assignment with item category D in OMG0.
        Please test the scenario and revert back.
    Regards,
    AKPT

  • Account assignment of the incoming invoice and the purchase order

    Hi,
    I am trying to control the account assignment of an incoming invoice against the account assignment of the purchase order used. The link I found is the field ZEKKN. I think RBCO-ZEKKN tells me what account assignment of the purchase order (EKKN-ZEKKN) I am using (just as RSEG-EBELN and RSEG-EBELP help to point the item of the PO used in the invoice). This link is working pretty well in 99% of my Pos and invoices. But sometimes when I create an assignment line in the PO, this line is created with a key EBELN, EBELP, ZEKKN = ‘02’, even if any assignment was created wit an ZEKKN = ‘01’.
    In this case, when I park an invoice on this PO, the value of RBCO-ZEKKN is ‘01’ and not ‘02’ as in the table EKKN.
    It is very annoying because the control I implement blocks the posting of the invoice..
    Any idea or any new link between tables RBCO and EKKN will be very appreciable.
    Thanks in advance

    Hi, I've got the same issue if someones has a clue it would be very helpfull

Maybe you are looking for

  • Waveform image not visible in region-suddenly.

    Last night I was recording some guitar parts and although I could see the image of the waveform being drawn as the playhead moved, when I finished, the regions displayed only a single line as if nothing had been recorded. The audio plays back fine an

  • Multiple Apple ID's One iMac

    My iMac is telling me the computer is already associated with an Apple ID, and since it is my husbands, I can not access my library even though I am logged into MY Apple ID on my User Login. It's telling me I can not access my iCloud purchases for 86

  • Windows 8.1 Pro user has a blank apps screen, zero icons or tiles, no down arrow

    A user was recently infected with a huge pile of malicious apps in their system, the legal malicious kind, and they were all removed and the system is now completely clean. Unfortunately an unintended side effect is that the start menu is completely

  • Problems upgrading from OS 8.1 to OS 9.2.2

    Thank you for any help you can give me. I have some additional problems upgrading from OS 8.1 to OS 9.2.2. 1. The keyboard is typing symbols, not normal letters. When I go to Key Caps it shows symbols and not normal letters. When I was running OS 8.1

  • InDesign & Photoshop Elements

    Hello, InDesign CS3 has been crashing a lot when I try to place something (or save, or export a pdf). Seems to happen whenever I have the new version of Elements open at the same time. Any thoughts? Mac 10.5, G4 Thanks, Don