2008 Dec 09 10:42 AM
Hi All,
I have to display warning message with countinue and cancel button.it has more than 200 character.Pls let me know which Fm I shld use.
i have used popup_to_confirm but no use.
Rgds,
Raghav.
Hi,
The exact way for doing this is to split the line into smaller ones. Also we need to ensure that words should not be cut in middle, so use RKD_WORD_WRAP FM and split text into three fields of 70 length each and then pass it to FM POPUP_DISPLAY_TEXT_LO.
This will work for sure. Check and reply.
Regards
Karthik D
2008 Dec 09 11:19 AM
hi,
Insted of FM
try designing a screen and use CALL SCREEN with its addition STARTING AT x1 y1 ... ENDING AT x2 y2
So if you use a screen you can set your own PF STATUS
regards
Prasanth
2008 Dec 09 11:21 AM
2008 Dec 09 5:35 PM
Hi,
Go to Se51 select the option model dialog box and create the postion.
Thanks
2008 Dec 10 3:58 AM
Try to design a screen and use CALL SCREEN with its addition STARTING AT x1 y1 ... ENDING AT x2 y2
2008 Dec 12 9:16 AM
*--Clear variables
CLEAR: g_text1, g_text2, g_text3, g_text4.
*--Show detailed information regarding currently being running job
CONCATENATE g_text1 ' TEXT1'
INTO g_text1 SEPARATED BY space.
CONCATENATE g_text2 'Text2'
INTO g_text2 SEPARATED BY space.
*--Pop up mesaage
*CALL FUNCTION 'POPUP_TO_INFORM'*
EXPORTING
titel = 'TITLE !!!'
txt1 = g_text1
txt2 = g_text2
You can use this FM 'POPUP_TO_INFORM' to inform user
2008 Dec 12 10:17 AM
Hi,
The exact way for doing this is to split the line into smaller ones. Also we need to ensure that words should not be cut in middle, so use RKD_WORD_WRAP FM and split text into three fields of 70 length each and then pass it to FM POPUP_DISPLAY_TEXT_LO.
This will work for sure. Check and reply.
Regards
Karthik D
2008 Dec 12 10:20 AM
Hi raghav,
Use the FM :-
POPUP_WITH_WARNING
This would give you the warning message as a pop-up with the continue button.
CALL FUNCTION 'POPUP_WITH_WARNING'
EXPORTING
textline1 = 'This is a warning'
* TEXTLINE2 = ' '
* TITEL = 'Warnung'Luck,
Bhumika
2008 Dec 12 11:01 AM
Hi,
One popup
POPUP_TO_CONFIRM_STEP
With this function module you create a dialog box in which you ask the user during an action, whether he or she wishes to perform the step. You pass the title and a two-line question. The user must choose Yes, No or Cancel.
The possible responses are provided by the function module.
In the interface, the response "Yes" is pre-selected, but "No" can also be pre-selected via a parameter.
The user response (Yes, No or Cancel) is returned in a parameter.
Regards,
Jisha.
2008 Dec 12 11:06 AM
Hi,
There is one FM in which u can enter a long text and give ur own names to buttons(in ur case continue, cancel.
POPUP_WITH_2_BUTTONS_TO_CHOOSE
Regards,
Jisha.
2008 Dec 12 12:32 PM
Hi,
Use this functional module...
BAL_DSP_MSG_LONGTEXT For Displaying message long text
Hope it helps.
Regards:
Alok Bansal
2008 Dec 12 1:12 PM
Hi,
Use any of the below:
CALL FUNCTION 'POPUP_CONTINUE_YES_NO'
EXPORTING
textline1 = text-002
titel = text-003
IMPORTING
ANSWER =
.
CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
titlebar = text-302
text_question = p_msg
text_button_1 = 'OK'
icon_button_1 = 'ICON_CHECKED'
text_button_2 = 'CANCEL'
icon_button_2 = 'ICON_CANCEL'
display_cancel_button = ' '
popup_type = 'ICON_MESSAGE_ERROR'
IMPORTING
answer = w_answer.
IF w_answer = c_2.
LEAVE PROGRAM.
ENDIF.
Thanks,
Krishna...
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |