Application Development and Automation 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: 
Read only

API - BAPI , RFC Function module to validate user id and password

Former Member
0 Likes
1,996

Hi,

Can anyone provide me with the function module to validate the username and password of the user of the back end R/3 System.

Best Regards

Sid

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
910

Use function module SUSR_CHECK_LOGON_DATA. You need to provide auth_method (P for password check), userid and password.

Be careful when you execute the function in test mode because it converts the input into upper case hence if you have lower case characters in your password it will return with invalid password. If you pass the lower case into the function in a program everything is fine.

Regards,

Michael

3 REPLIES 3
Read only

Former Member
0 Likes
911

Use function module SUSR_CHECK_LOGON_DATA. You need to provide auth_method (P for password check), userid and password.

Be careful when you execute the function in test mode because it converts the input into upper case hence if you have lower case characters in your password it will return with invalid password. If you pass the lower case into the function in a program everything is fine.

Regards,

Michael

Read only

0 Likes
910

Hi Michael,

It was a great help. The issue is resolved.

Best Regards

Sid

Read only

0 Likes
910

I am not clear with this. If the password is in Upper Case how to pass in the program.