on 05-05-2008 6:30 AM
Hi Experts,
I have a scenario IDoc (ORDERS05) to cXML.
to map the E1CUCFG (SO configuration data) to CXML.I have used the below mapping
Please click the link: [http://www.flickr.com/photos/25429360@N07/2466275133/]
Everything works fine, but if a IDoc comes without the E1CUCFG segment, it throws exception as below
Runtime exception during processing target field mapping /cXML/Req/OrderR/Item/It/Ext. The message is: 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[, , ]
Please help to resolve the issue.
Thanks in advance,
MK
Thanks All.
I have resolved the issue by doing following
source-><mapWithDefault>> <UseOneAsMany>--->target
It will avoid the suppress value.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
1) Check whether 1st value, 2nd value context is same node or not. error may be because of that only.
2) For useOneAsMany function context of 1st and 2nd value should be same. 3rd value node context is just on its upper node.
Regards,
Rohit.
Reward points if helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I couldn't open the link you have given!!
When you use UseOneAsMany the contexts of the arguments need to be taken care of.
Please go through this blog.
It has got good explanation of the function UseOneAsMany.
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
Regards,
Manjusha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.