Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

XML data format as file in AL11

durgaprasanth_vemula
Participant
0 Kudos
1,083

Hi,

I have Data which is displaying in the below format where all the Data is coming in single line and i want to display one below the other in AL11

But the client is expecting in the below format in AL11 and is there any function module where I can use to display the data in the below format in AL11

5 REPLIES 5

FredericGirod
Active Contributor
643

You would like to INDENT the XML format.

Search for key work CALL TRANSFORMATION ... INDENT XML

0 Kudos
643

frdric.girod

Hi Frederic,

please find the below screen shot which i am using CALL TRANSFORMATION

But still i am displaying the data in the below format

thanks

Durga Prasanth

0 Kudos
643

Could you share the part of the code where you save the file ?

643

durgaprasanth.vemula

You should not hardcode XML string operations in the ABAP program, you should do everything in a custom XML transformation.Concerning pretty printer, if you use a XSLT transformation, you just need to indicate <xsl:output indent="yes" method="xml"/>.

raymond_giuseppi
Active Contributor
0 Kudos
643

al11 is not a final user tool (Don't expect a CSS style sheet for HTML objects display...)

Look at a report such as RPUXMD9S to display a human readable XML (in html)