Application Development 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: 

Call Transformation Problem

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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ü

2 REPLIES 2

Former Member
0 Kudos

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ü

0 Kudos

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