SAP ABAP Message Class BL Message Number 217 (Inconsistent context-dependent statistics definition)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-BAL (Application Component) Basis Application Log
     SZAL_COMMON (Package) Generally-Available Objects
Attribute
Message class BL  
Short Description Application Log    
Message Number 217  
Documentation status       Space: object requires documentation
Authorization check Error Message      
Changed On 20110908   
Message Text
Inconsistent context-dependent statistics definition
Help Document

Diagnosis

You tried to define a statistic in the Application Log which does not satisfy the requirements.

System Response

An error message is sent.

Procedure

An Application Log statistic collects information at runtime about how many errors, warnings, etc. have been collected for a context information.

This context information is defined with the structure BAL_S_SDEF and comprises the context structure name (field TABNAME) and a set of fields (T_FIELDS) from the structure.

Example:
A runtime statistic is to be maintained of the number of errors per plant/warehouse. TABNAME could contain 'MY_STRUC', and T_FIELDS the 'WERK' and 'LGORT' fields in MY_STRUC.

Possible statistic definition errors:

  • The specified structure is not flat (i.e. it contains structures or tables) or is longer than 256 bytes. This structure cannot be used for message context.
  • T_FIELDS contains more than 10 fields
  • A field in T_FIELDS does not exist in the structure
  • The sum of the field lengths is greater than 60 bytes
  • A field does nicht have one of the following types:
    • C: Character
    • N: Number
    • D: Date: YYYYMMDD
    • T: Time: HHMMSS
    • X: Byte (heXadecimal)
    • P: Packed number

Procedure for System Administration

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