Application Development 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: 

how to get pop-up screen in modulepool

Former Member
0 Kudos

Hi Guru,

how to get pop-up screen when press push button from one screen.

what is the code to do even i selected screen as module dialog box at screen attributes i am getting but normal full screen i am getting. pls tell me how to get pop-up screen when i press push button.

regards,

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

If you activate this attribute, the screen is used as a modal dialog box. In the program, you call the screen with

CALL SCREEN STARTING AT <top left>

ENDING AT <bottom right>.

regards,

Advait.

7 REPLIES 7

Former Member
0 Kudos

hi,

write the logic of POP up int he PAI event of the Screen

case sy-ucomm.

when 'Push button'.

Logic for popup button.

endcase.

Logic for POPUP :

CALL FUNCTION 'POPUP_WITH_2_BUTTONS_TO_CHOOSE'

EXPORTING

diagnosetext1 = 'The combination of Run Date & Identification'(001)

diagnosetext2 = 'already exist. Do you want to display ?'(002)

textline1 = space

text_option1 = 'YES'(003)

text_option2 = 'NO'(004)

titel = 'Processing selection'(005)

IMPORTING

answer = v_answer.

CALL FUNCTION 'POPUP_TO_CONFIRM' "#EC *

EXPORTING

text_question = 'Message For Confirmation'

text_button_1 = 'YES'

text_button_2 = 'NO'

default_button = '1'

display_cancel_button = ' '

start_column = 25

start_row = 6

IMPORTING

answer = v_answer

EXCEPTIONS

text_not_found = 1

OTHERS = 2.

Regards,

Deepthi.

Former Member

Former Member
0 Kudos

Hi,

If you activate this attribute, the screen is used as a modal dialog box. In the program, you call the screen with

CALL SCREEN STARTING AT <top left>

ENDING AT <bottom right>.

regards,

Advait.

0 Kudos

hi thanks,

i understood, i need little more infirmation.

where i have to write that code. actually i am calling pop-up screen(011) from main screen(100).

could you give elaborate way that i can easily go a head.

regards,

0 Kudos

CALL SCREEN 011STARTING AT '25' '6'

ENDING AT '88' '10'.

use this statement instead of ur statement.

Regards

Anbu B

0 Kudos

Hello,

You need to put the CALL SCREEN command in the PAI user-command module.

Regards.

0 Kudos

Actually i am calling pop-up screen(011) from main screen(100)

I guess you might be calling the screen 011 in the PAI module after clicking some button on screen

100. All you need to do is call screen 011 STARTING AT <top left>

ENDING AT <bottom right>.

top, left,bottom and right are variable values that determine the position on the screen to be called.

regards,

Advait.