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: 

How do you generate a XML file in 4.6c?

former_member600549
Participant
0 Kudos

I have the requirement to generate xml files in SAP 4.6c from abap data. I am down-porting existing software and something that I came across doesn't exist in 4.6c. cl_salv_ex_util and cl_salv_bs_tt_util do not exist so we don't have the transformation method.

      result_data = cl_salv_ex_util=>factory_result_data_table(
        r_data         = temp_data_ref
        t_fieldcatalog = fieldcat ).


     cl_salv_bs_tt_util=>if_salv_bs_tt_util~transform(
        EXPORTING
          xml_type      = xml_type
          xml_version   = if_salv_bs_xml=>version_26
          r_result_data = result_data
          xml_flavour   = if_salv_bs_c_tt=>c_tt_xml_flavour_export
          gui_type      = if_salv_bs_xml=>c_gui_type_gui
        IMPORTING
          xml           = xml_xstring ).

I need something to replace this in 4.6c. What should I do/use?

2 REPLIES 2

raymond_giuseppi
Active Contributor

(For info : since 31.03.2013 46c is out of extended maintenance)

Did you look in old discussions/threads for interfaces if_ixml and if_ixml_stream_factory and associated classes?

0 Kudos

I will look into them and come back if I have any questions, thank you