Show TOC Start of Content Area

Function documentation Customer Exits   Locate the document in its SAP Library structure

Use

If you want to process a variable using a processing type other than Manual Entry/Default Value, Replacement Path, SAP Exit, or Authorization, you can use Customer Exit to set up a customized processing type for variables to suit your specific needs.

The customer exit is designed as an enhancement that you can configure with customer-specific logic. For detailed, general information about customer exits and their use, see the Enhancements to the Standard section of the BC Changes to the SAP Standard documentation.

Integration

You can process all variable types (characteristic value variables, hierarchy node variables, hierarchy variables, formula variables, and text variables) using the processing type Customer Exit.

Prerequisites

You have created a project in the CMOD transaction. You have selected SAP enhancement RSR00001 and assigned it to the enhancement project. You have activated the project.

Note

For more information about working with SAP enhancement for global variables in Reporting, see SAP Enhancement Help.Call transaction SMOD. Enter the name of the enhancement (RSR00001), choose Documentation and then Edit Display Subobject.

You can find general information about working with customer exits in transaction CMOD under Help Application Help.

Features

The Customer Exit processing type for variables allows you to use a function module exit to set default values for variables.This is the function module EXIT_SAPLRRS0_001.

Example

You want to use one characteristic value to calculate a second characteristic value. The InfoProvider only contains the calendar day. However, you now also want to display the cumulated value for the relevant period (beginning with the first day of a quarter) in a query.

For the first day of the quarter, use a variable with customer exit processing. If you now enter the current calendar day (for example, 06/19/2000), a start date of 06/01/2000 appears in the customer exit, and the cumulated value of this period can be displayed.

Article

Sales 06/19/2000

Sales 06/01/2000 – 06/19/2000

A

5

263

B

7

157

C

2

67

For an example of ABAP code, see Dependencies for Variables of Type Customer Exit.

Activities

In the variables editor, on the General tab page, choose the Customer Exit processing type.

 

See also:

Dependencies for Variables of Type Customer Exit

 

End of Content Area