Skip to Content
author's profile photo Former Member
Former Member

CALL TRANSFORMATION formatting issues

Hi,

I am using CALL TRANSFORMATION with a simple transformation:

<?sap.transform simple?>

http://www.sap.com/transformation-templates">

<tt:root name="ROOT"/>

<tt:template>

<bopf_bo>

<tt:copy ref="ROOT"/>

</bopf_bo>

</tt:template>

</tt:transform>

to transform a dynamic deep internal table into XML.

My first issue is that the ouput of the call transformation is not a formatted string with tabs and lines e.g.

<bopf_bo>

<item>

<name>

abc

</name>

...

</item>

</bobf_bo>

I could not find an option of the CALL TRANSFORMATION to format the output in a readable form so you can read it

even in a simple text editor, not only loaded in a browser.

My second issue is that I would like to nicely display this in e.g. as HTML. Is there a way to automatically genarate

XSL stylesheet the same way the XML was generated out of the internal table?

Does anyone know how these can be solved?

Thanks,

Ivaylo.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Dec 09, 2009 at 03:06 PM

    Hello. I donĀ“t understand your problem. If you save this xml as a xml file and open it for example with MS Internet Explorer, the internal tool for viewing xml is called and displays the xml formatted and let you open/ close nodes etc. Otto

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.