Application Development and Automation 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: 
Read only

CALL TRANSFORMATION

Former Member
0 Likes
927

Is it possible to add a table type within a structure that is begin passed into call transformation? I am trying to convert xml file data into abap structure which has a table type within a table type. Is this possible?

In the xslt i have a loop with in a loop and it works fine from XSLT but errors out when calling from ABAP program.

error is :CX_XSLT_FORMAT_ERROR

1 ACCEPTED SOLUTION
Read only

former_member156446
Active Contributor
0 Likes
657

try catching it :

CATCH cx_xslt_format_error INTO cx_format_error.

WRITE 😕 'kernel_errid = ', cx_format_error->kernel_errid.

err_text = cx_format_error->get_text( ).

WRITE 😕 'text = ', err_text.

3 REPLIES 3
Read only

former_member156446
Active Contributor
0 Likes
658

try catching it :

CATCH cx_xslt_format_error INTO cx_format_error.

WRITE 😕 'kernel_errid = ', cx_format_error->kernel_errid.

err_text = cx_format_error->get_text( ).

WRITE 😕 'text = ', err_text.

Read only

Former Member
0 Likes
657

thanks for the reply. I did check and it give the error as cx_xslt_format_error: Unexpected text for XML-ABAP transformation

this is the table type structure i have within a table structure. I need do separate loops instead of a loop within a loop.

Read only

Former Member
0 Likes
657

Wrong looping in xslt