As an SAP consultant or administrator, you may be familiar with the DDIC user, which plays a key role in your SAP system. The DDIC user has extensive privileges and is responsible for managing the database and other important tasks. However, there may be times when you need to reset the password for the DDIC user, whether due to security concerns or simply because of a forgotten password.
In this blog post, we will give you a simple guide on how to reset the password for the DDIC user in your SAP system. We will go step by step and show you how to perform this important procedure safely and effectively.
However, before we dive into the details, it is important to note that resetting the password for the DDIC user is a sensitive task and requires appropriate precautions. Make sure you have the necessary permissions and that you understand the impact this operation will have on your SAP system.
Now that we’ve covered the basics, without further ado, let’s dive into how to reset the password for the DDIC user in SAP. Just follow the steps we present and you will be able to restore access to your DDIC user in no time.
REPORT ZPWDDEL. ************************************************** * * * Dieses Programm setzt die Paßworthistorie * * zurück, so daß ein User sein altes Paßwort * * weiter benutzen kann. * * * * 21.09.05 * * Ergänzung für ein verlorenes Passwort * * Mandant = Mandant, wo das Passwort verändert * * werden soll. * * Modify = Hier ein X setzen, wenn verändert * * werden soll. * * Hexpass = Verschlüsseltes Passwort des gleichen* * Users aus einem anderen System * *————————————————* * gefunden im Netz * * Original von:IMRE KABAI * ************************************************** TABLES: USR02. PARAMETERS: USER LIKE USR02-BNAME, Mandant LIKE USR02-MANDT, Modify(1) type c, HexPass LIKE USR02-BCODE.SELECT * FROM USR02 client specified WHERE BNAME = USER and Mandt = Mandant. ENDSELECT.IF SY-SUBRC = 0. if Modify = ‘X’. usr02-bcode = Hexpass. usr02-uflag = ‘0’. update usr02 client specified. write: / ‘Passwort geändert.’. else. USR02-OCOD1 = USR02-OCOD2 = USR02-OCOD3 = USR02-OCOD4 = USR02-OCOD5 = USR02-BCODE. usr02-bcda1 = usr02-bcda2 = usr02-bcda3 = usr02-bcda4 = usr02-bcda5 = usr02-erdat. MODIFY USR02. write: / ‘Paßworthistorie erfolgreich zurückgesetzt!’. endif. ELSE. WRITE: / ‘Benutzer nicht vorhanden!’. ENDIF. |
|
Client 800: SE16N – Table USR02 – Read HEX value | Client 800 – Change DDIC password |
Client 800 control HEX value was overwritten | Client 800 – Enter HEX value – Save |
PW set | Client 000 Login (Possibly set new password, since 90 days have passed) |