Skip to Content
author's profile photo Former Member
Former Member

Differents types of messages?

Hi All,

What are the diff types of messages available?

Regards,

Kiran

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2007 at 03:52 AM

    Hi Kiran,

    There are 6 types of normal messages they are

    <b>TYPE->DESCRIPTION->DILOG BEHAVIOUR->MESSAGE APPEARS IN</b>

    1. i ->Info Message->Program continues after Interruption->Model Dilog Box

    2. s->Set Message->Program continues without Interruption->Status bar of next screen

    3. w->Warning->Context Dependent->Status bar or model dilog box

    4. e->Error->Context Dependent->Status bar or model dilog box

    5. a->Abort->Program Cancelled->Model dilog box

    6. x->Exit->Runtime error MESSAGE_TYPE_X triggered->Short dump

    You use the MESSAGE statement to send dialog messages to the users of your

    program. When you do this, you must specify the three digit message number

    and the message class.

    Message number and message class clearly identify the message to be displayed.

    You use the message type to specify where the message is to be displayed. You

    can test the display behavior for using the different message types by means of the

    DEMO_MESSAGES demo program that is shipped in the SAP standard.

    If the specified message contains placeholders, you can supply them with values

    from your program by using the WITH addition. Instead of the placeholders, the

    transferred values then appear in the displayed message text.

    For further information on the syntactical alternatives to the MESSAGE statement,

    refer to the keyword documentation.

    Regards,

    Chandru

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2007 at 03:47 AM

    Hi Kiran,

    I am not sure abt which messaes u r asking abt if it is normal messags then there are 6 types og messages they are error, abort, warning, information, sucess, exit..

    if abt ale messages then again those are differet.....

    regards,

    sana..

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2007 at 04:01 AM

    hi kiran,

    there are generally 6 types of messages,described as below.

    A --> Termination Message

    The message appears in a dialog box, and the program terminates. When the user has confirmed the message, control returns to the next-highest area menu.

    E --> Error Message

    Depending on the program context, an error dialog appears or the program terminates.

    I --> Information

    The message appears in a dialog box. Once the user has confirmed the message, the program continues immediately after the MESSAGE statement.

    S --> Status Message and Sucess message

    The program continues normally after the MESSAGE statement, and the message is displayed in the status bar of the next screen.

    W --> Warning

    Depending on the program context, an error dialog appears or the program terminates.

    X --> Exit

    No message is displayed, and the program terminates with a short dump. Program terminations with a short dump normally only occur when a runtime error occurs. Message type X allows you to force a program termination. The short dump contains the message ID.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.