Skip to Content

abap to xml - call transformation


I am trying to create an xml file from ABAP internal table. My xml file is a multi-level structure, so my internal table is a bit complex, having multiple parent child tags defined.

Once my internal table is ready, I use call transformation ('ID') or call transformation ('ID_INDENT'), to convert my internal table into an xml stream.

The issue:

The third party program which is going to use this xml file, expects case-sensitive tags. Since I am converting my internal table into xml, all tags of generated xml file are in caps.

Any idea how can I have case sensitive xml tags?

I thought of using type abap_trans_srcbind_tab for defining my internal table. But that will not allow me to have multi-level parent-child tags.

Any help?

This is CRM 4.0 - SAP_ABA 620.



Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Feb 21, 2008 at 02:50 PM


    In my opinion you will always get name of tags in upper case.


    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 21, 2010 at 10:11 AM


    It is possible to insert an structure abap inside a structure abap for example:

    I have two structures:

    TYPES: BEGIN OF costumer_account,
            KTOKD  type Ktokd,
          END OF costumer_account.
    TYPES: BEGIN OF client,
          kunnr  TYPE kunnr,
          name1  TYPE ad_name1,
          END OF client.

    And i want to insert this two structures in xml like that:

      <?xml version="1.0" encoding="utf-8" ?> 
    - <asx:abap xmlns:asx="" version="1.0">
    - <asx:values>
      <KTOKD /> 
      <SORT1 /> 

    Add comment
    10|10000 characters needed characters exceeded