Skip to Content
Aug 23, 2018 at 02:27 PM

SAP PI 7.31 File Receiver Adapter ASMA - directory is ignored


Hello guys,

First of all, thanks to all of you for so many nice answers for any question in our community. Really I've read a lot of posts relevant for ASMA parameters.

My problem is following.

in UDF I'm filling 2 parameters - FileName and Directory, and it is correct, because in trace I can see both of them, and the FileName is changed correctly. There is a lot of post on that UDF, so this is probably correct.

And for my example let make FileName_New.csv is result of the UDF.

BUT ...

in communication channel I have this Target directory:


and I have got this:


Now what I need to do is that bellow folder3 will be folder4 but the name will be different for different plants - it means bellow folder3 will be structure something like


For my example my target path with file will be like that

ie. \\servername\folder1\folder2\folder3\PLANT1\Filename_New.csv

Now my question: what is the correct value for Directory in UDF

just PLANT1, or with \ ( \PLANT1 or \PLANT1\) or whole path with server name

I have tried all of them but still no success. What I have in my mind -> is Directory parameter allowed for URL path?

Thanks you guys for any help or info