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

Pop up message display

Former Member
0 Likes
2,503

Hi all,

I am using FM POPUP_TO_INFORM for message pop up...is there any other FM similar to this...where i can set the exact position of the message pop -up...currently it is coming at the top pf the screen...i want the pop -up to be displayed at the bottom..

Pls help

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,716

hii

refer to following link

regards

twinkal

Hi all,

I am using FM POPUP_TO_INFORM for message pop up...is there any other FM similar to this...where i can set the exact position of the message pop -up...currently it is coming at the top pf the screen...i want the pop -up to be displayed at the bottom..

Pls help

8 REPLIES 8
Read only

abdul_hakim
Active Contributor
0 Likes
1,716

Hi Try using POPUP_TO_CONFIRM.

Why dont u use the MESSAGE statement for your purpose?

Cheers,

Hakim

Read only

former_member404244
Active Contributor
0 Likes
1,716

HI,

then use the below code...

message S001(Specify message class).

if u want the popup then use the below paramters for FM 'POPUP_TO_CONFIRM'.

START_COLUMN

START_ROW..

Regards,

Nagaraj

Read only

Former Member
0 Likes
1,716

This message was moderated.

Read only

Former Member
0 Likes
1,716

Hi Ravi,

Try function module POPUP_TO_CONFIRM.

CALL FUNCTION 'POPUP_TO_CONFIRM'* EXPORTING* TITLEBAR = ' '
* DIAGNOSE_OBJECT = ' '
* TEXT_QUESTION = ' '
* TEXT_BUTTON_1 = 'Ja'(001)
* ICON_BUTTON_1 = ' '
* TEXT_BUTTON_2 = 'Nein'(002)
* ICON_BUTTON_2 = ' '
* DEFAULT_BUTTON = '1'
* DISPLAY_CANCEL_BUTTON = 'X'
* userdefined_f1_help = ' '
* START_COLUMN = 25
* START_ROW = 6
* POPUP_TYPE =
* IV_QUICKINFO_BUTTON_1 = ' '
* IV_QUICKINFO_BUTTON_2 = ' '
* IMPORTING
* ANSWER = 
* TABLES
* PARAMETER =
* EXCEPTIONS
* TEXT_NOT_FOUND = 1
* OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF

.

Regards,

Chandra Sekhar

Read only

Former Member
0 Likes
1,717

hii

refer to following link

regards

twinkal

Read only

0 Likes
1,716

thx for ur replies...if i use POPUP_TO_CONFIRM....it is showing yes no cancel buttons...i want only one button and it should display as OK...

Read only

0 Likes
1,716

Hi,

Then Pass only these two parameters..in FM POPUP_TO_CONFIRM

TEXT_QUESTION

TEXT_BUTTON_1

REGARDS,

Nagaraj

Read only

Former Member
0 Likes
1,716

FMs similar to this are

POPUP_FOR_INFORMATION

POPUP_TO_DECIDE_WM

POPUP_WITH_2_BUTTONS_TO_CHOOSE

POPUP_WITH_3_BUTTONS_TO_CHOOSE

But you can set the position of the popup by specifying the position in the parameters of the respective FM.

In each FMs code there is a call screen where you specify the left top position of the popup.

Copy the code to create your own FM and change the CALL SCREEN values