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

How to Retrieve Messages from Function Module 'CM_F_MESSAGE'

Former Member
0 Likes
982

I have a custom program that first calls function module CM_F_INITIALIZE to make sure that pop-ups are not displayed on screen. This program then performs a subroutine that also calls function CM_F_MESSAGE. How do I retrieve the messages so I can output it as 1 big list on screen?

Thanks in advance!

I have a custom program that first calls function module CM_F_INITIALIZE to make sure that pop-ups are not displayed on screen. This program then performs a subroutine that also calls function CM_F_MESSAGE. How do I retrieve the messages so I can output it as 1 big list on screen?

Thanks in advance!

1 REPLY 1
Read only

Former Member
0 Likes
658

The subroutine calls the function CM_F_MESSAGE to display message.

you can declare one internal table in your program and populate the message details in this internal table.

At the end while displaying data, display the content of this internal table as messages populated during the process.