Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Pop-up Window.

Former Member
0 Likes
1,327

hi.

i want to create one dynamic pop-up window only for displaying message.

how can i create?

9 REPLIES 9
Read only

Former Member
0 Likes
1,268

Hi,

By using FM 'POPUP_TO_CONFIRM'.

Cheers,

Bujji

Read only

0 Likes
1,268

data: str type string,

numb type i.

*--


if you want integer to be input--


CALL FUNCTION 'CC_POPUP_INT_INPUT'

EXPORTING

property_name = 'Enter Integer Value'

changing

int_value = numb.

*--


if you want string to be input--


CALL FUNCTION 'CC_POPUP_STRING_INPUT'

EXPORTING

property_name = 'Enter String Value'

changing

string_value = str.

*----


Write:/ 'your input Values :',str,numb.

Read only

0 Likes
1,268

Hi,

For diplaying messages:

POPUP_DISPLAY_MESSAGE

Regards

Vijaya

Read only

dani_mn
Active Contributor
0 Likes
1,268

use the FM "POPUP_TO_CONFIRM_WITH_MESSAGE"

Regards,

Wasim ahmed

Read only

former_member186741
Active Contributor
0 Likes
1,268

you can just use the 'message' statement with an I type:

eg, MESSAGE i000(zz) WITH '&' '&' '&' '&'.

Read only

Former Member
0 Likes
1,268

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

Read only

Former Member
0 Likes
1,268

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.

Read only

Former Member
0 Likes
1,268

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

Read only

0 Likes
1,268

Hi,

You could just use type 'I' in a message. Here's an example:

MESSAGE I008(zz) WITH 'Please maintain records'.

Regards!