02-13-2008 5:58 AM
Hi All,
Acc. to security policy here, password expiration warning should start coming up 10 days before the password expires.
How can i implement password expiration warning messages in SAP.
I am using NW04 here.
I guess there is no parameter for that.
Please help me in this .. how can i do this??
Thanks
Tajinder
02-13-2008 7:56 AM
There is no standard SAP to do this.
What you could do is search for a user exit during the logon routine.
The routine looks in USR02 for BNAME=SY-UNAME (name of user logged in)
Compare the last date they changed their password (field BCDA1) with the current date (SY-DATUM) to give you number of days since password changed
If the number of days is > 10 difference between that and the mandatory expiration date (set in profile parameter) then do nothing.
If days =< 10 days then trigger a popup (various methods like function module TH_POPUP)
You will need to find an appropriate user exit but the rest of the logic is sound
02-13-2008 7:56 AM
There is no standard SAP to do this.
What you could do is search for a user exit during the logon routine.
The routine looks in USR02 for BNAME=SY-UNAME (name of user logged in)
Compare the last date they changed their password (field BCDA1) with the current date (SY-DATUM) to give you number of days since password changed
If the number of days is > 10 difference between that and the mandatory expiration date (set in profile parameter) then do nothing.
If days =< 10 days then trigger a popup (various methods like function module TH_POPUP)
You will need to find an appropriate user exit but the rest of the logic is sound
02-14-2008 10:12 PM
I'm sorry to tell you: such a feature is (up to now) not implemented.
If you consider this as important feature then you might want to submit a feature request to SAP. Chances for an approval are higher the more fellow supporters you're able to find.
Cheers, Wolfgang
03-02-2009 1:25 PM