on 04-04-2014 7:58 AM
Hello,
My scenario is File to IDoc and we are using RFC lookup in message mapping also.
While executing this interface I am getting below error in quality system environment.
Please find attached trace file.
RuntimeException during appliction Java mapping com/sap/xi/tf/_ARTransactions_to_ACC_DOCUMENT03_ Thrown: com.sap.aii.mappingtool.tf7.MessageMappingException: Runtime exception when processing target-field mapping /Z1ACCOUNTS/IDOC/E1BPACKEC9/CHARACTER; root message: Exception:[com.sap.aii.mappingtool.tf7.FunctionException: Too few 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
But while testing in Development environment, I am not getting any error. In dev system messages are processed successfully.
In Both environment design and configuration objects are same expect some server credentials.
Could you please help me?
Hi Rohan
From your trace, looks like the RFC connection is having some problem
Caused by: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: resource error: could not get a client from JCO.Pool: com.sap.mw.jco.JCO$Exception: (106) JCO_ERROR_RESOURCE: Connection pool RfcClient[RFCLookUpGLTransactionsData]c63e54cc41083352af06556d6dd4d9d4 is exhausted. The current pool size limit (max connections) is 1 connections.
at com.sap.aii.adapter.rfc.afcommunication.from.FromAF.callClientChannel(FromAF.java:229)
at com.sap.aii.adapter.rfc.afcommunication.ejb.RfcAFBean.process(RfcAFBean.java:270)
Can you check your RFC receiver comm channel?
Rgds
Eng Swee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rohan
If you search for the error description in SDN, you can get some solution.
Example below:-
http://scn.sap.com/thread/1365628
You have to increase your max connection setting in your RFC channel.
Rgds
Eng Swee
After doing Stop and Start RFC channel. Its running. But while testing again , I am getting error in moin like-
RuntimeException during appliction Java mapping com/sap/xi/tf/_ARTransactions_to_ACC_DOCUMENT03_ Thrown: com.sap.aii.mappingtool.tf7.MessageMappingException: Runtime exception when processing target-field mapping /Z1ACCOUNTS/IDOC/E1BPACKEC9/CHARACTER; root message: Exception:[com.sap.aii.mappingtool.tf7.FunctionException: Too few 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
Hi Rohan
The error message clearly saying that the first and second queue of UseOneasMany function does not have the same number of context changes.
It must have the same number of context changes.
Please check the display queue in PI mapping and see if there are any mismatch in context changes.
If possible attach the display queue screen shot so that we can help u better.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rohan
I can see that the first input of UseOneAsMany has RFC look up in it.
And your RFC look up is not working because your RFC communication channel is throwing error in RWB.
So obviously there will be a mismatch of context between first and second input queue.
First solve the RFC look up issue. Once it will solve , the other issue will solve automatically.
Open the RFC adapter in PI and make sure that you have used the proper parameters to connect to the ECC system.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
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.