Symptom
When replicating sales order or quote from C4C to S4 system, Idoc fails with error "Incorrect function module IDOC_INPUT_COD_SALESORDER_CREA called up"
Environment
SAP Cloud For Customer
SAP S4 HANA
Cause
Backend systems like ERP or S4 HANA use different idoc type for specifically sales order/quote documents creation or follow up.
For this reason standard package provided by SAP is used in CPI.
Resolution
Always use the standard and the latest version of the pre-package integration and iflow provided by SAP in CPI according to your backend system.
Keywords
sales order , idoc type , SALESORDER_CREATEFROMDAT202 , SALESORDER_CREATEFROMDAT204 , KBA , LOD-CRM-INT-S4H , Integration of C4C with S/4 HANA , Problem
SAP Knowledge Base Article - Public