SAP ABAP Data Element SORT_STR (Sequence of sort criteria)
Hierarchy
SAP_HRRXX (Software Component) Sub component SAP_HRRXX of SAP_HR
   PY-XX (Application Component) Payroll: General Parts
     PCAL (Package) SAP HR Payroll Application Development
Basic Data
Data Element SORT_STR
Short Description Sequence of sort criteria  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type CHAR10    
Data Type CHAR   Character String 
Length 10    
Decimal Places 0    
Output Length 10    
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 Sort.crit. 
Medium 18 Sort sequence 
Long 18 Sort sequence 
Heading 32 Sequence of sort criteria 
Documentation

Use

This parameter enables you to specify the criteria for sorting the payroll journal.

The following criteria are available for you to choose from:

Criterion    Indicators

Company code    A

Personnel area    B

Personnel subarea    C

Cost center    D

Employee group    E

Employee subgroup    F

Organizational unit    G

Social insurance number    H

Personnel number    I

Name    J

Procedure

You determine the sort sequence by entering each of the criteria indicators you want in the parameter in whatever sequence you require, leaving no spaces in between.

In the SAP standard version the parameter is preset as follows:

Sort sequence ... ABC

This parameter setting will sort according to company code (highest priority), then according to the personnel areas under the company code (second highest priority) and finally according to the personnel subareas under the personnel area (third highest priority).

Examples

You want to sort according to company code, cost center, employee group and employee subgroup.

Solution:

Sort sequence ... ADEF

Dependencies

The sort criteria "Social insurance number", "Personnel number" and "Name" should only be used as a last sort criterion.

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