2006 Jun 09 6:20 AM
hi.
i want to create one dynamic pop-up window only for displaying message.
how can i create?
2006 Jun 09 6:22 AM
2006 Jun 09 6:24 AM
data: str type string,
numb type i.
*--
CALL FUNCTION 'CC_POPUP_INT_INPUT'
EXPORTING
property_name = 'Enter Integer Value'
changing
int_value = numb.
*--
CALL FUNCTION 'CC_POPUP_STRING_INPUT'
EXPORTING
property_name = 'Enter String Value'
changing
string_value = str.
*----
Write:/ 'your input Values :',str,numb.
2006 Jun 09 6:29 AM
Hi,
For diplaying messages:
POPUP_DISPLAY_MESSAGE
Regards
Vijaya
2006 Jun 09 6:25 AM
use the FM "POPUP_TO_CONFIRM_WITH_MESSAGE"
Regards,
Wasim ahmed
2006 Jun 09 6:26 AM
you can just use the 'message' statement with an I type:
eg, MESSAGE i000(zz) WITH '&' '&' '&' '&'.
2006 Jun 09 6:28 AM
Hi,
Try FM POPUP_TO_INFORM.
CALL FUNCTION 'POPUP_TO_INFORM'
EXPORTING
TITEL = 'ERROR'
TXT1 = 'Enter the message using the input lines at the bottom'.
check these FMs also:
POPUP_FOR_INTERACTION
POPUP_TO_CONFIRM
Reward point if helpful.
Regards.
Prakashsingh
Message was edited by: Prakashsingh Mehra
2006 Jun 09 6:29 AM
Hi dashmantha,
1. If u just want to dislay a simple message
with some title (in dialog box)
Max 3 lines of text
and one simple continue button,
2. then use this FM
POPUP_TO_DISPLAY_TEXT_LO
regards,
amit m.
2006 Jun 09 9:04 AM
Hai go through the following Code
Create Dialog Test with the Name Passed at DIAGNOSE_OBJECT Parameter in Exporting 'ZDIALOG_TEXT'
go to Tcode SE61
give Dialog Text Name as : ZDIALOG_TEXT
click on create Button give &name& in the Text Editor
after that go through the following Code
here Name should allow bellow 75 characters only
data parameters like spar occurs 0 with header line.
data Name(75) type c.
name = ' '.
DATA: L_SVAR(1).
concatenate
'1'
'2'
'3'
into Name separated by space.
move Name to parameters-value.
move 'NAME' to parameters-param.
append parameters.
CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
TITLEBAR = 'Hai'
DIAGNOSE_OBJECT = 'ZDIALOG_TEXT'
TEXT_QUESTION = 'Hello'
DEFAULT_BUTTON = '1'
IMPORTING
ANSWER = L_SVAR
TABLES
PARAMETER = parameters
EXCEPTIONS
TEXT_NOT_FOUND = 1
OTHERS = 2.
if sy-subrc <> 0.
L_SVAR = 'A'.
else.
case L_SVAR.
when '1'.
L_SVAR = 'J'.
when '2'.
L_SVAR = 'N'.
when others.
L_SVAR = 'A'.
endcase.
endif.
*write : L_SVAR.
Thanks & regards
Sreenivasulu P
2006 Jun 09 9:14 AM
Hi,
You could just use type 'I' in a message. Here's an example:
MESSAGE I008(zz) WITH 'Please maintain records'.
Regards!