Skip to Content

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

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Dec 31, 2014 at 08:09 AM

    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?

    Add comment
    10|10000 characters needed characters exceeded

    • 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.

  • Dec 31, 2014 at 07:36 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded