‎2007 Jul 17 4:43 PM
Hi All,
Our SAP system is recently upgraded to ECC 6.0 from 4.7. I am getting a runtime error while executing a program. I debugged the code and came to know that the runtime error is because of the following statement.
CALL TRANSFORMATION (`Z_XSLT_QUERY_RESULT`)
SOURCE XML w_xml_out
RESULT outtab = <outtab>.
Please see below for more info on the runtime error.
Runtime Errors TRANSFORMATION_NOT_FOUND
Except. CX_INVALID_TRANSFORMATION
Date and Time 07/17/2007 10:32:11
Short text
No load could be found for transformation "Z_XSLT_QUERY_RESULT".
What happened?
A load was searched for transformation "Z_XSLT_QUERY_RESULT". This action
failed.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_INVALID_TRANSFORMATION', was not
caught in
procedure "PROCESS_FM" "(FORM)", nor was it propagated by a RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
A load was searched for transformation "Z_XSLT_QUERY_RESULT". This action was
unsuccessful
. Either the transformation does not exist or it contains syntax errors.
I checked executing the same program in 4.7 and it works fine.
Any info on this is appreciated.
Thanks,
Naga
‎2007 Jul 17 6:59 PM
Hi,
If the transformation is named Z_XSLT_QUERY_RESULT, the call transformation must be called as CALL TRANSFORMATION Z_XSLT_QUERY_RESULT (No parentheses or quotes are needed). If it is a dynamic transformation call, the it must be called as CALL TRANSFORMATION (Z_XSLT_QUERY_RESULT) (No quotes). You can use one of these contructions according to the type of the transformation call.
Regards,
Sükrü
‎2007 Jul 17 6:59 PM
Hi,
If the transformation is named Z_XSLT_QUERY_RESULT, the call transformation must be called as CALL TRANSFORMATION Z_XSLT_QUERY_RESULT (No parentheses or quotes are needed). If it is a dynamic transformation call, the it must be called as CALL TRANSFORMATION (Z_XSLT_QUERY_RESULT) (No quotes). You can use one of these contructions according to the type of the transformation call.
Regards,
Sükrü
‎2007 Jul 17 7:25 PM
Hi All,
Problem Solved.
Activated the Transformation "Z_XSLT_QUERY_RESULT" in SE80->Edit Object->More. Enter the Transformation name "Z_XSLT_QUERY_RESULT" in the Transformation field and open it. Activate the transformation.
Thanks,
Naga