09-29-2008 1:22 PM
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,
09-29-2008 1:31 PM
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.
09-29-2008 1:25 PM
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.
09-29-2008 1:27 PM
Hello,
Take a look on this: http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba83d35c111d1829f0000e829fbfe/frameset.htm
Regards.
09-29-2008 1:31 PM
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.
09-29-2008 1:35 PM
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,
09-29-2008 1:49 PM
CALL SCREEN 011STARTING AT '25' '6'
ENDING AT '88' '10'.
use this statement instead of ur statement.
Regards
Anbu B
09-29-2008 1:51 PM
Hello,
You need to put the CALL SCREEN command in the PAI user-command module.
Regards.
09-29-2008 1:58 PM
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.