Skip to Content
0
Former Member
Feb 25, 2009 at 05:35 AM

variable substitution error while using Seeburger module parameter

35 Views

Hi Freinds,

I would like to use the variable substitution in a receiver file adapter to add the invoice no.

(which is contained in the XML file) to the target filename.

In addition I have to convert the XML file to an X12 EDI format using the seeburger module "localejbs/CallBicXIRaBean".

As soon as this entry is made in the modules the following error message occurs:

"com.sap.aii.adapter.file.configuration.DynamicConfigurationException:

Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException:

Caught SAXException while parsing XML payload: Fatal Error: com.sap.engine.lib.xml.parser.ParserException:

XMLParser: No data allowed here: (hex) 53, 4f, 48(:main:, row:1, col:3)"

My problem is that the conversion from XML to X12 EDI is done before the variable substitution is started.

That`s why the reference for the variable is no longer valid as the file is already converted to a X12 EDI (=flatfile) format.

If I disable one of the two steps (either 1:1-mapping or variable substitution) the other step runs properly.

Has anybody an idea how to solve this topic?

Is it possible to specify the variable substitution as module?

If this is possible I could solve it by just reordering the two steps in the module chain.

Regards

Venkatesh