on 06-19-2012 11:47 AM
Hi all,
There is an issue with the user exit key used for the MRP controller wise MRP run. We 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 of the variant. But after the MRP run, I noticed that even the materials which was not included in the variant was also planned and generated the procurement proposals. We expect only those materials with the assigned MRP controllers in the variant will be planned. Please advice.
Regards
Brijesh
Hi Brijesh,
You will need the help of ABAP consultant to do this activity.
Ask him to write a small code.
You need to go for enhancement M61X0001 with function al modules EXIT_SAPLM61C_001.
Coding infomation Jeevan had provided.
In Transaction, MD01 running MRP on plant like - there user exit below.
There you need give your MRP contoller name like 001, all materials under MRP controller 001 will be only planned.
This exit works parameters like MRP controller or MRP Type or Material group.
I had used this exit in one of my project for MRP type and MRP contoller.
Hope it is useful.
Regards,
Srinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm not sure if you can give user exit parameters as L01, L06, L1P, etc. I suggest you to give only one MRP controller code and run MRP and see if it works.
You may be able to give multiple MRP controllers separated by commas only if the ABAP code in the enhancements must be written to support that feature, which is why I asked your look at the code logic.
Dear Brijesh,
If my understanding is correct,then setting the user exit key and mentioning the MRP controller's by
using a "comma" will not work .I faced this issue in one of project and I would suggest you to
check by creating a MRP controller specific variant and re run MRP and check the impact.
Regards
Mangalraj.S
Hi Mangal,
We found the problem with our developer. Actually there was a bug in the program.In the logic, the user exit key was not considering the MRP run via background. Only in foreground (MD01), it was working fine. We corrected the bug now. It is working fine now for the MRP background job as well. Thanks all for your suggestions.
Regards
Brijesh
Go to the function modules mentioned by Alok, EXIT_SAPLM61C_001 and EXIT_SAPMM61X_001 (through SE37) and in them you'll find ZX series includes double click on it and look at the ABAP code.
It should be similar to what I mentioned in the thread below:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You need to go for enhancement M61X0001 with function al modules EXIT_SAPLM61C_001 and EXIT_SAPMM61X_001 and you can define parameters like MRP controller, MRP Type,Material group etc.
Regards,
Alok Tiwari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
probably you have a job with programm RMMRP000 without user exits running.
BG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.