Show TOC

Function documentationXML Tracer Locate this document in the navigation structure

 

This action is used to help debug or track transaction execution.

Features

This action allows you to define an XML file path to log information to when the transaction runs. If the file already exists, it appends information to the files. If it does not exist, a new file is created. The Internet Guest Account user and SYSTEM accounts need read, write, and create privileges for the directory where you want to create the output file.

This action can be inserted anywhere in your transaction. To move data into the trace file at runtime, map a specific value or expression to the Message property. You can organize the messages by category. You can add all output messages to a single file or to many separate files. The output format is standard SAP Manufacturing Integration and Intelligence (SAP MII) XML which means the output can be used as an input to a visual component or sent to another transaction for consumption.

The properties for this action are listed in the following table:

Property

Data Type

Access

Use

FilePath

String

In and out

Contains the string that references the file name and path.

Category

String

In and out

Contains the string that is output to the XML file's <Category> element for this row.

Message

String

In and out

Contains the string that is output to the XML file's <Message> element for this row.

Success

Boolean

Out

Indicates whether the action succeeded or failed. If it failed, errors are displayed in the server trace log.