Skip to Content
0
Former Member
Feb 17, 2011 at 07:21 PM

Upload XML data into inter table using ABAP code

35 Views

Hello,

Please tell me to how to upload xml data into internal table.

Here is the sample xml -

<EMPLOYEE>

<EMPLOYEE_DETAIL>

<ID>1</ID>

<NAME> RAJIV </NAME>

<AGE>30</AGE>

<CITY>ABC</CITY>

<DEPT>

<DEPTNO>10</DEPTNO>

<DNAME>SHOPELOOR</DNME>

<LOCATON>NY<LOCATION>

</DEPT>

</EMPLOYEE_DETAIL>

<EMPLOYEE_DETAIL>

<ID>2</ID>

<NAME> RAHIM </NAME>

<AGE>28</AGE>

<CITY>XYV</CITY>

<DEPT>

<DEPTNO>15</DEPTNO>

<DNAME>SHOPELOOR</DNME>

<LOCATON>NY<LOCATION>

</DEPT>

</EMPLOYEE_DETAIL>

</EMPLOYEE>

Regards,

Subir

Moderator message: please search for available information/documentation.

[Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]

Edited by: Thomas Zloch on Feb 17, 2011 10:34 PM