2005 Sep 26 4:17 AM
how would i create popup message to inform the receiver that she/he has an email ?
thanks.
2005 Sep 26 4:43 AM
Hi,
Try this function,
TH_POPUP Display a popup system message on a specific users screen.
Thanks&Regards,
Ruthra.R
2005 Sep 26 4:22 AM
there are many POPUP* FM's
you can you POPUP_TO_INFORM
for more FM type POPUP* in se37 and press F4
regards
2005 Sep 26 4:28 AM
Hi,
Some POPUP Functions are,
POPUP_TO_CONFIRM_LOSS_OF_DATA Create a dialog box in which you make a question whether the user wishes to perform a processing step with loss of data.
POPUP_TO_CONFIRM_STEP Create a dialog box in which you make a question whether the user wishes to perform the step.
POPUP_TO_CONFIRM_WITH_MESSAGE Create a dialog box in which you inform the user about a specific decision point during an action.
POPUP_TO_CONFIRM_WITH_VALUE Create a dialog box in which you make a question whether the user wishes to perform a processing step with a particular object.
POPUP_TO_DECIDE Provide user with several choices as radio buttons
POPUP_TO_DECIDE_WITH_MESSAGE Create a dialog box in which you inform the user about a specific decision point via a diagnosis text.
POPUP_TO_DISPLAY_TEXT Create a dialog box in which you display a two line message
Hope it helps u.
Thanks&Regards,
Ruthra.R
2005 Sep 26 4:30 AM
Hi,
Check this one,
data: answer TYPE c.
CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
EXPORTING
defaultoption = 'N'
textline1 = "Your question"
textline2 = "continue the question"
titel = ' '
start_column = 35
start_row = 6
IMPORTING
answer = answer.
IF answer EQ 'J' OR answer EQ 'Y'.
l_inact = ' '.
ELSEIF answer EQ 'N'.
l_inact = 'X'.
ELSEIF answer EQ 'A'.
EXIT.
ENDIF.
REPORT ZPOPUPCONFIRM.
DATA: X_ANS(1) TYPE C.
call function 'POPUP_TO_CONFIRM_STEP'
exporting
* DEFAULTOPTION = 'Y'
textline1 = 'Do you want to continue'
* TEXTLINE2 = ' '
titel = 'Please Confirm'
* START_COLUMN = 25
* START_ROW = 6
* CANCEL_DISPLAY = 'X'
IMPORTING
ANSWER = X_ANS.
WRITE: / X_ANS.
*-- End of Program
2005 Sep 26 4:36 AM
2005 Sep 26 4:37 AM
example my user id is 'xx1' then im gonna send popup message to 'xx2'. how should i do it?
thanks.
2005 Sep 26 4:43 AM
2005 Sep 26 4:43 AM
Hi,
Try this function,
TH_POPUP Display a popup system message on a specific users screen.
Thanks&Regards,
Ruthra.R
2005 Sep 26 4:56 AM
Hi Donna,
Not sure if this is applicable, but if you are sending an email form SAP to a user's SAP Inbox (using something like FM SO_NEW_DOCUMENT_SEND_API1), you can make sure that the "Express" value has a "X" in the receiver's address.
This will cause a message to pop up informing the user that they have a new message in their inbox. It also provides a quick link from the pop up to send them to their SAP Inbox.
Hope this helps.
Cheers,
Pat.
2005 Sep 26 5:03 AM
CALL FUNCTION 'TH_POPUP'
EXPORTING
CLIENT = SY-MANDT
USER = 'XX2'
MESSAGE = 'You have new mail.'
MESSAGE_LEN = 0
CUT_BLANKS = ' '
EXCEPTIONS
USER_NOT_FOUND = 1
OTHERS = 2
.
This will send a popup to user xx2 if he is logged on to the current client . Else you can pass another client here.
Cheers