ABAPMESSAGE_SHORTREF - MESSAGE SHORTREF

BAL_S_LOG - Application Log: Log header data   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

MESSAGE

Reference



Syntax

MESSAGE { tn
        | tn(id)
        | {ID mid TYPE mtype NUMBER num}
        | {oref TYPE mtype}
        | {text TYPE mtype} }
        { { [DISPLAY LIKE dtype]
            [RAISING exception] }
        | [INTO text] }
        [WITH dobj1 ... dobj4].


Effect

Displays a message.

Additions

Specification of Message and Message Type:

  • tn - Messagetype t , message number n, message class from addition MESSAGE-ID of the program introduction.

  • tn(id) - Message type t , message number n, message class id.

  • ID mid TYPE mtypeNUMBER num - Message type from mtype, message number from num, message class from mid.

  • oref TYPE mtype - message type from mtype, message number and message class from the IF_T100_MESSAGE interface implemented in thedynamic type of the object reference variables oref .

  • text TYPE mtype - Message type from mtype, message text from text.

Specification of the display type

  • DISPLAY LIKE dtype
    Displays the message in a dialog window and uses the icon of the message type specified in dtype.

  • RAISING exception
    Either displays the message or triggers an non-class-based exception exception in afunctionmodule or in a method. The exception to which return values were assigned in the call is triggered, another exception displays the message.

  • INTO text
    Returns the message text in text; the message is not displayed.

  • WITH dobj1 ... dobj4
    Replaces the place holders "&1" to "&4" and "&" of the message text with the contents of dobj1, ... dobj4.





TXBHW - Original Tax Base Amount in Local Currency   ABAP Short Reference  
This documentation is copyright by SAP AG.


Length: 3706 Date: 20120523 Time: 001254     triton ( 101 ms )