cancel
Showing results for 
Search instead for 
Did you mean: 

User Authentication

Former Member
0 Kudos

Hi.

I would like to retrieve data from SAP to display in my .net portal. The .net portal is using
windows authentication. Users have two different ids, one in the portal and one in SAP. No single sign on.

After enter SAP userid and password in my .net portal, may I know how to authenticate against
SAP ECC6? There's a BAPI_GET_USER_DETAIL, should I use this?

May I know how to authenticate against the user details in SAP ECC6?

regards,

zl

Accepted Solutions (1)

Accepted Solutions (1)

former_member197445
Contributor
0 Kudos

We use a combination of SUSR_LOGIN_CHECK_RFC (for password check) and BAPI_GET_USER_DETAIL (for authorizations and parameters).  In our case, we return an error message if there is one and a plant assignment if successful.

*"*"Local Interface:

*"  IMPORTING

*"     VALUE(BNAME) TYPE  RSYST-BNAME DEFAULT SY-UNAME

*"     VALUE(PASSWORD) TYPE  RSYST-BCODE

*"  EXPORTING

*"     VALUE(MESSAGE) TYPE  BAPIRET2

*"     VALUE(PLANT) TYPE  WERKS_D

Former Member
0 Kudos

Thank you, Case. I will try that.

regards,

zl

Answers (0)