Application Development and Automation 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: 
Read only

Upload XML data into inter table using ABAP code

Former Member
0 Likes
467

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

2 REPLIES 2
Read only

Former Member
0 Likes
432

Try this link.

Link: [XML to ABAP|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2e98a690-0201-0010-3b90-cda224bad152]

Read only

Clemenss
Active Contributor
0 Likes
432

Hi Subirdutta,

please explain what you expect the internal tables content to look like.

FM GUI_UPLOAD will do the simple upload.

What where the resukts of the obligatory SDN search before post?

Regards,

Clemens