04-18-2007 9:29 PM
Hello,
Could you please tell me how to restrict authorization to a logical message type such as HROT_UM? I am trying to give the users access to WE05 but restrict them from displaying message type HROT_UM or any HR message types.
Your help is greatly appreciated.
Marlin
04-18-2007 10:07 PM
Marlin,
Try to insert A-HQ, HS-Z , 0-9 in the Message type (EDI_MES) for the auth object S_IDOCMONI, here we are just excluding all the values that start with HR. This will not give the users access to HR messages, but will give access to every other message type. Hope this helps. Award points if u find this helpful
Regards,
04-18-2007 10:07 PM
Marlin,
Try to insert A-HQ, HS-Z , 0-9 in the Message type (EDI_MES) for the auth object S_IDOCMONI, here we are just excluding all the values that start with HR. This will not give the users access to HR messages, but will give access to every other message type. Hope this helps. Award points if u find this helpful
Regards,
04-19-2007 8:01 AM
Hi Marlin,
One of the main Authorization Object that gets pulled into role is:
<b>S_IDOCMONI </b> with the following fields:
ACTVT Activity
EDI_DIR Direction for IDoc
<b>EDI_MES Message Type</b>
EDI_PRN Partner number
EDI_PRT Partner Type
EDI_TCD Transaction Code
The values entered in EDI_MES are permitted message types. So just use the following combination to restrict the user from displaying HR message types.
EDI_MES----> A* to HQ, HS to Z, 0 to 9*.
Hope it helps.
Please award points if it is useful.
Thanks & Regards,
Santosh
04-19-2007 4:13 PM
Hi Naveen,
Thanks for the quick response! It was very clever and helpful. Points awarded.
Thanks,
Marlin