on 07-24-2007 2:43 PM
Hi Experts,
I am dynamically creating the Directory and File with the following UDF
DynamicConfiguration conf = (DynamicConfiguration) container
.getTransformationParameters()
.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create(
"http://sap.com/xi/XI/System/File",
"FileName");
DynamicConfigurationKey key1 = DynamicConfigurationKey.create(
"http://sap.com/xi/XI/System/File",
"Directory");
String source = conf.get(key);
String tar_fname =source.substring(19,21);
String tar_dirname =source.substring(14,18);
conf.put(key, tar_fname);
conf.put(key1, tar_dirname);
return " ";
I go to the respective directory, I am not able to open the Directory itself so i am not able to check that my files are exist in that directory or not. So For these kind of directory , Do i need to specify the access or permission in the UDF code. If so what i need to do to access the my created Directory.
Warm Regards,
Vijay
Still My problem is there. What ever you have suggested can be applied in windows not the folder created by XI.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Make that folder shareable.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Vijay,
U can't give access permissions thru code. Ask the owner of the particular folder to give write access permission to the specific folder.
Best regards,
raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.