SAP ABAP Message Class AQ Message Number 894 (Blank unit field found)
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  
Short Description Message texts for SAP Query    
Message Number 894  
Documentation status      
Authorization check Error Message      
Changed On    
Message Text
Blank unit field found
Help Document

Diagnosis

Your query includes currency amount fields or quantity fields. Each currency amount field and quantity field has a reference field (a currency key field or unit field) containing the relevant currency or unit. On reading one of the currency amount or quantity fields, the system discovered that the relevant unit field contained no value (SPACE). This indicates that the reference fields have not been properly maintained in the InfoSet used to create the query.
If the reference fields are not maintained, ABAP/4 Query is unable to distinguish between different currencies or units and therefore does not work correctly when calculating totals.

System Response

Procedure

Check the InfoSet. In the case of InfoSets which use logical databases, this error should not occur because the database program has to ensure that reference fields always contain the correct values.
With InfoSets which do not use logical databases, you may have to use record processing code to ensure that the reference fields of the selected currency amount and unit fields contain the correct values.

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