Skip to Content
0
Mar 07, 2015 at 05:58 PM

How to keep internal table column name lower case?

846 Views

Is there a way to keep the column names for a internal table "lower case" when passing it to a "Call Transformation" to convert the data to json? I really need the column names to be lower case since the js i'm using requires the keys to be lowercase to properly build out the structure. When the transformation occurs it's making the column names uppercase.

CALL TRANSFORMATION id

SOURCE test = itest

RESULT XML json_writer.

Here is the internal table.

TYPES: BEGIN OF test,

id TYPE string,

parent TYPE string,

text TYPE string,

END OF test.

DATA: wa_test TYPE test,

itest TYPE STANDARD TABLE OF test.