Set SAP productive password when changing the central password

We always want to set the SAP password productively when the central password is set. Unfortunately, only the initial password is set.

ProdPWD --> vrtProdPWD [FLAG]

Do you have any tips for me.

  • Hi Andreas,

    to get the password from person and have a change trigger you should use the value template definition of SAPUser.Password and SAPUser.ProdPWD column. You should do this with a script like that (example for Password column):

    If $[IsLoaded]:Bool$  AndAlso Not CBool(Variables("FULLSYNC")) _

    AndAlso Not String.IsNullOrEmpty( $FK(UID_Person).CentralPassword$ ) _

    AndAlso $FK(UID_Person).CentralPassword$ <> $FK(UID_Person).CentralPassword[o]$ Then

        Value = $FK(UID_Person).CentralPassword$

    End If

    Set the value of ProdPWD to "True" using a similar IF condition. This will be executed on existing objects connected with a person if the persons CentralPassword has been changed and is not empty only.

    Regards,

       Tino