Symptom
You have a custom indicator extension field set as false in the business object and, while requesting external pricing, the field is not available in the outbound payload.
Environment
SAP Cloud for Customer
Reproducing the Issue
The business object used in the following example is Sales Quote and requesting external pricing, but can refer other transactional data, such as Orders and Opportunities.
- Go to Sales WC
- Go to Sales Quote View
- Search for Quote ID 123 and open it (where 123 means Quote ID number).
- In the Quote Header see the custom indicator field set as "No".
- Trigger the Request External pricing.
- Go to the Administrator work center.
- Go to the General Setting work center view.
- Open the Web Service Message Monitoring under System Administration
- Select query All
- Search for outbound web service message triggered.
There is no custom field in the outbound payload.
Cause
Extended XML handling is activated for the simulation API to reduce the payload size. This means that only non-initial extension fields are included.
Resolution
In order to resolve the issue, the customer can use the node function "mapWithDefault" in CPI to handle the case that custom indicator field set as false.
For CPI customization, you can refer the SAP Blog Post Extending standard integration flow to support Customer extensions.
Keywords
Custom field; extension field; payload, outbound; sales; quote. order. opportunity; pricing; external; indicator. , KBA , LOD-CRM-INT-ERP , Integration of C4C with ERP , How To