MRP run - misalignment for planned order between Date and Production Date

Hi All,
We've just integrated SAP for a new plant.
The MRP runs based on Routing Lead Time for Make materials instead on Material Master Lead Time, for Capacity Assessment purpose.
When requirements dates lay in the past, MRP performs forward scheduling starting from current date and properly defines Production End Date according to Routing.
By checking MD04, for the proposed Planned Order, the basic date is same as Current Date (= same as Requirement Date) instead of being same as Production Date.
It works as it if checks stil the MAterial MAster LEad time instead of Routing. In fact if I updated the LT of MM the MD04 provides the right Date.
For future requirements, the MRP works properly, by having basic dates (both start and end date) aligned with Production Dates of Planned Order.
How can I do the alignment w/o updating In House Production LT?
Thanks,
D

Hi Caetano,
we have already done this configuration in OPU5 but it doesn't provide any benefit.
Below how we configured it:
Scheduling level: Via detailed scheduling
Adjust dates: adjust basic dates, adjust dep. reqmts to operation date
For capacity scheduling: Always basic dates, dep. reqmts to operation dates
Scheduling type: Backwards.
Regards,
D.

Similar Messages

  • Class for Purchase order item components and Production order components

    I'm looking for a some classes.   I'm very new to objects, so I could be searching for them incorrectly.
    The first class I'm looking for is a purchase order class that contains the item components.  I've looked at CL_PO_ITEM_HANDLE_MM and CL_PO_HEADER_HANDLE_MM.  I couldn't find components as a part of either of the classes.
    The second one I'm looking for is not as critical.  It is for the components for a production order.   I have a function module: BAPI_PRODORD_GET_DETAIL that gets the components for the order.  However, to take advantage of objects - I read somewhere - that if possible I should avoid calling a function module.
    Any help that you could give would be greatly appreciated.
    Thank you!
    Michelle

    Hello Michelle
    I do not think there are already classes available on ERP 6.0 for reading production order (yet I might be wrong...). However, regarding purchase order you are already on the right track.
    *& Report  ZUS_SDN_OO_READ_PO
    *& Thread: Class for Purchase order item components and Production order components
    *& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1206523"></a>
    "& NOTE: Coding adapted from BAPI_PO_GETDETAIL1
    REPORT  zus_sdn_oo_read_po.
    TYPE-POOLS: abap, mmpur.
    PARAMETER:
      p_ebeln   TYPE ebeln  DEFAULT '3000000045'.
    DATA: gs_document    TYPE mepo_document,
          go_po          TYPE REF TO cl_po_header_handle_mm,
          gs_header      TYPE mepoheader,
          gd_tcode       TYPE sy-tcode,
          gd_result      TYPE mmpur_bool.
    data: gt_items       type PURCHASE_ORDER_ITEMS,
          gs_itm         type PURCHASE_ORDER_ITEM,
          gs_item        type mepoitem.
    START-OF-SELECTION.
    *  prepare creation of PO instance
      gs_document-doc_type    = 'F'.
      gs_document-process     = mmpur_po_process.
      gs_document-trtyp       = 'A'.  " anz.  => display
      gs_document-doc_key(10) = p_ebeln.
    *  object creation and initialization
    **  l_ebeln = purchaseorder.
      CREATE OBJECT go_po.
      CALL METHOD go_po->po_initialize( im_document = gs_document ).
      CALL METHOD go_po->set_po_number( im_po_number = p_ebeln ).
      CALL METHOD go_po->set_state( cl_po_header_handle_mm=>c_available ).
    *  read purchase order from database
      gd_tcode = 'ME23N'.
      CALL METHOD go_po->po_read
        EXPORTING
          im_tcode     = gd_tcode
          im_trtyp     = gs_document-trtyp
          im_aktyp     = gs_document-trtyp
          im_po_number = p_ebeln
          im_document  = gs_document
        IMPORTING
          ex_result    = gd_result.
    *  there was a problem in reading the PO
      IF ( gd_result EQ mmpur_no ).
    **    l_messages = l_handler->get_list_for_bapi( ).
    **    PERFORM return TABLES l_messages return
    **                          poitem poschedule poaccount.
    **    CALL METHOD l_po->po_close( ).
      ELSE.
        gs_header = go_po->if_purchase_order_mm~get_data( ).
        WRITE: / gs_header-ebeln,
                 gs_header-bukrs,
                 gs_header-bsart,
                 gs_header-lifnr.
      ENDIF.
      gt_items = go_po->if_purchase_order_mm~get_items( ).
      LOOP AT gt_items INTO gs_itm.
        gs_item = gs_itm-item->get_data( ).
        write: / gs_item-ebelp,
                 gs_item-matnr,
                 gs_item-menge.
      ENDLOOP.
    END-OF-SELECTION.
    Regards
      Uwe

  • MRP run but no planned order creation

    Hi ,
    I use MD61 to create PIR , i can saw PIR in MD04 sceen.
    Then i run MRP via MD02 there is no planned order be created.
    But if i run MRP via MD43 , the planned order appear .
    Could anybody can help on the topic ? Thanks !

    Dear Denny Sheng 
    i think you are asking about two different things:
    1) you have enter PIR in md61and those are reflected in md04,but when you take MRP Run( md02) planned order are not created.This is because there must be stock of material available
    2) The planned order are created when you run md43.This means you have selected MRP Type MPS.please check .
    Regards
    Prashant

  • Basic dates and production dates in planned order

    Dear all,
    I have a planned order (for material A) which has "order finish date" same as "End of production date".
    I have another planned order (for material B) where "End of production date" is eariler than "order finish date".
    Scheduling margin key is same in both the cases.
    Why they are different? Can you please help?
    Regds.,
    Chaitanya

    Dear
    Please Check in the MRP 2 And SchedMargin key it defines the floats
    SCHEDULING MARGIN KEY
    Takes effect only for Lead Time Scheduling
    Configure scheduling horizon OPU5
    which lead time scheduling and capacity planning should be carried out. scheduling horizon is the period in working days. If a planned order has its basic start date within this period in future, lead time scheduling is carried out using the selected routing.
    The production times are calculated from the float times of the scheduling margin key in the material master record and the time from the individual operations.
    If the planned order has its basic start date further in the future than this scheduling horizon, the basic dates are calculated from the in-house production times in the material master and are transferred to the production times
    with Regards
    Pushpalas

  • Basic dates and production dates

    dear all,
    i have made a PIR using MD61 for 01.04.2010,
    after that, i run the MRP using MD02 to make the planned order, so when i open the MD04 tcode, the planned order has been created for 01.04.2010 too...
    the problem is when i convert that planned order to production order, when i check the finish date of the production order, it has been change to 02.04.2010, why the start dates and finish dates changes in the production order???
    best regard,
    MARUFAT

    Hi,
    i have check in OPU3, the schduling type is backward, and the automatic scheduling is tick
    i also check in MRP view, the scheduling margin key is 000 so there is no float time problem, and the GR processing time is 0,
    i run the MRP RUn MD02 using planning type 1 using basic dates
    but when i convert the planned order into production order, the finish date always change,
    so, if the finish date in the planned order is 01.04.2010 , after i convert into production order, the finish date change into 02.04.2010
    what makes me confuse is that the scheduling time is backward, but why all the finish date of the planned order after i convert to production order change into +1 days after the finish dates ??
    can you help me to solve this problem?
    regard
    MARUFAT

  • Background MRP Run Some times Planned orders are not generating.

    Dear All,
    We run MRP in the background at plant level once in a month. Some time we do not get planned order for the material in MD04. Than we run MRP (Selected material only) manually through MD01 considering MRP control parameter 13132.Than only we get planned order. Plesae let me know why it happens? Please give your comments on this.
    Thanks & Regards
    Kundan Kumar

    Dear Kundan Kumar,
    First check the output list or the results of MRP run in SM37,find out for how many materials it has
    throwned out error,I hope in this list you can find out the materials.
    Then the next step you have to check once again the material master settings.
    Instead of running in MD02,first check whether was there any issue in master data,or if this happening
    repeatedly for the same materials and work around.
    Regards
    Mangalraj.S

  • Execute SQL Tasks Failing for Duplicate Syntax Between DEV and Production DB

    Newbie here...be patient with me!
    I added tasks to refresh two tables (delete from, insert into, update) to an SSIS project . I have them running from the WinXP scheduler. The issue:
    In dev the tasks integrate and execute successfully from scheduler
    In prod I can right click and execute each of the three tasks without any problem, but the same tasks cause my project to fail when executed from scheduler
    Questions:
    Any ideas about what I am failing to see?
    How do I get a meaningful log messages from the tasks that are failing?
    Thanks for your ideas...
    Installed Edition: IDE Standard
    SQL Server Analysis Services  
    Microsoft SQL Server Analysis Services Designer
    Version 9.00.1399.00
    SQL Server Integration Services  
    Microsoft SQL Server Integration Services Designer
    Version 9.00.1399.00
    SQL Server Reporting Services  
    Microsoft SQL Server Reporting Services Designers
    Version 9.00.1399.00
    Microsoft Visual Studio 2005
    Version 8.0.50727.42  (RTM.050727-4200)
    Microsoft .NET Framework
    Version 2.0.50727
    Installed Edition: IDE Standard
    SQL Server Analysis Services  
    Microsoft SQL Server Analysis Services Designer
    Version 9.00.1399.00
    SQL Server Integration Services  
    Microsoft SQL Server Integration Services Designer
    Version 9.00.1399.00
    SQL Server Reporting Services  
    Microsoft SQL Server Reporting Services Designers
    Version 9.00.1399.00

    Newbie here...be patient with me!
    I added tasks to refresh two tables (delete from, insert into, update) to an SSIS project . I have them running from the WinXP scheduler. The issue:
    In dev the tasks integrate and execute successfully from scheduler
    In prod I can right click and execute each of the three tasks without any problem, but the same tasks cause my project to fail when executed from scheduler
    Questions:
    Any ideas about what I am failing to see?
    How do I get a meaningful log messages from the tasks that are failing?
    If i understand correctly you are trying to run SSIS package from Window XP task scheduler.  The reason for the failure may be due to permission while accessing resources required in the package. However it is difficult to suggest without
    looking at the error message.
    Scheduled tasks maintains a log file (Schedlgu.txt), in the c:\Windows folder. You can view the log from the Scheduled Tasks window by clicking
    View Log on the Advanced menu.
    The log file size is 32 kilobytes (KB), and when the file reaches its maximum size, it automatically starts to record new information at the beginning of the log file and writes over the old log file information.
    Refer http://support.microsoft.com/kb/308558
    http://msdn.microsoft.com/en-us/library/windows/desktop/aa383604(v=vs.85).aspx
    Regards, RSingh

  • MRP - Create STO for Stockk Transfer between Storage Locations

    Hi Everyone,
    I have a scenario where MRP run should create Planned Order as well as STO for a VSF Requirement. The reason is our Plant has got 2 Storage Locations. One is the Production Storage Location and the other is Warehouse Storage Location. The Planned Order should be for Production SLoc and STO should for Stock Transfer from Production to Warehouse Storage Location. Your suggestions are much appreciated to resolve this issue.
    Thanks,
    Jay.

    new releaes bring new features........
    not all new features can run in old environments.
    I know that companies did already Storage location to storage location STOs in 4.6c but they had z-tables to assign customer numbers at storage location level, and they had changed some  coding to make it happen.
    I am not sure if there is an OSS note that explains the steps and modifications needed......but try to search OSS.

  • Changing MRP controller for planned order

    Hello experts,
    Is there any way the planner could change the MRP controller of a planned order within MD12 ? We are using ver 4.7 and this field is not enabled. Currently the planners are creating prod orders much in advance and are looking to move to a process where they firm planned order. We are using project stock planning structure so more that one planner may create orders for the same material. So when one planner review the material planning for one project he would firm the planned order and assign it to him for leater conversion.
    Note: I the config I didn't saw any field selection control for planned orders.
    Thank you in advance for sharing your wisdom.
    Francois Paquet BPA
    aeronautive industrie

    Francois,
    Very interesting question. However I never had to change those fields in either planned or prodcution orders.
    Both orders master data fileds are disabled.
    However since your are working with project orders ( or netwrok orders ) system would be giving you specific planner order hard tied to the project order ( similar to Made to order scenario).
    Planner could use MD51 ( project planning ) & MD4C ( option for Netwrok or WBS element ) for monitoring progress of his /her order.
    This way planners do not have to go by MRP controller data.
    Hope this provides some new thoughts.
    Thanks,
    Ram

  • Table For Planned Order Details From PP Module

    In our organisation we are taking Plan Vs Acheivement from Production. So, intialy we taken Plan details from "PLAF" Table and Acheivement details from "S225" Table. But After running MRP at month end. Previous month plan get deleted and new order create.
    how to get history data for Planned order.
    Please help us.
    Regards
    Naga

    I don't think that there is any history in regard to planned orders.  PLAF will get rebuilt according to your MRP parameters and I don't believe that the data is stored.
    Regards,
    Rich Heilman

  • Release status for planned order

    Hi All
          I am running MRP weekly,system is generating the Planned order  once MRP is completed.Here my requirement is i want release status for planned order, at the same time once planned order is released i dont want user to change any data in planned order.
           Somebody explain me about the settings of action control of planned order.
    Regards
    Srinivasan.P

    Hi,
    Sorry to say but there is nothing like system status for Planned orders.
    Check below thread,
    [Release of Plan orders|Planned Order Release]
    Regards,
    Dhaval

  • Scheduling for planned order

    When I choose leadtime scheduling in MRP RUN then system does forward scheduling always.
    Then in planned order change mode when i do manually do scheduling then it does backward scheduling as  per settings in OPU5.
    How to get backward scheduling in MRP.??

    Dear,
    MRP do the backwordscheduling but The system always determines the basic dates for planned orders using backward scheduling.
    The system automatically switches to forward scheduling if the determined start date lies in the past.For this you have to maintain 2 settings.
    1)In OPPQ - Plant parameters maintain the indicator for start date in the past allow. 2) In OPU3 for your plant & order type , maintain the no. of days for start date in the past.
    Hope clear to you.
    Regards,
    R.Brahmankar

  • ATP Rule for Planned Orders

    Hi Experts,
    I have configured the ATP rule for Planned Orders. So I only want to check the component stock and Production Orders when running ATP check for the Parent Material.
    In OPJJ, I only selected the following options.
    Include Safety Stock : Ticked
    Check without RLT : Ticked
    Incl.production orders : X (Take all production Orders into account)
    No other options or boxes have been selected
    Also I have included the relevant Checking group in MRP 3 for the Parent Material (Checking Rule has been assigned to that Checking Group in Config) and also maintain the Plant Parameters for MRP (assign the checking rule to the plant)
    So, For an example :
    Parent : A
    Components : B and C
    Parent Material A has only 5 Planned Orders starting on same day 20.05.2014 each qty 5
    Components B got stock 300
    Components C got stock 1
    When I ran ATP Check for the Parent material A using COHV, qty 1 has been allocated to all the planned orders as committed. Why is this happening ?
    I also checked in CO09 for the Component Material C, and it says ATP Qty is only 1. I expected the system would allocate that stock 1 to one of the Orders but it seems to be not working as I expect.
    Any explanations will be much appreciated and will not hesitate to avoid the points.
    Kind regards,
    Ishara

    Hi DB49,
    Appreciate your reply. Please see the following comments.
    Right now I have been assuming that you have performed an availability check manually for one of the planned orders, and you got the same results (overconfirmation).  Please confirm.
    Yeah I have performed for one order and it gave me the same result.  Also, when I perform for the 2nd Order, it allocates the quantity.
    OK, basic things you should already have checked:
    You have maintained the checking rule for planned orders (OPPQ or OPPR)
    You have maintained the ATP group for the materials (OVZ2)
    You have assigned the ATP group to the Material Master of the components (MM02)
    You have maintained the scope of check according to the rules you mentioned earlier (OPPJ).
    You have no planning strategy in the component material that would have invoked a special ATP.
    I checked everything apart from point 2 (OVZ2). I have maintained that via MRP Group and that MRP Group has been linked to Master Data (MRP 3)
    Really appreciate your support in this.
    Kind regards,
    Ishara

  • MRP is conflicting with Sales order requirement Qty and date

    Hi experts,
    We have below scenario:
    Material has the stock 100. It has reorder point 3 and MRP type V2 (Automatic reorder point with external requirements) and planned delivery time 10 days.
    MRP run creates purchase requisition whenever the stock falls below reorder level or/and based on customer orders requirements.
    We created first sales order for Qty 80 and delivery date 03/01/2012.  Qty 80 is confirmed against this sales order.
    We created second sales order for Qty 50 and delivery date 01/31/2012. Now remaining Qty 20 is confirmed against this order. So we have requirements of 30 Qty for this second order.
    When we run MRP, it supposes to create Purchase requisition for Qty 33 (30 + 3) including reorder point (3 Qty). As the delivery date for this order is 01/31/2012 and requirement Qty is 30, and planned delivery time is10 days, MRP run should create purchase requisition. But it is not creating.
    If I change the planned delivery time to 30 days, it is creating purchase requisition. It is considering sales order delivery date of First order (delivery date: 03/01/2012), but not for second order (delivery date: 01/31/2012).
    So MRP is conflicting with Sales order requirement Qty and date.
    Appreciate your help in this regard to resolve the issue
    Thanks,
    Srini

    Hi,
    We are using manual reorder point planning with external requirements (V1)
    Thanks,
    Srini

  • User exit/ badi needed for planned order create/change,collective ATP check

    Dear All,
    I'm looking for a user exit/ badi which can be used for planned orders at the stage of
    mass collective availability check (COMAC tcode) update; or at some other relevant stages of mass update of planned orders.
    I need after collective availability check to perform the following:
    1) to copy date from "total comitment" field on header tab of planned order and paste it (replace old date) to order finish date on header screen
    then
    2) to start a scheduling.
    Very appreciate your help.
    Best Regards,
    Andrey
    Edited by: Andrey Kruglov on Apr 15, 2010 3:06 PM
    Edited by: Andrey Kruglov on Apr 15, 2010 3:07 PM

    Dear,
    Use the BAPI : BAPI_PLANNEDORDER_CHANGE
    Or use the function module MD_SET_ACTION_PLAF for Schedule planned order.
    and the transaction MDAC Execute action for planned order
    This function module includes the following actions:
    Explode BOM
    Explode BOM, check availability
    Check availability, only explode BOM in the case of a requirement
    Check availability, do not explode BOM
    Reset availability
    Change planned order data
    Schedule planned order
    Delete planned order
    Assign the key for the respective action control to the materials in the material master (MRP 4 view).
    Please refer this thread,
    Re: MDVP for collective orders
    Regards,
    R.Brahmankar

Maybe you are looking for

  • Subsequent delivery free of charge

    Dear Friends, I had processed subsequent delivery free of charge,with reference to a sale order. in the sale order the material  has the basic price. when i processed the subsequent delivery free of charge document,both item and header condition is b

  • Itunes wont launch on windows xp pr

    i have itunes downloaded on m computer but when i click on the desktop icon the computers appears to begin opening it, but then nothing happens. This has been an issue ever since i got my nano in January. I don't know what to do any help would be app

  • View image from an angle

    Using CS5, is there a way to turn an image "away" from the viewer as if one was looking at it at an angle? In other words, the left side would get farther away and the right side would get closer. thanks

  • Clear or write all buffers, like complete restart of transaction

    Hi all, I have a (web dynpro) app with a button that calls some BAPIs and some COMMITs. It works fine, but when I use this function twice for the same data within one session, then it dumps at the second time (because of a nested perform_on_commit er

  • Increase of Field length. & vendor data @ sales documents

    Dear all, a. I want to increase the Sales employee - Remarks (field) length from 50 characters to 200 characters. Can we increase the length of standard field's without using SDK? If yes, tell me how to do? b. I am creating 2 UDF's @ marketing docume