2013 Nov 06 6:43 PM
Hi ,
My internal table having two structures.
data: begin of itab,
include str1, ( this is Header record)
include str2, ( this is Multiple record)
end of itab.
My requirement is to convert internal itab to XML output.
I used this syntax.
CALL TRANSFORMATION ('ID')
SOURCE tab = itab[]
RESULT XML xml_out.
*
(this place getting error).
CALL FUNCTION 'HR_EFI_CONVERT_STRING_TO_TABLE'
EXPORTING
i_string = xml_out
i_tabline_length = 100
TABLES
et_table = itab.
Thanks,
Rana
2013 Nov 07 2:16 AM
Hi Rana,
Why do you want to convert string to table anyway?
Cheers,
Custodio
2013 Nov 07 3:20 AM
Hi Custodio,
My intnernal table having two structues
one is header record and item record.
data: begin of itab,
Header record str,
item record ste,
end of itab.
example of one record:
HD Date1 Date 2 Total Amnt
CH Amt1
CH Amnt2
CH Amt3
I want to show this value as XML format.
2013 Nov 07 3:50 AM
2013 Nov 07 2:08 PM
Hi,
I would like to show XML as file on application server
this is content of internal table., this internal table having two structures
one record.
HD Date1 Date 2 Total Amnt ----str1
CH Amt1 ---str2
CH Amnt2 ---str2
CH Amt3 -----str3
Thanks,
Ravi