cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi all,

what is the functional module to dispay pop up message when user log in to the system?

thanks alot

Siska

0 Likes
View Entire Topic
Former Member
0 Likes
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

can also check this one

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

Reward points for the answer which helped u.

Former Member
0 Likes

Hi,

FM 'TH_POPUP' will straight issue the message. I wanna have the message appeared when user logs in and these is only appeared for certain user id.

is there solution for these?

many thanks

Former Member
0 Likes

Hi Aliya ,

The only solution is SM02 ( or FM SM02_ADD_MESSAGE ) , but this will popup for all the users when they log in .

With TH_POPUP you can only send popup message to logged in users.

Cheers

Former Member
0 Likes

Hi,

Yes, you can achieve this by the Tcode <b>SM02</b>.

I am not sure if you have authorization for this.

If so get into Create option and then proceed else

could only use the Display option to view the existing

messages.

Please reward points if this explanation is useful.

Regards,

Siva

Former Member
0 Likes

TH_POPUP <b>Display a popup system message on a specific users screen</b>.

Check this link

http://www.sapgenie.com/abap/sendmsg.htm

http://www.guidancetech.com/people/holland/sap/abap/sendmsg.htm