API - BAPI , RFC Function module to validate user id and password
Can anyone provide me with the function module to validate the username and password of the user of the back end R/3 System.
Michael Wackerbauer replied
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.