2009 Jan 28 7:52 PM
Working with cFolders, I've written a function module that creates a status profile with statuses for use in a collaboration. The status profile, several statuses and status transitions are being successfully created. I am adding user group and role authorizations to the status profile using cl_cfx_api_authorization->set_authorization.
I am trying to add user group and role authorizations to a couple of the statuses as well but that isn't working for me. I'm trying the same set_authorization call as above but I get an error back saying the object doesn't exist. The message gives me the ID for the status which does exist in the cfs_status table. In stepping though the code it doesn't appear that this method works with statues. I have used it successfully with collaborations, work areas, and status profiles that I've created.
Does anyone know how to add user group and role authorizations to a status? Or could someone point me to some documentation? I'm having trouble finding anything on the cFolder related classes and function modules.
Thanks
Terry
2009 Feb 19 6:33 PM
Answering my own question in case anyone is interested, according to SAP at this time there is no api call for adding authorizations to the status or status transitions of a status profile. This has to be done through the user interface.
Terry
2012 Mar 27 8:25 AM
Hello Everyone,
The statement that,
According to SAP at this time there is no api call for adding authorizations to the status or status transitions of a status profile. This has to be done through the user interface.
still holds good? Has anyone tried setting authorizations for cFolder?
Ganapathi