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

Similar Messages

  • Last Purchase Order and FI-Document Number of an Vendor

    Hi,
    i need for an Vendor the last purchase Order and FI-Document Number.
    For purchase Order i read EKKO sort this and get the last one.
    For FI-Document Number i read BSIK and BSAK sort this and get last one.
    Question: is there any faster way (CLASS, FM or TABLE) to get what i need??
    Thanks.
    Regards, Dieter

    HI Dieter,
    You can use transaction code ME2L , where you can list of PO issued a particular vendor. List list shows Po no. indecending order. You can double click select the latest PO and through PO history you can get the FI Document no.
    I hope this ansers you query.
    Regards
    Harish

  • Need help abt Purchase order and material document number

    1)Is there any releation ship between Purchse order number and material document number?
    2) I found aBAPI to get the goods receipt details. That is BAPI_GOODSMVT_GETDETAIL. But it is excepting Material document number and material document year as input parameters.Is there any BAPI to get goods receipt details by using purchase order number?

    hi kiran
    check this thraed. this gives you relatinship between Purchse order number and material document number
    Retrieving Accounting Document number based on PO numbers
    BAPI to get goods receipt details by using purchase order number is
    BAPI_GOODSMVT_CREATE
    thanks
    Sachin

  • Purchase order and FI Document Number - R/3 extractor

    Hello Experts -  I have a question on the BW extractors on the R/3 side. Are there any standard extractors out there where I can get Purchase Order information and related FI document number information. In case if I have to create one what tables do I need to reference to create generic extractor. Thanks for your help.
    Regards,
    Venu.

    Hi Venu,
    This could be better done on a standard FI extractor by enhancing it with purchase order information.
    Atleast, this is the way we did in our scenario.
    Have 0FI_GL_4 enhanced with data from EKKO, EKPO tables, with required feilds. This enhancement may not be quite detailed.
    Also if you are interested in a complete gen extr. then the above two tables along with BSEG should do.
    Naveen.A

  • 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

  • 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

  • Technical link between a PM order and its operations (routing number)

    Hi all,
    I would like to know how to make link between a PM order and its routing number for operations in the order (field AUFPL) ?
    Thank you.
    Regards.
    Laurent.

    Hi again,
    I just found function module CO_DB_HEADER_READ.
    With Order Number as import parameter you got in export parameter CAUFWA value AUFPL.
    Then with +AFV+* tables, you have operations data.
    Regards.
    Laurent.

  • How to link asset with purchase order and PO Item.

    Hello,
           I have to generate a report which contains columns
    Asset No , po no(ebeln) ,PO Item(ebelp),Material no etc
    My query is how to link asset with purchase order and      PO Item.
    I am selecting asset and po no. from anla  but how to get
    po item no(ebelp)?
    po line item is important in this report because every line item has differrent asset and material no.
    i tried to match asset no in mseg table but i am not getting asset no in mseg .
    how should i proceed ?

    Thanks Thomas & Srimanta for the quick response.
    When I checked EKKN table by entering PO there is no asset no. in anln1 field.
    Also I would like to add that, In me23n for a PO, account assignment category we are entering 'F' for internal order settlement.
    Where can i find the link between asset and po no(ebeln) and po item(ebelp)?
    Regards,
    Rachel
    Edited by: Rachel on Aug 11, 2008 7:23 AM

  • Purchase orders and sales documents

    hi what r the transaction codes for purchase orders and sales documents.

    Hi Mohan,
    ME2C  Purchase Orders by Material Group
    ME2J  Purchase Orders for Project
    ME2L  Purchase Orders by Vendor
    ME2M  Purchase Orders by Material
    ME2N  Purchase Orders by PO Number
    ME2W  Purchase Orders for Supplying Plant
    VA03  Ccreate Sales Order
    VA03  Change Sales Order
    VA03  Display Sales Order
    Regards,
      ok

  • Purchase Order Modification: External Document Number already assigned

    Hello,
    We're running Extended Classic Scenario in a SRM 4.0 implementation.
    The problem is the following: When the user modifies a purchase order (this purchase order is already replicated to the backend), sometimes (not always), the next error occurs:
    "Purchase Order XXXXXXXXXX: PO header data still faulty "
    "Purchase Order XXXXXXXXXX: External document number XXXXXXXXX already    assigned"
    The system does not provide additional info (RZ20 give us the same message, no ST22 dumps...
    We think it could be some kind of error in the standard BAPI BAPI_PO_CHANGE.
    We've revised the SAP OSS but didn´t find anything....
    Some idea?
    Regards and Thanks in advance!!!

    Hi
    <u>Any other rrors / dumps noticved in system using RZ20 and ST22 transactions ?</u>
    <b>Have you seen this helpful pointers and link ?</b>
    <u>The related SAP OSS notes are as under :</u>
    <b>"Purchase Order item 00010 still contains faulty account assignment items"</b>
    <b>Note 1000184 - Account assignment error when document transfer to back end</b>
    Note 966323 - Service Item: Not able to create PO in ERP backend
    "Purchase Order item 00010 still contains faulty account assignment items"
    Re: How to create a PO in R/3 from a local Bid Invitation in classic scenario ?
    Re: From local Bid invitation PO is not generated in backend
    <b>Do let me know.</b>
    Regards
    - Atul

  • 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

  • FM for linking deleted sales order and accounting document

    Hi there,
    I have this scenario:
    -I create a sales order and make a certain amount of downpayment.
    -At the save of the order, an accounting document is created in BSEG table with reference to this order (BSEG-VBEL2).
    -I delete the order that I created in step 1.
    -The accounting document still exists in BSEG.
    Question:
    A direct select on BSEG with vbel2, takes a very long time.
    Can anyone suggest a way to improve the performance, or does anyone know of a Fuction Module that I can use?
    Thanks,
    Deepti

    Hi,
    Con't you use alternative table, Example insted BSEG use BSID and create a index on VBEL2 to improve the performance..
    Regards,
    Srinivasa M

  • Purchase order and Account assignement category- Change

    hi.,
    We are trying to receive the Purchase order of High value components into INVENTORY.
    However, most of these Purchase Orders were created with account assignments.
    Because of that, if we receives these PO’s, they will be consumed against the object identified in the account assignment.
    Additionally, some of these have been invoiced already and would need to be backed out from the finance side.
    Question: How can we receive these STO Purchase orders and then make changes through Movement type ( or any other way ) so that the HIgh Value Components that are consumed against that AC assignment can be subsequently moved into Invenotory.
    Also, what are the other options ( FI will not open Previous period) so that the PO's which have been invoiced  can be reversed against that AC assignment.
    Thanks All

    hi Rajesh.,
    As mentioned earlier, these  Purchase orders are STO's which have been already created and we are waiting to do the GR for the same. Items in the STO PO are of  High value which we need to bring into  INVENTORY.
    But, because these STO PO's were created with account assignments, if we do GR now, they will be consumed against the object identified in the account assignment.
    Some of these STO PO's have been invoiced already and  FI has indicated that they could cancel the invoices for those STO PO's in previous posting period.
    Question again : How can we receive these STO Purchase orders and then make changes through Movement type ( or any other way ) so that the HIgh Value Components that are consumed against that AC assignment can be subsequently moved into Inventory and not to a cost Center (202)
    Step (1) Can we cancel the Invoiced items> reverse the GR for invoiced Items>reverse STO for PO ?
    Step (2) Can we reverse the STO for PO for which GR has not been done? then
    Step (3) Change the PO through ME22N, remove the Account assignment category?
    Or how do we correct this situation for
          (1) PO's already invoiced.
          (2) PO for which GR has not been made. How can we receive them into Stock and not Cost center.
    Anticipating a reply
    Thanks
    Sri

  • How do i remove the link between my apple ID and my mobile number?

    i decided to move away from iPhone a couple of days ago as a result of renewing my contract. When I got my new phone, I factory re-set it and handed it in to my network provider as part of a recycling scheme. Since getting my new phone, when people send me texts they are still sending as iMessages. I have logged onto my iTunes and removed my iPhone from the account but still nothing. How do I completely remove the link between my mobile nuber and iMessenger?

    Contact Apple support to deactivated iMessage: https://www.apple.com/support/appleid/contact/

Maybe you are looking for

  • How do I insert a page into multiple .PDF files?

    Hi everyone, I have several hundred PDF files every month, and I need to insert a page at the end of each document. The files and insert are in PDF format. What is the easiest way to do this? I am using Acrocrbat 10. Thank You

  • "Save As" not saving

    Windows 7, I-920 processor, 12GB ddr3 memory, ATI 5770 video, multiple, 1 TB, 7200 rpm drives for images and backups.  CS6 13.0.1 X64 I've had this periodically ever since going to CS6, but it's rare and seemingly random.  I'm editing, I open a Nikon

  • Logo SapScript

    Hi every body, i'm trying to edit a logo in a letter trought sap script, but the logo is displayed when i use PDF and not displayed when i use MS Word? some one have an idea why this behavior?

  • What characters & symbols are supported in LinkSys WAPs?

    The IEEE 802.11i STD says WPA2 is 32 to 126 (decimal) and then I'm seeing the Wiki on it says only ASCII printable characters.   What characters/symbols are valid/legal for WPA2 Linksys WAPs security passphrase? So the above perspective on the standa

  • Is the i7 13" Macbook Air capable of playing some basic games?

    I'm looking into possibly grabbing a 13" Macbook Air with the i7 1.7Ghz processort and was wondering if it's capable of playing some basic games that are out in the Mac App Store such as Angry Birds, N.O.V.A. 2, or even Grand Theft Auto: San Andreas?