Sales order Creation from Purchase Order

Hi all ,
I want to create SO from PO.Is it any bapi to create SO from PO.
or other wise i will use to get PO details from this BAPI_PO_GETDETAIL and then create So from this BAPI_SALESORDER_CREATEFROMDAT2..
Iis there any bapi like BAPI_SALESDOCUMENT_COPY..

Hi
I doubt if there is one single BAPI which will serve the purpose in your case. I think you should go with the first step you mentioned. Get the PO details and then pass it to the sales BAPI.
Vishwa.

Similar Messages

  • Sale price copy from purchase price

    Hi Experts
    how to copy sales price from purchase price
    thanks

    Hi Experts
    when i do MIGO system shows message
    Sales price for 10.04.2009 BK0000000000000059 EA A001 could not be found
    and suggest proceed when i proceed that way t.code is  VKP2
    and mentain then system show message below
    No conditions could be found for the item displayed
    i menton price in t.code VKP5 ALSO
    PLEASE SUGGEST

  • Automatic p.o. creation from purchase requsition.

    hello all,
    I AM TRYING TO CREATE AUTOMATIC PURCHASE OREDER FROM PR.I HAVE DONE ALL MANDATORY SETTINGS NEED TO BE DONE LIKE AUTOMATIC P.O.INDICATOR IS SET IN MM02,IN XK02 AUTOMATIC P.O. INDICATOR IS ALREADY SET.
    1)  IN ME59 TCODE,WHEN I AM ENTERING VENDOR CODE AND PR NO(WITHOUT VENDOR). THEN SYSTEM SHOWS THE MESSAGE NO PURCHASING DOCUMENT FOUND.
    2)  BUT WHEN I CREATE THE PR. WITH VENDOR CODE THEN DURING ME59 EXECUTION P.O. IS AUTOMATICALLY CREATED BY SYSTEM.
    NOW MY QUESTION IS THAT WHY AUTOMATIC P.O. IS NOT CREATED DURING IN FIRST CASE?
    reply me with some valuable input asap.
    regards
    simran

    ok u have to maintain in the system, what is combination of vendor and material?

  • Created sales order for one division, for which the material belongs to ano

    Dear All,
    A sales order has been created for a division 10, for which the material belongs to some other division 20 in material master.
    When we are  create a sales order for 10 division ( the one which we give at organzational data) at the item level the material which we select should also belong to the same division, if  the material division  is different as 20 the system will throw an error at sales order  saying "ship-to-party so and so is not created for the sales area so and so.."
    But here it's allowing me to create a sales order for division 10 with 20 Division material without any error. But this should not happen.
    Checked in the document type VOV8 where at the Check division field 2 has been there.
    Please suggest

    Hello,
    Let me explain the concept of Header division and item division...the header division is the one which gets copied from the sales area division that gets determined in the sales doc creation from SP.
    The item division is the division that gets copied from the material master in the line item material.
    In the Sales document type , there is a check box "Item Division". If this is marked, then system takes the division from the Mat master. if this is not marked system the system doesnt find from MMR instead it picks up from header division.
    The check division controls, how the system should behave in case the header and item division differ..
    Rgds,
    Rags.

  • Purchase requisition creation (STO) from Sales order

    Hi Gurus,
    Read the following scenario:
    Sales order is created with delivery plant A. No stock on plant A.
    Purchase requisition is created from plant B to plant A (intra-company flow or stock transfer order).
    Problem is that the purchase requisition needs a price. It is not logical because intra-company flow (stock transfer in same company flow) is like a stock transfer without purchasing. So in my mind, I don't have to maintain price.
    Also if I use ME27 to create manually STO between both plants, price is not asked.
    Other question is: is it possible to create directly a purchase order when sales order creation (and not purchase requisition, newt convert into PO)?
    Many thanks.
    Stéphane

    Hi Stéphane Vituret, Did you manage to find a solution for this. I have a similar problem as well.
    Please find the scenario below.
    Cusotmer places order of Mat-XX to Company A. The Company A creates PO to Company B. Company B delivers to Company A and then invoices Company A. Company A receives the goods into own stocks. Now the Company A delivers to the customer from its own stocks and then invoices Customer.
    I decide to go ahead with the Individual Purchase order solution and since the Company A is buying from Comapny B, I decided to integrate the Cross Company STO flow in the procurement part. Hence the flow in SAP is like;
    Cusotmer placese order to Company A
    Comapny A creates a Individual Purchase order type Sales order. So the Item category is TAB.
    This sales order generates a PR. PR is conveted into a CC_STO as thenvendor is Plant B in this case . Now this STO appears in the delivery due list of plant B.
    Now I genreate the delivery to move stocks from plant B(of co.cd B) to Plant A(of co.cd A).
    Here is the problem. I am not able to do PGI as the system checks for "sales order" stock at plant B and throws error
    "Sales order stock 36637 000010 does not exist". This should not be the case as the stocks should get attached to the sales order only when recieved into Plant A. Hence system should not check for "sales order stock" at plantB while trying to deliver from Plant B to Plant A.
    Lets take a normal IPO scenario.
    CusotmerA places order of Mat-A to Company A. This sales order generates a PR. The Company A converts the PR into a std.PO to external vendor. The PO from the sales order will have a account assignment "M- Ind. cust. w/o KD-CO". The stocks will be received into Plant with spl indicator "E" while GR (MIGO). Now the system ensures that this stock can only be delivered against the particular sales order. Thus the stock procured for the customerA is delivered to customerA and not consumed by anybody else. In this case there is only one delivery involved, in SAP, which is 601 mvmt type from the Plant A.
    However if the vendor becomes another Plant (Plant B) belonging to another company code then there are two deliveries involved in the SAP system one with mvmt type 643, from Plant B to Pant A, and the second with 601 from Plant A to the customer. Hence the system should check if the stocks are attached with a spl indicator only during the second delivery of 601 mvmt type. I am facing a problem because the system does it for the first delivery itself. If you know the answer please do let me know. I really appreciate it. Thanks a lot in advance.

  • Purchase order creation from sale order (Third party )

    Hii..
    I have a requirement where i create a sale order for third party, system automatically creates purchase requisition,
    my requirement is i dont want to  convert purchase requistion everytime into PO when ever sale order is created.
    can i automate the process where the moment i crete s sale order purchase order is created direclty.
    Suggestions will be worth rewarding..
    Regards
    SARFRAZ

    Hi
    first you need to do seeting for Automatic PO creation from PR
    1.You need to check the Auto POcheck box in Purchasing view of the material master
    2.You need check the Autoamic PO check box in Vendor master in Purchasing org data
    3.You need to maintai the source list with one of the vendor as fixed vendor
    4.Purchasing info record for Vendor and material
    Then you need to schedule the batch job for ME59N with the variant (Required input selection parameters) with the time intervals.
    One third party order created, PR will be generated automatically based on the item category defined in the sales order and source will be assigned in PR.Based o time interval schduled for batch job, the PRs will be automatically converted into PO.
    Regards
    Ramakrishna

  • Automatic creation of Purchase Order from Sales Order

    Hi,
    please is it possible to know the use of flag "Create PO automatically" into Sales Order Item Category customizing setting? Perhaps automatic creation of PO for Third Party sales process.
    Thank you very much
    Kind Reards
    Andrea

    Hi friend,
    You are right that chekbox is used for third party only. And it will be used when you are using ALE when you have distributed system where your sales order is supposed to be created in different system and PO will be raised in different system.
    If you activate this field, the system automatically generates both a purchase order requisition for third-party schedule lines as well as a purchase order in the background when you save the sales order. This function has been designed for Application Link Enabling (ALE) but you can also use it when working with distributed systems.
    To avoid errors caused by incorrect system settings, we recommend that you carry out the SAPEVENT OCU_LINK\DS:TRAN.BD86 for your third-party material. If you SAPEVENT OCU_LINK\DS:TRAN.PFTS tasks 8097 (create)and 8114 (change) (by choosing "Extras -> Employee assignment -> Maintain"), you will receive workflow objects in your inbox, should any errors occur.

  • Automatic creation sales order from Purchase order

    Hi
    In inter company sales process; first company creates purchase order in the name of second company.
    I want  the sales order( in second company ) to be created in the background at the time of saving the purchase order ( first company).
    Is there any standard way  to achieve this?

    Hi,
    You don't create SO when you create a STO cross-company. You create a PO that the system store in table VETVG. After you can create deliveries with tcodes VL10B/VL10D against this PO. With cross-company STO you can do IV invoices (internal inv).
    For futher information check these notes:
    SAP Note 109254 - Customizing stock transport order Cross Company
    SAP Note 498143 - FAQ: Stock transfer with delivery in purchasing
    SAP Note 543821 - FAQ: cross-company processing
    Regards,
    Eduardo

  • Creation of purchase order from sales order

    Hi,
    I have met the following business case I can't manage using SBO standard:
    I have a sales order with a reserve invoice already created.
    When I press the "purchase order" flag (ORDR.PoPrss), the purchase order window does not pop up and no purchase order is created when I update the sales order.
    I assume this is link to the fact that the reserve invoice has already been created.
    Is there any workaround to be able to build up the link between the sales order and the purchase order ?
    Any hints would be appreciated.
    Thanks

    Hi
    I haven't test this but if you start with AR reserver invoice ,then SO and then PO ..it might be possible ..
    Other wise
    You have to do SO ..then PO then only AR reserve invoice
    Hope this makes sense
    Bishal

  • Creation of automatic PO from sales order in 3rd party scenario

    hi ,
    we know, as per standard SAP ,  creation of PR from Sales order happens when we save SO. how to create PO automatically from sales order? and where where to put document type for  that PO ? ( in schedule line category we can set document type for PR)

    Hello
    In addition to what Kapil suggested,
    3 - The Outline Agreement or Purchasing Info Record shall be maintained which will allow the automatic copying of unit price and other conditions into PO and
    4 - The Source List shall be maintained for the nominated vendor which was shown in either the Outline Agreement or Purchasing Info Record.
    By activating those config you can automatic create PO from PR.
    For that use TCode ME59 to automatically convert the current PR into PO.
    But, you can not automatically generate PO from sales order similar to that of PR.
    Thanks & Regards
    JP

  • 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

  • How to block the creation of a Sales Orders without a linked Purchase Order

    Hi. I'm trying to block the creation of a Sales Order that doesn't have a linked Purchase Order. The first thing I did is using the SBO Transaction Notification as follows:
    IF  @transaction_type = 'A' AND @object_type='17'
    BEGIN
         IF (SELECT PoPrss FROM ORDR WHERE DocEntry = @list_of_cols_val_tab_del) = 'N'
         BEGIN
              SET @error = 1
              SET @error_message = 'Purchase Order Missing...'
         END
    END
    This works good. I create the Sales Order, I tick the purchase order field on the logistics tab, I click Add, and then the purchase order window appears...
    Then, the problem begins... If I click the Cancel button, the purchase order is obviously not created, but the Sales Order is created.
    Can someone tell me how to block the creation of the sales order If the user press the cancel button on the purchase order window (and the purchase order is not created)
    As far as I can see, after clicking the add button in the sales order document, the Sales Order is created on the DB. If there's no way of blocking the creation of the Sales Order, can I avoid closing the purchase order window by the SBO_TransactionNotification? (if the purchase order has not been created)
    Thanks...

    Hi Yail,
    I think you can't close the purchase order with the stored procedure.
    Try to catch the Event when the user click on Cancel button.
    So you can list the vents with event logger : https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ede3be37-0e01-0010-1883-cd1b5293473e
    You can block the cancel button and force the user to create the purchase order.
    Hope i help you
    Best regards
    Michael

  • Creation of sales order through Purchase order

    Hi all
    We have a special scenario in creation of Sales order with the help of purchase order,
    Could you please advice me how we can create sales order with the help of purchase order.
    Thank YOu
    Swaroop

    you can create the sales order from the purchase order.It can be achieved by Idocs.
    Please maintain the condition record for the output medium EDI and also maintain the Partner profile in WE20.

  • No update of sales order from purchase order

    Hi,
    When I am trying to change the delivery date of a purchase order line item, I get the error
    "No update of sales order xxxxx from purchase order (error V1 348)" How can I resolve this?
    Sincerely,
    Ketan

    Hi,
    Check whether this PO is created w.r.t. PR and PR is created automatically during Sales order creation.
    If it is so then need no to change the delivery date in PO, it will always get updated as per the Schedule Line date of sales order.
    You can go for GR w.r.t. PO directly.

  • Purchase order creation - Account assignment group C (Sales Order)

    Hello Gurus
      During the purchase order creation in Me21N, account assignment category C (sales order) is available. In which scenario we will use it. When I assign C system is asking for a GL account. Why system needs a GL account, and how the posting will be at the time of goods receipt. Thanks for your help in advance.

    Hi,
    Creation of Purchase Order with t.code: ME21N  with account assignment category C (sales order) is used for Time and Material Expenses with third party scenario and you need to enter sales order number and respective G/L account . In this scenario 1st a  sales order is created with a material( material created DIEN material type) & then purchase order created with respect to sales order.
    Here you provide service to your customer and this service you procure from your vendor, you just play middle role  for providing and getting service.Standard DIEN material type designed for Sales usage only, so you create sales order  for service material.Service master is used to get service from vendor with item category D with proper account assignment category as C
    Example:
    Material type DIEN is used for when you offer "SERVICE" to your customer.( The steps are (VA01,VF01,VF04,F-28), If u used HR module( you can used with sales order with t.codes are: CAT2,CATS_APPR_LITE,CAT7,PR05,PRRW,PRFI)
    Service Master records(AC01)ESM is used when you procure "SERVICE" from your vendor.( Steps are: ME21N with Item Cat. "D" with Acc. ***. Cat. "C", ML81N,MIRO & F-53).
    Regards,
    Biju K

Maybe you are looking for