DTW cannot link Purchase Orders to Sales Orders

Despite giving the right values to the BaseEntry, BaseLine and BaseType fields of the PO lines, dtw import or update will fail, claiming "Base document card and target document card do not match".
Sure, they are different as SO is linked to a customer while PO to a supplier.
Is that a bug, or am I misundernstanding something?

Thanks for your prompt answer.
Yes, after importing the sales orders I am importing the purchase orders. It is working as expected for the other links (like sales orders to quotations and purchase delivery notes to purchase orders), but it fails for purchase orders to sales orders.

Similar Messages

  • Purchase order and sales order table name

    hi al,
    i want to know purchase order and sales order table name in abap.
    thanks
    varun
    Moderator message: please do some own research, this should not take too long.
    Edited by: Thomas Zloch on Jan 27, 2012

    Hi Sunrag......
    If your PO is linked with SO. Then you can fetch customer name easily by FMS in PO.
    From there you ca gte the Customer Name into your PLD and it wont hang also.....
    Regards,
    Rahul

  • Link between PO and Sales Order?

    Hi,
    I have an issue..I need to send an idoc containing PO with fields (like ebeln, lifnr...etc). Along with this PO, I need to send a field 'customer po number (vbkd-bstkd)' from sales order.
    Could you please help me out to find out the link between purchase order and sales order? how to fetch customer purchase order number from po number?
    Also what is the difference between Purchase order number and Customer purchase order number?

    The customer purchase order number is the number of the purchase order which you get from one of your <b>customers</b>. This number is copied in the sales order, for future reference.
    On the other hand, the purchase order is the order you send to one of your <b>vendors</b>.
    Thus the sales order and the purchase order are two indipendent objects. The customer purchase order number does not reference any document on the ERP. Therefore you can't link a purchase order to a sales order.
    Refer to the SAP Solution forum SAP ERP Sales and Distribution (SAP SD) for this kind of questions.
    Regards, Davide
    Message was edited by:
            Davide Cavallari

  • Automatic creation of Purchase req form sales order

    What are all the  settings required for automatic creation of purchase requisition  from sales order( from master data and spro)
    Can any one please help me out. Iam new to this topic

    Material master data: purchasing view must be updated with puchasing group and so on.
    sales data: the item categotu group is BANC
    Sales order: the standard customizing determine the TAB item category, in the related schedule line type there is the purchase requisition document.
    have a look to this link
    <a href="http://help.sap.com/saphelp_47x200/helpdata/en/dd/5601d4545a11d1a7020000e829fd11/content.htm">http://help.sap.com/saphelp_47x200/helpdata/en/dd/5601d4545a11d1a7020000e829fd11/content.htm</a>
    Roberto

  • Cannot release inventory allocated as Sales Order Stock

    Hi All,  I'm very new to SAP and am somewhat unfamiliar with the SD process.  We created a Sales Order (from a customer purchase order), everything was okay until we tried to do an ATF; a change was made to the strategy group (from 20 - MTO to 40 - MTO with final assembly).  That change allowed us to create a new sales order and successful do the ATF and ship the order.  Now, however, we find that there is one item in inventory that has been allocated to that old sales order as "Sales Order Stock", we can see this in MMBE.  We've tried to delete the sales order, but it cannot be deleted.  When we try to delete it, we're getting a message "For reasons of cost management item 000010 cannot be deleted, Message No. V1128"; we have no idea what this means or what caused the initial error with the sales order.  Is there a way to relese this inventory and return it to regular stock and delete that old sales order?  Hope I gave enough information, thanks for your help.

    Hi Xamiaca,
                           You key in the sales order number in VA02 and ,you can see the production order number  in the schedule line tab(Production- at the bottom). Take down that number and go to "CO02" and see the status of production order and the settlement status. If the settlement has happened, take a FI/CO consultants help to cancel the Financial postings and reverse the goods issue of this production order. After doing all these go to the sale order and delete the sales order ,this automatically deletes the Production order and the sales order stock. If needed the run the report "SDRQCR21" If still you see any inconsistencies after doing all the above.Kindly please let me know If you need any more information on this.
    Regards
    Ram Pedarla

  • ATP,confirm quantity for Purchase Order related Sales Order

    Hi everybody,
    I have purchase requisition related sales order item. I created purchase order with this PR.
    I entry confirmation date and quantity on the PO.
    Sales order item's delivery date equal to purchase order item's confirmation date.
    Sales order item's confirmed quantity eq purchase order item's confirmed quantity. It is ok for me.
    But, goods receipt not do yet for this purchase order and sales order stock = 0.
    If I run VL10N for this sales order, I can create delivery.
    I wants to see availilable sales order stock item on the VL10N items. How can I see?
    or
    If no goods receipt for sales order items then sales order item confirmed quantity can equal 0. How can I do?
    Best regards
    Gulay Celik

    Hi
    You can meet your requirement in multiple ways
    1) Modify the requirement routine for copy control from Sales order to Delivery  that DO not create the delivery for third party orders unless the GR is posted for the respective sales order.
    2) IF you have implementded Inbound Delivey functionality in your system, You can change the availabiltity situation every time you modify the GR dates and times. Modify the PO user exit that when ever a new confirmation Key LA is entered in the purchase order it goes and updates the schdule line dates and quantities in the order based on the dates entered in the LA confirmation key.
    and even if delivey gets created also what is the problem ? The GI cannot be posted though unlsess there is sufficient stock.

  • Purchase Requisition and Sales Order Linkage (Order Costing)

    Dear, Gurus
    I have a scenario where in the Purchase Requisition you can assign acct cat C for Sales Order to item 010 for example. What exactly is this used for I mean is it used to transfer the price of the purchase into the Sales Order? Or its just a linking for reporting purpose? User would like if the purchase order or its requisition price come into the conditions of my Sales Order. Is this possible if yes how or thru which condition type? I was told this is order costing and I have no idea how to configure my sales order in terms of order costing to pull the price of the purchase requisition or purchase order.
    Recap
    1)     What is the purpose of the linkage to the Sales order?
    2)     Can the price be linked into the sales order this way?
    3)     Any other valuable information I should know please feel free.
    Thanks and hope to hear from you geniuses.

    Aroop thanks for your reply.
    My scenario is not the same as in 3rd party processing. In fact my scenario is make to order and even repairs of other companies machinery. Now what we are trying to achieve is lets say in the repair or in production of the customers machinery or service, MM needs to make a purchase for a part or tool etc. That in itself has a price. Meaning our purchase mm dept has to pay the vendor for the purchase made and in return we need to charge our customer for that purchase. So we would like for the price of the purchase order come in our sales order condition type as a surcharge.
    We were able to fetch the price of the production order automatically thru condition type EK02.
    We would like to do the same from purchase order.

  • U00A7ECH Engineering Change with Purchase Order, Process Order and Sales Order

    Hello All,
    Can someone kindly explain me the integration points of Engineering Change with
    1. Purchase Order
    2. Process Order
    3. Sales Order
    I know we can see the Rev Letter in the first two. Is there a 'refresh' function inside the  PO, Process Order, Sales Order by which we can get the latest and greatest revision, incase the material rev is updated/changed after the PO, Proc Order, SO is already created. Also if yes,after what status in PO, Process Order or Sales Order we cannot use the 'Refresh' button, and than what needs to be done to fix this situation.
    Thanks in advance,
    Sachin

    Hi,
    really, this depends on several factors, especially the valid from date of the ECM and its impact on changes on a BOM (which I suppose is the use case you are looking at? Or just a change on the material revision of the BOM header material?
    Interesting for you should also be Order Change Management, although not applicable to process orders as far as I know:
    [http://help.sap.com/saphelp_erp60_sp/helpdata/en/41/3699761bc211d2b62b0000e8359890/frameset.htm]
    Regards, Ulf.

  • Prod. order and sales order order link-MTS sceanrio

    Hi dudes,
    My client is using both MTO and MTS scenarios,
    to customize a report in costing they want link between production order and sales order. Its readily available in MTO sceanrio but in in Make-to-Stock scenario how to get this link.
    Please if any enhancement or some other way to get it..
    thanks in advance...
    Robert.

    Robert,
    I will assume that you have already informed your client that this report is nonsense (Make to Stock by definition cannot be linked reliably to a Sales order).  Oh well, the client is always right!
    Make sure you include in your solution
    1.  How does he want to account for the business scenario where one production order ends up supporting more than one sales doc (and yes, it will happen).
    2.  How does he want to account for the business scenario where a production order is received to support Safety Stock (might not happen if he doesn't use SS)
    3.  How does he want to account for the business scenario where a production order is received to support a forecast, but there is not yet any sales doc (might not happen if he doesn't use forecasting)?
    4.  How does he want to account for the business scenario where the production order is received into stock, and the sales department decides to use the stock for a different sales order?
    Item 4 would only be an issue if the report is run prior to the sales order being shipped.
    Regards,
    DB49

  • Link between Delivery and Sales Order Schedule Line

    Hi Gurus,
    I have a requirement in which i need to display quantity and amount at schedule line level and also the delivery and delivery item for each schedule line.
    For example, if there is a sales order O1 and item 10 for which we have 3 schedule lines and 3 deliveries as well say D1, D2 and D3.
    Report should be something like this
    Sales Order    Item   Schedule Line    Delivery    Del Item   Confirmed Order Qty
    O1                 10      1                       D1           10            5
    O1                 10       2                      D2            10            5
    O1                 10       3                      D3            10            4
    How can i determine that a particular delivery corresponds to which schedule line of that saler order-item?
    We have the link between delivery and sales order but is there any way that we can get the link of delivery at schedule line level?
    Please help.
    Regards,
    Gaurav

    Hi,
    I suppose you must check with SD functional consultant and the post should also be in the logistics SD forum and not BI. But I suppose there is know specific link between the schedule line of SO to the Delivery. It is more like a bucket flow for ex.
    Sale order   Item    Schedule line  qty
    SO1            Item1     Sch1            10
    SO2            Item1      Sch2           10
    Delivery Item QTy
    DO1       IT1   15
    DO2       IT1    5
    In this case qty 15 is distributed over both SO1 and SO2, and SO2 ITem1 Sch2 has link to both the DOs
    So I am not sure if you can establish a one to one link, please check with your SD consultants.
    Regards,
    Ashwin G

  • Fields required for linking production order with sales order

    I need to link production order and sales order to get the part no#. need to see in md04.

    The link between production order and sales order can be made by using the KDAUF KDPOS fields of AUFK or AFPO and linking them to VBELN and POSNR of VBAP.
    Regards,
    Rich Heilman

  • Purchase orders and Sale Orders in DEV and PRD

    Hi SAP Experts,
    We have a facing some different problem. Unfortunately our clint do some transactions in Development Server. Like Purchase orders and Sales Orders.
    After one month we delivery to clinet exact Production server. But he is asking , What ever the purchase orders and Sales Orders Created in Development with same numbers and Same dates, that data will be present in Production server also. Is it possible to do that. IF possible how to do that...
    Thanks and Regards
    Siri....
    Edited by: Alvaro Tejada Galindo on Apr 14, 2008 5:56 PM

    I think it is possible,as per my knowlwdge our perious client regularly( means every 3-4 months) copied the data from Production server to quality server. by the help of basic person...
    So in your case you want to copied the data from devlopment server to production server....please touch with your basic guy, i think he will help out reagrding this...

  • Link between Delivery Header & Sales Order Item for extraction to 2nd level

    Hi Guys ,
    I am having a requirement that need to pull the following data to 2nd level DSO
    1.  Delivery Header Data
    2. Sales Order Item data. ( Sales Document, Item, Item RDD, Material)
    So I am planning create a 2nd level DSO on top of Delivery header and need to pull the sales order ITEM level data ( Sales document , Order ITEM, ITEM RDD date , Material)  through start routine u2026
    How can I pull the Sales Order Item data through start routine?  i.e I need the link between Delivery Header & Sales Order Item Data .
    or I need the link between LIKP ( Delivery Header) Vs VBAP ( Sales Document Item).
    Thanks
    Edited by: krismady on Sep 22, 2010 2:26 AM
    or I need the link between LIKP ( Delivery Header) Vs VBAP ( Sales Document Item).

    Hi Krish,
    You can use VBLEN (Sales Document) to link Delivery header DS (2LIS_12_VCHDR) and Delivery item DS (2LIS_12_VCITM). Now In delivery item DS (2LIS_12_VCITM) you have VGBEL (Reference doc.) and VGPOS (Reference item) which is nothing but sales order document number and sales item in Order item DS (2LIS_11_VAITM) .
    So you need to link in above way to get other values in your DSO.
    It is proven method.
    Thanks,
    Uday Shankar.

  • Automatic posting of purchase order from sales order

    hiii
    experts,
    i m doing automatic purchase order from sales order. i have generated purchase requisition number from sales order now when i m trying to do automatic po the system says no suitable purchase requisition available.I have maintained info record, source code,automatic po tick in material master and in vendor master.what could be the problem .waiting for ur valuable inputs.
    warm regards
    thanks
    subhash kulkarni

    Hello,
    Please check all the things mentioned by our experts e.g Source allocation ,infor record, source list.
    Beside that I would suggest check document flow whether already PO is created or not.
    If every thing is in place then try to create PO with reference to PR by transaction ME21N & see what error you receives.
    Hope this help you ,
    Regards,
    Prashant

  • Purchase Order triggering Sales Order using Inbound Idocs

    Hi All,
    Can any one explain the flow of Purchase Order triggering Sales Order using Inbound Idocs..??
    Thanks & Regards
    Anoop

    Use search tool to find sample like Integrating MM & SD Modules in Same Client to Create Sales order in Supplying Company Code Using PO raised in Receiving Company Code By I-Doc Message Type ORDERS Part1,  Part 2 and Part 3.
    Regards,
    Raymond

Maybe you are looking for