Show TOC

Procedure documentationTracing Functions Locate this document in the navigation structure

 

The trace tool helps you access information that is logged in while processing a function or an expression. Trace is a step-by-step explanation for processing a function. The information generated is also helpful for legal reasons. The trace details can be saved at runtime.

Example Example

You have a function and you can run the function for n times. If you want to see what has happened at a point of time, you can run the function for legal reasons and check if anything goes wrong. You can see the result at each step.

End of the example.

Prerequisites

Note Note

Use the trace tool for only those functions in which Internal Commit or External Commit options is selected under the Trace Mode field.

End of the note.

Procedure

  1. Create a function or open an existing function.

    More information: Creating a Function

  2. Under the Properties tab, in the Trace Mode field, choose Internal Commit or External Commit option.

  3. In the menu bar, choose   Tools   Trace  .

  4. In the Trace dialog box that appears, enter a username (optional) and choose the dates for the trace.

  5. Choose Query to search for the function name.

  6. In the Object Query dialog box that appears, you can either enter the name of the function in the Name field or enter the application name (in which the function is used) in the Application Name field.

  7. Select the function for trace and choose Select .

    The selected function name appears in the Function Name field.

  8. Enter the time period for which you want to trace the function.

  9. Choose Search.

  10. The traced details appear under the Trace Details section.

More Information

Creating a Function