on 07-02-2009 1:07 PM
Hi All ,
I am using following code to assing file name and directory name in UDF. I don;t want these parameters to be part of my target structure. Since i have created these files names in UDF, what are the values do i need to mention in FTP CC's "File access Parameter" which are mandatory fiels in CC ?
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create(u201Chttp://sap.com/xi/XI/System/Fileu201D,u201CFileNameu201D);
String myFileName =biz +".dat";
conf.put(key, myFileName);
//Similar code for direcotry
Thanks for your support.
MK
Thanks,i will use the dummy values
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
in ID in receiver file comm channel, just tick the option of Adapter Specific messge attributes and in it tick FileName and DirectoryName.............
the filename and directory you give in comm channel will be treated as dummy and the values will be taken from your UDF.......
Regards,
Rajeev Gupta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi MK,
You can give any value in the CC, these values will be treated as dummy values.
Values mentioned dynamically will be taken into the consideration as the Filename and Directory Name
regards,
Chandra Shekhar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.