2007 Apr 16 12:11 PM
Hi,
is ther any fm which can be used for displaying information message (POP UP)?
Regards
Gunjan
2007 Apr 16 12:13 PM
2007 Apr 16 12:13 PM
POPUP_TO_CONFIRM
POPUP_DISPLAY_MESSAGE
POPUP_FOR_INFORMATION
POPUP_TO_DISPLAY_USERDATA
POPUP_CONFIRMATION_DATA
POPUP_TO_DISPLAY_VALUE
POPUP_TO_DISPLAY_TEXT
POPUP_FOR_INFO
POPUP_TO_GET_VALUE
2007 Apr 16 12:14 PM
just use
<b>Message i001(ZZ) with text-001</b>
or try this
DATA : ans(1).
CALL FUNCTION 'POPUP_CONTINUE_YES_NO'
EXPORTING
textline1 = text-039
titel = text-040
IMPORTING
answer = ans.Message was edited by:
Chandrasekhar Jagarlamudi
2007 Apr 16 12:15 PM
Hi,
I think this FMs would help u.
The FM used for error msg.
POPUP_DISPLAY_MESSAGE
POPUP_TO_CONFIRM_WITH_MESSAGE
POPUP_TO_DECIDE_WITH_MESSAGE
regards,
Thasneem
Reward if useful
2007 Apr 16 12:15 PM
You can use this itself..
POPUP_DISPLAY_MESSAGE
regards,
nazeer
Message was edited by:
nazeer shaik
2007 Apr 16 12:15 PM
Why would you need such?
It´s just one line of code, even just one statement.
Message i001(test).
this statement will give you a popup message consisting of the textelement 001 of the development class test.
2007 Apr 16 12:17 PM
Hi Florian,
Thats true..
But he asked for a function module..
regards
nazeer..
2007 Apr 16 12:19 PM
2007 Apr 16 12:19 PM
2007 Apr 16 12:23 PM
hmmm i hence you need to do it all manuall then.
I would:
1. create your desired form (16x20)
2. place a label on your form (need to display our message somewhere)
3. create a status for that form and defining the exit commands
4. Move your desired output-text into the label
5. do a Call Screen with your created Form
6. returning to previous screen once the "ok" button is clicked
Message was edited by:
Florian Kemmer
2007 Apr 16 12:26 PM
Hi,
Use the below function module for your requirement.
CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
TITLEBAR INFORMATION
DIAGNOSE_OBJECT
TEXT_QUESTION HELLO WORLD
TEXT_BUTTON_1 YES
ICON_BUTTON_1
TEXT_BUTTON_2 NO
ICON_BUTTON_2
DEFAULT_BUTTON 1
DISPLAY_CANCEL_BUTTON
USERDEFINED_F1_HELP
START_COLUMN 25
START_ROW 6
POPUP_TYPE 'ICON_MESSAGE_INFORMATION'
IMPORTING
ANSWERE GV_ANSWER.
thanks,
sksingh
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |