‎2010 Dec 08 5:44 AM
Hi Friends!!!
I need Help/
I use FM 'SMUM_XML_PARSE' wich return me XML_TABLE
how get xml file from it_SMUM_XMLTB???
data : i_xstring type xstring,
it_SMUM_XMLTB type SMUM_XMLTB.
CALL FUNCTION 'SMUM_XML_PARSE'
EXPORTING
XML_INPUT = I_XSTRING
TABLES
XML_TABLE = it_SMUM_XMLTB
RETURN = it_bapiret2.
ENDFORM. " PARSE_XSTRING_VARIABLE
Thanx!!!
‎2010 Dec 08 8:18 AM
>
> Hi Friends!!!
> I need Help/
>
> I use FM 'SMUM_XML_PARSE' wich return me XML_TABLE
> how get xml file from it_SMUM_XMLTB???
>
>
> data : i_xstring type xstring,
> it_SMUM_XMLTB type SMUM_XMLTB.
> CALL FUNCTION 'SMUM_XML_PARSE'
> EXPORTING
> XML_INPUT = I_XSTRING
> TABLES
> XML_TABLE = it_SMUM_XMLTB
> RETURN = it_bapiret2.
> ENDFORM. " PARSE_XSTRING_VARIABLE
>
>
>
> Thanx!!!
HI,
You can loop through the table and get the XML.
DATA:
ls_xml type like line of it_SMUM_XMLTB.
loop it_SMUM_XMLTB into ls_xml.
// do something with ls_xml.
endloop.
‎2010 Dec 08 8:18 AM
>
> Hi Friends!!!
> I need Help/
>
> I use FM 'SMUM_XML_PARSE' wich return me XML_TABLE
> how get xml file from it_SMUM_XMLTB???
>
>
> data : i_xstring type xstring,
> it_SMUM_XMLTB type SMUM_XMLTB.
> CALL FUNCTION 'SMUM_XML_PARSE'
> EXPORTING
> XML_INPUT = I_XSTRING
> TABLES
> XML_TABLE = it_SMUM_XMLTB
> RETURN = it_bapiret2.
> ENDFORM. " PARSE_XSTRING_VARIABLE
>
>
>
> Thanx!!!
HI,
You can loop through the table and get the XML.
DATA:
ls_xml type like line of it_SMUM_XMLTB.
loop it_SMUM_XMLTB into ls_xml.
// do something with ls_xml.
endloop.
‎2010 Dec 08 1:11 PM