cancel
Showing results for 
Search instead for 
Did you mean: 

MRP run with MD01 by using user Exit

Former Member
0 Kudos

Hi all,

There is an issue with the user exit key used for the MRP controller wise MRP run with MD01. We tried to run MRP for the plant with the user exit for MRP controller wise selection of materials. I have given the required MRP controller values in the selection screen. But after the MRP run, I noticed  the proposals(purchase Requisition) are not created  for  the materials which was  happening with Manual MRP Run with MD02 & MD04.please help us  in this regard and the needful information follows

Regards

Lakshmanna

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Dear Jeewana,

Thanks for the quick response

Actually we are running MRP run based on MRP controller for certain Materials of  one materiel type.

The same coding has been used for Both exits

Please have a look at my intial attachment for MRP data / Exitkey config/Exit code / MRP Run details for further information

Regards

Lakshmanna

JL23
Active Contributor
0 Kudos

execute MD01 with material list and see if the materials listed all belong to MRP controller 002

And maybe you even see an entry for the material that you expect to see.

As your code is 100% identical to the delivered SAP example you either have the exit not active, entered Ooos instead of zeros or vica versa (does not match the controller)  or the stock situation does not require new requisitions

Caetano
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

Please observe that, even with this user-exit implemented, MRP will select the materials to be planned according to the planning file.

That means, if you are running MRP with key NETPL or NETCH, your materials will only be planned if the respective planning file entry is checked, even if they belong to the MRP controller given on the selection screen.

If you want to ensure that all the materials from this MRP controller will be planned, try again using keu NEUPL.

Otherwise, check on MD21 if the planning file is correctly created and checked for the material that was not planned.

BR

Caetano

Former Member
0 Kudos

Hi Jurgen,

I also tried with material list,no proposals are created and also taken care of Zeros while selecting user exit key & parameter values.The stock values are also verified. while running with MD01 using user exit key by MRP controller based

But the proposals are creating with Manual run with MD02 & MD03 .please have a look at my attachment about the MRP Data maintained and suggest the same

Regards

Lakshmanna

JL23
Active Contributor
0 Kudos

Have you checked what Caetano replied?

add a screenshot of your MD04 and MD05 transaction

Caetano
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

A screenshot from MD21 would also be useful. See question 1 of WIKI How to check possible causes if MRP does not create any proposals - ERP Manufacturing (PP) - SCN Wik...

BR

Caetano

Former Member
0 Kudos

Hi Caetano,

Thanks a Lot, it has worked now.

1) MD01-MRP Run with processing key NEUPL has given proposal for some materials

2)Checked & found with MD21 found that palnning file for the respective material

3) created the planning file with MD20 for the respective material

4)MD01 MRP Run with NTECH and User Exit key/ parameters successfully provided the PR proposals

Jurgen &  Caetano Thanks for your inputs, it has helped me to resolve my issue

Regards

Lakshmanna

Caetano
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Lakshmanna

Thank you for the feedback.

One more advice, since the planning file was not created for this material, maybe you should run transaction MDAB, in order to make sure that the planning file entry exist for all the materials (/you don't need to run it periodically, just once is enough).

Also, if the issue has been solved, please close this thread.

BR

Caetano

JL23
Active Contributor
0 Kudos

there are actually 2 exits:

EXIT_SAPLM61C_001

EXIT_SAPMM61X_001

one for normal run, the other to run parallel

Make sure you have the same coding in both exits.

Further make sure that your exits are activated, see OSS note 208025

Former Member
0 Kudos

Hi Lakshamanna,

There's a very less possibility of this to happen if you have implemented the user exit correctly. From the user exit system will pick some set of selected materials then it will run the MRP as normal. Check the user exit again and verify it will do the material selection correctly.

If it is correct material master data of the materials (ie: procurement type, MRP type etc) which PRs are not getting created. Please update the forum if you have new findings.