MRP - User exit key

Hi Gurus,
I have coded in user exit: M61X0001 which do some checking for MD01 - MRP for Collective items and I want this checking also can be applied to MD03 - MRP for Single item. I would like to ask if it is possible to use "User exit key" in transaction: MD03 - MRP for single item?
Another question:
I would like to control the stock level by certain criteria. Let say, total planned stock from MRP for a material cannot exceed certain limit set by a company.
eg.
Material XYZ - Overall qty can be order for 3 plants below set by company = 5 pcs
If MRP run by plant individually, I will obtain the following result:
Plant A - MRP planned for 2 pcs
Plant B - MRP planned for 2 pcs
Plant C - MRP planned for 2 pcs
How to prevent only 5 pcs being order instead of 6 pcs?
Pls advise asap.
Thanks & regards,
Loi

Hi Gurus,
I had defined "Scope of planning" in the Customizing for MRP activity "Define Scope of Planning for total planning".
But when I tried to run the scope of planning through MD01, the system prompt me with error message - "Please check the destinations for parallel MRP", pls advise for the solution.
If group together several plants (let say, plant 1010, 1011, 1020, 1030) under one MRP run (scope of planning = Z01), is that means I will only get one planning output that group under Z01? Pls advise.
Thanks & regards,
Loi

Similar Messages

  • MRP Run with User Exit key for Follow up material

    Dear Gurus,
    I want to run MRP only for followup materials by using User exit key. For example i have a material X(with discontinued Indicator as 1) and it's follow material is Y.
    So we have a user exit key as ZFL, with coding as shown below. Now when i run MD01 with user exit key ZFL and parametre as 1, it only runs MRP for material X and not for material Y. What else we need to do so that when i run MD01 with user exit key ZFL, it shoudl consider both X and Y. 
    WHEN 'ZFL'.
    DATA : BEGIN OF ITAB5 OCCURS 0,
    KZAUS LIKE MT61D-KZAUS,
    END OF ITAB5.
    TRANSLATE USER_PAR TO UPPER CASE.
    SPLIT USER_PAR AT ',' INTO TABLE ITAB5.
    IF ITAB5[] IS INITIAL.
    EXIT.
    ENDIF.
    CLEAR: NO_PLANNING, STOP_PLANNING.
    READ TABLE ITAB5 WITH KEY KZAUS = MT61D-KZAUS.
    IF SY-SUBRC <> 0.
    NO_PLANNING = 'X'.
    ENDIF. 

    Hi Kumar,
         You can use either MRP Type, MRP Controller, MRP Group in this user exit to control the MRP run. For these set of Materials you have to assign any of same value or at least differentiate these material from other material. Then only you can control the MRP by using this user exit even though if you use different MRP Group and MRP Controller. In User Exit, you may have to add your dependent material's MRP Group/MRP Controller. Make sure that these set of materials are different than all other materials.
    If you don't have any plan to run MRP for other materials then as per Ajit suggestion you make that material's MRP type as "ND". But, in your business case they may want to activate the MRP for all the material not now but may be latter.
    Thanks

  • Problem in MRP planning with user exit key

    Hi All,
    I have a requirement like this..
    we have 1000 FG in our plant.. out of which they want to plan only 250 FG's through MRP run collectively...when they do MRP run system should plan  only these 250 FG's and also down level materials ( components ) of these 250 FG's ..
    So I proposed to use user exit key in MD01 screen by activating user exit M61X0001 and these 250 FG 's are identified with a separate MRP group in material master and developed enhancement..
    But when I do MRP run in MD01 with this user exit key,  system only planning those 250 FG's but not planning down level materials or components of these 250 FG's.. is this standard behavior.. can somebody guide me how solve this issue..
    Thanks
    Kumar

    Hi Kumar,
         You can use either MRP Type, MRP Controller, MRP Group in this user exit to control the MRP run. For these set of Materials you have to assign any of same value or at least differentiate these material from other material. Then only you can control the MRP by using this user exit even though if you use different MRP Group and MRP Controller. In User Exit, you may have to add your dependent material's MRP Group/MRP Controller. Make sure that these set of materials are different than all other materials.
    If you don't have any plan to run MRP for other materials then as per Ajit suggestion you make that material's MRP type as "ND". But, in your business case they may want to activate the MRP for all the material not now but may be latter.
    Thanks

  • MPS with MCI user exit key

    Hi,
    What all things to take care for MPS with MCI user exit key??
    The requirement is -we need to run MPS for few material s in a plant (distribution). Can we do that by assigning diff MRP controller into those materials for whcih we need to run MPS.
    Regards
    Dinabandhu

    Using the user exit you can write your own way of requirement. Any required combination is possible.

  • MRP user exits

    hi
    the "fix qty / date" indicator in the Sale order will determine if the MRP run should consider the unconfirmed Saler order or not.  But this we need to alter on a case to case basis. 
    what i'm looking at is " are there any user exits to modify this Fix qty / date indicator before and after the MRP run.
    regards
    Joe

    You can do using the MRP user exit.

  • MRP User Exit/BAdI for changing plant stock

    Hi,
    I have a client who is wanting to add consignment stock to plant stock during the MRP run for materials with a certain material group.
    I need to find an exit or a BAdI which is called at an appropriate time to have a developer code this function.
    Anyone have any ideas? I don't want to make changes to SAP Standard code!
    Thanks,
    Mark

    Hi,
    If am right, you want to consider the customer consignment stock in MRP, if yes then I believe the BADi -> MD_CHANGE_MRP_DATA should meet your need.
    I have not used this BADi, but check with your abaper if the method CHANGE_MDPSX_MARD reads the stock & then the unrestricted stock can be added with customer consignment stock from MSKU.
    Check & revert if the above meets your need.
    Regards,
    Vivek

  • User exit for MRP run - MD01

    Hi All,
    Can i know the use of "User exit parameter" field in MD01. as i know it means if we only want to plan the materials of a certain MRP controller, for example, we can enter the key of the appropriate MRP controller as the parameter.
    in my scenario, we have already incorporated a user exit for MD01 - MRP Run.
    i have 3 MRP controllers, but want to plan for only 2 MRP controllers, then how to enter in that field?
    Regards,
    Ram

    HI,
    User exit are available for Md01 transaction. You can plan material by MRP Type, MRP Controller,MRP Type, Procurement type & so on....
    Once you activate user exit, you can select the same by drill down option in user exit Key field.
    Regards,
    Milind.

  • MRP run user exit

    Dear Experts,
    I want to club more than one material through MRP controller in the MRP run at MD01.will you pl let me know if the exit M61X000 is sufficient,where I have to mentain the DISPO (My MRP Controller Name) so that the relevant materials where this controller is assigned will be chosen.
    Regards
    Reshmi

    Dear ,
    Please find below the set up as mentioned  required for MRP  for those material whaih are under certain MRP controller
    This can be possible with User Exit: M61X000.
    You need to maintain the required Material Types in OMIX.
    Then you can use the Material Type in MD01/MDBT for Planning for specific Material Type.
    Before hand, check the Example code for the Function Module EXIT_SAPMM61X_001 and the documentation for the User Exit.
    Some documentation;
    For example, for each plant, you can define that in the selected plant the system will only plan;
    materials to be planned using MRP procedures,
    materials of a certain MRP controller
    externally procured materials or materials produced in-house
    Requirements
    User exist must be activated in the SAP extension concept. The name of the extension is M61X0001.
    In the documentation for this extension, you will find information on the use of user exits.
    For more information on the extension concept, please refer to the appropriate documentation
    Example:-
    To execute MRP run for particular MRP group you have to activate User Exit.
    1. Create User Exit
    Nav: Production > Material requirements Planning > Planning > User Exit: Material selec
    For ex: Z01 - MRP Group
    2. Create Project using enhancement M61X0001 in Tcode CMOD
    3. Write following code in function module EXIT_SAPMM61X_001 include ZXM61U01
    CLEAR: NO_PLANNING, STOP_PLANNING.
    CASE USER_KEY.
    WHEN 'Z01'.
    UXPAR = USER_PAR.
    CONDENSE UXPAR.
    WRITE UXPAR+0(3) TO DISGR.
    IF DISGR IS INITIAL.
    EXIT.
    ENDIF.
    IF MT61D-DISGR DISGR.
    NO_PLANNING = 'X'.
    ENDIF.
    ENDCASE.
    4. When you want to execute MPR only for MRP group "001", in MD01 select User Exit Key Z01 and MRP group in User parameter.
    5.In MD01or MDBT , Select  NETCH, 1,1,3,3,2  and In user exit tab select the MRP controler as configured based on the above set up.
    Refer : MRP run only for certain MRP controllers
    Regards
    JH

  • Implementing user exits !!!!

    hi can any body please send me the detailed steps to implement user exits in (ecc 5.0) step by step ....process ....how can we use them  in ABAP .....these enhancements...i.e how can i  configure function exit ,menu exit , field exit ..&...screen exit as well as .....
                      thanks in advance ..........

    Hi,
    From PP point of view, the following exit is used.
    For MRP run transaction md01 is used. This is for all the material in the plant.Suppose if we need to run mrp for a particular material type(Eg:PD/VB) then we need to create a key. This key is entered in the user exit key filed in the md01 transaction screen.
    With the help of ABAP we need to write a program for this key with the corresponding enhancement.Then mrp run can be carried out for the particular mrp type.
    From SD point of view, While creating sale order using transaction va01. If you want the sold-to-party to be a default value everytime you create a sale order, then you can use the corresponding enhancement & in cmod transaction can write a program telling sold-to-party as "ABC".
    Whenever you create a sale order ABC will appear in the sold-to-party field.
    Regarding menu exit if you want to add an option or hide an option in the menu then if the enhancement is available you can do it.
    Regards,
    Senthilkumar

  • MD01 - USER EXIT

    Hi Abapers,
             inthe MD01 window (Transaction Code),
    <b>User exit select materials for planning</b> selection part,
    I want to find out where saved user exit keys and where the user exit parameters against the user exit key.

    Hi Nelson,
    Please check this user exits.
    EXIT_SAPMM61X_001: MRP run normal (enhancementM61X0001)
    EXIT_SAPLM61C_001: MRP run parallel (enhancement M61X0001)
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Problem with User Exit parameter in MD01

    I have done the coding for user exit in MD01. But the exit is not being triggered even when the exit key is specified in the selection screen of the transaction.
    I need to control the material being planned and restrict it to type ROH only.
    Please help me... I need to do this fast

    Hi Sultana,
    The user exit key is stored in table T450U. But the user exit parameter is not stored. Instead, it is entered in the selection screen of MD01.
    Also, You can check the following Transaction codes if they help you to solve yor problem:
    MD20 - Create planning file entry
    MD21 - Display planning file entry
    MDAB - Set up planning file entry in background
    MDRE - Check planning file entry
    Hope it helps.

  • User-Exit or BAdI for creating a PR in MRP and in ENJOY

    Dear experts,
    I have the following problem:
    PR are created in 2 ways in our system.
    a) Manually in ENJOY transitions (ME53N)
    b) via MRP run (MD04, MD15,...)
    My request is to fill the field "vendor material number" in the PR with the value of the connected InfoSet  record (if there is one).
    For PRs that are created manually (a) ) I achieved this very easy by using the BAdI  ME_PROCESS_REQ_CUST and the method PROCESS_ITEM. there I read the infoset record and I fill the fields as required.
    Unfortunately the BAdi is not used when a PR is created by using MRP. I then tried to use the user exit SAPLMEWQ with its component EXIT_SAPLMEWQ_001. but as far as I can see this exit is not used in MRP as well.
    Does anyone has a hint for me how I can achieve this functionality for the MRP run as well?
    thanks!
    Alex

    Hi,
    I have implemented the BAdi as you suggested.
    In the method IF_EX_MD_CHANGE_MRP_DATA~CHANGE_MDPSX_EBAN I have set a breakpoint to see if I stop there if I create my PR.
    I have starte a MRP run (report RMMRP000) and then I transferd my planned order to a PR in transaction MD15.
    Unfortunately the PR is created without the program to stop.
    what am I doing wrong? or am I missing something?
    best regards, and thanks for any help!
    Alex

  • USer Exit/BADI  for Purchase requisition creation in MDBT or WC27 /MRP Run

    I am looking for an enhancement where a purchase req is created during MRP Run in the background ( MDBT or WC27 or program - RMMRP000 .
    Any suggestions would be welcome.

    Hi,
    try the exits:
    LMDR2001  User exits restr. profiles of opt. pur.ord.
    LMDZU001  User exits in additional planning
    Regards,
    Renjith Michael.

  • User exit, secondary key

    hi friends,
    1.there r so many ways to find user exit can any one suggest me which is easy and helpful method
    2.will performance increase if we use secondary index r key in select query
    plz explain me with eg code how to assign secondary
    thanks
    regrads,
    soorya

    Hello Soorya,
    Yes there are many ways of finding a user exit...
    One way is go to SMOD and press F4, then select SAP application and then proceed as per your req.
    Second is find out the package name for the transaction and then use SE84, click on enhancement and then enter the package name and execute.
    Third is search the SDN site for user exit and u will come accross a program which will give u list of all exits for a transaction.
    About ur second question, performance increases when the where clause in the select stmt is same as the key (primary or alternate). The database automatically selects the best index based on the its own logic. However u can find out using trace if it has selected the correct index. If you want to force the DB to use specific index then u can use HINT stmt to suggest.

  • BADI or User Exit for scheduling in MRP

    Hello,
    I am searching a possibility to influence the scheduling of planned orders, when they are created in the MRP run. There exists a BADI which is called when creating planned orders manually, but not in MRP. Its name is MD_PLDORD_SCHEDULING
    Does anybody know about such an alternative for scheduling in MRP?
    Thanks in advance
    Roland Böhm

    Hi,
    Check these Enhancements
    LMDR2001 User exits restr. profiles of opt. pur.ord.-based load bldg
    LMDZU001 User exits in additional planning
    Regards,
    Satish

Maybe you are looking for

  • Reflecting updates to a ListCell that contains a mutable object

    Hi, I've seen many variants of this question, but unfortunately have not found the desired answer, so I thought to ask here. Apologies if missing something obvious! Objective: I start individual Tasks in batches. A ListCell reflects each Task, from i

  • Secuential field

    Hi experts! I'm making a new Z table and I need a secuential field in it. Do u know if is there any kind of element in SAP to define a field as auto secuential? It would be somtething like this: 1 2 3 4 5 6 7 Or I have to calculate the value of the f

  • How can I get my third party plugins to work with PSCC?

    I use third party plug-ins from two different companies and they all worked during my PSCC trail period, but now PS won't recognize any of them. I've tried re-installing them using the custom install process, but they still don't work. Tech support h

  • Oracle client do not find the odbc dlls.

    i was trying to connect to sql server through odbc in forms10g using exec_sql. some one told me that ur oracle client do not find the odbc dlls. Can some one guide me how to setup everything so that it start working

  • Numbers sumif formula

    I used the following formula in Excel =SUMIF(I$27:I$105,"=M",H$27:H$105). This formula does not work in Numbers, I have tried a variety searches under help and have looked for books at the bookstores that may add insight to no avail. I anticipate the