SAP IF T100 DYN MSG ABEXA



Get Example source ABAP code based on a different SAP table
  



ABAP_MSG - IF_T100_DYN_MSG in a Regular Class
This example demonstrates how a regular class is linked with a message

ABAP_SOURCE_CODE
DEMO CL_DEMO_IF_T100_DYN_MSG

ABAP_DESCRIPTION
This example applies the executable example for the interface IF_T100_MESSAGE to the interface IF_T100_DYN_MSG directly. If IF_T100_DYN_MSG is used, it is no longer necessary to create separate attributes for the placeholders of the message. The attributes of the interface are used instead. Furthermore, the message type can be stored and evaluated in the interface attribute msgty. If IF_T100_MESSAGE is used, a separate attribute must be declared here. The attribute can then be used in the MESSAGE statement in ABAP language versions where that syntax is allowed.