cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Authorizations for Project definition in cProjects

Former Member
0 Kudos
118

I want to understand how to find out the users entered under Authorizations in Project definition. I want to relate the project definition and the users entered under the authorizations.

Accepted Solutions (1)

Accepted Solutions (1)

schneidertho
Product and Topic Expert
Product and Topic Expert
0 Kudos

the bapis for object type bus2172 will give you this information.

cheers

thorsten

Former Member
0 Kudos

HI thorsten,

thanks for your reply. Basically I am looking for something that could return the users who have been already assigned authorizations for a project definition. For example let us say that user "XYZ" has been assigned "Read" authorization for a project "ABC". I would like to understand which BAPI could return "XYZ" by providing the input "ABC".

thanks again

Former Member
0 Kudos

Hi Annatharam,

<b>BAPI_BUS2172_GET_DETAILS</b> takes the project GUID as the input and returns the table <b>ET_AUTHORIZATION</b> with the username and the authorization that the user has.

Eg if user XYZ has read authorization the BAPI will return

et_authorization-AUTHORIZATION_HOLDER_KEY = XYZ

et_authorization-AUTHORIZATION_ACTIVITY = AUTH_READ

In order to get the project GUID from project number, use <b>DPR_GET_GUID_BY_ID_FROM_DB</b> for object type DPO

Regards,

Reema.

<i>Pl. award all useful answers.</i>

Answers (0)