Hi, well first i have to say that the filename is properly created and the file is well written with the exact filename as done in the mapping. So i use an UDF for generating the filename.
But now I am confused, because the filename is also inside of the payload - of course.
Inside the Mapping from RFC to File I have configured an element in the target datatype called <FILENAME>. This is used to give me the right filename for using in file receiver communication channel.
So i am using the tab in the cc for getting the Variable FILENAME with the following expression: payload:MT_Account_SCI_BA,1,FILENAME,1,filename,1
Also I activated the "Adapter specific Message attribute" triggering the first three boxes including "Filename".
Is this the right configuration?! It seems to be because file is created well.
But the Filename is also written inside the payload so how can i get rid of this?!