Application Development and Automation 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: 
Read only

message

Former Member
0 Likes
941

how to write a program to popup a message to say file is downloaded and location

plz very very urgent.

regards,

sudheer

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
921

Hi,

Check this simple code for creating Information Pop-up.

Message ' Pop up message ' Type ' I '.

Or

Try using the FM:

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.

Thanks.

8 REPLIES 8
Read only

Former Member
0 Likes
922

Hi,

Check this simple code for creating Information Pop-up.

Message ' Pop up message ' Type ' I '.

Or

Try using the FM:

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.

Thanks.

Read only

Former Member
0 Likes
921

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

Try this function,

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

Regards

Read only

dev_parbutteea
Active Contributor
0 Likes
921

Hi,

you can use FM's for that like:KLPOPUP_TO_DISPLAY_TEXT

regards,

Sooness

Read only

Former Member
0 Likes
921

Hi,

Use Function Module

POPUP_TO_CONFIRM

Regards

Arun

Read only

former_member196280
Active Contributor
0 Likes
921

Use message type I.

EX: MESSAGE I

Regards,

Sairam

Read only

0 Likes
921

Hi,

In your scenario I think you cannot use the POPUP_TO_CONFIRM. Because you are not confiming any thing from the user. But you can use KLPOPUP_TO_DISPLAY_TEXT instead to display a message as text.

- Irudayaraj Peter

Read only

0 Likes
921

Hi,

I think the POPUP_TO_INFORM is best suited in this case.

- Irudayaraj Peter

Read only

Former Member
0 Likes
921

Hi,

You can use a simpe message statement to popup the information.

Sample code is as follows:

MESSAGE 'Popup Information goes here' type 'I'.

The above information message will shown as a popup during execution.

Reagrds,

Dilli