Skip to Content
0
Former Member
Sep 23, 2009 at 10:47 AM

SAP_XML Convert

15 Views

HI Experts !

I Have developed ALV(customer master) report its will convert the sap Report data into xml format

am using CALL TRANSFERMATION ID IN ABAP REPORT.

How do i remove the XML Header Code (first three line).

I want to display the table name as <KNA1> insted of <TAB> Eg: 4th line

Find below SASP customer master sample XML. format.

<?xml version="1.0" encoding="utf-16" ?> " Remove"

- http://www.sap.com/abapxml" version="1.0"> " Remove"

- <asx:values> " Remove"

- <TAB> " Remove" and "replace with table Name eg <KNA1>.

- <item>

<KUNNR>0000000001</KUNNR>

<NAME1>Nelson Tax & Associates</NAME1>

<NAME2 />

<ORT01>PHILADELPHIA</ORT01>

<REGIO>PA</REGIO>

<LAND1>US</LAND1>

<PSTLZ>19115</PSTLZ>

<STRAS>1 1 113 Germantown Ave</STRAS>

<TELF1>(215) 665 4534</TELF1>

</item>

please help me the same...

and is there any other solution to write the Custom XML code in SAPABAP.

thanks

Ravi.