11-09-2007 5:16 PM
I need a function for transfer files to xml files in ABAP SAP and used in interface.
11-11-2007 9:16 PM
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
01-17-2008 2:13 PM
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