Click HERE to see how Saviynt Intelligence is transforming the industry. |
01/19/2023 01:59 AM
Hi,
we need to create account update json for SAP Ariba and user update rule that would change supervisor of the user, when manager is changed in HR. We've already created both and the solution is working. The issue is that in case user manager does not have account in Ariba, supervisor field is empty in Ariba. How to update the json we currently have, so that it checks if users.manager is having sap ariba account: if yes--> manager is updated in ariba if not-->account in sap ariba is created for the manager and after the account is created, manager is updated for the user
part of json we currently use:
"httpParams": "{\"item\": [{\"EmailAddress\": \"${user.email}\",\"Name\": \"${null!=user.firstname?user.firstname:''} ${null!=user.lastname?user.lastname:''}\",\"Supervisor\":{\"UniqueName\": \"${userManager.email}\"},\"UniqueName\": \"${user.customproperty30}\"}]}"
01/19/2023 04:18 AM
\"${null!=userManager.email?userManager.email:''}
01/19/2023 06:39 AM
Hi,
\"${null!=userManager.email?userManager.email:''} - it will not works as seems issue with user's manager Ariba account. If user's manager does not have ariba account then it will return null value.
01/19/2023 07:08 AM
U can't check target then u need to call multicall api
01/19/2023 04:54 PM
can you pls confirm if you are uisng SOAP API or REST API for ariba integration? We need to integrate SAP ARIBA too but I need to know list of API you are using for account management and group management.
Thanks
01/19/2023 05:22 PM - edited 01/19/2023 05:27 PM
Looking at syantax is rest
https://blogs.sap.com/2021/06/09/sap-ariba-integration-hands-on-video-tutorials/
01/19/2023 05:23 PM
yes.. I guess so.. but our country ARIBA vendor said there is no REST API for account management.. but we prefer to use REST API if available. I couldnt find it in API portal as well.