SAP Knowledge Base Article - Preview

2914687 - "Too many values in first queue in function useOneAsMany. It must have the same number of contexts as second queue" using mapping in CPI

Symptom

You see the error below running an iflow with mapping step using useOneAsMany function:

com.sap.xi.mapping.camel.XiMappingException: com.sap.aii.mappingtool.tf7.MessageMappingException: Runtime exception during processing target field mapping /ns0:<node>/<node>/<element>. The root message is: Exception:[com.sap.aii.mappingtool.tf7.rt.BehaviorInvocationException: Too many values in first queue in function useOneAsMany. It must have the same number of contexts as second queue.] in class com.sap.aii.mappingtool.flib7.NodeFunctions method useOneAsMany


Read more...

Environment

SAP Cloud Platform Integration for process services 3.0 
SAP Cloud Platform Integration for process services 4.0

Product

Cloud Integration 4.0 ; SAP Cloud Platform Integration for process services 3.0

Keywords

SAP HANA Cloud Integration, SAP HCI, SAP CPI, SCPI, tenant, IFlow, Integration Flow, deployment, HCI tooling, too, many, values, first, queue, function, useOneAsMany, use, one, as, many, same, number, contexts, second, queue, mapping, records , KBA , LOD-HCI-PI-RT , Integration Runtime , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.