on 03-27-2006 8:01 PM
Maybe you could give us a short hint regarding an error we are getting during the variable substituion in an outbound file adapter.
How can we specify a namespace in the variable substituion?
Without namespace this is working well, but we don't know how to specify the namespace.
We get this error essage: #2006-03-17 15:29:07 CET: Message processing failed: Error during
variable substitution:com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: FileName
Here comes our file:
<?xml version="1.0" encoding="UTF-8" ?>
<ns1:GMPluTxn xmlns:ns1="http://sap.com/xi/GMStoreConnectivity">
<GMFileHeader> <StoreNumber>0000002101</StoreNumber> <FileName>PluTxn</FileName> </GMFileHeader> <UpdateType>1</UpdateType> <PLU>000000000000610733</PLU> <RetailPrice>0.99</RetailPrice> <QuantityDescription>BX</QuantityDescription> </ns1:GMPluTxn>
We set the flag 'enable variable subsitution' and specified the filename
variable as follows:
FileName payload:ns1:GMPluTxn,1,GMFileHeader,1,FileName,1
The FileName variable is used in the File Name Scheme field:
%FileName%.asc
Thanks in advance.
Give it like this and see if it works
FileName payload:GMPluTxn,1,GMFileHeader,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 |
---|---|
95 | |
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.