cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

PWDSTATE equal to 255. What does it mean?

Former Member
0 Likes
7,811

Hallo Gurus,

I have a question for You.

In the table USR02 there is a field PWDSTATE. It is quite disturbing but it equals to 255 (sometimes 254). What do these numbers mean?

There are following meanings in the help:

-2 : Password cannot (generally) be changed

-1 : Password cannot be changed today (only allowed once a day)

0 : Password can be changed, but does not have to be changed

1 : Password is initial and must be changed

2 : Password has expired and must be changed

3 : Password must be changed because it no longer meets the new rules

But what about 254 and 255?

Waiting for Your response.

Regards,

Evgeny

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Likes

254 and 255 are the binary compliment numbers -2 and -1, respectively.

Proof:

Find a user with PWDSTATE=255 in table USR02 and choose one.

Then, run function module SUSR_USER_PASSWORD_STATUS_GET with the chosen userid.

You will see PWDSTATE = 1-

PWDSTATE=254 (or -2) is usually for userid that is set up as Service type or System type

(they are not subjected to password change rule).

Hope it helps!

Former Member
0 Likes

no answer

Former Member
0 Likes

254 is set when the ID has been 'unlocked' via SU01

255 seems to be a normal operating state... but so does 0 so I'm not 100% sure on that one

One possiblilty which I have not proved out either way is that it may possibly change depending on whether SSO is used or not.

Former Member
0 Likes

up