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

Help on a function module SWF_XML_TO_ABAP.

Former Member
0 Likes
506

Hi friends,

I am supposed to convert XML string into abap data.For that i am using SWF_XML_TO_ABAP function module.But when i enter a string and string type (it is asked when function module is executed) i am getting an error ->invalid string type.Can anybody suggest me a way out of it???Also can anybody help on different types of XML strings so that i will be able to enter right string type??

I will be extreamly thankful if somebody can help.

Thank you.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
441

The valid xml types are 'date', 'time', 'xml:string' etc.

Search google for valid xml data types.

Regards,

Ravi

2 REPLIES 2
Read only

Former Member
0 Likes
442

The valid xml types are 'date', 'time', 'xml:string' etc.

Search google for valid xml data types.

Regards,

Ravi

Read only

athavanraja
Active Contributor
0 Likes
441

this FM is to get one element value from the XML

if you want to convert the whole XML use FM SMUM_XML_PARSE

Regards

Raja

Kindly close your previous threads and assing points.