cancel
Showing results for 
Search instead for 
Did you mean: 

How to restrict creation of auto PR (via MRP) or manual PR on basis of requisitioner?

ravi_jadhav
Participant
0 Kudos

Dear experts,

My requirement is that suppose a person has to create PR for Material code 123 (either manual or auto), system should check whether the person belongs to department (requisitioner) say MECH.

The system should allow creation of PR for that particular mat code only if the person user ID is mapped to requisitioner MECH.

How can I achieve this in standard system. I guess it will require creation of a customised table for combination of Plant User ID & Requisitioner.

Though not so sure. Please guide.

Is MRP controller involved in this in any way?

Accepted Solutions (1)

Accepted Solutions (1)

ravi_jadhav
Participant
0 Kudos

I guess we need to create a Z table with data as Plant Requisitioner User ID & date, then via Badi with help of Abaper we can mapped this table data into PR.

But how can we restrict it for just a single plant in a particular client?

former_member183424
Active Contributor
0 Kudos

It is also possible to restrict it just for a single plant, you just need to consult with your ABAPer. Tell him your requirement and logic and he will write the code accordingly.

A BADI and User exit is just a coding. It will work as per your coding, you just need to write the code.

Answers (1)

Answers (1)

former_member183424
Active Contributor
0 Kudos

In standard, Requisitioner/Requester is a free field, there are no impact for this field for other data.

I don't think there are any standard workaround for the validation as per your requirement.

You may need to create a Z table, where you will assigned the user id along with Requisitioner.

Then write the logic by using this badi ME_PROCESS_REQ_CUST.

ravi_jadhav
Participant
0 Kudos


Thank you Dibyendu