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: 

how to restrist access for a message type

Former Member
0 Kudos

how do we 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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

yes thats true . It will not allow access for message types with starting with HR.

You can go to authorizations tab in the role and open it in change mode and click on the Expert mode for profile generation button on bottom left corner of the screen

.When you enter the authorizations screen you will find S_IDOCMONI object under BC_Z object class. when you click on the + sign besides the object on left side all the fields get populated.Click on the pencil besides message type and enter your values below from and to fields

A* HQ*

HS* P

R* T*

**Reward suitable points if useful

5 REPLIES 5

Former Member
0 Kudos

yes thats true . It will not allow access for message types with starting with HR.

You can go to authorizations tab in the role and open it in change mode and click on the Expert mode for profile generation button on bottom left corner of the screen

.When you enter the authorizations screen you will find S_IDOCMONI object under BC_Z object class. when you click on the + sign besides the object on left side all the fields get populated.Click on the pencil besides message type and enter your values below from and to fields

A* HQ*

HS* P

R* T*

**Reward suitable points if useful

0 Kudos

thanks muhammad,points r awarded

Former Member
0 Kudos

By using PFCG ->Authorization -> Change Authorization Data ,press ctrl+F and put S_IDOCMONI

after taht click on message type (EDI_MES)

and put values in range A* to HQ, HR to Z, 0 to 9*

save and generate

manohar_kappala2
Contributor
0 Kudos

Hi,

If I have understood your question correctly.

You need to give the below mentioned values as from to

'From' 'To'

A* HQ*

HR* Z*

like the above.

but not always will the program take these values so test to see if its working as per your requirement..

Manohar

Former Member
0 Kudos

Hi renjy,

S_IDOCMONI has the following fields:

ACTVT Activity

EDI_DIR Direction for IDoc

EDI_MES Message Type

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

To do this:

PFCG->Enter into the role>Open Authorizations>Search for object S_IDOCMONI -


> Open the field EDI_MES-> Enter the range mentioned above-------> Save and generate.

Hope it helps.

Please award points if it is useful.

Thanks & Regards,

Santosh