Hi, All,
I have a ABAP proxy -> FTP scenorio. The sender side MT is like this:
<Sender_MT>
<FileName>abc.txt</FileName>
<Record>
<TEXT>.......</TEXT>
<TEXT>.......</TEXT>
.......
<TEXT> ......</TEXT>
</Record>
</Sender_MT>
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
<Receiver_MT>
<Record>
<xsl:value-of select="ns0:Sender_MT/Record"/>
</Record>
</Receiver_MT>
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!
Jack
Edited by: Jack Mathew on Jun 4, 2009 6:22 PM