SAP ABAP Data Element AMC_MESSAGE_TYPE_ID (Message type ID for ABAP Messaging Channel Messages)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-MID-AC (Application Component) ABAP Channels
     SAMC_DESIGN_TIME (Package) AMC design time package
Basic Data
Data Element AMC_MESSAGE_TYPE_ID
Short Description Message type ID for ABAP Messaging Channel Messages  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type AMC_MSG_TYPE_ID    
Data Type CHAR   Character String 
Length 30    
Decimal Places 0    
Output Length 30    
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 MSGTYPEID 
Medium 20 Message Type ID 
Long 35 Message Type ID 
Heading 55 Message Type ID 
Documentation

Definition

The ABAP Messaging Channels (AMC) are strongly typed and each channel has its associated ABAP type. Each AMC message which is sent on an AMC channel has the same type as its underlying AMC channel. The ABAP types associated to AMC channels and message types are as follows:

  • Message type "TEXT": ABAP type "STRING"
  • Message type "BINARY": ABAP type "XSTRING"
  • Message type "PCP" for Push Channel Protocol: ABAP interface "IF_AC_MESSAGE_TYPE_PCP"

Use

The AMC message types are used in context of ABAP Messaging Channels (AMC channels) and are used to define the type of messages which can be published on a channel.

Dependencies

Specific producer and receiver interfaces for the associated message types are assigned to each AMC channel and message type. These are:

  • Message type "TEXT":
    • Producer interface: IF_AMC_MEESSAGE_PRODUCER_TEXT
    • Recevier interface: IF_AMC_MEESSAGE_RECEIVER_TEXT
  • Message type "BINARY":
    • Producer interface: IF_AMC_MEESSAGE_PRODUCER_BINARY
    • Recevier interface: IF_AMC_MEESSAGE_RECEIVER_BINARY
  • Message type "PCP":
    • Producer interface: IF_AMC_MEESSAGE_PRODUCER_PCP
    • Recevier interface: IF_AMC_MEESSAGE_RECEIVER_PCP

Example

A simple example for the useage of AMC message types is described in the ABAP help documentation and under ABAP term "AMC". The usage procedeure for all other message types mentioned above is the same.

History
Last changed by/on SAP  20140117 
SAP Release Created in 740