on 10-06-2011 3:25 PM
Hi experts,
My Scenario proxy to file(FTP). Currently in my Sender Data Type Proxy one of the field holds the file name to be created at the FTP.
Could anyone help me how to use that field data (name) to create the file(FTP) with that name?
Thank you experts.
regards,
s.saravannan
http://wiki.sdn.sap.com/wiki/display/Snippets/SAPXIDynamic+Configuration
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Experts,
I managed to solved the problem via my search without using the UDF.
I had used variable substitution at the receiver side CC.
Please refer to the link that i followed.
Thank you guys and expert.
http://saptechnical.com/Tutorials/XI/Variable/substitution.htm
http://wiki.sdn.sap.com/wiki/display/XI/CombiningthreedifferentaspectsofPIinoneshot
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can get the same by creating a simple UDF (one argument - fname) and use the following code:
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
String filename = fname;
conf.put(key, filename);
return "true";
Additional parameter, in Receiver communication channel is, provide file name as * and "Set Receiver File Name as Payload Attribute Value".
Regards,
Sachin Dhingra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
9 | |
9 | |
7 | |
6 | |
6 | |
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.