Skip to Content
Former Member
Jun 04, 2009 at 04:21 PM

Dynamic file name in receive FTP file adapter


Hi, All,

I have a ABAP proxy -> FTP scenorio. The sender side MT is like this:







<TEXT> ......</TEXT>



I would like to output the data which are the values of the tags <TEXT> to a flat file with the file name of the value of <FileName>

I tried to use Variable Substitution in FTP CC. I set a val1 = payload:Sender_MT:1,FileName,1 . But I got an error says "Unknown structure 'ns0:Sender_MT' found in document'. I looked at the message monitoring. It shows payload <n0:Sender_MT>. not <ns0:Sender_MT>. I think that is why I got the error. Then I tried to use XSLT mapping. I set



<xsl:value-of select="ns0:Sender_MT/Record"/>



But I get an error says "XMLParser: No data allowed here: (hex) 32, 64, 66(:main:, row:1, col:3): ".

Could anybody help me out? Thanks!


Edited by: Jack Mathew on Jun 4, 2009 6:22 PM