Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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.

Best Regards



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.



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question