on 12-23-2009 2:30 PM
Hello,
I've a interface RFC - File (Message Protocol: File -Don't FCC-l )
The file XML generated is OK, but when i open this file with the text editor, i see the file of follow:
<tag1>value1</tag1><tag2>value2</tag2><tag3>value3</tag3>
and i need see the file of follow (each label in each file):
<tag1>value1</tag1>
<tag2>value2</tag2>
<tag3>value3</tag3>
I can do it?, How?
Thank
Use XSLT mapping to insert newline after each tag.
-BR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am trying with the follow file::
<xsl:template match="/">
<xsl:apply-templates select="*"/>
</xsl:template>
<xsl:template match="*">
<xsl:copy>
<xsl:element name="name()">
<xsl:copy-of select="@*"/>
<xsl:apply-templates/>
</xsl:element>
</xsl:copy>
<xsl:text>
</xsl:text>
</xsl:template>
</xsl:stylesheet>
when i raise the interfase the follow error occurs:
Error when loading XSLT mapping of the application
i believe the file content have an error, but i don't know what,
thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Where are you trying to look this file. Is it in the directory maintained in tocde AL11 of XI? Because in AL11 dir it will show like that only, so you need to ask BASIS to download the file on your PC and then see how it looks.
When you use FTP to write the file in target dir then it will show correctly.
Regards,
Sarvesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes Preeti, i think same you,
however, the system receptor of file, charge it in mode text and it need the format especified up,
idea please?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If the requirement is to have a new line then I would suggest you use XSLT mapping as suggested by Mustaffa above. Yes it is possible to have another XSLT mapped interspcaing the new lines. What needs to be done is create an XSLT mapping and add this additional mapping into your interface determination checking the maintain order at runtime checkbox.
If it's just a visualization convinience, you can try opening it in IE
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thank Mustafa,
I dont' know the XSLT mapping,
My scenary is IDOC - file (format XML), i need using mapping in my interfase, it's possible using XSLT mapping in this case?
Thank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.