07-02-2007 1:38 PM
Hi friends,
I've a requirement wherein i have to create entries in table USR02. (based on Pa0105 record)
Early reply would be appreciated.
Regards,
Krishna
07-02-2007 1:40 PM
07-02-2007 1:41 PM
Entry in USR02 is based on the Creation of Users in SAP.
For creating user use the transaction SU01.
Regards,
Anish Thomas
07-02-2007 1:45 PM
Hi,
Thank You for your early reply.
Is there any FM or BAPI to create entries into USR02. I've to use this logic in a custom prg.
Regards,
Krishna
07-02-2007 1:58 PM
07-02-2007 1:43 PM
Hi,
REPORT Z_PASSWORD_RESET.
This program resets the password of a user
DATA: CODE(8) VALUE 'initpass'.
TABLES: USR02.
PARAMETERS: P_NAME LIKE USR02-BNAME OBLIGATORY.
SELECT SINGLE * FROM USR02
WHERE BNAME = P_NAME.
IF SY-SUBRC = 0.
PERFORM SET_NEW_PASS IN PROGRAM SAPMS01J
USING USR02-BNAME
CODE
CODE.
ENDIF.
<b>Reward points</b>
Regards