Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Message Error Log Report ?

Former Member
0 Likes
679

I have a internal table with structure

MSGID

MSGTY

MSGNO

MSGV1

MSGV2

MSGV3

MSGV4

I wast to display error log as report, Is there any exiting Function Module or Class already in system.

I tried using MESSAGES_INITIALIZE, MESSAGE_STORE and MESSAGES_SHOW FM ... it work fine but the only reason I cant use this is, it shows report in new dialog box... i want report to be shown on the screen

5 REPLIES 5
Read only

Former Member
0 Likes
644

Hi Pawan,

Use Function Module FORMAT_MESSAGE .

Read only

Former Member
0 Likes
644

Hi

Try WRITE_MESSAGE

Max

Read only

Laxmana_Appana_
Active Contributor
0 Likes
644

Hi,

use the error data and pass it to ALV object in the same screen, display the alv only in case of errors , otherwise don't display.

may be this solution will help to your doubt

Laxman

Read only

former_member181966
Active Contributor
0 Likes
644

Also try :

MESSAGE_TEXT_BUILD

Thanks

Read only

0 Likes
644

I got it..

You can see demo program SBAL_DEMO_04_NO_TREE