2008 Aug 05 1:54 PM
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
2008 Aug 05 2:02 PM
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
2008 Aug 05 1:57 PM
Hi Try using POPUP_TO_CONFIRM.
Why dont u use the MESSAGE statement for your purpose?
Cheers,
Hakim
2008 Aug 05 1:58 PM
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
2008 Aug 05 1:58 PM
2008 Aug 05 2:01 PM
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
2008 Aug 05 2:02 PM
2008 Aug 05 2:06 PM
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...
2008 Aug 05 2:10 PM
Hi,
Then Pass only these two parameters..in FM POPUP_TO_CONFIRM
TEXT_QUESTION
TEXT_BUTTON_1
REGARDS,
Nagaraj
2008 Aug 05 2:10 PM
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
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |