sapdev logo background
sapdev logo sapdev logo
Comments

SAP MESSAGE INTERFACE ABEXA documentation, setup help and example usage



Return to SAP documentation index


ARTICLE

Sending a Message Using an Interface Reference Variable
This example demonstrates how to send a message using an interface reference variable.

ABAP_SOURCE_CODE
ABAP_EXEC

ABAP_DESCRIPTION
The operand msg of the statement MESSAGE is passed a functional method
meth whose return code is a reference variable of the type IF_T100_MESSAGE . The method fills this reference variable with a reference to an exception object of a local exception class.
The local exception class lcx_exception implements the interface IF_T100_MESSAGE . It fills the attribute T100KEY of this interface with values that take a certain message from the table
T100 and that replace the placeholder " " in the message with the content of the attribute text . The attribute text is filled when the exception is raised.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




MESSAGE_GLOSRY
MESSAGE_MAINTENANCE_GLOSRY




comments powered by Disqus