{"ref":"content:optimized-idoc-routing-in-sap-ci-with-value-mapping-and-groovy-based-receiver-de","page":"/content/optimized-idoc-routing-in-sap-ci-with-value-mapping-and-groovy-based-receiver-de","json":"/content/optimized-idoc-routing-in-sap-ci-with-value-mapping-and-groovy-based-receiver-de.json","generated":"2026-11-15","drafted_with_ai":true,"entity":{"id":"optimized-idoc-routing-in-sap-ci-with-value-mapping-and-groovy-based-receiver-de","title":"Optimized IDoc Routing in SAP CI with Value Mapping and Groovy-Based Receiver Determination","url":"https://community.sap.com/t5/technology-blog-posts-by-members/optimized-idoc-routing-in-sap-ci-with-value-mapping-and-groovy-based/ba-p/14164335","content_type":"blog","published_on":"source:sap-community","explains":["capability:integration-flows","artifact:btp-cloud-integration"],"summary":"ShreyasShenoy07 replaces SAP PI/PO's single shared IDoc destination with a receiver-determination pattern built in [Cloud Integration](artifact:btp-cloud-integration): a generic iFlow reads the IDoc's EDI_DC40 header, looks up the sender identifier and the receiver list in two Value Mapping tables keyed by sender system and IDoc type, and a Groovy script evaluates each receiver's XPath condition before routing the message to a receiver-specific iFlow over the ProcessDirect adapter. Adding or changing a receiver becomes a Value Mapping edit instead of an iFlow redeployment, and the same IDoc can fan out to several receivers when more than one condition matches.","short":"IDoc receiver determination in Cloud Integration with value mapping","author":"ShreyasShenoy07","published":"2025-08-08","provenance":{"discovered_via":[{"source":"source:sap-community","channel":"cloud-integration-tag"},{"source":"source:sap-community","channel":"integration-suite-tag"}],"first_seen":"2026-10-04"},"drafted_with_ai":true},"readings":{"liveness":[{"label":"Checked against the source","tier":"unknown","evidence":"nobody has checked it"},{"label":"Source reachable","tier":"unknown","evidence":"not crawled"},{"label":"Age","tier":"fair","evidence":"published 15 months ago"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"good","evidence":"no recorded change after 2025-08-08"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":7316,"unit":"views"},{"value":3,"unit":"comments"},{"value":9,"unit":"likes"}]},"signals":{"views":7316,"likes":9,"comments":3,"metrics_at":"2026-11-01"},"series":null,"edges":{"authors":[]}}