Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_USER_CHANGE and login/password_change_waittime

Former Member
0 Kudos

Hallo.

In our system, we have:

login/password_change_waittime=1

We want to use BAPI_USER_CHANGE to update productive password for the user.

I have som problems about this.

Does BAPI_USER_CHANGE follow the rule about the password, so login/password_change_waittime too?

Could you help me?

Thanks.

Mario

1 ACCEPTED SOLUTION

former_member212713
Contributor
0 Kudos

Hi Ferruccio;

I'm using this BAPI. It's very fine working. It's update password immediately.

Best regards.


  GV_PASSWORD2 = P_PASSWORD .
  CALL FUNCTION 'BAPI_USER_CHANGE'
       EXPORTING
            USERNAME  = P_USER
            PASSWORD  = GV_PASSWORD2
            PASSWORDX = 'X'
       TABLES
            RETURN    = GT_RETURN[].
 LV_PASSWORD = GV_PASSWORD2.

3 REPLIES 3

former_member212713
Contributor
0 Kudos

Hi Ferruccio;

I'm using this BAPI. It's very fine working. It's update password immediately.

Best regards.


  GV_PASSWORD2 = P_PASSWORD .
  CALL FUNCTION 'BAPI_USER_CHANGE'
       EXPORTING
            USERNAME  = P_USER
            PASSWORD  = GV_PASSWORD2
            PASSWORDX = 'X'
       TABLES
            RETURN    = GT_RETURN[].
 LV_PASSWORD = GV_PASSWORD2.

0 Kudos

Yes but it update the password to initial.

So the user needs to change password at his first login.

Edited by: Ferruccio Galli on Dec 16, 2011 2:23 PM