Skip to Content
avatar image
Former Member

convert XML data into ABAP internal table

Hi,

I am trying to convert XML data into internal table. My code is given below.

call transformation ('ID_INDENT')

SOURCE xml <xml string>

RESULT <internal table> = <internal table>.

I got dump, there I found that may be because of these reason

1. The basic structure of the document was incorrect - for example, the

root tag <abap> must be in the XML namespace

"http://www.sap.com/abapxml".

But, my XML string has no root tag <abap>.

Is there any way to convert my XML string with out any changes.

Thanks in advance.

Shiva

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jan 28, 2009 at 01:41 PM

    try these fm's

    SWF_XML_TO_ABAP

    HR_PT_XML_TO_TABLE

    HR_MX_DAQ_XML_TO_TABLE

    кu03B1ятu03B9к

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 28, 2009 at 01:50 PM

    hi

    you can check out these threads

    how-to-process-xml-into-abap-data

    Upload XML to internal table and vice versa in SAP 4.6C

    hope this helps

    regards

    Aakash Banga

    Add comment
    10|10000 characters needed characters exceeded