cancel
Showing results for 
Search instead for 
Did you mean: 

how I send Instant system message to All online terminals

Former Member
0 Kudos

Hi gurus,

For sending the instant system message to online user, I am using SM02.

Problem is-

Some times one user login on two different PCs.

When I send the message to all users, message flash on only single PC in case of same user logon two different machine.

I would like to know , have any other options for send the instant message to all online terminals (PCs) which are connected to SAP server.

Regards,

Tapovardhan

Message was edited by: Tapovardhan Singh

Message was edited by: Tapovardhan Singh

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Go to Tcode SM02 and sen instant system message to all users .

Otherwise use func module TH_POPUP.

Bye

Message was edited by: Manas Pattnaik

Former Member
0 Kudos

This sounds like a great tool. We are setting up our SAP helpdesk just wondering if this can be tuned to send to just one user as well as all. Thanks in advance

Regards

Mike

Former Member
0 Kudos

HI Mike,

Yes.. if you can program a bit like some Ecatt or BDc where all the active users are picked form the standard SM04 o AL08 and this function module TH_POPUP is called up, to message the required msg to users..

Note..the message looks very primitive..and not SAP SCREENY so some users may ignore it as well thinking its a prank from some one else..so take care in advance..

Its just an idea from me...

Br,

sri

rolfc_weber
Contributor
0 Kudos

Hi,

To send the message to just one user, you can "test" the function module directly from transaction se37.

If you want to send it to all logged on users, the following code could maybe be useful:

REPORT Z_MESSAGE_TO_ALL.

PARAMETERS: MESSAGE(128) default ' Error ! Please logoff now ! '.

DATA: OPCODE TYPE X VALUE 2.

DATA: BEGIN OF USR_TABL OCCURS 5.

INCLUDE STRUCTURE UINFO.

DATA: END OF USR_TABL.

CALL 'ThUsrInfo' ID 'OPCODE' FIELD OPCODE

ID 'TAB' FIELD USR_TABL-SYS.

LOOP AT USR_TABL.

CALL FUNCTION 'TH_POPUP'

EXPORTING

CLIENT = SY-MANDT

USER = USR_TABL-BNAME

MESSAGE = MESSAGE

  • MESSAGE_LEN = 0

  • CUT_BLANKS = ' '

EXCEPTIONS

USER_NOT_FOUND = 1

OTHERS = 2.

ENDLOOP.

Regards

Rolf

rolfc_weber
Contributor
0 Kudos

Hi,

As fare as I know there is no other transaction to do this.

But however if you are able to program a bit, you could find function module TH_POPUP to be useful i think...

regards

Rolf

Former Member
0 Kudos

Hi,

TH_POPUP is very usefull but... it does not work with Web users.

When you send a message to a portal user (connected, shown in SM04/AL08) you get a "user not found".

Is there any way to warn portal users ?

Former Member
0 Kudos

Hello,

I'm quite new in ABAP and would need a bit of help.

I would like to write a method which triggers the automatical sending of a mail to specified users in a SAP system when they have changed their login password (this mail is sent after a user typed their new password and confirmed it) .

Thank you in advance !

Ildiko