on 2007 Dec 07 12:31 PM
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
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.