Skip to Content
avatar image
Former Member

How to check if user exist in a system through the code?

Hi experts,

I have a question. My requirement is to check if the user already exist on the system, let's say TR1, or any other system (so I can call a BAPI or something?)

I researched the web and did not find anything relevant.

I need that because currently my application is able to reset user's password, even though he does not exist on the system which does not make any sense.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jun 04, 2015 at 03:16 PM

    Hubert,

    You can use BAPI_USER_GET_DETAIL. I think this will help with your requirement.

    Thanks,

    Vikram.M

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 04, 2015 at 03:17 PM

    Hi,

    Try BAPI_USER_EXISTENCE_CHECK/ BAPI_USER_GET_DETAIL

    Add comment
    10|10000 characters needed characters exceeded