cancel
Showing results for 
Search instead for 
Did you mean: 

Error during variable substitution: idoc to file

Former Member
0 Kudos

Hi Friends,

I have a got a issue which is Idoc to file scenario.

Iam getting the following error.

Attempt to process file failed with 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: date_processing

Could you please tell me waht could be the reason for the same?

as per my analysis, I observed that the field date_processing has been declared

Accepted Solutions (0)

Answers (2)

Answers (2)

prateek
Active Contributor
0 Kudos

Please provide the Reference name used in Variable Substitution. It could be the cause of the problem

Regards,

Prateek

Former Member
0 Kudos

Hi Sandeep ,

If the variable ’date_processing’ refers to an element in XML schema, Please check if you have added the prefix payload: to the information under Reference.

The reference then comprises a pseudo path description in the form of a comma-separated list with the schema namea,na,nameb,nb,....

Where namea,nameb,... corresponds to the element name and na,nb,... corresponds to the occurrence of the element name at the respective level in the document.

The description begins at the root of the document and ends at the respective element.

Also please check

Regards,

Jyoti