0% found this document useful (0 votes)
7 views8 pages

06 - ABAP Basics - Others

The document provides an overview of message handling in ABAP, detailing various message types such as Success, Information, Warning, Error, Abend, and Terminate, along with their behaviors and display characteristics. It explains the syntax for using the MESSAGE statement and the concept of Message Classes, which group logically related messages and allow for translations. The document emphasizes the importance of authority checks in managing message display and execution flow.

Uploaded by

Nancy Gaber
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views8 pages

06 - ABAP Basics - Others

The document provides an overview of message handling in ABAP, detailing various message types such as Success, Information, Warning, Error, Abend, and Terminate, along with their behaviors and display characteristics. It explains the syntax for using the MESSAGE statement and the concept of Message Classes, which group logically related messages and allow for translations. The document emphasizes the importance of authority checks in managing message display and execution flow.

Uploaded by

Nancy Gaber
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 8

ABAP Basics

Others

1
 Messages
 Types of Messages
 Message Class
 Authority Checks

2
Overview

3
Messages
MESSAGE statement used to display/inform message to with specific severity.

Message Types:
 S – Success Message
 I – Information Message
 W – Warning Message
 E – Error Message
 A – Abend Message
 X – Terminate Message

Syntax:
MESSAGE <Text> TYPE <Message Type> [ DISPLAY LIKE < Other Message Type> ]

4
essages Type Behavior
S – Success Message
Display message in Status bar with Green color. Program execution still continue after executing the message statement

I – Information Message
Display message in the pop up. Program execution will be continued once click on enter on the popup

W – Warning Message
Display message in the Status bar with Yellow Color. Program execution will be continued once click on enter button

5
essages Type Behavior
E – Error Message
Display message in the Status Bar with Red Color. Program execution will be suspended until error corrected

A – Abend Message
Display message in the popup with error message. Upon clicking on the enter button, program will be abended.

X – Terminate Message
Program execution will be terminated with Runtime error

6
Message Class
Messages are repository objects. Message is a short text with its own ID that can be expanded using an optional long
text. Logically related Messages will be grouped in Message class. Message classes/ID created in the Message Editor.
Messages in one language can be translated to other languages

Syntax:
MESSAGE <Message Type><Message Number>(<Message ID>) [ WITH <place holders> ].

<place holder> helps to provide dynamic text

7
Translations

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy