Symptom
- Service order creation request payload doesn't carry Items of Ticket in the payload
- Items gets excluded at Mapping with Action code = 06
- final payload doesn't contain the items in the payload
- Mapped the items in CPI to items Field to S/4 Hana Public cloud still items are not moved out of C4C
Environment
SAP Cloud for Customer core applications
S/4 Hana Public Cloud
Reproducing the Issue
1. create a Ticket in C4C and
2. Add items in the Items tab
3. place / create a service order
4. check the outgoing payload and it does not contain the Items even through item processing code is marked as ERP relevant.
Cause
In the delivered standard solution for service order creation items are not included in the scenario,
Hence C4C application triggers the payload with item action code = 06(do nothing), which doesn't get included in the final successful payload out from the C4C.
Resolution
If items are required and this is an enhancement beyond standard scope, we recommend that your implementation partner evaluate a custom solution. Based on guidance from our experts, one feasible approach is:
- Use the pre-exit and post-exit of the iFlow to extend the standard flow.
- In the pre-exit, store the initial payload received from C4C.
- Make an OData call to C4C to retrieve the ticket details, which carries the item data.
- In the post-exit, map the retrieved item details into the stored payload.
- Send the enriched final payload, now including the items, to S/4HANA.
Please note this is a suggested approach and would need to be designed, built, and tested by your implementation partner, as it constitutes a custom enhancement.
Keywords
Service order, Ticket, cloud for customer, C4C, S/4 Hana Public cloud, Service order creation from C4C to S/4 Hana Public Cloud , KBA , LOD-CRM-INT-ERP , Integration of C4C with ERP , LOD-CRM-INT-S4H , Integration of C4C with S/4 HANA , LOD-CRM-SRP , Service Request Processing , How To
SAP Knowledge Base Article - Public