Uses function module TH_POPUP to send instand message to any SAP user who is currently loged in. To get list of current sap users
look at SAP transaction code SM04.
*............................................................... *: Report: ZSENDMESS : *: : *: Author: www.SAPDev.co.uk : *: Date : 2004 : *: Description: Send instant message to SAP users PC : *:.............................................................: REPORT ZSENDMESS. PARAMETERS: p_user type sy-uname, "SAP Username p_mess type SM04DIC-POPUPMSG. "Actual Message text CALL FUNCTION 'TH_POPUP' EXPORTING CLIENT = sy-mandt USER = p_user MESSAGE = p_mess * MESSAGE_LEN = 0 * CUT_BLANKS = ' ' EXCEPTIONS USER_NOT_FOUND = 1 OTHERS = 2.
Return to bespoke ABAP programs