Skip to Content
Author's profile photo Former Member

MRP: User exit key & User exit parameter

This final section of the planning run parameters requires the use of a standard SAP user exit keys and parameters.  The user exit keys are basically the company specific field used for grouping or planning similar materials for the planning run.  User exit parameters are the actual values found in the field for the given materials.

user exit 1.png

To begin using the user exit key functionality, you must activate user exit M61X0001 with a programming key typically performed by one of your ABAP programmers.  Once activated, you define the key(s) to be used for company specific MRP planning runs.  It affords control of the materials selected for the planning run using your own predefined key and the associated values for the key.  With this user exit, the total planning run of MRP, master production scheduling (MPS), or long-term planning (LTP) can be limited to materials that meet the predefined company specific criteria.

Typical examples found using the user exit key and parameters to plan like materials are:

  • MRP Groups,
  • MRP Controllers,
  • MRP Types,
  • Material Types,
  • Procurement Types

user exit 2.png

Once the user exit key is activated, you are then able to select the given keys from the planning run transaction of MDBT as an example.  Then you identify the user exit parameters for the planning run.  These parameters should be values from the fields contained within the material master.  This affords materials to be planned together based upon the material master field defined.

For example, when setting up plant 0001 for the planning run, we may want all raw materials to be planned separately from all other material types in use.  Assuming all raw materials (ROH) are externally procured, we can set procurement settings specific to these material types.

user exit 3.png

For other material types for in house production, we would set a different planning run variant specific to semi-finished (HALB) and finished goods (FERT) materials.

user exit 4.png

This is a nice enhancement to use for your planning run to allow you plan materials within certain groups under a plant or even using the scope of planning.  This way you can have different settings for each group based upon the particular needs of your organization.  You get additional control you’re your planning run without much additional cost from both programming and configuration.

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Gaurav Chopra
      Gaurav Chopra

      Nice Blog.

      Thanks for the information.


      Author's profile photo Former Member
      Former Member

      Thanks a lot for the info,



      Author's profile photo Vivek Malik
      Vivek Malik

      Good information specially for beginner .

      I am trying to search functional module M61X0001 in T-code SE37, but it does  not exist.

      Please suggest...

      Author's profile photo Deepak Jharkharia
      Deepak Jharkharia

      Hello Vivek,

      Goto SMOD and type M61X0001 and click on display components.Now you will see FM's of M61X0001.


      Author's profile photo Vivek Malik
      Vivek Malik

      Thanks a lot...

      Author's profile photo Aditya S
      Aditya S

      Hi Michael,

      Good Document and useful one. Thanks for the blog.

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      You are welcome.  If you like to find out more information, follow my blog as well at:

      Author's profile photo Vivek Malik
      Vivek Malik

      In last screen shot MRP Run has done for  material type FERT & HALB.

      what changes has to be done in below program, so that MRP Run for two material type can be done as per last screen shot.

      In Functional module of M61X0001

      MRP Run for  Material type-004 (user exit key)

             WHEN '004'.
             l_dismm = uxpar+0(4).
             IF l_dismm IS INITIAL.
             IF mt61d-dismm <> l_dismm.      
               no_planning = 'X'.

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      @Vivek: I am not a programmer, so the exact code I am unable to provide.  I would imagine you can find that out here on SCN or SAP Notes for M61X0001.