2007 Feb 15 11:48 PM
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
2007 Feb 16 1:08 AM
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.
2007 Feb 16 3:07 AM
Hema,
DATA : STR1(4) VALUE 'cdef',
STR2(4) VALUE 'klmn'.
REPLACE STR1 WITH STR2 INTO STRING.
Pls. Mark if useful..