09-10-2008 1:27 PM
Can someone help me with the process to create pop up in a subscreen PAI logic?
09-11-2008 6:05 AM
hi,
here is the sample code refer to this...
in the subscreen flow logic.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_0200.
in the module..
CASE ok_code.
WHEN 'FILL'.
IF sflight-carrid IS INITIAL OR
sflight-connid IS INITIAL.
CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
titlebar = 'CANCEL'
* DIAGNOSE_OBJECT = ' '
text_question = 'fill the details'
text_button_1 = 'Yes'
* ICON_BUTTON_1 = ' '
text_button_2 = 'No'
* ICON_BUTTON_2 = ' '
default_button = '1'
* DISPLAY_CANCEL_BUTTON = 'X'
* USERDEFINED_F1_HELP = ' '
* START_COLUMN = 25
* START_ROW = 6
* POPUP_TYPE = POPUP_TYPE
* IV_QUICKINFO_BUTTON_1 = ' '
* IV_QUICKINFO_BUTTON_2 = ' '
IMPORTING
answer = i_answer
* TABLES
* PARAMETER = PARAMETER
EXCEPTIONS
text_not_found = 1
.
ENDIF.
IF NOT i_answer = 1.
dynnr = '300'.
ts-activetab = 'FILL'.
ENDIF.
ENDCASE.
here whenever i select the second tab (fill ) a pop will be generated with the message 'fill the details' , if i select yes then it will be on the same screen for no it will lead to next screen.
Regards,
Sathish reddy.
09-11-2008 6:18 AM
09-11-2008 9:50 AM
Hi,
From your problem statement, it is not exactly clear as what exactly you are looking for.
Are you looking for a Dialog Box, Popup for Confirmation or A small Selection Screen which you can create as a Modal Dialog Box?
Do let me know you requirement, then it would be easy as to suggest you which will be the right course of action.
Thanks,
Samantak.