SAP ABAP Message Class AQ_AD_HOC Message Number 228 (Ranked list has no valid criterion)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-QUE (Application Component) SAP Query
     SQUE (Package) Application Development R/3 SAP Query
Attribute
Message class AQ_AD_HOC  
Short Description SAP Query: Ad Hoc Query Messages    
Message Number 228  
Documentation status       Space: object requires documentation
Authorization check Error Message      
Changed On 20001214   
Message Text
Ranked list has no valid criterion
Help Document

Diagnosis

The compiled ranked list does not have a field that can be used as a sort field.
Since a ranked list always requires exactly one numerical sort field that has been designated as a ranked list criterion, the ranked list cannot be generated nor saved in this form.

System Response

Procedure

Sort the ranked list according to exactly one numerical field (type P, I, or F). If there is no numerical field in the ranked list, add a numerical field and sort according to this field.

If the counter function has been set under Settings -> Statistics, you can use this field as the criterium, if no alternative field is available.

Procedure for System Administration

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