SAP ABAP Data Element EMSG_USAGE_FLAG (Indicator whether EMSG is to be used)
Hierarchy
SAP_ABA (Software Component) Cross-Application Component
   CA-GTF-TS-BRHF (Application Component) Basis-Related Help Functions, Appl. Log, Formula Intepreter
     BMESSAGE (Package) Messages and Notes
Basic Data
Data Element EMSG_USAGE_FLAG
Short Description Indicator whether EMSG is to be used  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type EMSG_USAGE_FLAG    
Data Type CHAR   Character String 
Length 1    
Decimal Places 0    
Output Length 1    
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 Use EMSG 
Medium 15 Use EMSG 
Long 20 Use EMSG 
Heading 30 Indicator: Use EMSG 
Documentation

Definition

Defines whether the internal usage of the EMSG message tool for triggering program exceptions is required in the respective context.

Use

The use of the EMSG tool can have unwanted side-effects for a calling application, and it might be necessary to prevent the EMSG from being used in certain contexts. This indicator can be used:

  • In interfaces (such as API modules)
  • In database tables (for example, in the registration and configuration of a service)

This indicator has the following values:

+         Use EMSG   

-        Do not use EMSG

In addition to data element EMSG_USAGE_FLAG, EMSG has two constants:

  • CO_MSG_EMSG_ON     = '+'
  • CO_MSG_EMSG_OFF     = '-'

These are available in include EMSG_CONSTANTS. However, calling applications cannot work directly with + and -.

Dependencies

The respective application defines the default setting in the relevant places, and how these and other settings (for example, space) are interpreted. For reasons of compatibility, the default setting of this indicator is + in most cases.

Example

History
Last changed by/on SAP  20110908 
SAP Release Created in 710