Hierarchy

⤷

⤷

IMG Activity
ID | BW_VARCMOD | Customer exit for variables |
Transaction Code | S_BR3_49000005 | IMG Activity: BW_VARCMOD |
Created on | 19990303 | |
Customizing Attributes | BW_VARCMOD | Customer Exit for Variables |
Customizing Activity | BW_VARCMOD | Customer exit for variables |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | BW_VARCMOD |
Requirements
If you need to process a variable using a processing type other than than the manual entry/default value, replacement path or SAP exit processing type, you can use a customer exit to set up a processing type for variables that is tailored to your specific requirements.
You can process all variable types (characteristic value-, node-, hierarchy-, formula- and text variables) using the customer exit processing type. In variable maintenance, choose the customer exit processing type for the respective variable.
The customer exit is a preconceived enhancement, a kind of "modification shell", that you can structure with customer-specific logic.
Standard settings
The customer exit processing type allows you to determine the default values for variables using a function module exit. The function module involved is EXIT_SAPLRRS0_001.
Example
In an enterprise, different employees are responsible for different products. These employees should only carry out reporting for their own products. Therefore, only those products for which a particular employee is responsible are to be reported on in a query.
You use a variable in the query for the characteristic value of the "product" characteristic with processing type "customer exit" and determine the default values for this variable as being dependent on the user. When executing the query, the characteristic value variable "product" is replaced with the user master data for the respective employee using the customer exit.
Activities
Create a project in transaction CMOD. Choose the SAP enhancement RSR00001 and assign it to the enhancement project. Activate the project.
Detailled procedure:
If the functionality provided in SAP BW does not sufficiently cover your company structures, you can develop function enhancements with transaction CMOD. To do this, proceed as follows:
- In the Project field, enter a name for your enhancement project.
- Choose Project -> Create.
- Enter a short description for your project.
- Save the attributes (administration information) for the project by choosing Attributes -> Save.
- Choose function Goto -> SAP Enhancements.
- Im the Enhancement field, specify the name of the SAP enhancement that you want to edit. You can combine several SAP enhancements into one enhancement project. In order to display the SAP documentation on a SAP enhancement, place the cursor on the name of the SAP enhancement and choose function SAP Enhancements -> SAP Documentation.
- Save your entries.
- Go back to the start screen.
- Select the subobject Enhancement Components.
- Choose Change. The SAP enhancement you selected is displayed with the corresponding components. Place the cursor on the name of the component that you want to edit (for example, EXIT_SAPLRSAP_001), and choose Edit -> Component. You reach the ABAP Editor (display function module).
- When you double click on the INCLUDE row, you are asked to create the INCLUDE object. If you have already created this object, double click to branch directly to the ABAP Editor (display program). There you can write your own coding.
- If the object has not been created yet, you have to specify the program attributes first.
- Save the program attributes.
- Choose Goto -> Source Text. You get to the ABAP Editor.
- Enter coding for your program.
- Save the program.
- Go back to the start screen.
- Activate your enhancement project in Project -> Activate Project. The enhancement only comes into effect when you activate the project .
Further notes
For more information on working with the enhancement for global global variables in reporting, see the help documentation for the enhancement. Call transaction SMOD. Enter the name of the enhancement (RSR00001), choose Documentation and then Edit -> Display Subobject.
For general information on working with customer exits, see Help -> Extended help in transaction CMOD.
Business Attributes
ASAP Roadmap ID | 262 | Technical and Graphical Settings |
Mandatory / Optional | 2 | Optional activity |
Critical / Non-Critical | 2 | Non-critical |
Country-Dependency | A | Valid for all countries |
Assigned Application Components
Documentation Object Class | Documentation Object Name | Current line number | Application Component | Application Component Name |
---|---|---|---|---|
SIMG | BW_VARCMOD | 0 | ARS0000025 | SAP Business Information Warehouse |
Maintenance Objects
Maintenance object type | C | Customizing Object |
Assigned objects | ||||||
---|---|---|---|---|---|---|
Customizing Object | Object Type | Transaction Code | Sub-object | Do not Summarize | Skip Subset Dialog Box | Description for multiple selections |
CMOD | L - Logical transport object | CMOD | BW_1CMODBR |
History
Last changed by/on | SAP | 20020708 |
SAP Release Created in |