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.

Similar Messages

  • MRP creating additional purchase requisitions for the existing sales order

    Hi,
    We have scenario where we switch materials from POD material to ARP material. POD material is just like make to procurement which creates purchase requisition and purchase order upon saving the sales order. ARP (Auto replenishment) material creates purchase requisition based on sales order and re-order point while running MRP.
    When the material is POD title, it created purchase requisition and purchase order (example: 4500000110) while saving the sales order (example: 1000000010) for the quantity 10. After some time this material is switched to ARP and it has open sales order (1000000010) and purchase order (4500000110).
    We have special MRP run for ARP materials based on MRP type, which creates purchase requisition.. What is happening is when we run MRP; it is creating new purchase requisition for the old sales order (1000000010) for the quantity 10. But old sales order (1000000010) is already having purchase order (4500000110) to fulfill. So we donu2019t want to create new purchase requisition for the old sales orders. It should create purchase requisition only for new sales orders.
    Please advise
    Thanks in advance
    Srinivas

    Mangesh,
    If the components are Inhouse production then you can think of using collective orders by assigning special procurement key 52. If raw material exists then your requirement cannot be met..as i think your scenario is of assembly processing. The idea of assembly processing is that component materials will always be available and only assembly will be done based on Sale Order.
    Regards,
    Prasobh

  • Purchase requisitions which created during Sales Order missing in MD04

    Hi Guys,
    I have an issue with MD04.
    Purchase requisitions which created during Sales Order missing in MD04 are not appearing in MD04, but these are showing in ME5A. After MRP Run only PRu2019s are showing in MD04.
    Requirement type used 511 during creation of Sales Order.
    Please advise me if any config/ Master data is missing OR If required any enhancement.
    Regards,
    Purna

    Did you checked for the Firming indicator in PR's?

  • Automatic Creation PO from Sales Order

    Hi All,
    I'd like to make automatic PO Creation check box (Sales Order - logistics tab) is checked by default (not blank).  Do you have any idea how to do this? Currently I use SAP B1 2005B version.
    Thanks and Regards

    Use
    Use following procedure to create a purchase order directly from a sales order.
    Prerequisites
    In the Sales Order window, choose the Logistics tab. Select the Purchase Orders option. This initiates an automatic creation of a purchase order as soon as the sales order is added to the system.
    Procedure
           1.      Create a sales order and choose Add.
    The Purchase Order Confirmation window appears. All items included in the sales order appear on the left side of the window; the purchase order is on the right.
           2.      Select the items you want to include in the purchase order by highlighting their rows.
           3.      To move the selected items to the opposite side of the window, click . To include all the items in the purchase order, click .
           4.      By default, the quantities for the selected items are the quantities from the sales order. If necessary, change the quantities for the purchase order.
           5.      To save the purchase order as draft, select Create Draft Doc..
           6.      If required, select Split PO.
    By default, the purchase orders or drafts are created for the regular vendor of each item. The Purchase Order field allows you to place an item row under a different regular vendor:
    ○     Select the item row you want to place under a different regular vendor.
    ○     From Purchase Order, click  and choose the regular vendor to which you want to assign the item row.
    ○     Place the item row under the selected regular vendor.
           7.      To create the document for a different vendor, highlight the relevant item and click   to choose a different vendor from the Purchase Order.
           8.      To create the purchase order or the purchase order draft, choose Add.

  • Error message during duplicate Pur Requisition creation for same Sale Order

    Dear Experts,
    I need your help to sort out a issue related to Stock Transport Order.
    Our scenario is as below:
    1) Sales order is raised first.
    2) Stock transport requisition raised off in the background of a sales order automatically.
    3) This PR turned into an Stock Transport Order PO manually.
    4) Create delivery for STO from supplying plant and then GR is done in receiving plant. Create inter-company invoice.
    5)Create delivery for sales order to issue the stock to end-customer and raise invoice.
    This is standard scenario.
    Problem comes when some smart uses manually creates another stock transport requisition again for same SO, which is turned into an STO. Means there is a duplication of STO PO.
    My question to you experts, is there any standard way to prompt error or warning message, when users try to create purchase requisition manually for the same SO.
    Account assignment category in PR is M - Ind. cust. w/o KD-CO.
    Please suggest.
    Regards,
    Praveen

    Hi!
    Is it possible to create / configure a seperate PR document type for PRs created automatically from SO and don't give authorization to any user to create / amend the same manually?
    Regards,
    Riju

  • Purchase Requisition(MM) created from Maintainance Order(PM)

    The scenario is that when we are creating a Work Order from IW34 then PR(ME51N) is created in background against that Work Order. We have a workflow attched to the the ME51N/52N transaction in which we are checking the valuation price for the item and in turn check the release strategy through a BADI and an exit.
    The issue is that when an PR is created from the IW34 tcode the same valuation price check should be executed but this is not happening. Can anyone provide help me on this????

    The scenario is that when we are creating a Work Order from IW34 then PR(ME51N) is created in background against that Work Order. We have a workflow attched to the the ME51N/52N transaction in which we are checking the valuation price for the item and in turn check the release strategy through a BADI and an exit.
    The issue is that when an PR is created from the IW34 tcode the same valuation price check should be executed but this is not happening. Can anyone provide help me on this????

  • PO Creation from Sales Order User Exit

    Hi,
    I have a business requirement where I need to  create a Stock Transport Order (STO) for a particular kind of sales order. I outlined different options for achieving this functionality.
    1. Trigger a workflow for creating STO.
    2. Configure it an EDI output for sales orders. Using the EDI document, create STO in the same system.
    3. Create STO using BAPI from the sales order exit 'USEREXIT_SAVE_DOCUMENT'.
    I am trying to understand the issues if I go with option of creating STO from sales order user-exit. I tested it and it is working fine. But what concerns is me transaction integrity. In other words I am trying to  execute another transaction within a transaction. Both Transactions (VA01 and ME21N/BAPI) may be trying to access same tables. Anyways I havent see any potential overlap.
    I would like to know anybody implemented such a solution?
    What could be the potential issues? Does it really affect transaction integrity?
    Thanks A Lot
    Anil

    I would also be concerned with the possibility of the order failing to update AFTER you call the BAPI.  You could create a custom output type that processes on order create for that order type.  You could add your BAPI call to the processing routine of the output type.

  • Item text from sales order to purchase requisition

    Hi Experts,
    I have below queries ,
    1. What are the controls to generate/create a purchase requisition from a sales order.
    Is this possible that a Pur. req generated from a sales order but sales order is not its account assignment.
    How item text from the sales order can be copied to purchase Requisition, does settings in purchase requisition in SPRO (Purchasing Purchase req-text for purchase req----define copying rules) works only for automatically created Pur req.??
    item text from sales order can be copied for PR created through MRP or planned orders converted to PR.??
    I will appreciate if someone can provide me documentation on basics of sales and distribution at my email
    [email protected]
    Thanks in advance
    anand

    hello, friend.
    i can only answer part of your question as i am not sure of the others.  however, yes... you can automatically create a purchase requisition from the sales order. 
    one example is third party sales.  because of the item category group that you specified in the material master, the sales document determines an item category (and schedule line) that controls the creation of the purchase requisition.  here, the system knows that you must source the material from your vendor for delivery to your customer.
    further, as in the above case, when your company creates the PO with reference to the PR, your company appears as the buying entity but the ship-to address is that of your customer.
    i did not understand your question on account assignment.  please elaborate and we'll see if we can come up with the answer.
    if you wish to see documentation, you could refer to SAP's article on Third Party Sales.  other scenarios such as just-in-time inventory for trading companies or make-to-order companies may also apply.
    regards.

  • Update Purchase Requisition from Sales Order

    Hi,
    My requirement is to Update Purchase Requisition from Sales Order based on the Vendor number in
    Purchase Requisition .
    I have used Userexit         :- MV45AFZB
                     Customerexit :- EXIT_SAPFV45E_002
                     BADI             :- ME_REQ_OI_EXT, ME_REQ_POSTED
    for my requirement, but in vain.
    Of these Userexit  MV45AFZB, Customerexit EXIT_SAPFV45E_002, BADI ME_REQ_OI_EXT are getting triggered in Sales order creation but, Purchase requisition is not yet triggered and we dont have the VENDOR value with which i need to do perform some checks and update the Purchase requisition.
    After I SAVE sales order, BADI ME_REQ_POSTED is getting triggered.Here, the purchase requisition is created ( not yet inserted into the database ) .I also have required VENDOR value, but in the given
    BADI ME_REQ_POSTED I can make checks according to my requirement but not able to update the new values into purchase requisition.
    Literally speaking, Iam struck up..Dont know what to do.....
    Please let me know any Userexit/BADI/BTE where I can  Update Purchase Requisition from Sales Order based on the Vendor number in
    Purchase Requisition .
    Thanks,
    Shivaa..

    Hi Max,
    It just struck to me...
    As suggested by you, I thought of calling BAPI BAPI_REQUISITION_CHANGE  from user exit USEREXIT_SAVE_DOCUMENT in MV45AFZZ .
    I f I give PReq no. , BAPI BAPI_REQUISITION_CHANGE  will take the particular PReq no., from database and then change it according to our requirements...
    But, in our scenario I am calling the BAPI BAPI_REQUISITION_CHANGE  and passing a PReq no..which doesnt exist in the d/b itself.....
    Anyways, let me try......
    Meanwhile ,please suggest any other options for resolving the issue in question......

  • Re: Purchase REquisition creation with ref to SAles Order

    Hi All,
    I need help on an issue.
    I have sales order creation and when saving Purchase REq is created at the back end. But for the sales order for item category n schedule line category combination does not allow creation of Pur Req. n pur req no. is not dislayed in Sales order.
    But I have Pur Rq created with ref to sales order.
    How is it possible.
    In Pur req  I checked the creation indiacotr, it is with ref to sales order.not manually.
    Can you please help it out..
    Regards,
    Smitha

    Hi,
    Purchase Requisition creation from Sales Order is dependent on the configuration of Schedule line category not Item category. Check configuration of Schedule line category in VOV6.
    Also to see the PR No in Sales Order, double click on the Sales line item and click on the "Purchase Requisition" button under "Schedule Lines" Tab.

  • Copy control from Sales Order  to Purchase requisition

    Can any one guide me how to set this, which fields need to be copied from Sales order to Purchase requisition.
    Vasu

    I don't think so sap has provided this kind of control but you can configure certain things as item category level for thirdparty in SD
    SPRO-SD-sales-sales document-sales document item-define item categories
    here you can check for item category TAS or you can create your own

  • Data Transfer from Sales Order to Purchase Requisition

    We are trying to transfer data from Sales Order to purchase requisition in an individual purchase scenario.
    We want to copy value in KUWEV-KUNNR in Sales Order and paste in CMMDA-KUNNR on purchase requisiton.
    So in user-exit "USEREXIT_MOVE_FIELD_TO_ME_REQ" on include "MV45AFZB" we added the following code:
    FORM USEREXIT_MOVE_FIELD_TO_ME_REQ.
    DATA:   BEGIN OF IT_VBEP OCCURS 0,
            VBELN LIKE VBEP-VBELN,
            BANFN LIKE VBEP-BANFN,
            KUNWE LIKE VEPVG-KUNWE,
            END OF IT_VBEP.
    DATA: BEGIN OF TI_VBAK OCCURS 0.
            INCLUDE STRUCTURE IT_VBEP.
    DATA: END OF TI_VBAK.
        SELECT A~VBELN   B~KUNWE
          INTO CORRESPONDING FIELDS OF TABLE IT_VBEP
        FROM  VBAK AS A INNER JOIN VEPVG AS B
                              ON B~VBELN = A~VBELN
        WHERE A~AUART EQ 'PDIR'.
       LOOP AT EBKN.
           LOOP AT IT_VBEP.
                IF IT_VBEP-VBELN = EBKN-VBELN.
                  IT_VBEP-BANFN = EBKN-BANFN.
                ENDIF.
                MODIFY IT_VBEP.
           ENDLOOP.
       ENDLOOP.
    *Break-point.
    SORT IT_VBEP BY vbeln.
    LOOP AT IT_VBEP.
      IF EBAN-BANFN = IT_VBEP-BANFN.
        EBAN-KUNNR = IT_VBEP-kunwe.
        MODIFY EBAN.
      ENDIF.
    ENDLOOP.
    * Example
    * EBAN-LIFNR = zzfield1.
    * EBKN-KOSTL = zzfield2.
    ENDFORM.
    *eject
    Right now it turns random values on the purchase requisition field.
    Edited by: Carlos Salazar on Sep 15, 2010 5:19 PM
    Moderator message: please use more descriptive subject lines from now on.
    Edited by: Thomas Zloch on Sep 15, 2010 5:26 PM
    Edited by: Carlos Salazar on Sep 15, 2010 5:30 PM

    Hi,
    Why are you using only the following line to read the VBEP table?
    WHERE A~AUART EQ 'PDIR'.
    Shouldn't you be using a sales document number or something more specific than document type?
    Regards,    Andy

  • Auto Po creation from sales order.

    Hi ,
              I have a requirement to create a PO automatically from sales order.
    We will be creating a third party sales order, corresponding to which system creates an purchase requisition. Now the requirement is that this Purchase requisition should be converted in to PO automatically.
    For this in the item category config i have ticked the auto Po check box . Also the source of supply is unique so that  purchase requisition is automatically assigned with source of supply.
    But still the PO is not created automatically. What are all the configuration and workflow  needs to be done for this.?
    Kindly help me.
    ram.

    Hi
    From SD settings i dont think a purchase order can be directly created based on sales order thro standards
    You can trigger only purchase requestion
    In VOV6 if you mention order type NB for your schedule line category then a Purchase requestion is only created up on saving your sales order
    Item category in VOV6 should be 5 (third party)
    Account assignment category should be X
    This is third party sales settings
    In MM01 also in the purchasing tab of that material create automatic PO check box is there
    If you tick that also it generates purchase requestion only not purchase order
    In VOV7 create automatic PO check box is there
    If you tick that also it generates purchase requestion only not purchase order
    Involve your MM people also for this requirement
    In MM people can create automatically PO from PR and there are a lot of threads in MM forum regarding that
    For automatic PO creation from PR, follow the steps. taken from MM forum
    1) Material Master purchasing view tick automatic PO check box
    2) Vendor Master purchasing view tick automatic PO check box.
    3) Maintain Source list for Vendor & Material.(ME01)
    4) Maintain Purchase Info Record.(ME11)
    5) Create a Purchase Requisition.(ME51)
    6) Use T .Code: ME59 & execute for PR for vendor, you will be able to create automatic PO.
    7) Note-1:
    During creation of PR , select check box of Source Determination in the 1st screen of ME51
    Ensure that Purchase Info Record should be there.
    If you have more than one vendor then fixes only one vendor in source list.
    Regards
    Raja

  • 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

  • Creation of PO from Sales Order

    Hi
    Please let me know if there is any standard oracle functionality by which we can ensure that Purchase Orders does not contain items from sales orders. e.g. if there are multiple sales order then one PO should be generated for each sales order.
    At the time of Requisition Import, we can specify the parameters like
    1.     Buyer
    2.     Category
    3.     Item+
    4.     Location
    5.     Vendor
    There is no parameter like Sales Order , so we’ll end up creating PR from multiple sales orders and then PO would be created from PRs.
    Let me know if we can achieve the functionality of create unique PO for each Sales Order.
    Thanks,

    If you have different vendors for items on a sales order, you will have to create different POs.
    Assuming all items go to the same vendor, you can consider a simple customization as follows
    Write a before-insert trigger on the po_requisition_lines_interface and make the requisition_number or group_code same for all items on a given Sales order.
    That will make the Requisition Import program put all such lines on one requisition.
    Hope this helps,
    Sandeep Gandhi

Maybe you are looking for

  • Number Range for MIGO (GR)

    Hi, I am in a Pharma Company &  I have a problem about number range at the time of GR.i.e i required diffrent Number range for diffrent material types.How do the setting in SAP(ECC 6.0)  - SPRO.

  • Connect at Oracle OpenWorld in San Francisco next week

    If you're going to Oracle OpenWorld in San Francisco next week and would like to connect to share BPM experiences, drop by booth 3324 in Moscone West. Would really enjoy getting to meet you. Dan

  • Time Machine in addition to Super Duper

    My previous backup external drive died and I just got a replacement. I have always used Super Duper (which is great) to back up my computers so that I have a bootable backup. The question is---does it make any sense to partition the drive so that the

  • Previous button always highlighted

    My iTunes player is getting on my nerves.  For some reason, the Previous Button is always highlighted.  So whenever I press the spacebar, it does not stop the player, but it rewinds the song to the beginning.  How do I get this **** button to un-high

  • How to access file system in  kernel?

    hi i need to access disk file system in kernel. is it possible using UFS data structure and function in other modules in kernel? or i need to create file system access function based on DDI/DKI?