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

SAP user authentication in ABAP program

Former Member
0 Likes
888

We are building a custom application in SAP.

One of the functionality required is - Before printing a certificate ,we need to verify SAP user ID and password.

Is there any FM in SAP which I can use or any other way by which I can ask user to enter his user ID and password and then autheticate it against actual SAP credentials.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
629

Hi,

try using FM SUSR_CHECK_LOGON_DATA

with import parameters

AUTH_METHOD = 'P'

USERID = <userid>

PASSWORD= <password>

Roy

3 REPLIES 3
Read only

Former Member
0 Likes
630

Hi,

try using FM SUSR_CHECK_LOGON_DATA

with import parameters

AUTH_METHOD = 'P'

USERID = <userid>

PASSWORD= <password>

Roy

Read only

0 Likes
629

Thanks Roy.

Your answer solved my problem.

Many Thanks Again.

Read only

GauthamV
Active Contributor
0 Likes
629

Use the below Function module.

SUSR_LOGIN_CHECK_RFC