09-27-2007 8:44 PM
Hi,
I have to display message with 'Continue' and 'Cancel' Button.
Please tell me exact code or Function Module.
Title was edited by:
Alvaro Tejada Galindo
09-27-2007 8:47 PM
09-27-2007 8:47 PM
You can write simple code in PAI..
case sy-ucomm.
WHEN 'CANC' . " Cancel function Code
message i000(z01) with 'Cancel'.
leave to screen 0.
when 'CONT'. " Continue Function code
message i001(z01) with 'Continue'.
leave to screen 9000.
endcase.
Thanks
Seshu
09-27-2007 8:49 PM
Hi,
Use fm POPUP_TO_CONFIRM with following value
TITLEBAR TEST
DIAGNOSE_OBJECT
TEXT_QUESTION TESTING
TEXT_BUTTON_1 CONTINUE
ICON_BUTTON_1
TEXT_BUTTON_2 CANCEL
ICON_BUTTON_2
DEFAULT_BUTTON 1
DISPLAY_CANCEL_BUTTON
USERDEFINED_F1_HELP
START_COLUMN 25
START_ROW 6
POPUP_TYPE
IV_QUICKINFO_BUTTON_1
IV_QUICKINFO_BUTTON_2
a®
09-27-2007 11:25 PM
Hi,
Requirement is changed,
I dont' want 'Cancel' button.
I want' only 'Continue' button.
But here second button is appearing in message box for this function module.
Please guide me.
09-27-2007 11:57 PM
USe fm POPUP_TO_DISPLAY_TEXT_LO.
This is a sample code -
CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT_LO'
EXPORTING
titel = text-050
textline1 = 'Show text'
TEXTLINE2 = ' '
START_COLUMN = 15
START_ROW = 6.