cancel
Showing results for 
Search instead for 
Did you mean: 

Importance of Profile of a User in any Application

Former Member
0 Kudos

Hi,

I have been working on some MI applications,

I want to ask a question related to the Profile assignment to a user (R3 user which is used as MI user)

Why do we create & assign a profile to a user?

what is the need though we specify all the authorizations to the user in R3 while creating the user and assigning Roles to it?

Does Profile do anything related to the authorization?

What if I dont create a profile and run the application with that user?

We can take reference of MAM application, on which I am working currently,

I need to create the Order Profile, Confirmation Profile and so on....

what if I dont create....?

Please Comment..

Thanks in advance

Deepak

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hii deepak & frank,

i m new to MI and i m also having the similar need. In my case i need to do dynamic filtering of data based on user profile. if a user login through his id he should get the data which is relevant to his profile only.suppose if there are number of field technicians and they r covering different loctions then once the technician logon through his id he should get the data relevant to his working location.

can u please help me out on how to do custumisation for this.

thanks in advance.

Former Member
0 Kudos

Hello Deepak,

i'm nor sure if i unserstand your question.

On the Middleware server the user needs the rights to synchronize. So you must assign him a profile which contains this rights(Authority Object S_ME_SYNC and S_RFC for the authority to execute some synchronisation funtion modules). What authority the user needs on the backend depends on the application and the settings of the RFC-Destination for the backend. If you are using a service user in RFC Destination only the service user needs the backend authority's for the authority checks in the executed function modules.If you are using trusted systems in the destination the synchronisation user needs the authority's which where checked in the executed backend function modules.

The order and profile management im MAM has nothing to do with sap authority profiles. With this MAM profiles you manage which data should be transfered to which user via synchronisation.

Regards

Frank

Former Member
0 Kudos

thanks Frank,

if I am getting you right,

You mean that the R3 authorizations(S_ME_SYNC, S_RFC) are only to enable the user to synchronize with MI Server.

But after synchronization what data is needed by the client depends upon the profile assigned to him.

Is the above statement correct?

Secondly when we create a profile nowhere we mention the function modules (MAM related) or tables containing data,

then how do the profile decide which all data should be allowed to this particular user...

Am I making sense?

Please clarify...

Deepak

Former Member
0 Kudos

Hello Deepak,

lets stay at the example MAM,i know you are actually working on it;-). The profiles(for example Order Profile) mentioned in the MAM configuration guide has nothing to do with SAP authority profiles.It is the customizing of the MAM application. You can descide which data should be transfered to which MAM user with it.

First to the authority profiles(not the MAM profiles):

The MI-user must have the authority to sync to the Middleware. So you must assign him a profile on the MI Server. Here is the link how to do it:

http://help.sap.com/saphelp_nw04/helpdata/en/25/33533dc1c0b60fe10000000a114084/frameset.htm

From the Middleware backend function modules are called.

These function mudules always have authority checkes. For example: Creating a order via MAM calls FM

MAM25_001_CREATE at the backend. Inside this module other function modules are called which also checks if the user has the authority to create orders on the backend. So the backend-user(service user or synchronisation user) must have the backend authority to create orders.

The MAM profile only manages which data should be transfered to which MAM user. For that you create MAM scenarions which include profiles(selection of data) and assign it to the different MAM users.

It has nothing to do with SAP authority profiles,it is customizing.

Regards

Frank