Start of Content Area

Function documentation Trace Mode for Planning Functions  Locate the document in its SAP Library structure

Use

The trace mode allows you to obtain detailed information about which data objects have been changed and how when a planning function was executed. This function is especially useful when you set up new planning functions and parameter groups and want to check whether the function has the desired effect on the dataset.

Integration

The execution of planning functions in trace mode is available with all planning functions. (Although, the trace mode is not supported for manual planning.)

Functions

When you execute a planning function in trace mode, before the function is executed, the system logs the values changed by the planning function for every internal data object, as well as the corresponding values. Internal data objects that are edited when the planning function is executed are subsets of the transaction data contained in the planning package (you execute a planning function by selecting a package and a parameter group). This package is divided into smaller transaction-data data objects.  The only difference between the data objects is in the characteristic values of the characteristics to be changed.

After the function has been executed, you see the Log tab page in the right-hand area of the screen. Here you can find all the log information in the form of an overview of the transaction data records for which messages were triggered. For all messages that are not just Information messages (green status), you can display further Details on the selection conditions that caused the message to be triggered. These are those data records whose characteristic values or characteristics are the same and have not been selected as characteristics to be changed.

On the Trace tab page (screen Edited Objetcs) you can see an overview of all the edited internal data objects. For each internal data object you are able to:

·        Call a detailed view that displays the key figure values that have been changed by the planning function, broken down by the values of the characteristics to be changed.  If reference data is used when executing a planning function (for example, with the planning function typedistribution), this is also presented in a separate screen area.

·        Call a log that displays the messages triggered for the data records that are part of the data objects.

For more information about the internal data objects in which data from the package selection for the function execution is broken down, see Data Transfer to Planning Functions.

Activities

To execute a planning function in the trace mode, proceed as follows:

...

       1.      In the planning environment, select the planning area, level, and packages for which you want to edit data.

       2.      Expand the list of planning functions for the parameter groups with which you want to execute a planning function.

       3.      From the context menu of the parameter group, choose Execute with Trace.

The planning function is executed with the parameter group.

       4.      In the right-hand area of the screen, switch to the Trace tab page.

       5.      In the Detail column, choose This graphic is explained in the accompanying text to see the changes that the planning function has made to this data object. In the detail screen, the key figure values before executing the planning function have a light background, the values after executing the function have a dark background.

Note

In certain cases it is possible that only the values for the time before the function was executed are displayed in the detail screen for an internal data object, or only the values for the time after the function was executed. For example, this is the case when data records have been deleted (function type delete), or regenerated (function types copy, forecast).

       6.      Return to the overview.

       7.      In the Messages column, choose This graphic is explained in the accompanying text to display the message texts for the data objects to be edited.

 

See also:

Planning Functions

 

 

End of Content Area