Skip to Content
0
Former Member
Jul 24, 2007 at 01:43 PM

Dont't Have access to Created Directory

11 Views

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