SNP Heuristic recreation and adding of Purchase requisition

Dear All
Thanking In advance,
Critical Issue
We have scheduled a heuristic run for 7 FERT materials,
Run was successful in simulation version, When we take a re-run
(heuristic) on the same data,It is adding the quantities of the
forecast to the same purchase requisition for only two FERTS, for
others it is deleting and recreating purchase requisition same as the
forecast requirement. This in turn is leading to doubling of
requirement for these two FERTS at the lower BOM materials.
e.g.If demand is 10 and we run heuristic in first run it will create 10
purchase requisitions, if we Re-run heuristic on the same data it is
adding 10 more quantity for same purchase requisition.
Before generating the requisitios it will show the message Invalid order and help of which shows "Order does not exist in Live-Cache"
What could be the reason for this?
Amol

Dear all,
problem solved by upgarding Support Pack to 15.0
Amol
Edited by: Amol Chavan on Jan 21, 2008 4:08 PM

Similar Messages

  • Difference Location and Organization in Purchase Requisition

    What is the difference between 'location and organization' in Purchase Requisition ? [http://www.uppicweb.com/x/i/ij/2dpic.jpg] you can see picture in the link

    The organization is the inventory organization in your enterprise to which you want the requested items delivered. The location is the delivery location for the requested items, usually defaulted from the requester's employee record. A delivery location is mandatory for approval of the req.
    These correspond to the hr_all_organization_units and hr_locations tables in your db.

  • CTM and Dependent Demand purchase Requisitions

    Hello Gurus,
    We have a business situation where there are 2 plants which can produce a finished product from a single input product.  It is much less expensive for us to transport the finished product than the input product.  We want CTM to force the plant with the supply of input product to produce the product and send it if that plant has capacity - only transporting the input product to the demand plant if there is no capacity at the supply plant.
    Plant A   Demand 100 units of Product X
    Plant B  Supply of 100 units of Product Y which can be used to create Product O
    PPMs for creation of Product at both plants.
    Desired outcome:
    If Plant B has open capacity to create Product X prior to due date, Plant B creates Supply of Product X from Product Y and transports Product X.
    If Plant B does not have open capacity to create Product X prior to due date, Plant B sends Product Y to Plant A which creates Product X.
    The supply may be at Plant A or Plant B so the scenario must be able to work in either direction.
    Currently, when CTM runs, it see the demand at Plant B and creates a planned order there, creating a purchase Requisition for the dependent demand.
    Is there a solution for this?
    Many thanks in advance,
    Sarah

    I have done some further testing of the system and have found that I can further clarify my question.
    consider 3 production plants situated roughly in a line with PLANTA located 1000 KM east of PLANTB and PLANTB located 500 KM east of PLANTC.  Because PLANTC is nearer to PLANTB, the transportation lane procurement priority for PLANTC to PLANTB is lower than PLANTA to PLANTB (making PLANTC the first to be considered at a procurement source for PLANTB)
    We have demand for a finished product at PLANTB.  We can create the finished material at PLANTA or PLANTC.  PLANTA has the input material in stock for creating the finished material.
    When CTM makes its planning run, it looks at the PLANTB demand and determines that PLANTC is the correct procurement source for the finished material.  It looks for the finished material at PLANTC and can't find it, so it creates a Planned Order to create the finished material.  In order to do that, it pulls dependent demand from PLANTA. 
    The result is that we are moving input material west 1500 KM to PLANTC and then moving the finished material east 500 KM to PLANTB.
    We have set our priority for moving input material very high, so it should be the last resort to move.
    It appears that CTM is looking at the priority of the finished material only when determining procurement source.  Is there any setting I can make to the system so that it will look at both the dependent demand priority and the finished material priority when determining procurement source?
    Alternately, is there a way to mark the ATP group EB as not being available during a specific CTM run (without removing the dependent material from the TLANE)?
    Ideallly, we'd like to be able to move the dependent material to another plant if the capacity at the plant it is currently in is too full.
    thanks in advance for any advice,
    Sarah

  • SNP Heursitic run - Lot size of Purchase Requisitions

    Hi,
    when we run network Heuristics we get Preqs with decimals. As far as I can see we have maintained the lot size correctly and even the rounding value. Still I get Preqs with 0,054 EA, but I'm expecting to get 1 EA.
    Has anyone experienced something similar?
    Thanks,
    Lars

    Thanks for your help, Aparna.
    Seems like I forgot to specify that the issue was related to the PReqs in R/3, created by the Heuristic run in APO.
    However, I think we found the problem. The rounding value from Material Master was not CIF'ed over til APO. When we maintained the rounding value manually in the product master in APO we got the result we wanted.
    Thanks!
    Lars

  • Release Strategy and workflow in Purchase Requisition

    Hello All,
    My client wants to activate the release strategy and workflow at the purch req and PO levels. They allow users to create a Preq and reference that preq to the PO, or users may create a PO without referencing a Preq. Since they have the release strategy and workflow working on both levels, what they want done is, if a PO has a Preq reference, it does not need to go through another approval process on the PO level as it has already been approved on the Preq level. Therefore if a Preq is reference in a PO, the PO workflow and release strategy should not be taken into account. Can this happen as a standard config, or will this need a "user exit"?
    Thanks in advance for your help!!

    You will need to activate the user exit. This will keep the PO release strategy simple.
    Have a flag (use USRC1 or USRN1). In your PO release strategy classification, maintain only X in this characteristic.
    In the user exit, check whether the PO is created with reference to PR. If yes, pass "blank" to USRC1, else pass "X". The release will be triggered only in case of X.
    Just a couple of points:
    1) What will you do if one item in PO is created with reference to PR and the another item is not?
    2) What will you do if one item is partially referenced to PR (i.e PR quantity is 100, PO quantity is 200 - of which 100 is referenced to PR and other 100 is not - this is possible by changing in delivery schedule)?
    Hope this helps
    Lakshman

  • Differentiate between SNP Deployment generated Purchase Requisition in R/3

    Hi
    We are implementing SNP with Deployment. Purchase Requisitions are being generated from both SNP Heuristic run and Deployment heuristic run and they are transferred to R/3. So using TC MD04 in R/3, we can see both Purchase Requistion coming from the same requirement. We want to convert the Purchase Requisition generated from Deployment to Purchase Order using ME59/ ME59N in the background. Currently, there is no difference between both PReqs in R/3, so system is incorrectly picking up both the PReqs.
    It will be great help if anyone can suggest a way to differentiate them in R/3.
    Thanks,
    Prasun

    You can identify PR  by category
    Category :
    EA     SNP: PReq     SNP: Purchase requisition
    EF     DEP: PReq     Deployment: Purchase requisition
    you can use user exit APOCF013  on APO side to put some flag for SNP PR and use the same in R/3.
    You need to identify one field in PR data that you can use in R/3 to identify SNP or DEP PR and by user exit you can put flag in that field .
    Hope it will help you further.
    Manish

  • Questions on Rules-Based ATP and Purchase Requisitions for STOs

    Hello experts,
    We are working on rules-based ATP configuration and have several questions about the functionality.  Iu2019m hoping that some of you are using this functionality and can help give us direction.
    In our environment we have multiple distribution centers and multiple manufacturing plants.  We want to confirm sales orders against stock and production orders in any of those plants, depending on the locations that have stock or planned production.  For example, we will place a sales order against plant A.  If there is not enough stock in plant A then rules-based ATP will use location determination to check in plant B, then C.  The scope of check on the ATP check will include stock and released production orders.  We will configure plant A as the u201Cconsolidation locationu201D so if stock is found in plants B or C then stock transport orders will automatically be created to move the stock to plant A before shipping to the customer.
    We have configured rules-based ATP and this functionality is working well in our Development system.  The ATP check is executed and uses the rules-based ATP to find eligible stock in other plants.  The system is also creating purchase requisitions to move the stock to the consolidation plant. 
    Our first concern is that there doesnu2019t appear to be any firm linkage between the sales order and the resulting purchase requisition.  For example, if we create sales order 123 for plant A and the rules-based ATP finds stock in plant B it automatically creates a purchase requisition 987 to move the stock from plant B to plant A.  However, there doesnu2019t appear to be a linkage between sales order 123 and purchase requisition 987.  For instance, if we delete sales order 123 the purchase requisition doesnu2019t get deleted. 
    Our second concern is that the quantity on the purchase requisition can still be confirmed against later sales orders.  For example, say the above scenario resulted in a purchase requisition 987 that consumed all the stock available in plant B.  We then create a second sales order 456 for the same product.  Plant A is out of stock so the rules-based ATP looks in plant B.  We would expect that plant B would also not have any stock because itu2019s all been consumed by the purchase requisition.  Instead, the system creates a second purchase requisition to move quantity from plant B to plant A.  Itu2019s as if the system doesnu2019t realize that the purchase requisition 987 is already planning to move stock out of plant B.
    Does anyone have any thoughts or suggestions on these two scenarios?  Is there a way to configure the system so there is a hard linkage between the sales order and the purchase requisition so that if the sales order is deleted then the purchase requisition is also deleted?  Should ATP realize that purchase orders are consuming inventory and not allow later sales orders to confirm against that same inventory?  Any advice or experience would be greatly appreciated.
    Thanks,
    David Eady
    Application Delivery Team Lead
    Propex, Inc.

    Hi,
    The scheduling is done in SCM, and from there, whenever the RBA is triggered, the calculation is done always with the old route in SCM. Until you get back to R/3 this is when your route is determined. But the ATP check is always with the original route. So the idea would be that you change the values of the route while still in APO, this is possible via the user exit. Should be done in scheduling in APO.  
    Hope this information is helpful.
    Regards,
    Tibor

  • Changes in short text in Purchase Requisition and Purchase Order

    Dear experts,
    Can you help me with the following issue:
    During creation of Purchase Requisition and Purchase Order with Account assignment category K-Cost center the field Short text to allow input of data in it.
    In all other cases During creation of Purchase Requisition and Purchase Order without Account assignment category K-Cost center the field Short text to be forbidden for input of data
    Is it possible?
    Thank you
    Regards

    Dear Vasil Pavlov ,
    This cannot be realize in sap standard system. You may want to write your own coding using
    ME_PROCESS_REQ and ME_PROCESS_PO for  purchase requisition and purchase order respectively.
    Best Regards,
    Loke Foong

  • Planned orders to Purchase Requisitions and orders

    Hi,
            Just wondering if this is possible. I heard this from a client and want to confirm if it's true.
    The client owns the technology and has contractors manufacture the product.
    A planned order is generated by the client and based on the type of contractor, some of them are converted to Purchase orders and others to Purchase requisitions.
    Is this possible? I was thinking, planned orders ans purchase requisitions are completely different entities. Planned orders are for internal manufacturing which are subsequently changed to Production orders and purchase requisitions are for external procurement that would be converted to Purchase orders.
    But converting the Planned orders to Purchase Requisitions and orders is what I could not digest.
    Is there any possibility of this case?
    Thanks.

    Hi,
    We can create planned orders & convert them into purchase requisition or into production order.
    In the material master ,mrp2 view give the procurment type as 'X', for both internal & external procurement.
    Also include purchasing view for this material.
    When you run mrp using md02, a planned order will be created for the rquirement (Eg:say 100 nos given using t.code md61).
    Use t.code md04 to view the stock/requirement list.
    Here double click the planned order, you can see tabs such as convert into purchase requisition, into production order, into process order.
    Click convert into pur req & enter 50 Nos. Then a pur req will be created which can be further converted into pur order.
    Again come to md04 screen.
    You can see a planned order & pur req for 50 nos.
    This planned order can be converted into production order & 50 nos can be produced internally.
    Hope this clears your doubt.
    Regards,
    Senthilkumar SD

  • Planned orders to Purchase Requisitions and Purchase Orders

    Hi,
            Just wondering if this is possible. I heard this from a client and want to confirm if it's true.
    The client owns the technology and has contractors manufacture the product.
    A planned order is generated by the client and based on the type of contractor, some of them are converted to Purchase orders and others to Purchase requisitions.
    Is this possible? I was thinking, planned orders ans purchase requisitions are completely different entities. Planned orders are for internal manufacturing which are subsequently changed to Production orders and purchase requisitions are for external procurement that would be converted to Purchase orders.
    But converting the Planned orders to Purchase Requisitions and orders is what I could not digest.
    Is there any possibility of this case?
    Thanks.

    Hi,
    We can create planned orders & convert them into purchase requisition or into production order.
    In the material master ,mrp2 view give the procurment type as 'X', for both internal & external procurement.
    Also include purchasing view for this material.
    When you run mrp using md02, a planned order will be created for the rquirement (Eg:say 100 nos given using t.code md61).
    Use t.code md04 to view the stock/requirement list.
    Here double click the planned order, you can see tabs such as convert into purchase requisition, into production order, into process order.
    Click convert into pur req & enter 50 Nos. Then a pur req will be created which can be further converted into pur order.
    Again come to md04 screen.
    You can see a planned order & pur req for 50 nos.
    This planned order can be converted into production order & 50 nos can be produced internally.
    Hope this clears your doubt.
    Regards,
    Senthilkumar SD

  • ME52N: Purchase Requisition Change GL Account Number

    Requirement: ABAP auto-change the GL Account field number in a Purchase Requisition after the Material Group is changed.
    Background: This custom logic has been successfully applied to all types of Purchase Requisitions using  BADI ME_PROC_REQ_CUST, with the exception of a Purchase Requisition type that is called a 'Service Limits'. There are differences that are important to note between a 'Service Limits' Purchase Requisition and the other Purchase Requisitions that had custom code added without any problems.
    1)This type of Purchase Requisition uses a item category of 'B', and the logic has a tendency to flow through SAP differently.
    2)This type of Purchase Requisition's GL Account number is under-intensified on the 'item' subscreen, and cannot be changed manually on that screen like the others..
    3)In order for the GL Account to be changed manually, or for the GL Account to be changed once my code has changed the GL Account Number, the user must select the 'Limits' tab and select the Account Assignment arrow, then a popup appears where the GL Account can be changed manually, or, my coded GL Account number change then occurs.
    Problem: I want the custom code to be able to change the GL Account NUmber without having to go into thge 'Limits' tab, where the icon has to be selected. I believe the problem is that the field is protected, because it displays as under-intensified, thus, preventing my new GL Account NUmber from displaying. I also have the subsequent SAP code below that appears to reject set_exkn because protect is set to 'X'.
    CODE1: Is my custom code.
    CODE2: Is the SAP code that my will flow into where this field appears to be unchangeable.
    My question:
    I am thinking that this GL Account field is protected and cannot be changed because it is under-intensified on the subscreen on the Purchase Requisition. Can it be changed with custom code, a way to 'unprotect it'? Or, are there settings that should be changed in SPRO for the Purchase Requisition to allow this functionality to change the GL Account number.
       Thank-You
    (CODE1)
    METHOD IF_EX_ME_PROCESS_REQ_CUST~PROCESS_HEADER.
    *Purchase Requisition Item Declarations
      DATA: LT_ITEMS        TYPE MMPUR_REQUISITION_ITEMS.
      DATA: LS_ITEM         TYPE MEREQ_ITEM.
      FIELD-SYMBOLS: <FS_ITEM> TYPE LINE OF MMPUR_REQUISITION_ITEMS.
    *Purchase Requisition Accounting Declarations.
      DATA: LT_ACCT         TYPE MMPUR_ACCOUNTING_LIST.
      DATA: LS_ACCT         TYPE EXKN.
      DATA: LS_SETX          TYPE MEPOACCOUNTING_DATAX.
      FIELD-SYMBOLS: <FS_ACCT> TYPE LINE OF MMPUR_ACCOUNTING_LIST.
      CALL METHOD IM_HEADER->GET_ITEMS
        RECEIVING
          RE_ITEMS = LT_ITEMS.
      LOOP AT LT_ITEMS ASSIGNING <FS_ITEM>.
        LS_ITEM = <FS_ITEM>-ITEM->GET_DATA( ).
        LT_ACCT = <FS_ITEM>-ITEM->IF_ACCT_CONTAINER_MM~GET_ITEMS( ).
        LOOP AT LT_ACCT  ASSIGNING <FS_ACCT>.
          LS_ACCT =  <FS_ACCT>-MODEL->GET_EXKN( ).
          LS_ACCT-SAKTO = 'N500300   '.
          LS_SETX-SAKTO = 'X'.
          <FS_ACCT>-MODEL->SET_EXKN( LS_ACCT ).
          <FS_ACCT>-MODEL->SET_EXKNX( LS_SETX ).
        ENDLOOP.
      ENDLOOP.
    ENDMETHOD.
    (CODE2)
    METHOD if_accounting_model_mm~set_exkn.
      DATA: ls_buffer     LIKE LINE OF my_data_input_buffer,
            ls_bufferx    LIKE LINE OF my_data_input_bufferx,
            l_buffered    TYPE sy-subrc,
            l_data_old    TYPE exkn,
            l_data_oldx   TYPE mepoaccounting_datax,
            l_data_newx   TYPE mepoaccounting_datax,
            l_indx        TYPE sy-tabix.      "1478013
      *PROTECT EQ 'X'
      CHECK my_state->protect EQ mmpur_no.
    Edited by: Tom Matys on Dec 12, 2011 10:55 AM

    Your PO release strategy must have been based on Cost Center as one of characteristics.
    Pl check & confirm.
    Regards
    Bhavesh Mistry

  • Error in new purchase requisitions, for already deliverd materials

    Dear all,
    I have a problem with newly created purchase requisitions, although material was partially delivered and no delivery is expected anymore.
    For example I have ordered 1767kg of oil and a total sum of 1766.2kg was deliverd. This means only a minor amount of material was not deliverd and only 80gramm are missing. The purchase value key allows a 5% over and under delivery.
    Usually I would expect, that because of the purchasing value key of 5 % over and under deliverance allowence this situation should not occur anymore. Additionally at the time of goods receipt the key of final delivery was set and the purchase order is updated correctly.
    But when I run the MRP again I will have another purchase requisition. The dependend requiement of the material above still existis as production is not finished yet or this is still a planned order.
    What keys do I need to set in total for allowing a "partial delivery"?
    - Purchaseing value key in the material master
    - Delivery completed at the time of goods receipt
    Maybe this question is to basic as I cannot find any questions / answers related to this issue here in the forum.
    In some points, I found that I need to set up the vendor accordingly to set up partial deliveries. But I cannot find the right setting to allow the vendor to do so. I use MK02 for the change of the vendor settings.
    Thank you very much for your support!
    With best greetings,
    Bjoern

    Hello Jürgen,
    yes after thinking about this issue again, I think this might not be an appropriate solution. Now I am thinking about other possibilities.
    1) Automatically change the value in the production order at the time of saving MIGO - will not create any more missing material messages and no new purchase requisitions .
    2) Errror message, that for this positions no more postings are possible as the purchase order still remains "open"
    3) I need to find the customizing of the indicator "delivery completed". At the moment I just dont see, the influence of this indicator.
    Sorry for my "stupid" questions, but I am quiete new to these MM topics. Up to now I was always doing only PP and QM but our collegue for MM has left the team and there are some open issues which now belong to me. Lucky me.
    I have created a new posting at:
    With best greetings,
    Bjoern

  • PM (T-code IW32) - Creation of purchase requisition permitted price=0$

    Hi,
    In IW32, we are able to enter a price of 0,00$ and save the purchase requisition. In ME51N, this action is not possible, we have to enter a price > 0,00$. Why are we able to save a 0,00$ purchase requisition using IW32, and not ME51N? We should not be able to create a 0,00$ purchase requisition in IW32 !
    IW32 procedure of PO creation:
    1. Run IW32
    2. Enter order number
    3. Go to «components» table
    4. DO NOT enter component, enter description, reqmnt qty, UM, IC, Plnt, OpAc
    5. Select the line item
    6. Click on the Purchasing button at the bottom left of the screen
    7. Enter Price = 0,00$, G/L account number, and save
    8. Quit IW32 transaction
    9. Go back in IW32, select the line item, click on the purchasing button, and there will now be a purchasing requisition number in the Purchasing Data table.
    10. Go in ME54N. You will now be able to release a 0,00$ purchase requisition....
    The system SHOULD NOT allow me to create and release a 0,00$ purchase requisition. How can I fix this?
    Thanks,
    Julien

    Hi,
    Go to SPRO > MM > Purchasing > Purchase Requisition > Define Screen Layout at Document Level > Here for Field selection key "ESTF" i.e. Requisition from prodn. order, mark field "Price and price unit" as required under selection group 'Quantity and price'.
    It will start asking Valuation Price during Order Creation for PR.

  • Problem in Purchase Requisition Creation

    Dear Experts:
    We are facing a problem while purchase requisition creation. We have created an Internal order No. 600406 and an Asset in Company Code AB01 but while creation of Purchase Requisition level when we are selection that Order and Asset in Purchase Requisition system automatically changing my Order no. 600020 instead of 600406. I've checked OKB9 where Order no. maintained as 600020 against Company code AB01 which I deleted and save but after that Purchase requisition asking for Order Number that means we have to maintain Order number in OKB9. Now can you please advise how can we get my current order number in requisition instead of any default number.
    Thanks in advance and your kind suggestion is highly appreciated.
    Best Regards.
    Ripon Kumar Paul

    Please find attached screen shots of OME9

  • Delivery date sales order / purchase requisition

    Hello,
    I am trying to create a sales order. In my case, the sales order has got two lines for schedule lines:
    -delivery date: 24.03.2009
    -delivery date: 06.04.2009. This line is the one confirmed. This is because on the material master record the field "planned delivery time" (MARC-PLIFZ) is equal to 13 days
    When saving thi sales order, the system automatically creates a purchase requisition with the delivery date confirmed.
    But if planned delivery is equal to blank and we use other lead times like, GR processing time (MARC-WEBAZ) or total replanishment lead time (MARC-WZEIT), the sales order doesn´t take into account these two lead times, I mean the sales order is created with delivery date 24.03.2009 and also the purchase requisition.
    Does anybody know what I have to do in order to take into account one of these two lead tiemes when creating the sales order?
    Best regards

    Thanks, but there is not way to maintain it automatically with lead times from material master apart from the "planned delivery time" (MARC-PLIFZ)??? Thanks a lot.
    Regards

Maybe you are looking for