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

FM TH_POPUP

Former Member
0 Likes
2,008

Hello folks.

I need to send messages to several users. Function module work fine, but I need only ONE message per user. Instead, I got as many messages as opened SAP GUI windows (sessions). How can I avoid this issue?

Hello folks.

I need to send messages to several users. Function module work fine, but I need only ONE message per user. Instead, I got as many messages as opened SAP GUI windows (sessions). How can I avoid this issue?

7 REPLIES 7
Read only

Former Member
0 Likes
1,703

Dear Konstantin Milutin,

Why dont you use SAP Mail.... This will help you....

Read only

0 Likes
1,703

My users are working in Bex and the message is intended for them. The message is about loading of data into cubes. I want the user to see this message immediately. SAP mails are showed only when user triggers an action in GUI.

Read only

0 Likes
1,703

hi Konstantin Milutin ,

Is your issue solved ? If it isn't solved can you try sm02 transaction.

when users login in sap on saplogon , a message populate on screen.

Best Regards

Turgut

Read only

Former Member
0 Likes
1,703

so, you're saying if user A has logged onto SAP and opened up 3 screens - same sesssion, 3 screens and you send a popup using TH_POPUP, that user sees a popup on each screen?

Are you sure that user didn't log in multiple times to the same server?

using FM th_popup, i sent a message to a user who was logged in twice on the same DEV server. He rec'd the popup on both of his sessions. this did not happen when he logged out of one of the sessions.

Edited by: robert phelan on Mar 2, 2010 9:22 PM

Read only

0 Likes
1,703

Are you sure that user didn't log in multiple times to the same server

thats a good question

Read only

Former Member
0 Likes
1,703

Try SO_EXPRESS_FLAG_SET function madule passing the user name into rec_tab-RECNAM, the message into text_info and the title into popup_title. You can check or not the INBOX mark to put an ibox direct access icon.

Read only

Former Member
0 Likes
1,703

This is quite fancy but try it.

http://www.heypasteit.com/clip/OU4

I've linked it to a copy paste site as I wanted to share the entire code.