Posted: Sun Nov 25, 2007 2:17 am Post subject: Prevent from resetting certain user's expired passwords
Prevent SAP from resetting certain user's passwords when they expire
Code:
REPORT ZNORESET.
************************************************************************
* This little program prevents certain users from being forced to change
* password, whenever their old password expires. It is particularly
* useful for dialog users, whose password has to remain the same, like
* the internet users. The program also fixes a user, if the password has
* already expired. It should be scheduled to run from batch every N days
* (N less then login/password_expiration_time)
************************************************************************
TABLES: USR02.
SELECT SINGLE * FROM USR02 WHERE BNAME = 'QQQ1'.
USR02-BCDA1 = SY-DATUM.
USR02-LTIME = '000001'.
UPDATE USR02.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG. SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG. Every effort is made to ensure content integrity. Use information on this site at your own risk.