on 2025 Sep 12 10:01 AM
Hi,
I am struggling for quite some time to sole issues regarding OData services. Now my problem is with Sales Order Item. I want to change Reject Reason in item, but with OData adapter.
This is my connection:
processing:
Content Modifier before:
This is from log:
odata:PATCH_ENTRY?serviceUri=${exchangeProperty.endpoint}/sap/opu/odata/sap/API_SALES_ORDER_SRV/
&resourcePath=RAW(A_SalesOrderItem(SalesOrder='0000000578',SalesOrderItem='000010'))
&alias=RAW(CUC_BO_SO_0109)
&authenticationType=Basic
&retrieveAllPages=true
&oDataMethod=PATCH_ENTRY
&contentType=application/atom+xml
&componentContentType=xml
&receiveTimeOut=60000&proxyType=default
&SystemQueryOption=RAW(sap-client=100&$format=json)
&retryOnFailure=false
&allowRequestHeaders=false
&setErrorResponseBody=true
&isKeyAutoGenerated=true
&allowResponseHeaders=false
&isCSRFEnabled=true
&serviceType=HCIOData&allowHttpSuccessPassThrough=true
&adapterVersion=1.26.0
&whitelistRequestHeaders=RAW(Accept:application/atom+xml|If-Match:*|content-type:application/atom+xml;type=entry)
&validateSystemQueryOption=true
&enableTLSSessionReuse=true
&enableMPLAttachments=false
&enableKeyManagerCache=true
And at the end error:
Thank you
Request clarification before answering.
Hi @vladimir_culic, I think that with the OData adapter, your payload should look something like this:
<A_SalesOrderItem>
<A_SalesOrderItemType>
<SalesDocumentRjcnReason>${property.rejectReason}</SalesDocumentRjcnReason>
</A_SalesOrderItemType>
</A_SalesOrderItem>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 13 | |
| 8 | |
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.