SQL Server administration and T-SQL development, Web Programming with ASP.NET, HTML5 and Javascript, Windows Phone 8 app development, SAP Smartforms and ABAP Programming, Windows 7, Visual Studio and MS Office software
Development resources, articles, tutorials, code samples, tools and downloads for SAP HANA and ABAP, HANA Database, SQLScript, SAP UI5, Screen Personas, Web Dynpro, Workflow


How to find where a Message is used in ABAP Programs

This SAP tutorial shows to find where a message is used in ABAP codes. ABAP Message Classes are used for handling error messages, success or information messages.

Assume that you have experienced an error message: "Error while persisting Central Configuration Changes" with SRT 435

First find the package of the ABAP Message Class
When I search the message with message code I found the hierarchy of the message class and its structure in ABAP dictionary as follows.

SAP

Another way is to launch SAP transaction code SE91 Message Maintenance.

SAP SE91 tcode for message maintenance

Launch SE80 and display the package in which the message class is created.

SAP

Double click to open the message class in editor.
Switch to Messages tab.
Highlight the error message you were searching for
Click on Where-Used List button.

SAP

Mark all applicable for your search.

SAP

Press Execute (F8) or Enter icon to start search for ABAP message class entry in all ABAP codes filtered by using above screen criteria.

When the list is displayed, on menu icons press "Select All (F9)" . When all existence records are marked, this time press "Detail View Lines" icon to see the ABAP codes where exactly the message is used.

SAP

It is also possible for ABAP developer to search for all places where the message class is used in general.
Click on the message class name on editor then search by pressing where-used list button.



SAP HANA and ABAP

Install SAP Free
CRM Companies List
Web Based CRM Software


Copyright © 2004 - 2021 Eralper YILMAZ. All rights reserved.