Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

User Role Management

Hi expert,

i'm workin with cfolder and i'm tryng to add a selected role to many different users, usingonly function modules (without SU01 transaction).

I use the FM 'CFX_API_USER_CHANGE' to do this.

Here is my probelem:

if the user to update is already a CFX user (has got at least one cfx-role) .... the function works perfectly: i can add another different cfx-role role to this user;

On the other hand, when a user is already existing but is not a cfx user (does not have any cfx-role already assigned), the function 'CFX_API_USER_CHANGE' raises an exception (E_FAULTSTRING = USER_NOT_CFX) and does not let me add the role to this user.

is there any method to update the roles of a user via function modules?



Fabrizio Gemma

Edited by: fabrizio gemma on May 7, 2009 12:09 PM

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question