Sales order to purchase order

Hi Guru's
  I have some problem in STO.
Problem is instead of creating STO PO,end user creating sales order so i want to convert all salese order to stock transport oder(PO) pls any one give solution for this.
Points are available.
Thanks and regards.
Raghu

Hi Raghu
There is no transaction code to create PO with reference to Sales Order. as mentioned by Mani, if you have created 3rd party sales order, it can create Purchase Requistion. You can convert purchase requsition to STO.
Otherwise delete sales order and create fresh STO.
Hope it helps.
regards
Srinivas

Similar Messages

  • Open Purchase Orders and Open Sales Orders

    Hi,
    Please let me know the table names for open purchase orders and sales orders.
    Regards,
    Prii

    HI Priti,
    EKPO-ELIKZ  "Delivery completed" indicator, This tell if the given PO line items has any open quantity or not.
    Logic to find out if a given PO has Open Quantity or not is do the following:
        " select the PO Qunatity.
        SELECT SINGLE MENGE FROM EKPO INTO PO_QTY WHERE
        EBELN = ITAB_PO_LN-EBELN AND
        EBELP = ITAB_PO_LN-EBELP.
        " select the GR qunatity which has been received.
        SELECT SUM( MENGE ) FROM EKBE INTO GR_QTY WHERE
        EBELN = ITAB_PO_LN-EBELN AND
        EBELP = ITAB_PO_LN-EBELP AND
        BWART = '101'.
        " select GR Quantity which has been reversed.
        SELECT SUM( MENGE ) FROM EKBE INTO GR_REV_QTY WHERE
        EBELN = ITAB_PO_LN-EBELN  AND
        EBELP = ITAB_PO_LN-EBELP AND
        BWART = '102'.
        POSTED_QTY =   GR_QTY - GR_REV_QTY .
        OPEN_QTY = PO_QTY - POSTED_QTY.
    Regards,
    -Venkat.

  • EDI from Purchase Order to Sales Order

    Hi all,
    I've customized the EDI system: at purchase order creation the system automatically creates a sales order(inside the same system). Now i'm facing the following situation : since PO data is very different from SO data (eg. terms of payment), i'm getting errors when i integrate the sales order idoc. Is there a way that i can "map" the "transalation" of the PO to SO data. How can i do this? Best regards,
    PCastro

    Pedro, when you create the SO , what are the steps before creating the Idoc, is it automated, if not  you can maybe write some ABAP code and change the data before the Idoc is created.
    I cannot get the full picture of what you are doing but if the Idoc creation in not automatic you can always change the values in some ABAP code.
    If it is automatic, see if there are any user exits.
    Regards

  • Open Purchase Order, Sales Order and WIP Jobs

    Hello,
    Can some one help me with the query to find all open sales order, open purchase orders and open WIP jobs for an organization.
    Is there any way i can fetch this information from Oracle forms directly without running any backend query ? If yes, please help me with the navigation and other details.
    Thanks,
    Shilpa.

    XtreMe Imperium - Retailer sales reporting, a centralized reporting system for a malls POS data. It provides access to detailed, consolidated reporting of all retailers. We collect your data, and deliver it through reports that are customized to meet your needs.
    XtreMe Imperium Retailer Sales Reporting allows you to
    Manage master information of all retailers
    Web based daily / optional intraday* reporting of POS data
    Accurate sales information from retailers. No Misreporting
    Analytical Information of brand & category performance
    Average spend size with daily trends
    MIS to strategize and implement Mall promotions
    How it works
    It all starts with the client software running on each location’s POS server. This client is a small application that is set up to execute using Windows Scheduler. This gives you full control over how frequently the data is sent to the server. Once the data is loaded to the server, using secure FTP over a broadband internet connection, it is loaded in to a MS SQL database. Once there, it is available for reporting using an interface that is simple and easy to navigate.
    for more: [http://pftec.com/MallManagement/retailer-sales-reporting.aspx|http://pftec.com/MallManagement/retailer-sales-reporting.aspx]

  • Purchase Order and Sales Order Creation Interface

    Hello,
    I have an issue, I need to create a PO in Oracle Purchasing and the create the corresponding Sales Order in OM, I need to know how to this and create the association between the two documents. All these has to be created thru the open interfaces because the information is comming from a legacy system.
    Does anyone know if this is possible or has an example perhaps?
    Thanks

    Here is what you can do
    1) Import the data in the form of DROP SHIP sales orders in BOOKED status
    2) Once the orders are imported, run Purchase Release and then Requisition import programs
    3) In Purchasing module, check the new Requistions created and then use the auto create feature to create the POs.
    This process will link the PO to SO.
    There should be a way to automate the Auto Create process too.
    This is one idea I've and there could be some other better ideas tooo...
    Good Luck

  • 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

  • Purchase items report for sales orders - very important

    Hi Folks,
    Could you please guide me on how to create a report of "items purchased" for a particular "sales order". if i am able to include various fields of items purchased, like....quantity, item description, vendor name, item price, etc., it will be very useful.
    This report is required for a client, who assembles machines in a "make to order" scenario, and most of the BOM child items are "purchase items".

    Hello Krishna,
    Few things to note:
    Is the PO created from the SO.  Is YES, then you could use the base document ref at the POR1 table.
    OR
    Are the BOM components defined with a default vendor in the Item Master and if YES are the components always purchased from the same vendor.
    I am trying to see how to establish the relationship of the items between the PO and SO.
    Please give me the details and I could guide you further
    Thanks
    Suda

  • MRP not considering open purchase orders when planning for open sales order

    Dear Experts,
        1.I have open sales orders as well as planned Independent requirements for finished goods for the current month. Also I have open puchase orders for raw materials which is part of the Bill of material of the finished goods for the current month.
    Please what do i need to do to make MRP consider my open purchase orders when the system is planning for the open sales orders.
    2 what tcode can I use to delete all purchase reuisitions in the sytem

    There was no response to these questions so i had to close it to make space for another

  • Queries for Open Sales Order Lines and Open Purchase Order Lines

    Experts,
    Forgive me if these have been addressed elsewhere but I can't find them.  I'd like to create two queries to use as Alerts as follows:
    1.  Query of open lines in Sales Orders that are more than two weeks old
    2.  Query of open lines in Purchase Orders that are more than 2 days old
    Thanks in advance for your help.
    Steve

    Hi Steve,
    A couple of query templates you can use for your alerts are as follows:
    Purchase Orders
    SELECT T0.\[DocNum\], T0.\[DocDate\], T0.\[DocDueDate\], T0.\[CardCode\], T0.\[CardName\], T1.\[ItemCode\], T1.\[Dscription\], T1.\[Quantity\], T1.\[OpenQty\], T1.\[Price\] FROM OPOR T0  INNER JOIN POR1 T1 ON T0.DocEntry = T1.DocEntry WHERE T0.\[DocDueDate\] < (getdate() -2) AND  T1.\[LineStatus\] = 'O'
    Sales Orders
    SELECT T0.\[DocNum\], T0.\[DocDate\], T0.\[DocDueDate\], T0.\[CardCode\], T0.\[CardName\], T1.\[ItemCode\], T1.\[Dscription\], T1.\[Quantity\], T1.\[OpenQty\], T1.\[Price\] FROM ORDR T0  INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry WHERE T0.\[DocDueDate\] < (getdate() -14) AND  T1.\[LineStatus\] = 'O'
    You can change the SELECT section to remove some of the columns or add extra columns if need be.  Once your happy with the query you can attach it to an alert and set the frequency.
    Regards,
    Adrian

  • Planned Order creation for Sales Order and Purchase Order

    Hi
    We have a following requirement.
    In normal scenario when we have demand for material  which was created by MD61 and in addition to that if there is Sales Order the 1st planned order gets revised.To better expalin this consider possible scenario
    You create plan via MD61 for 200 qty .The system creates Planned Order for 200.
    Now there is Sales Order for 150 peices.Then what happens is original  Planed Order of 200 is changed to 50 and another planned order is created for 150 peices.The requirement is not summed.
    Now in new scenario instead of Sales Order there is Intercompany Purchase Order of 150 peices.
    Now the system is not changing original Planned Order of 200,but it created another planned order of 150.So now there are 2 Planned Orders of 150 and 200.
    What I want to know is there any way wherein the system will reduce the original planned order (similar to Sales Order scenario)
    Regards

    Hi,
    Use Strategy 52 in urs case.
    PIR witll be created .
    None convertable planned order will be created.
    Once you get sales order for that material.
    New planned order will be created which will consume PIR( planned order ).
    Eg.
    PIR 10.
    Planned order 10 qty.
    Sales oder 6
    Planned order for SO 6 qty
    Planned order through pir will become 4 qty.
    Regards,
    Vishal

  • Restriction for items from Purchase Order based on Sale Order

    Hi !
           We create PO directly from Sale Order ( by ticking Option under Logistic tab, 'Purchase Order') for customer C01 (for eg).
    From the PO created, we post GRPO.
    Now our need is,
    Assume if 10 Qty is been ordered in such a way and been received (GRPO posted). it 'll add on to the stock account i.e will increase stock qty at our whse.
    is it possible to restrict these 10 qty of item from being sold to any other Customer other than whom hav ordered i.e if we create sale order for C02 the SBO should not take the items received from PO created based on Sales Order created for C01?
    Meera.

    Meera,
    Which version of SBO are you using 2005 or 2007?
    I don't think Serial numbers can help in this scenario.  There is no hard allocation or blocking possible using Serial numbers.
    This is the Work around I am thinking about.
    Set the items to be Batch Managed - On Every Transaction
    When performing Goods Receipt, enter the Sales Order Number as the Batch Number
    When creating the delivery, using SBO_SP_TransactionNotification we can easily check the Batch of the Item being selected and verify it with the BaseRef of Delivery lines to match with Sales Order number.
    If the numbers don't match we can warn user with message, "The items batch reserved for Sales Order xyz"
    Even if you make a mistake when entering the batch number same as Sales Order number when doing a goods receipt. It can still be traced and blocked during delivery.
    Hint: The Batch table records the Goods Receipt transaction along with the BaseDocument number, Base Ref, etc
    If you decide to go this route, I could help you further.
    Let me know
    Suda

  • Sales order ATP vs Purchase order inventory commitment

    Hello,
    Have issue and hope someone can advise.  The basic problem is sales order is receiving confirmed ATP against inventory, even though that inventory is consumed by a purchase order.
    Here's the flow:
    1.  Plant A (receiving):  places purchase order (doc type NB) & commits all of whatu2019s in stock at plant B
    2.  Plant B (supplying):  standard sales order is created after above purchase order for identical material, date, quantity
    Check rule (t/c OVZ9) for sales order is ticked for u201CInc. purchase ordersu201D
    Not sure if this has bearing, but these plants are under different company code so thisu2019d be intercompany.
    Expectation is the sales order in this scenario would receive delivery commit per lead time on the material (since it was created after the PO), but instead it is happening against stock already given to the purchase order.  Any suggestions on what is needed to fix so the sales order does not get ATP from stock already committed to a purchase order?  Thanks

    Hi,
    In T.code OVZ9, for your availability checking rule and Availability check combination, you need to select value X or A, in the field Incl. release order requirements.
    Regards,

  • Open purchase orders and sales orders

    Hi,
    How to handle  old open purchase orders and open sales orders after implementing SABRIX for tax calculation??

    The answer is to update all the open orders with a tax code which will call the external tax engine!

  • Migrate Open items - Sales orders/ purchase orders and unbilled deliveries

    Hello All
    Can you please tell me the best practice to migrate open sales orders, purchase orders and deliveries due for billing at Cutover to the new system?
    Also how can the historical data be migrated? What all comes under historical data?
    Many Thanks
    CM

    The way the sales order data is migrated is largely dependent on the number of orders you are intending to migrate. 'Best practice' would suggest you do the following:
    1) Do not migrate any completed orders (they should be kept as 'read only' in the legacy system)
    2) Get the business to close as many orders as possible before the cutover 
    3) Stop entry of any new orders during the cutover the period - hold them back and enter them directly into SAP.
    Once you have a manageable numebr of orders to migrate you really have two options:
    Upload the basic order into SAP (we have usually done this from a spreadsheet using ALE or some similar tool). The basic data is confirmed to order type, order number, order date, customer number, material code and quantity. Any data in addition to this is then added manually to the system by the users e.g. pricing info (this is really important as pricing data is really difficult to map). To do this you will need to have sequenced this correctly e.g. ensuring that the data and config for both the materials and customers are all already in the system before you load the orders.
    The second option would be to load them all completely manually - which is why I said at the beginning that really, the best approach is determined by the quantity of orders you need to migrate.
    I am sure other people will have used other methods but these two are the ones we usually use.
    (edit) P.S. you must remember that 'open' sales orders are any orders that are not yet billed so even if an order is delivered in your legacy system if it has not been invoiced you MAY need to migrate it. But as I metioned at the beginning - it would really be better to complete that order (i.e. bill it) before you close the legacy system so that it does not need to be migrated.
    ========
    For deliveries - again, there is no simple fix for this. Because the migration of a delivery demands the migration of an open sales order, the best approach is probably to load the sales order basic data, get the users to complete the sales orders (as described above) and then run the delivery due lists or manually and individually deliver each sales order item.  
    You cannot migrate ONLY the deliveries, you need to migrate the preceeding order(s) as well. But, again, if you take the approach of closing as many as possible in the legacy system, it will be much easier than migrating them.
    Edited by: charlieclown on Jun 25, 2009 4:19 PM

  • Assigning a Sales Order Number to a Purchase Order

    My company has a requirement that for every purchase order we need to identify what sales order was created to generate the PR.
    I have found that by using the Account Assignment C - Sales Order, this opens the "Account Assignment" Tab and the fields for Sales order, item, and schedule Line.
    I have saved the PO and now am trying to receive the parts into inventory.  When doing so, the inventory needs to post to our inventory GL account, in our case is 135075.  By NOT assigning the GL with the sales order in the PO it doesn't post to this account it posts to a different GL account.
    How do I go about using the "Sales Order" field in the purchase order so I can record which sales order the line item of the PO corresponds to, and when receiving the inventory into stock have it post to the correct GL account?
    Thanks,
    Karen

    The company I work for is a distributor, and doing a Make to Order order type would not be in the best business practice for our company.  We tend to purchase stock for multiple orders and put them in inventory to be sold.  We are looking for a way to "document" what sales order the purchase order line item is being bought for, and sometimes their our multiple lines.
    I understand what you are saying regarding posting to an stock GL vs a consumption GL.
    I am going to research further and see how we can post to a consumption GL and then move the remaining stock over to a stock GL account after we have sold what we have purchased and received.
    I was able to get the receipt posted to the GL 135075 by taking off the "post automatically" indicator in the configuration of the GL account, but this then posed problems when doing other inventory postings such as cycle counting or moving inventory.
    Thank you,
    Karen

  • Reg.Purchase against sale order

    Dear Friends
    Anybody have idea regarding purchase material against sale order and that will be kept as stock.
    As and when it is used according to the requirement. The procurement should be posted to stock account in purchase order itself. how to do it. pls help me.
    Thanks
    Rajakumar.K

    Dear ,
    i thinck ur company using trading business
    based on sales order u can create PO with account assignment E Sales order , system will asl sales order number in account assignment data at item detail level.
    the process will be
    Pre-shipment Shipment Procedure :
    1) create a sales order
    2) create PO with account assignment E where system will ask for sales order number
    3)delivery with vl10n
    3) preshipment invoice-VF01
    POST-SHIPMENT Procedure:
    1) do the GR the stock will be invetorized for ur sales order
    2)invoice verification MIRO
    3)Final Delivery: vl02 u have to change the intial delivery
    4)Final (Post-Shipment) Invoice: VF01
    work with ur FI consultant for G/L accounts
    Regards
    venu gopal
    Edited by: venu kk on May 19, 2009 6:36 AM

Maybe you are looking for