Application Development 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: 

POPUP MESSAGE

Former Member
0 Kudos

how would i create popup message to inform the receiver that she/he has an email ?

thanks.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Try this function,

TH_POPUP Display a popup system message on a specific users screen.

Thanks&Regards,

Ruthra.R

9 REPLIES 9

Former Member
0 Kudos

there are many POPUP* FM's

you can you POPUP_TO_INFORM

for more FM type POPUP* in se37 and press F4

regards

Former Member
0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

where i can put the userid?

0 Kudos

example my user id is 'xx1' then im gonna send popup message to 'xx2'. how should i do it?

thanks.

0 Kudos

try

FM MESSAGE_SEND_AS_MAIL

regards

Former Member
0 Kudos

Hi,

Try this function,

TH_POPUP Display a popup system message on a specific users screen.

Thanks&Regards,

Ruthra.R

former_member221770
Contributor
0 Kudos

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.

Former Member
0 Kudos

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