cancel
Showing results for 
Search instead for 
Did you mean: 

Authorization based on MRP Controller in the PR

Former Member
0 Kudos

Hi All,

I want to restrict authorization of PR creation and list of the PR based on MRP controller.

For e.g. User X can only create PR with MRP controller A in PR. He can not create PR with any other MRP controller.

And He can only display PR with MRP controller A.

I have tried to put object M_MTDI_ORG on the authorization but it's not working.

Thank you for your help....

Cheeryl

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member204661
Contributor
0 Kudos

Hi,

The below information was available when I searched for this ..

If you mean restricting which MRP controller codes can be entered in PReq on the "Contact person" tab, then the BAdI ME_PROCESS_REQ_CUST, method CHECK can suit you.

Call the method IM_HEADER->GET_DATA to obtain the PReq doc. type in RE_DATA-BSART.

Call the method IM_HEADER->GET_ITEMS to obtain the PReq items in its parameter RE_ITEMS. Then call loop through the items in RE_ITEMS and call RE_ITEMS->GET_DATA to obtain the item data in its parameter RE_DATA.

Check RE_DATA-DISPO and set the exporting parameter CH_FAILED if you want to prevent the PReq to be saved.

Please see if this helps you.

Thanks

Shailesh

Former Member
0 Kudos

Hi ,

Have you solved this issue as I'm aslo facing the same issue?

Please assist. If cannot why its not doable?

Thanks