on 2016 May 30 3:25 PM
Hi Friends,
I have an issue with development.
My Scenario is FTP to Mail adapter by using RFC Lookup.
Condition is -
Sender side - Location, Store no, PO_number, Po_date,Platform and Division (here Platform and Division are constants)
Receiver side - Mail, Subject, To, Content
Message Mapping as follows -
My issue is in sender side communication channel generate the message id and it is success but coming to SXMB_MONI I got the Error like -
Trace - 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 useOneAsMan.
Error - Runtime exception when processing target-fieldmapping /ns0:Messages/ns0:Message1/ns2:Mail/Conte
Please help me if you have any solution
Thanks
Chaitanya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chaitanya!
Please check your queues for UseOneAsMany. First queue must have the same contexts count as second queue while the second queue must have the same items count as the third queue.
In your mapping first queue has either exactly one value or the only value for each context (CollapseContexts), while the second queue has all values in one context (RemoveContexts).
Regards, Evgeniy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Chaitanya,
This is because of uneven context is first and second input of use one as many.
Check the values in message mapping by taking value from payload.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chaitanya
The error is because of the first input to useOneAsMany having more than one context. The functionality of useOneAsMany is to take the value from first input (expected one value) and repeat as many times as the second input (should be in one context) and put in the context of third input (should have equal value as second input). Please verify your input to use one as many.
Trace - 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 useOneAsMan.
regards,
Harish
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
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.