Finding Purchase Order Number through the Delivery Document

Dear all,
I'm doing an EDI 856 ( ASN / Shipment Notice) and I need to know how can I find the PO Number if I only have the Shipment (Delivery) number.
What I wanna know is the relation between PO and Delivery Document.
Best Regards,
        Eduardo Arruda Pimentel.

Hi Eudrado,
There is no direct relation.
Technically, the relation between PO and delivery is many to many i.e. one PO can be related to multiple deliveries and many POs can appear in single delivery..this depends on your business scenario.
for ex., one sales oder might be split into multiple deliveries or many sales orders can be merged into one delivery.
In this case, you can consider searching table VBFA by item number also..as VBKD contains line item number also.
Regards,
Raghu.

Similar Messages

  • Purchase order number for the Delivery

    How do we get the Purchase order number from a delivery.
    Hello all
    Say i have an Purchase order [EKKO] and from that i have created a delivery.[LIKS]
    In my output for the delivery, i need the preceeding document number for the delivery which is the PO number.
    How do i get the same. what table should i look in. I checked the VBFA table, but i am not able to get the same there...
    is there any table with which we can get this info.
    thanks and Regards,
    Gauravjit.

    No, it will be at the line item level because you can potentially combine several PO (or sales order) line items into one delivery.

  • Purchase order number of the customer equals to the batch number

    At our case, purchase order number of the customer equals to the batch number. Purchase order number will be written on the sales document (VBKD - BSTKD).
    1. How can the production department can see what is written in this field (on md04 or etc...)? The batches will be created by the PP module so they have to see what is written on this field to give the right number to the batch externally (when creating the batch manually).
    2. If batches are automatically created, how can we make the batch number to be equal to the purchase order number which is written on the sales document (VBKD - BSTKD)?
    I'll be happy for the answers and I'll also be happy if you can give me the names of the user exits for the above questions. Thanks in advance for the answers....

    Hi Yasar?
    Did you evaluate working with valuated sales order stock?
    This way your PP people could use Make to Order style manufacturing and produce for a special "batch" => The sales order special stock.
    Can be used in Repetitive Manufacturing and has no impact in costing, therefore a nice option for the situation you are describing.
    In MD04 a special segment will appear for the the Sales Order stock and this stock will only be able to be shipped for this special order.
    Best Regards,
    Franck

  • "In FBL5N unable to view purchase order number and the sales order number"

    Hi,
    Below mentioned is the problem we are facing,
    In the Customer Line Item Display (FBL5N) it is vital for us to be able to view the customer's purchase order number as well as the sales order number for each billing document listed by customer.
    We need to be able to extract this information for each customer and import to an excel spread sheet for analysis, specifically for our larger customers that have over 500 plus lines.
    Kindly advise how to go about the same.
    Regards
    Harish

    Dear,
    Please also check note 152335. There, you will find a more detailed            
    explanation of the issue.                                                                               
    The only way to see some information regarding related PO-es in a Vendor       
    line items is a workaround. For example, it is possible to create              
    a substitution in order to fill in one of not currently used fields            
    like Reference, Text, etc.    
    I hope this helps You.
    mauri

  • Table containeing both the purchase order number and the sales order number

    hi all!!!
    what is table that contains both the purchase order number and sales order number corresponding to that purchase order number.
    Moderator message: please search before posting.
    Edited by: Thomas Zloch on Jan 31, 2012

    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

  • Purchase order number addition to Delivery

    what is the process of adding the purchase order to a return delivery.
    Plz let me know. Thanks.
    Edited by: raghav nba on Nov 25, 2008 9:40 PM

    sorry, it was a custom enhancement here. I got it.

  • Purchase order Number and Outbound Delivery

    Hello All,
    I want write a select query which will show all outbound deliveries of a Purchase order. How shoudl I relate them? I mean what database tables can I use?
    Regards
    Puru

    Hi,
    You can use following database tables.
    VBAK- Sales header for PO number
    LIKP-  Delivery header for outbound delivery number.
    VBFA-To link sales  and  delivery in document flow.
    Reward if useful.
    Thanks,
    Pramod

  • Can't find my order number in the order history

    I need to re-install Photoshop CS5 but when I do what's suggested here there's nothing in my account history to download . . .

    Thanks but I tried that and all I got was Access Denied. It would be nice to have the ability to to go straight to the source so I will keep this link handy even though its not working at the moment. Otherwise, this Cloud BS is just that . . .
    BTW - It turns out that I really didn't need to re-install PsCS5 after all.
    This was the real culprit.

  • Purchase order(PO)  created SRM Rfx Document number

    Hi
    we created PO at ERP from SRM Rfx Response.
    I could find Purchase order numbe stored in EKKO table. But where can i find related SRM RFX response number.
    Its not stored history in ERP tables? i could not find the source object type and object number in EKKO or EKPO table.
    Pls advice how to find it.
    Regards
    Chandra

    Hi
    we created PO at ERP from SRM Rfx Response.
    I could find Purchase order numbe stored in EKKO table. But where can i find related SRM RFX response number.
    Its not stored history in ERP tables? i could not find the source object type and object number in EKKO or EKPO table.
    Pls advice how to find it.
    Regards
    Chandra

  • Purchase order number in FBL5N

    Hello,
    We need to display the purchase order number in the layout for transaction FBL5N.
    But the issue is that the Purchasing Doc.documnet field seems to be empty in most of the invoices.but if we check the billing data for the same invoice (VF03), here we can se that the PO data tab is having purchase order number. but it is not displayed in the inovice.
    What could be the possible reason for this
    Now what we would like to know is that do how can we populate the purchase order number displayed in billing document in the invoice document.
    BR,
    Zulfikar

    Hello
    In FNL5N, try to create a variant for report display options.
    You could select the fields to form part of the report for output options.
    Save the variant , execute, check.
    If the PO number itself is not available in the list, then you need to worry, as it could lead to some USER exit, or some other enhancement. But, I think it is available.
    Check the Sort key too. There could be a PO listing option.
    Reg
    Suresh

  • Defining Purchase Order Number as a Required Entry

    Dear All,
    I've cut and pasted the contents of sap.help.com below, I'm trying to make the Purchase order Number in sales order document a required entry but I'm unable to locate the checkbox in VD02 as mentioned in help text. can some one help me out.
    Defining Purchase Order Number as a Required Entry:
    Use:
    If a customer order number appears on the order for that customer, you can define the PO number (purchase order number) field as a required entry.
    Procedure:
    Choose Logistics ® Sales/distribution ® Master data ® Business partners ® Sold-to party ® Change ® Change.
    Enter the customer and select the Control data view in the General data area of the screen and choose Enter.
    The system now displays the Customer Change: Control Data screen. In the Reference data/area section, select the Purchase order req. checkbox. Save the customer master.
    Result:
    You will have to enter the purchase order number on the Order Entry screen for this customer in all future orders.

    Hi
    TRy transaction VOV8
    select sales document type and go to general control and select Enter PO number check box.
    Otherwise you can create your own incompletion procedure in OVA2 and maintain whatever field you want mandatory and asign this procedure to  sales document type with transaction VUA2 and mark IC dialog.
    regards
    Srinivas

  • Update Purchase order number in Sales order item level from inbound ORDCHG iDoc

    Hi Gurus,
    I want to update purchase order number from the iDoc 'ORDCHG' to sales order item level (sold to party purchase order number) i.e, VBAK-BSTKD.
    Which exit I need to use?  where to update?  Can you please help.
    Thank you in advance.
    Regards,
    San

    Finally Resolved the problem by writing 2 exits.
    one exit 'EXIT_SAPLVEDB_007'  for identify correct item in the sales order by updating the customer purchase order item number i.e., VBAP-POSEX.  if we update the POSEX field then it wont create new item instead, it will update the item which it is referring to .
    2nd exit for updating the purchase order number. 
    I have tried to pass the program name, screen number, field name, field value etc to bdcdata in the exit 'EXIT_SAPLVEDB_002'. but I observed that it is not going to that screen in the debugging.
    when I try E1EDP02 with QUALF '044' it will update ship-to party's purchase order number.  so to update ship-to party's purchase order number it is going to that screen. 
    so I have used that thing to update purchase order number in sold-to party's purchase order number.
    so when it is going that screen iam changing the field name 'VBKD-BSTKD_E' to 'VBKD-BSTKD' in bdcdata.  Then it is worked.
    This is the solution I found in my time.
    Any way it is solved.  Hope it will be helpful for others who will get this problem.

  • VMI scenario: purchase order number created by supplier

    Hi,
    in a VMI scenario is there a way to let the supplier create the purchase order number which is then sent in the ORDRSP IDoc to the customer? And in the customer system the purchase order number from the ORDRSP is used when the purchase order is created from the ORDRSP IDoc.
    Is this possible? What needs to be done for it? Any ideas?
    Regards,
    Robert

    Hi Anand,
    I'm sorry but I didn't understand it.
    The vendor creates a sales order in his system and sends the order rensponse (IDoc ORDRSP) to the customer system. There a purchase order will be created out of the ORDRSP. That's the standard process. But as far as I know in the purchase order there will be no external purchase order number used from the vendor system but a purchase order number from the customer system instead. This purchase order number from the customer system could be sent to the vendor system in an ORDCHG IDoc if needed. I want to know whether or not it's possible to send an external purchase order number from the vendor system to the customer system and create a purchase order with this external purchase order number.
    Regards,
    Robert

  • 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

  • Purchase Order number in Billing document

    Hi Gurus
    My STO Billing document# IV  - Line item (double click) P.O Data tab
    Over here doesn't have the Purchase Order number.
    What settings to be done to obtain the Purcahse Order number here...
    Regards
    RG

    hi,
    in STO case billing is dependent on OUT BOUND DELIVERY.
    not on PO.
    so you will have a reference of DELIVERY DOCUMENT only here in IV.
    there are two methods for it:
    goto display document from BILLING you will find the reference of PO
    take delivery number and goto display document flow you can find the reference of PO.
    if you want to see the PO number as a reference then you have to talk to the ABAPER & the above is the simple methods you have to find the reference of PO
    hope this clears your issue.
    balajia

Maybe you are looking for

  • T510 dual monitors no longer working properly

    I have a T510 running Win7 64-bit.  For at least 3 years, I have had the same dual monitor setup (2 DoubleSight DS-1900S) running off my minidock with the laptop closed.  The rgith monitor is the primary, running off the DVI port, while the left uses

  • Large file processing in file adapter

    Hi, We are trying to process a large file of ~280 MB file size and we are getting timeout errors. I followed all the required tunings for memory and heap sizes and still the problem exists. I want to know if installation of decentral adapter engine j

  • Displaying values in a new page

    I have a java script code. At the end when the user clicks on the button after entering the values in the 3rd page, the values shall be displayed in a new page. Please help me out with the final approach: <html> <head> <script language="LiveScript">

  • Installing windows 8.1 onto Mac Book Air (mid 2012)

    Hi, trying to install Windows 8.1 on my Mac Book Air (mid 2012) when using early stages of bootcamp assistant i get the error message"Your bootable USB drive could not be created. An error occurred while copying the windows instalation files" Help?!

  • Can,t open photoshop element error 150:30

    every time I try to open elements I get error 150:30