Skip to Content
0
Former Member
Nov 28, 2008 at 12:59 PM

Error: File adapter dynamic directory not safe with subdirectories

54 Views

Hi,

I'm using variable substitution to determine the destination directory for my RFC->File scenario

In my RFC I have a tag called <PATH> that contains the full target path. If that path doesn't have subdirectories the variable substitution works perfect, for example:

<PATH>directory1</PATH>

Then in File adapter I have %var1% with the value of PATH and it works.

But if I want to add subdirectories on the path, for example <PATH>directory1/subd2/subd5</PATH> the solution doesn't work.

That's the error that I get:

Could not process due to error: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: Error during variable substitution: java.text.ParseException: Security violation encountered during variable substitution: Content of variable var1 is not safe: directory1/subd2/subd5

How can I access to that directory?