on 05-05-2008 9:51 PM
Hi,
I am using IDOC to File scenario where I am Sending Standard IDOC CREMAS05 to XI and than File to FTP server
File name to be used is "File_ <Vendor No>" I am using the following in receiver Communication channel.
File Name Scheme : File_%Var1%.xml
Variable Substitution :
Var1 payload:CREMAS05,1,IDOC,1,E1LFA1M,1,LIFNR,1
Payload
<?xml version="1.0";; encoding="UTF-8" ?>
<CREMAS05>
<IDOC BEGIN="1">
+ <EDI_DC40 SEGMENT="1">
- - - - - - - -
</EDI_DC40>
<E1LFA1M SEGMENT="1">
<MSGFN>005</MSGFN>
<LIFNR>0000108595</LIFNR>
Communication channel is giving error :
Message processing failed. Cause: 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: Var1
Please advice if my Variable Substitution is correct.
ps: I am on PI 7.0
Thanks.
Edited by: XI_Fan on May 5, 2008 10:51 PM
hi
try to use lower case for variable name.
Var -> var
Regards
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use lower case for variable declaration, for your case mention var1 ( instead of Var1 ).
Thanks,
Vijay Kumar T.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I remenber we have to access it from target Structure in CC, It looks you are doing from Source
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.