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

displaying messages using internal table

Former Member
0 Likes
1,170

Hi all,

I all all the info like message type, ID, Number, v_number1,v_number2,v_number3,v_number4 in an internal table 'lt_bapiret".

I want to display message. It may be of type E,I,S,W and may have any text.

Suggest me appropriate function module.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
841

Sachin,

You could use SADOC_SHOW_MASSAGE_LOG. Also RSDC_SHOW_MESSAGES_POPUP could solve your purpose. Just make sure you type cast your message table into type RS_T_MSG which is used by both FMs.

Cheers,

AJ

3 REPLIES 3
Read only

Former Member
0 Likes
842

Sachin,

You could use SADOC_SHOW_MASSAGE_LOG. Also RSDC_SHOW_MESSAGES_POPUP could solve your purpose. Just make sure you type cast your message table into type RS_T_MSG which is used by both FMs.

Cheers,

AJ

Read only

Former Member
0 Likes
841

You could also take a look at the MESSAGES_INITIALIZE / MESSAGE_STORE / MESSAGES_SHOW trio ... you'll see they are made for this type of processing.

Jonathan

Read only

Former Member
0 Likes
841

resolved