cancel
Showing results for 
Search instead for 
Did you mean: 

STRANS

Former Member
0 Kudos

Hi,

Has anybody tested xslt mapping via STRANS.

I am unable to test it as it always gives me error XSLT mapping not specified.

Without debugging, it is difficult for me to find the error that happens in the call transformation step

It raises an exception with cx_mapping_fault and error code 4. I am uanble to find where it failed in call transformation

This is the place where it fails.

TRY.

CALL TRANSFORMATION zxi_gen_error_email

SOURCE XML xml

RESULT email_details = ca_email_details_t.

CATCH cx_transformation_error INTO ca_oref.

MOVE ca_error_c TO ca_mpg_errcode.

RAISE EXCEPTION TYPE cx_mapping_fault

EXPORTING error_code = ca_mpg_errcode.

ENDTRY.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

There was a problem with one character in the namespace which was in CAPS. Now, it is working fine.