cancel
Showing results for 
Search instead for 
Did you mean: 

Transformation Mapping for SAP ABAP server from IPS

devaprakash_b
Active Contributor
0 Kudos
941

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

View Entire Topic
devaprakash_b
Active Contributor
0 Kudos

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