2010 Jul 15 10:23 AM
Hi experts,
I have a following problem with the XSLT transformation.
FIELD-SYMBOLS: <tab> TYPE table,
<line> TYPE ANY,
<tabz> TYPE ANY TABLE.
CREATE DATA a_table LIKE i_table.
ASSIGN a_table->* TO <tabz>.
GET REFERENCE OF <tabz> INTO g_xml_l-value.
g_xml_l-name = a_templid.
APPEND g_xml_l TO g_xml_t.
TRY.
CALL TRANSFORMATION z_ddu_xslt_test
SOURCE XML g_tab_cal "OK file was loaded
RESULT (g_xml_t). "Seems to be ok, but I am not sure if g_xml_l was referenced OK
CATCH cx_root INTO a_rif_ex.
a_text = a_rif_ex->get_text( ).
MESSAGE a_text TYPE 'E'.
ENDTRY.
Result is, that <tabz> have a two (correct) empty lines, but of course the data should be filled ...
When I replace <tabz> to some kind of simple structured table, result is like above ...
Thanks for help.
Hi experts,
I have a following problem with the XSLT transformation.
FIELD-SYMBOLS: <tab> TYPE table,
<line> TYPE ANY,
<tabz> TYPE ANY TABLE.
CREATE DATA a_table LIKE i_table.
ASSIGN a_table->* TO <tabz>.
GET REFERENCE OF <tabz> INTO g_xml_l-value.
g_xml_l-name = a_templid.
APPEND g_xml_l TO g_xml_t.
TRY.
CALL TRANSFORMATION z_ddu_xslt_test
SOURCE XML g_tab_cal "OK file was loaded
RESULT (g_xml_t). "Seems to be ok, but I am not sure if g_xml_l was referenced OK
CATCH cx_root INTO a_rif_ex.
a_text = a_rif_ex->get_text( ).
MESSAGE a_text TYPE 'E'.
ENDTRY.
Result is, that <tabz> have a two (correct) empty lines, but of course the data should be filled ...
When I replace <tabz> to some kind of simple structured table, result is like above ...
Thanks for help.
2010 Jul 15 10:29 AM
Problem solved.
There was internal problem with the I_TABLE structure.
Regards.
Edited by: Daniel Duras on Jul 15, 2010 3:34 PM