SAP ABAP Data Element P_USEREXIT (User exit (S..: standard exits, U..: user exits))
Hierarchy
SAP_FIN (Software Component) SAP_FIN
   FI-SL-SL (Application Component) Basic Functions
     GPLN (Package) FI-SL planning
Basic Data
Data Element P_USEREXIT
Short Description User exit (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 User exit 
Long 20 User exit 
Heading Exit 
Documentation

If the revaluation factors offered do not suffice to perform a revaluation (for example, you want to multiply specific account groups with factor 1.5000 and other account groups with factor 1.7000), you can perform your own revaluation using a user exit.

The exit name must be structured as follows:

  • Sxx: Standard exit delivered by SAP which may not be changed by customers
  • Uxx: User exit created by the customer

xx represents a two-digit exit number.

The exit routines are defined in the following programs:

  1. Standard exits

Program RGLVS000

These exits are always cross-client and may not be changed.

  1. User exits:

See the entry for 'Rollup: User exits' in table T80D (can be maintained in FI-SL customizing).

Please note: The delivered T80-D entry for rollup user exits (exit program RGLVUmmm) is only an example. If you want to use user exits, you should enter an exit program at this point which lies within the customer name range (ZGLVUmmm, for example) and assign an appropriate customer development class to it.

The FORM routines in the program must be structured as follows. xx again represents the exit number:

  1. FORM Dxx_USER_EXIT

In this user exit, all key fields are accessed via the GLU1 structure and all data fields via the GLU2 structure.

In each exit routine, the contents of the field SY-SUBRC must be set to a value >= 0 so that the routine can be recognized in the existence check.

Example

Program RGLVS000 contains an example for a user exit (routine D02_USER_EXIT).

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