Show TOC Start of Content Area

Procedure documentation Starting and Exiting a Debugging Session   Locate the document in its SAP Library structure

Use

Using the XSLT debugger, you can inspect the execution of an XSLT transformation in debugging mode. To start a debugging session, you need to set at least one breakpoint in the XSLT program. After that you need to call the XSLT transformation either using the test environment or, from an ABAP program, using the CALL TRANSFORMATIONstatement.

Note

Unlike the ABAP Debugger, you cannot start the XSLT Debugger directly.

Prerequisites

·        The XSLT program to be examined is available as an active version.

·        The XML document, which serves as a transformation source, is either mentioned in the SOURCE addition of the CALL TRANSFORMATION statement or you have uploaded the file in the test environment.

Procedure

Starting a Debugging Session

...

       1.      In the Object Navigator (transaction SE80), choose the XSLT program to be examined and start the Transformation Editor.

       2.      Position the cursor on the line where you wish to set a breakpoint.

       3.      In the application toolbar, choose This graphic is explained in the accompanying text with the quick info text Set Breakpoint.

       4.      Start the test environment for the XSLT transformation or the respective ABAP program that contains the CALL TRANSFORMATION statement for the respective XSLT transformation.

You have started the XSLT debugger and can use the different debugging functions.

Exiting a Debugging Session

There is no explicit function for closing a debugging session. To close the debugger at any point, proceed as follows:

...

       1.      Delete all breakpoints that appear after the currently executed line in the XSLT program.

       2.      In the application toolbar, choose This graphic is explained in the accompanying text with the quick info text Continue.

 

 

End of Content Area