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

TEXT_CONVERT_XML_TO_SAP

Former Member
0 Likes
2,407

Hi,

How to set the parameters in the function module.

TEXT_CONVERT_XML_TO_SAP

any example you have?

Regards,

Ratna

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,207

In the import parameters pass the following data...

1) Field Separator value

2) Internal Table Line Header

3) Raw data (Internal table data)

4) File Name

5) Total file size (Internal table count)

This will inturn return data in the tables section which can be used.

Hi,

How to set the parameters in the function module.

TEXT_CONVERT_XML_TO_SAP

any example you have?

Regards,

Ratna

4 REPLIES 4
Read only

Former Member
0 Likes
1,208

In the import parameters pass the following data...

1) Field Separator value

2) Internal Table Line Header

3) Raw data (Internal table data)

4) File Name

5) Total file size (Internal table count)

This will inturn return data in the tables section which can be used.

Read only

0 Likes
1,207

just refer amit answer .

Read only

athavanraja
Active Contributor
0 Likes
1,207

not a direct answer to your question.

brief us what you want to do , may be we could come up another FM of a better approach.

if you are looking at parsing XML check out this FM

SMUM_XML_PARSE

Regards

Raja

Read only

0 Likes
1,207

Just in case anyone stumbles across this thread looking for generic code to load an XML file, save yourself some time and ignore this function.

The function can be used to load XML - but unless it's in a specific format it will just dump. If you fix that issue then the function also changes the XML...