on 07-16-2014 8:12 AM
Hi All,
I am getting below error in my receiver communication channel -
Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Unable to clone File Adapter receiver channel for parallel processing
This is just FiletoFile scenario. I am trying to use VARIABLE SUBSTITUTION here to give dynamic name to the file at receiver. I haven't use FCC here.
If I dont use VARIABLE SUBSTITUTION then scenario is working fine.
Thanks & Regards,
Rashmi Joshi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Can you paste the screenshot of your configs (variable substitution part)
/A.B
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rashmi,
I think you cant use the asterisk to get the position under variable reference, you should use a concrete position to access to the value with the number 1 or 2 and so on. Check this link Defining Variable Substitution for Target Directory/File Name - SAP Library
Regards.
Rashmi,
You need to provide the exact location of the field for which the value will be replaced in place of 'name' variable.
For example:
We have the below xml structure populated post mapping and we have to take 'NUMFIC' value from 'Pie' node and used as a variable substitution.
<?xml version="1.0" encoding="utf-8" ?>
<ns1:MT_Test xmlns:ns1="http://xxxxx/yyyyy/zzzz">
<Detail>
<NUMR>000001</NUMR>
<NUMF>00066</NUMF>
<CLI>100765</CLI>
<PRO/>
<FEC>20140215205725</FEC>
<SIT>PE</SIT>
<ORUT/>
<ACC>A</ACC>
</Detail>
<Pie>
<NUMREG>999999</NUMREG>
<NUMFIC>00066</NUMFIC>
</Pie>
</ns1:MT_Test>
The variable refernece value in the advanced section of your receiver adapter would be: payload:MT_Test,1,Pie,1,NUMFIC,1
Hope it helps.
You may have a look in the below blog also:
/A.B
Hi Abhradeep,
I am getting new error now -
Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: Vname
I have changed the reference value as -
Emp_ID | payload:MT_File,1,Record,1,Emp_ID,1 |
Thanks & regards,
Rashmi Joshi
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.