SAP ABAP Data Element EXIT_NR_CO (Exit number (S..: standard exits, U..: user exits))
Hierarchy
SAP_FIN (Software Component) SAP_FIN
   CO-OM-CCA (Application Component) Cost Center Accounting
     KSRO (Package) Application-Specific Rollup (Cost Centers)
Basic Data
Data Element EXIT_NR_CO
Short Description Exit number (S..: standard exits, U..: user exits)  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type EXIT_NR    
Data Type CHAR   Character String 
Length 3    
Decimal Places 0    
Output Length 3    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Exit no. 
Medium 15 Exit number 
Long 20 Exit number 
Heading Exit 
Documentation

Description

With an exit, you can modify the contents of the field assigned to the exit when you perform a summarization.

This function is useful if you want to summarize cost elements in a cost element group, for example.

The exit name must be structured as follows:

  • Sxx: Standard exit supplied by SAP and valid for all clients.
  • Uxx: User exit, created by the user and modifiable.

xx stands for a two-digit number.

The exit routines are defined in the following programs:

  1. Standard exits

Program RKROS000

  1. User exits:

Compare entry to "Cost center summarization: user exits" in Table T80U.

If the "Client-specific" indicator is set, the report name is YYYYYmmm, where YYYYY can be any combination of characters (it should start with Z, however) and mmm is the system client.

If the indicator is not set, the report name entered (YYYYYYYY) can be directly transferred. The defined user exits apply for all clients in this case.

Note: The supplied T80U entry for cost center summarization user exits (exit form pool RKROUmmm) is only an example. Should you wish to use user exits, you should enter an exit form pool here that lies within the customer name area (for example, ZKROUmmm) and assign it to the corresponding customer development class.

The form routines in the program must have the following structure, where xx stands for the exit number:

FORM Cxx_USER_EXIT

The "C" at the beginning of the exit routine must always be placed before the exit for technical reasons; xx again is the exit number.

For example, entry U03 would become exit routine C03_USER_EXIT in the user exit program.

Important note

In the appropriate exit, you can access the field to be changed by using the CCSS structure.

The contents of the SY-SUBRC field in every exit routine must be set to >= 0. This enables the SAP System to validate the routine.

A user exit example supplied by SAP can be found in program RKROU000.

History
Last changed by/on SAP  19950401 
SAP Release Created in