on 2007 Jul 20 12:26 PM
Hi,
I am getting following error in file adapter receiver communication channel.
error:Could not process due to error: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: Error during variable substitution: java.text.ParseException: Variable 'file' not found in variable substitution table
<b>variable substitution values:</b>
Variable name: File
reference :payload:MT_DC_Recr,1,Target,1,Filename,1
file name scheme : %File%.txt
<b>inpu file:</b>
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_DC_Send xmlns:ns0="http://urn:psr/ff/DC">
<Source>
<Filename>dat1</Filename>
<Record>
<Name1>123</Name1>
<Name2>abc</Name2>
<Name3>XYZ</Name3>
</Record>
</Source>
</ns0:MT_DC_Send>
Regards,
Srini
>>>>>>>>>>>>>reference :payload:MT_DC_Recr,1,Target,1,Filename,1
Try payload:root,1,Target,1,Filename,1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi varun,
This is the error i am getting now..
Could not process due to error: 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: File
what i am trying to get is reading filename from the message payload.
Reg,
Srini
Hi Varun,
Problem is solved.the error is in "variable name" where i had given it as 'File'.we should not give capital letters in the variable name.
Thanks for your help.
Regards,
Srinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Srini,
Plz try this...
payload:MT_DC_Recr,1,recordset,1,Target,1,Filename,1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
71 | |
10 | |
8 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.