SAP ABAP Data Element SORTCHAR (Sequence of sort criteria)
Hierarchy
SAP_HRRXX (Software Component) Sub component SAP_HRRXX of SAP_HR
   PA-PA (Application Component) Personnel Administration
     PBAS (Package) SAP HR Master Data Application Development
Basic Data
Data Element SORTCHAR
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 CHAR9    
Data Type CHAR   Character String 
Length 9    
Decimal Places 0    
Output Length 9    
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  
Medium  
Long  
Heading  
Documentation

Definition

Sort criteria sequence

You can use this parameter to define the sort criteria for lists.
You can choose the following criteria:

Company code
' Personnel area
' ' Personnel subarea
' ' ' Cost center
' ' ' ' Employee group
' ' ' ' ' Employee subgroup
' ' ' ' ' ' Organizational unit
' ' ' ' ' ' ' Personnel ID
' ' ' ' ' ' ' ' Name
' ' ' ' ' ' ' ' '
1 2 3 4 5 6 7 8 9

The parameter is nine characters long. Each character is assigned to a sort criterion (see above).

For example, 1st character for company code, 2nd for personnel area, etc. You can define the sort sequence by assigning priorities to the individual sort criteria. Enter a '1' under the sort criterion with the highest priority. Proceed in the same manner for the sort criterion with the second highest priority and enter '2'.

Note: The 'Sort: field names type' database sort parameter is replaced by this parameter, and may therefore not be used.

Examples:
----------
a) Sort according to company code, cost center, personnel subarea and employee group.
Solution: 1234567
Sort sequence ... 1 234
The remaining sort criteria do not apply and therefore do not need to be entered.

b) Parameter default:
1234567
Sort sequence... 1234567
results in sorting by:
Company code, personnel area, personnel subarea, cost center,
employee group, employee subgroup, organizational unit

History
Last changed by/on SAP  19940827 
SAP Release Created in 470