Get Example source ABAP code based on a different SAP table
ABAP_AMC - Suppressing Standalone Messages This example demonstrates the suppression of AMC> messages to the current ABAP session.
ABAP_SOURCE_CODE DEMO CL_DEMO_AMC_SUPPRESS_ECHO
ABAP_DESCRIPTION Like in the executable example for Receiving Messages>, a receiver object for the messaging channel /demo_text > of the application DEMO_AMC> from the package SABAPDEMOS > is registered. In the example shown here, the text message can be sent by calling the class CL_DEMO_SEND_AMC>> from the example Sending Messages> within the same ABAP session. The message is only received if the initial value is transferred during sending to the parameter I_SUPPRESS_ECHO> of the method CREATE_MESSAGE_PRODUCER>. If the Suppress echo> checkbox is selected, on the other hand, the message is suppressed.