03/16/2023 12:31 PM
Does the SAP Connector support setting the InfoType for SAP ECC? See below screenshot. I couldn't find anything in the SAP documentation referencing this.
My current json is below.
{
"ADDRESS": {
"LASTNAME": "${if(user?.lastname!=null){user.lastname}else{''}}",
"FIRSTNAME": "${if(user?.firstname!=null){user.firstname}else{''}}",
"E_MAIL": "${if(user?.email!=null){user.email}else{''}}",
"DEPARTMENT": "${if(user?.departmentname!=null){user.departmentname}else{''}}",
"FUNCTION": "${if(user?.title!=null){user.title}else{''}}"
},
"LOGONDATA": {
"USTYP": "A"
},
"DEFAULTS": {
"LANGU": "E",
"DATFM": "5",
"DCPFM": "X",
"SPDB": "G",
"SPDA": "D"
},
"SNC":{
"PNAME":"p:CN=${accountName.toUpperCase()}@test.ca"
},
"CLASS": {
"USERGROUP": "${if(task?.accountName.toString().toLowerCase().startsWith('t')){'SUPER'} else if(task?.accountName.toString().toLowerCase().startsWith('xt')){'CONSULTANT'} else{'Test'}}"
},
"PASSWORD": {
"BAPIPWD": "${if(user?.username.toLowerCase().startsWith('xt')) {randomPassword} else {user?.lastname.substring(0,1).toUpperCase() + user?.lastname.substring(1,2).toLowerCase() + user?.customproperty63 + user?.username.substring(user?.username.length() - 3) + user?.customproperty64.substring(user?.customproperty64.length() -2) + '!'}}"
}
}
Thanks,
Aundre
03/20/2023 03:18 PM
Hello @aundreb
Thank you for your query. I am currently reviewing this and will get back to you as soon as I have an answer.
03/20/2023 07:54 PM
This is not supported currently. Please raise idea ticket for same.
03/22/2023 11:59 AM
Thanks, @rushikeshvartak.
You are right, this is not supported currently.