on 07-19-2012 4:55 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
23 | |
11 | |
9 | |
9 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.