Application Development 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: 

Is there any std. BAPI to check both user name and password exist or not

Former Member
0 Kudos

Hi frnds,

I am looking for a std. bapi to check both username and password exist or not..

i found one bapi bapi_user_existence_check. but it checks only username...

9 REPLIES 9

GauthamV
Active Contributor
0 Kudos

Hi,

u cannot check the password anywhere in any system unless it is ur own password.

Former Member
0 Kudos

I think there's no FM that checks for password...

And I guess that it won't be that easy to retrieve that information from the system.

But you can generate a new password using FM 'RSEC_GENERATE_PASSWORD'.

former_member705122
Active Contributor
0 Kudos

Hi,

BAPI_CUSTOMER_CHECKPASSWORD

Check customer password

Regards

Adil

0 Kudos
BAPI_CUSTOMER_CHECKPASSWORD
Check customer password

Really useful...

Former Member
0 Kudos

Hi frnds,

I am entering SAP user name and password and the requirement is to check whether these entries exist or not .

If bapi is not there, then how to write a customised bapi and which table i have to check..

0 Kudos

I don't think that you will have access to the passwords that are stored in the system.

If so, you could read every user's password and logon to the system.

I guess that they're encrypted and stored on the database.

Why do you need to check for the password. Isn't the username sufficient?

Former Member
0 Kudos

Hi kolz,

I agree with you...but the thing is that FA wants to perform some operation if user name and pw matches otherwise exits.

for this I need a conversion FM for encrypt passwords..

Is any such FM exists?

0 Kudos

SUSR_LOGIN_CHECK_RFC

0 Kudos

Indeed helpful BAPI SUSR_LOGIN_CHECK_RFC but the only issue was it didn't have any output structure.

As in my case of gateway, We had t make a wrapper bapi and later based on exceptions raised by this standard bapi we had to manage out exception handling in out custom (Wrapper) BAPI.


Anyways, Cheers

Thanks

--PG