on 2023 Dec 18 10:34 AM
Hello Everyone
I am trying to read users from IAS local directory and then create/update users in the SAP ABAP on premise server via IPS. Using default transformation was able to create one user.
Now I wanted to pass SNC, valid from, validto, disable passwords etc., to the target system , but cannot find any help document or repository where the list of all available target mappings?
Thank you in advance
Request clarification before answering.
Finally found the solution after debugging and testing the function module directly from SE37.
There would be a few fields missing in the default transformation, so if we need to include additional fields like SNC, Usergroup, valid from, valid to, disable password, etc.,
open the respective BAPI call from SE37 and execute test validation, if we need to maintain validfrom, validto these values we need to pass under the logon data parameter fields.
GLTGV - Valid from
GLTGB - Valid to
CLASS - User Group
GUIFLAG - X
PNAME - p:CN=ABCD@sso.com
Now the target transformation would be as below in the IPS
{//set snc name
"sourcePath": "$['urn:sap:cloud:scim:schemas:extension:custom:2.0:User:attributes']['customAttribute2']",
"optional": true,
"targetPath": "$.SNC.PNAME"
},
{
//set snc flag
"optional": true,
"targetPath": "$.SNC.GUIFLAG",
"defaultValue": "X"
},
{
//user group
"sourcePath": "",
"optional": true,
"targetPath": "$.LOGONDATA.SECURITY_POLICY",
},
{
//cost center
"sourcePath": "",
"optional": true,
"targetPath": "$.DEFAULTS.KOSTL",
},
{//validfrom
"sourcePath":"$['urn:ietf:params:scim:schemas:extension:sap:2.0:User']['validFrom']",
"optional":true,
"targetPath":"$.LOGONDATA.GLTGV"
},
{//validto
"sourcePath":"$['urn:ietf:params:scim:schemas:extension:sap:2.0:User']['validTo']",
"optional":true,
"targetPath":"$.LOGONDATA.GLTGB"
}
/deva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
73 | |
21 | |
9 | |
8 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.