<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic popup window in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/popup-window/m-p/1730315#M318032</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;   in my alv output display i have one reset button after user presses the button the reset process has to take place.&lt;/P&gt;&lt;P&gt;  i want to use the popup for confirmation.ie when user presses the reset button the popup should ask for confirmation.if user selects cancle then it should come out of it n if user presses ok then proceed furthur&lt;/P&gt;&lt;P&gt;    PLZ can any one tell me how can i do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Dec 2006 11:37:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-05T11:37:02Z</dc:date>
    <item>
      <title>popup window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/popup-window/m-p/1730315#M318032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;   in my alv output display i have one reset button after user presses the button the reset process has to take place.&lt;/P&gt;&lt;P&gt;  i want to use the popup for confirmation.ie when user presses the reset button the popup should ask for confirmation.if user selects cancle then it should come out of it n if user presses ok then proceed furthur&lt;/P&gt;&lt;P&gt;    PLZ can any one tell me how can i do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 11:37:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/popup-window/m-p/1730315#M318032</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T11:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: popup window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/popup-window/m-p/1730316#M318033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Use the FM&lt;/P&gt;&lt;P&gt;'POPUP_TO_CONFIRM'&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;POPUP_TO_CONFIRM_DATA_LOSS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regs&lt;/P&gt;&lt;P&gt;Manas Ranjan Panda.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        MANAS PANDA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 11:40:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/popup-window/m-p/1730316#M318033</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T11:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: popup window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/popup-window/m-p/1730317#M318034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;call function 'REUSE_ALV_GRID_DISPLAY'
       exporting
            i_callback_program      = gd_repid
            i_callback_top_of_page   = 'TOP-OF-PAGE'  
            I_callback_user_command = 'USER_COMMAND'   "see FORM 
            is_layout               = gd_layout
            it_fieldcat             = fieldcatalog[]
            i_save                  = 'X'
       tables
            t_outtab                = it_ekko
       exceptions
            program_error           = 1
            others                  = 2.

*------------------------------------------------------------------*
*       FORM USER_COMMAND                                          *
*------------------------------------------------------------------*
*       --&amp;gt; R_UCOMM                                                *
*       --&amp;gt; RS_SELFIELD                                            *
*------------------------------------------------------------------*
FORM user_command USING r_ucomm LIKE sy-ucomm
                  rs_selfield TYPE slis_selfield.

* Check function code
  CASE r_ucomm.
    WHEN 'RESET'.
data : WF_RES type c.

 CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
            EXPORTING
             DEFAULTOPTION        = 'N'
          TEXTLINE1            = 'Do you want to delete the record?'
*           TEXTLINE2            = ' '
              TITEL                = 'Delete Zone'
*           START_COLUMN         = 25
*           START_ROW            = 6
*           CANCEL_DISPLAY       = 'X'
           IMPORTING
             ANSWER               = WF_RES.

if wf_res = 'J'.

user selected 'YES'. " do what u want

else.

user selected 'NO'.

endif.

  ENDCASE.
ENDFORM.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 11:41:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/popup-window/m-p/1730317#M318034</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-12-05T11:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: popup window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/popup-window/m-p/1730318#M318035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use&lt;/P&gt;&lt;P&gt;FM&lt;/P&gt;&lt;P&gt;data:  g_flag,&lt;/P&gt;&lt;P&gt; call function 'POPUP_TO_CONFIRM_STEP'&lt;/P&gt;&lt;P&gt;            EXPORTING&lt;/P&gt;&lt;P&gt;              defaultoption  = 'Y'&lt;/P&gt;&lt;P&gt;              textline1      = 'Continue...'&lt;/P&gt;&lt;P&gt;              textline2      = 'Do you wish to continue?'&lt;/P&gt;&lt;P&gt;              titel          = 'popup'&lt;/P&gt;&lt;P&gt;              start_column   = 25&lt;/P&gt;&lt;P&gt;              start_row      = 6&lt;/P&gt;&lt;P&gt;              cancel_display = ''&lt;/P&gt;&lt;P&gt;            IMPORTING&lt;/P&gt;&lt;P&gt;              answer         = g_flag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then ased on g_falg content proceed..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 11:41:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/popup-window/m-p/1730318#M318035</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T11:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: popup window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/popup-window/m-p/1730319#M318036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi neha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. In the Call back user command (form routine)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. use code like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; IF sy-ucomm = 'RESETBUTTON'.&lt;/P&gt;&lt;P&gt;   DATA : answer TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'POPUP_TO_CONFIRM'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        titlebar       = 'Do You Want To Exit ?'&lt;/P&gt;&lt;P&gt;        text_question  = 'Do You Want To Exit ?'&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        answer         = answer&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        text_not_found = 1&lt;/P&gt;&lt;P&gt;        OTHERS         = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;    IF answer = '1'.&lt;/P&gt;&lt;P&gt;      SET USER-COMMAND 'BACK'.&lt;/P&gt;&lt;P&gt;    ENDIF.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 11:41:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/popup-window/m-p/1730319#M318036</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T11:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: popup window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/popup-window/m-p/1730320#M318037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Neha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use &amp;lt;b&amp;gt;POPUP_TO_CONFIRM&amp;lt;/b&amp;gt; as POPUP_TO_CONFIRM_STEP is obsolete..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*     Confirm update
      call function 'POPUP_TO_CONFIRM'
           exporting
                titlebar              = p_table
                text_question         = 'Do you want to update table ?'
                default_button        = '2'
                display_cancel_button = ' '
           importing
                answer                = l_answer
           exceptions
                others                = 1.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 11:45:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/popup-window/m-p/1730320#M318037</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T11:45:04Z</dc:date>
    </item>
  </channel>
</rss>

