Hi Experts,
Recently we have migrated all the PI 7.3 version links to SAP PO7.5 sp12, and after that noticed that one of the mapping is getting failed, narrowed it down and found that UseOneAsmany display queue is throwing this error
we have not changed anything in the mapping, but somehow it is not liking in latest version, any pointer would be appreciated.
My scenario is CREMAS IDOC to Database mapping.

"Exception:[com.sap.aii.mappingtool.tf7.FunctionException: Too many values in the first queue in function useOneAsMany. It must have the same number of contexts as the second queue] in class com.sap.aii.mappingtool.flib7.NodeFunctions method useOneAsMany[[Ljava.lang.String;@7069be45, [Ljava.lang.String;@130b7475, [Ljava.lang.String;@19776c6a, com.sap.aii.mappingtool.tf7.rt.ResultListImpl@3eccd84c, com.sap.aii.mappingtool.tf7.rt.Context@36ac246]
See error logs for details"
Request clarification before answering.
Hello Niranjan,
try adding a mapwithdefault after the DOCNUM. This will Handle Empty Context.
As per the error, you have to maintain the input queues according to the node function's requirement.
1st input = value you want to repeat
2nd input = How many times it will repeat
3rd input = how the context change will be applied.
2nd and 3rd input should have the same number of values
Another way is , if you have only one source value to repeat, assign that value to a variable in the map and assign that variable to the target.
Thanks
Sugata

You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.