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: 

CALL TRANSFORMATION

Former Member
105

Hi

I am converting the internal table data into xml format using the below syntax.

CALL TRANSFORMATION id

SOURCE (Internal table)

RESULT (XML string )

I am extracting this string to Unix using transfert extract to filename.

I file is generated with single line.

Is there any possibility to break that at each tag <> for readability purpose.

Please suggest me.

Thanks

Hema

2 REPLIES 2

Former Member
0 Kudos
46

Try this....after your call transformation statement, call function HR_EFI_CONVERT_STRING_TO_TABLE to convert your string into a table. Then download the table data to whereever you want.

Former Member
0 Kudos
46

Hema,

DATA : STR1(4) VALUE 'cdef',

STR2(4) VALUE 'klmn'.

REPLACE STR1 WITH STR2 INTO STRING.

Pls. Mark if useful..