Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Re: How to create entries in USR02 ?

Former Member
0 Kudos

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

5 REPLIES 5

Former Member
0 Kudos

Transaction SU01 maintains this table.

Regards

Darren

former_member150733
Contributor
0 Kudos

Entry in USR02 is based on the Creation of Users in SAP.

For creating user use the transaction SU01.

Regards,

Anish Thomas

0 Kudos

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

0 Kudos

BAPI_USER_CREATE Create a User

BAPI_USER_CREATE1 Create a User

Former Member
0 Kudos

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