Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Mapping Exception problem

Hi ,

I have some problem when i was trying to excute my mapping

it throws below exception.

RuntimeException in Message-Mapping transformation: Exception:[com.sap.aii.mappingtool.tf3.IllegalInstanceException: 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.flib3.NodeFunctions method useOneAsMany[com.sap.aii.mappingtool.tf3.CBufIter@52c052c0, com.sap.aii.mappingtool.tf3.CBufIter@5c195c19, com.sap.aii.mappingtool.tf3.CBufIter@65726572]

can anybody please look into this. and suggest me ..

Regards,

Sandeep

Former Member
replied

Hi Sanjeep,

In UseOneAsMany function the first input has to have a single value which is replicated n number of times basd upon the second and third values. So use SplitByValue function before UseOneAsMany.

Regards,

Sanjeev.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question