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

Authorization for Project Version.

Former Member
0 Likes
335

Dear Friends,

I am working on cProjects 3.0-PLM. We are trying to provide authorizations for the versions of the projects that are already created. Currently, the authorization for the versions is ineherited from the project that is available at the time of creating the version. Is it possible to add authorization for the existing versions to other users who are newly added to the project? If there is any way to do it, please help me out.

Regards,

Vanitha. G

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Likes

Hello Vanitha,

Just try the following, I havent tried it but I think it should work,

You need to write a program in which

1) get all the project version GUIDs then

2) you need to call a BAPI named 'BAPI_BUS2172_SET_AUTHORIZATION'

it has 2 input parametres

a. GUID : input all the project version GUIDs for which you want to set authorizations.

b. is authorization : It is structure you need to create a structure (say test ) in which you need to define 3 parameters as follows,

1.authorization_holder_type = auth_holder_user

2.authorization_holder_key = user (to which you want to assign authorization)

3.authorization_activity = set_auth_admin.

3) after this in same program you need to call a BAPI named 'BAPI_CPROJECTS_COMMIT_WORK' which will commit the authorization.

I hope this should work.

with regards

Rahul Sharma

Former Member
0 Likes

Hi Rahul,

This does not work. I already tried this out.

Regards,

Vivek Pandey

former_member201206
Active Contributor
0 Likes

Hi Vivek,

From technical view, it might be possible to update the ACO* table to add additional user to the version. But I really not recommend you to do that. To create a new version is a essential better way to get it.

Kind regards,

Zhenbo

Former Member
0 Likes

Hi Vanitha,

You cannot add any data to a versions. They are 'read- only'. I had tried adding authorization data to a version using a function module, but no luck!

Regards,

Vivek Pandey