on 09-26-2008 7:51 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Have you solved this issue as I'm aslo facing the same issue?
Please assist. If cannot why its not doable?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.