Skip to Content
avatar image
Former Member

Default User Parameters

Hi,

I want some default parameters automatically be assigned to new users when they are created instead of manually adding every time in su01 transaction code. Do you know how to configure this?

Thank you.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    Dec 19, 2013 at 07:53 AM

    Hi all,

    these Exits will only work in older releases having SAP_BASIS until 7.02!

    As of SAP_BASIS 7.31 the new Identity-API is in place having BAdIs like Julius mentioned.

    (Please, check notes 1796501, 1750161 and 1780372.)

    All of our new BAdIs for the IDENTITY_API are part of the enhancement spot SUID_IDENTITY (see transaction SE18).
    You will also find some example implementations there.

    To prefill user attributes e.g. parameters for user creation you can use the BadI BADI_IDENTITY_SU01_CREATE.

    Merry Christmas,

    Holger

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Fatih,

      as I wrote the BAdIs BADI_IDENTITY_SU01_CREATE or BADI_IDENTITY_UPDATE do not exist in releases 7.02 and less.

      In these old releases we do not have a possibility to prefill user attributes (like parameters) for creating.

      In older releases you may use the old exits e.g. the Z_USERS_TRANSFER which you have to put as ID into table SSM_CUST and as PATH you need to put your own function module name.

      As example for your function module you may use the function module PRGN_EXIT_USERS_TRANSFER but not need to check for the list of roles in your special case.

      But, you need to know that these old exists will not have effect after release 7.02 (if you plan an upgrade) and you need to take care with your implementation not to damage our transaction.

      Best Regards,

      Holger

  • Dec 05, 2013 at 02:43 PM

    Hi,

    A simple technique that I have used in the past is to have a template UserID that contains your defaults and then just copy that and populate with the variable info like roles, user name etc.

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 05, 2013 at 03:16 PM

    This message was moderated.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 06, 2013 at 03:27 PM

    Hi Fatih

    Create a template user.(which will have the default parameters you needed) and make a copy of template user every tym you create a new user.

    Note: You can create a SECATT for tcode SU10 ( I recommend it only when you are creating bulk users frequently like you get creation of users every day like 100 or 50 users )

    I hope this helps you

    Cheers

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 08, 2013 at 06:48 PM

    There is a way to do it but SAP removed the documentation on it as they wanted to replace it with something better. That became the provisioning framework workflows in SAP IdM.

    You can use your own defaults still via customizing IDs in table SSM_CUST -> for events in SU01, you can call custom function modules to populate fields with defaults.

    Cheers,

    Julius

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Frank Buchholz

      Hi Frank,

      That SAP note is no longer released. That is what I meant when I said that the documentation has been removed..  :-)

      I was advised not to use these exits anymore as their future was uncertain and that BADIs were planned to replace them.

      Cheers,

      Julius