Set Infotype in CreateAccountJson of SAP Connector

aundreb
Regular Contributor
Regular Contributor

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.

aundreb_0-1678994833923.png

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

 

3 REPLIES 3

timchengappa
Saviynt Employee
Saviynt Employee

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.

rushikeshvartak
All-Star
All-Star

This is not supported currently. Please raise idea ticket for same.

https://www.tutorialspoint.com/sap_hr/sap_hr_infotypes.htm#

timchengappa
Saviynt Employee
Saviynt Employee

Thanks, @rushikeshvartak.

You are right, this is not supported currently.