on 10-01-2013 5:10 AM
Hello Srinu,
The error you see is not related to the PI system, but to authorizations in the target, receiver system where you call BAPI_USER_UNLOCK. Please check which user is specified in the receiver communication channel in PI for this scenario (the user that is used by PI to connect to the receiver system) and ensure that it has sufficient authorizations (precisely, referring to the authorization error you receive, for the authorization object S_USER_GRP).
Regards,
Vadim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Srinu,
Can you please check input that is passed to BAPI_USER_CHANGE? From the error you receive, I would assume that you may pass values to be changed, but do not set change relevant flag for them. In your particular case of the password change, please ensure that following import parameters are filled when calling the BAPI:
USERNAME - user ID
PASSWORD - new password
PASSWORDX - set its value to 'X' (default value - space) in order to notify BAPI that change for the parameter PASSWORD should be processed
Regards,
Vadim
Hi Srinu,
First of all i recommend to follow Vladim suggestion. However, if you want other tip about the SAP lock/unlock users, this situation is only a value in the USR02 table, you can do a Z RFC to update the value UFLAG in this table to initial, in order to unblock the user. The key in this table is the user logon.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.