2013 Jul 27 10:05 AM
Hi!
Use
TRY.
CALL TRANSFORMATION z_xml
SOURCE XML l_xmlstr
RESULT root = et_root.
CATCH cx_st_error INTO l_error.
l_text = l_error->get_text( ).
ENDTRY.
l_text = l_error->get_text( ) - This method return only (expl: data(1)employee(2)PERNR(20) )
how to find the line where the error xml ?
ex: l_text = get_str_where_error( ).
result
l_text = <PERNR>777+dd<PERNR/>.
Please Help!
2013 Jul 28 11:37 PM
Hi,
Check the below links to know how to debug the CALL TRANSFORMATION in XSLT debugger.
http://help.sap.com/erp2005_ehp_04/helpdata/en/07/88273c3f2b3c7ce10000000a11402f/content.htm
http://help.sap.com/erp2005_ehp_04/helpdata/en/10/85353c9a70a57be10000000a11402f/content.htm
Cheers,
Arindam
2013 Jul 28 11:37 PM
Hi,
Check the below links to know how to debug the CALL TRANSFORMATION in XSLT debugger.
http://help.sap.com/erp2005_ehp_04/helpdata/en/07/88273c3f2b3c7ce10000000a11402f/content.htm
http://help.sap.com/erp2005_ehp_04/helpdata/en/10/85353c9a70a57be10000000a11402f/content.htm
Cheers,
Arindam
2013 Jul 29 4:32 AM
2013 Jul 29 7:37 AM