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 create pop up in a subscreen in PAI

Former Member
0 Kudos

Can someone help me with the process to create pop up in a subscreen PAI logic?

3 REPLIES 3

Former Member
0 Kudos

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.

Former Member
0 Kudos

Hi SS,

You will find threads regarding this function module in the forum :

Regards,

Sravanthi

Former Member
0 Kudos

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.