Block the creation of planned order

Dear experts
How can I control the creation of planned order? I want to block the creation of planned order if the BOM or routing is not exist.
BRs

Hi,
I think this can be done using 'Material status' try the following and let me know if it works.
Create a new material status in transaction OMS4 (like R1 - "Created but BOM and Routing not maintained" )and in the details screen select Option "B" for MRP messages.
You designate a material as a "R1 -Created but BOM and Routing not maintained" In the master record.
    MRP                          "B" = warning
Please try this and let me know the result.   
Regards,
Prakash

Similar Messages

  • 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

  • Blocking the Creation of PO in Service Order

    Hello SAP folks,
    I have got an issue where I have to block the Creation of Purchase Requisation Number(BANFN) which is generated  in the background after the creation of the Service order(IW31)  I have tried the user exit EXIT_SAPLCOIH_009 but while coding i could'nt trace the field which is holding the value of PR number.Please let me know is it possible to stop the creation of PR if Yes, Please guide me in this issue in terms of coding.
    Thanxs in advance.
    Regards,
    Indira

    Hi Indira,
    Try these User Exits.
    CNEX0013  Order: Cust. enhancement: Default item category comp. a
    CNEX0026  Customer enhancement for general inspection of material
    CNEX0027  Customer enhancement: Plant, storage loc. finding for c
    IWO10004  Maintenance order: Customer check for order completion
    IWO10005  Maintenance order: Cust.-specif. determination of profi
    IWO10006  Maint. order: Fcode exclusion through cust. enhancement
    IWO10007  Maint.order: Customer enhancement - permits in the orde
    IWO10008  Cust. enhancement: Determination of tax jurisdiction co
    IWO10009  PM Order: Customer Check for 'Save' Event
    IWO10010  Maint. order: Cust. enhancement for determining WBS ele
    IWO10011  Maint. order: Customer enhancement for component select
    IWO10015  Maintenance order: F4 Help for user fields on operation
    IWO10016  PM Order: Cust. enhancement to check operation user fie
    IWO10017  Determine external order number by customer logic
    IWO10018  Maintenance order: User fields on order header
    IWO10020  Maintenance order: Automatically include task list
    IWO10021  Automatic task list transfer when creating order from n
    IWO10022  Determine calendar from user exit
    IWO10023  Service order: Change header data for advance shipment
    IWO10024  Service order: Changes to items for advance shipment
    IWO10025  PM/SM order: Finding responsible cost center
    IWO10029  Inclusion of bill of material in PM/SM order
    IWO10030  Preset Fields for Event Object
    IWO10031  Hide personnel number in PM/SM order
    IWO10033  Customer-Specific Authorization Check Maint./Service Or
    IWO10034  Operation status based on the status of capacity reqs
    Regards,
    Vijay

  • Automatic Creation of Planned Order in PPDS Horizon

    Dear Experts,
    Kindly answer my following query.
    I have created PIRs before/inside my PPDS Horizon (its also falling outside horizon as SNP horizon is shorter than PPDS Horizon). If I check the PIRs created by me in /SNPAPO/RRP3, it also shows me planned orders corresponding to them. However, if I create PIR outside PPDS horizon then system is not automatically creating the planned order.
    Kindly let me know which master data/configuration setting is responsible for automatic creation of planned orders within PPDS horizon.
    Best Regards
    Rinju
    Edited by: Rinju Mukherjee on Sep 26, 2010 10:05 AM

    Dear Rinju,
    Check in Product Master PPDS view the Planning procedure maintained? if it is balnk check in the heuristic, the palnning procedure maintained.
    Since automatic planning procedure(3) is maintained, that is the reason it is creating order proposals, it self.
    Sree

  • Not scheduling on manual creation of planned order

    Creating planned order through MD11 and noticed there scheduling not done and capacity planning not done and on doing scheduling manually dates altered and capacity planned which are appearing in CM01 for the respective week
    Planned order created through MRP are fine with scheduling an capacity planning .
    Please let us know what could be a reason for not updating on manual creation.

    Hi
    This is standard behavior of SAP as when you create the planned order through MD11 manually , you need to do the detailed scheduling manually by executing schedule in Edit>Schedule.
    Check this thread:
    Need Automatic Lead-time scheduling in Planned Order using MD11
    Regards,
    Anupam Sharma

  • Mass creation of planned order

    Hello,
    is there a way to mass creat a planned order for a finished product? having same FG mat, plant and prod version.
    Thanks

    Dear
    1.Goto MD61 with User parameters like Plant , Requirement type , Version and Planning Date .Then Select the Material Radio Buttion with FG item code .
    2.Enter the FG qty as required in each month as demand
    3.GotO MD02-Single Item ,Multi Level with indicator : NETCH , 2,1,3,3,2   and Execute the MRP to create the Planned order  for FG
    4.Check the result in MD04
    There is no SAP Standard Traction to Mass creation of  Planned Order .That is possible in Demand Creation and MRP run .
    Regards
    JH

  • Changing & deleting the SNP PDS planned order in APO using BAPI

    Hi,
    There is a requirement to consolidate the SNP PDS planned order created from CTM in APO. This is to change one of the SNP PDS planned order by adding the quantities of the other planned order , which is to make it into one & delete the other SNP PDS planned order. Can this be done progrmatically using BAPI?. As we know this cant be changed in RRP3 as the SNP-PDS are uneditable.Please help me on this one. As I need the solution to this ASAP.
    Is there any BAPI/FM using which SNP PDS planned order can be changed? What is the BAPI for PPDS planned order creation / change?
    With thanks & regards,
    Naveen
    Message was edited by: Naveen Srinivasa

    Hi Mariano,
    I have gone through the description of the FM it says:
    This function module is complex and is subject to several technical restrictions. For this reason, you should not use ORDER_CHANGE for extended periods of time.
    The recommended alternatives are:
    OM_ORDER_CREATE
    for creating orders
    OM_ORDER_DELETE
    for deleting orders
    OM_ORDER_MODIFY
    for changing existing order components
    Have you used these FM any time?.Kindly share more details in case is you have used them.
    with thanks & regards,
    Naveen

  • Need of User-Exit  in the creation of Sales Order(VA01)

    Hi,
    In the creation of Sales Order, I need to Compare the Ordered Quantity and Confirmed Quantity. If the CQ is less than OQ I need to create one more line item with the same material for the rest of the quantity and send the request to Production order for the remaining quantity. For this I am unable to get the exact exit. Please help me in this regard ASAP.
    Thank you.

    the following program are the user exit for billing.
    we often use RV60AFZC and RV60AFZZ.
    RV60AFZA
    RV60AFZB
    RV60AFZC
    RV60AFZD
    RV60AFZZ
    RV60BFZA
    For Sales order
    Pricing, item addtion deletion
    MV45AFZZ
    First, I did not find documentation for the BADI either. But at the first glance the process of implementing it looks quite straightforward. I assume you run R/3 Enterprise (4.7). So, you should implement BADI 'BADI_SD_SALES' - this must be done in transaction SE19. In particular for the purpose of adding some additional items into sales document I would implement method SAVE_DOCUMENT_PREPARE. This method has changing table parameter FXVBAP of type VA_VBAPVB_T - it holds all the sales document items. Just add items of yours to it. Certainly, you have to fill all the appropriate fields carefully.
    Hope this helps somehow.
    In that case you should use USEREXIT_DOCUMENT_SAVE_PREPARE subroutine (form). As far as I remember it has no parameters. To add items to the sales document you should modify internal table XVBAP.
    regards
    vinod

  • CIF blocked .. due to planned order quantity too small

    Hi,
    we facing the issue of whenever planned order generated after optimizer run. if the quantity of planned order < 1 i.e 0.8pcs . It will get stuck and won't cif to R3... any solution for this ..??
    thx  in advanced
    regards

    Hi
    Can you please clarify the following:
    1. Your Base Unit of Measure.
    2. Any Min/Max Lot and rounding values maintained in ECC/APO.
    3. PPM/Prod Version Lot sizes defined.
    4. What is your BOM base quantity?
    Also please elaborate the issue with proper examples, for us to help you better.
    Regards,
    Manjit
    Edited by: Manjit Pahal on Aug 7, 2008 2:00 PM

  • Block the creation of vendors via the "extend vendor" function

    Is it possible to block the creation of vendors via the "extend vendor" function?  Currently, a number of vendors have been created in this way and are 'shared' across different markets.  This has created a control risk on master data, so I am investigating if it is possible to restrict the process.
    Please suggest
    Thanks
    Mani

    Hi:
               Initially your requirement was just to detain user from creating vendor using reference vendor as given in XK01 under reference (Vendor number and co code & Purchasing organization). Through SHD0 you were able to suppress these three fields ( if i am right? correct me here). If its Ok then system has stopped you from creating vendor using reference of another already created vendor. As far main vendor number and co code and purchasing org fields are concerned that appears on the top of XK01 please note that Vendor number field is only used when you use external number range for this vendor account group ( check number range assigned to the vendor account group in OBAS and then check it in XKN1 if is set as external or internal number range). If you have activated internal number range then nothing needs to be given in Vendor number field and system will generate vendor number internally and this can be suppressed otherwise if you are using external number range the system will create vendor as given by you in Vendor in main screen of XK01. Hence it depends on the process you are using in your company for vendor master data creation.
    Regards

  • How to switch on/off the creation of internal order at item level

    Dear experts,
    When create service order in CRM, is there any way to control the creation of internal order at item level?
    For certain item category, the cost should be distributed to R/3 Back End system, but for others it should never be transferred.
    Please advise, thanks in advance.

    Hi Yukun,
    We are also struggling with the same problem.
    did you find any correct solution to the problem by now.
    However one setting in backend r/3 is that of controlling scenario-- just check whether the controlilng scenario is set with the level 'transaction'
    i guess if you set it to transcation and at the next level you create for a particular transaction type you need to create a controlling scenario then i guess the problem will be solved.. we tried tthe same settings however we are unable to find the result to the problem.
    if you find something important do write back...
    hope that your problem is solved...
    and ours also...
    surendra

  • APO: RRP3 automate Production order creation from planned order ?

    Hi everyone ,
    I have got a business requirement in APO where in Open sale orders uploaded in R/3, needs to be converted to Planned order and subsequently to Production order in APO-PPDS tcode RRP3 at all stages. They want to automate this process rather than doing it
    manually.
    Can anyone tell how is this possible . Any BAPI or function module available to do this . Please help.
    Regards,
    Syed

    Hi,
    1.You need to run the heuristics Planning of standard lots SAP_PP_002  in /SAPAPO/CDPSB0 by specifying the time profile
       and  strategy profile, planning version and propagation range, product and location.
    2. Convert PPDS Planned Orders created to process orders thru /SAPAPO/RRP7 by specifying the product location start date of the order for production order creation.
    Out put of step 1- For sales order requirement, PPDS Planned orders gets created.
    Out put of step 2- PPDS Planned orders are converted to production orders.
    Thanks,
    nandha

  • Blocking RdA creation from Sales Order Schedule Line

    Hi Gurus,
    please do you know if there is a way to block the RdA creation from Sales Order schedule line, for TAS item category? I tried with Header Delivery block without quantity confirmation but even if quantity on schedule lines are not confirmed, RdA is created anyway.
    Thank you very much
    Kind Regards
    Andrea

    thank you

  • Manual creation of planned order in REM

    Hi, 
    Can we manually create a planned order in repetitive manufacturing? I know that in case we run MRP , then planned order for finished is created with order type 'PE' due to which it cannot be converted to production order.
    I dont want to run MRP , still can i create a planned order manually with the same order type 'PE' ? I tried in MD11, but not getting option to chose PE as it is not available  in F4 of planned order profile.
    Please help..
    Regards.

    Dear,
    You cannot create a planned order with PE order type manually, because a planned order of REM related material gets order type "PE" only when it is assigned with a Production Version.
    So achieve manual creation of REM Planned order with PE type with the following options,
    I - Using MD11 transaction create a planned order with LA type and assign a suitable REM related Production version to the planned order during creation itself, now this order would automatically become "PE" order type on saving the order.
    2. In the planning table using MF50, you can directly create a planned order for a production line using F7 key.
    Regards,
    Prasobh

  • Unit of measure - rounding off during creation of planned order

    Dear All,
    We have defined one material OIL in MM41 and its UoM is EA also we have put alternative UoM is L(liter).
    now we create BOM of semifinished material we use this oil as a component and enter its value in decimal points.
    e.g 0.375 EA
    During planned order creation or REM backflush system convert this quantity to 1 EA ,WE dont want this automatic conversion .
    We have uploaded all master data in production and now it is very difficult to change all BOM
    So what is the solution of this that system can not convert qty (rounding off).EA
    Kindly reply
    Sunil

    Hi Sunil,
    IN CUNI Transaction Field Decimal Places is for displaying the decimals,there is a decimal place Rounding off field below,there try to maintain 3 decimals and check whether it is working.
    One more thing is Unit EA will be used always as non decimal unit,But i dont know in your buisness how for unit EA there is a decimal qty
    Edited by: Girish  Adaviswamy on Mar 2, 2010 10:59 AM

Maybe you are looking for