on 05-02-2006 11:34 AM
Hi everyone.
I'm near to finish my abap mapping demo. The problem is that i don't know how i can retrieve the values of a kind of node.
I would like to retrieve this data into a internal table. I've done the output XML.
How can i get that values from SOURCE parameter into an internal table?
Regards.
Hi!
First of all you have a little bit of XML parsing to do using the SIXML package in ABAP (see example reports in same dev class).
Then you can travers your "document" with methods like
get_elements_by_tag_name or get_root_element.
There are also 2 function modules to convert a document into an ABAP internal table.
SDIXML_DATA_TO_DOM and SDIXML_DOM_TO_DATA.
Regards
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.