Application Development 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: 

ABAP Transfer function XML files

Former Member
0 Kudos

I need a function for transfer files to xml files in ABAP SAP and used in interface.

2 REPLIES 2

Former Member
0 Kudos

If the data is of standard internal table, then you can the "call transformation". If you want to build XML manually, then you can use the ixml class.

Albert

Former Member
0 Kudos

Hi,

You can create XML files in two ways.

1. Through Call Transaformation ABAP -> XML

or XML -> ABAP

2. Using IXML class.

I would suggest the second step. Because in the first step you need to learn another programming language calles XSTL [Extensible Stylesheet transformation Language].

It can be done in a transaction called XSLT_TOOL. The program can be executed standalone like a function module and which is required to be called dynamically from the reoprt program thru CALL TRANSFORMATION syntax.

This might be complex for you if the XML structure as per your requirement is complex !! So better go with IXML Class.

Cheers

Somnath paul