Skip to Content
-5

SAP Standard ABAP Class for User Management?

Hi,

I have a small and simple query, have you ever come across any SAP Standard Class dealing with users created in SAP. For example: lock, unlock, reset password etc

Man, I am fed of all these FMs and BAPIs. Any class? I used one: CL_CFX_USERS I guess, but that doesn't seem to be working.

Any suggestions?

Add comment
10|10000 characters needed characters exceeded

  • Nobody is going to learn anything from a baseless "how can I do it in a non-standard way" question if you keep repeating over and over that you don't want to use the API but refuse to explain the reasons.

    So to me this is a pointless question as it stands right now and gets a downvote.

  • That was harsh! Actually, you did not get the BASELESS question, what I am asking for. Looking for a STANDARD way without BAPIs. Any factory class anything?

  • Nothing harsh, at least I took the time to explain why I downvoted.

    Baseless: Not having an underlying basis or foundation, groundless; unjustifiable. (Oxford English Dictionary)

    You provide no basis or justification for your question, despite repeated queries. Why no BAPI? What are you trying to accomplish? What problem are you trying to solve? What do you, or anyone on this forum, gain from doing this particular task without BAPIs?

    The official API that SAP provides and supports is the "STANDARD way" that most of us use. You should not avoid them without a good reason. If you just want to know how SAP does it internally, debug it. If you do have another reason not to use the BAPI, share it.

    People, including myself, are trying to help. Sometimes there is a good reason not to use a BAPI, and then we try to find a solution to address that problem. That's what this community is about. But if you don't answer people's queries we can't do that, and it ends up wasting people's time instead. Five people were put off enough by it to downvote. If the reason is just for your own curiosity then that's also perfectly valid, but then please say so.

  • Get RSS Feed

3 Answers

  • Best Answer
    May 02 at 05:16 AM

    You should use the BAPIs - those are the official APIs. If you use the classes behind, you'll be using parts of the standard code base that are not intended for use by customers. You do that at your own risk. If you manage to screw it up, SAP will charge you a fortune to fix.

    So do what I did. Write a wrapper class to handle all user account management tasks, that hides away all those nasty BAPIs.

    Add comment
    10|10000 characters needed characters exceeded

  • May 01 at 08:36 AM

    Hello Mansoor

    If you look inside BAPI_USER_CHANGE you will see all classes for example cl_identity, cl_suid_tools, cl_identity_tools etc. Just have a look at source code you will get all the classes.

    Thanks

    Nabheet

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 30 at 11:35 PM
    -4

    Hi,

    I believe these can help you:

    • BAPI_USER_CHANGE
    • BAPI_USER_UNLOCK / BAPI_USER_LOCK
    • SUSR_USER_CHECK_EXISTENCE

    Regards,

    Isaías

    Add comment
    10|10000 characters needed characters exceeded