Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict access to an Idoc message type

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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,

3 REPLIES 3

Former Member
0 Kudos

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,

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Naveen,

Thanks for the quick response! It was very clever and helpful. Points awarded.

Thanks,

Marlin