on 2024 Jul 23 2:06 PM
I want to use ODATA Receiver Adapter to update the value of a field called UserLockedIndicator to true. For this purpose, I need to invoke Entity BusinessUserCollection in C4C. ObjectID is Key field for it which i have already read using GET operation in previous step. Now I want to use this Object ID from Exchange property of last Content modifier and make a PATCH call.
XML Payload in previous Content modifier Body =
<?xml version="1.0" encoding="utf-8"?>
<entry xml:base="https://my362199.crm.ondemand.com/sap/c4c/odata/v1/c4codataapi/" xmlns="http://www.w3.org/2005/Atom" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices">
<category term="c4codata.BusinessUser" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/>
<content type="application/xml">
<m:properties>
<d:UserLockedIndicator>true</d:UserLockedIndicator>
</m:properties>
</content>
</entry>
I am getting error in IFlow for ODATA receiver adapter = com.thoughtworks.xstream.security.ForbiddenClassException: java.util.Map$Entry
Yes, We need to add a Message mapping before the Batch Patch call. Via Message mapping, we need to create the payload, It will not work dynamically in the Wizard secreen. This is the Link to another Blog Post about this. Batch Operation in OData V2 Adapter in SAP Cloud P... - SAP Community
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.