<?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 Re: regading popup in dialog programming? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regading-popup-in-dialog-programming/m-p/3989228#M953059</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this code with function module&lt;/P&gt;&lt;P&gt;'FI_WT_POPUP_TO_CONFIRM_STEP'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data answer.
      call function 'FI_WT_POPUP_TO_CONFIRM_STEP'
      exporting
        defaultoption = 'N'
        textline1     = 'something'
        titel         = 'something'
      importing
        answer        = answer.

    if answer = 'J'.
"do something
else.
"do something
  endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jun 2008 09:34:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-16T09:34:24Z</dc:date>
    <item>
      <title>regading popup in dialog programming?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regading-popup-in-dialog-programming/m-p/3989227#M953058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi frnds,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my requirement is in my screen i hve a popupbox.In pop up i have 3 pushbuttons.YES,NO,and CANCEL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i click yes pushbuttons i have to display dialog box..&lt;/P&gt;&lt;P&gt;were to write code for pop up button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg.&lt;/P&gt;&lt;P&gt;pai...&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;when save.&lt;/P&gt;&lt;P&gt;    call popup_to _confirm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     when 'yes'.&lt;/P&gt;&lt;P&gt;       can i call my dialog box. here&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 08:57:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regading-popup-in-dialog-programming/m-p/3989227#M953058</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T08:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: regading popup in dialog programming?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regading-popup-in-dialog-programming/m-p/3989228#M953059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this code with function module&lt;/P&gt;&lt;P&gt;'FI_WT_POPUP_TO_CONFIRM_STEP'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data answer.
      call function 'FI_WT_POPUP_TO_CONFIRM_STEP'
      exporting
        defaultoption = 'N'
        textline1     = 'something'
        titel         = 'something'
      importing
        answer        = answer.

    if answer = 'J'.
"do something
else.
"do something
  endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 09:34:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regading-popup-in-dialog-programming/m-p/3989228#M953059</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T09:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: regading popup in dialog programming?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regading-popup-in-dialog-programming/m-p/3989229#M953060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all, your pop-up can be a screen. Create a screen of type modal screen (Attributes-&amp;gt;Screen Type-&amp;gt;Modal Dialog Box). This screen will have prepares the buttons, accept, reject and cancel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your program, module user_command, when ok_code is 'YES', just call this screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is more robust than calling a popup FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Valter Oliveira.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 09:36:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regading-popup-in-dialog-programming/m-p/3989229#M953060</guid>
      <dc:creator>valter_oliveira</dc:creator>
      <dc:date>2008-06-16T09:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: regading popup in dialog programming?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regading-popup-in-dialog-programming/m-p/3989230#M953061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Chk this.&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                    = text-000&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DIAGNOSE_OBJECT             = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          text_question               = v_text&lt;/P&gt;&lt;P&gt;          text_button_1               = 'YES'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ICON_BUTTON_1               = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          text_button_2               = 'NO'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ICON_BUTTON_2               = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          default_button              = '1'&lt;/P&gt;&lt;P&gt;          display_cancel_button       = 'X'&lt;/P&gt;&lt;P&gt;         start_column                 = 25&lt;/P&gt;&lt;P&gt;         start_row                    = 6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;         answer                      = v_ans&lt;/P&gt;&lt;P&gt;&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;      IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CASE v_ans.&lt;/P&gt;&lt;P&gt;        WHEN '1'.&lt;/P&gt;&lt;P&gt;          LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;        WHEN '2'.&lt;/P&gt;&lt;P&gt;          CALL SCREEN 100.&lt;/P&gt;&lt;P&gt;        WHEN OTHERS.&lt;/P&gt;&lt;P&gt;          CALL SCREEN 100.&lt;/P&gt;&lt;P&gt;      ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sandeep Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 13:52:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regading-popup-in-dialog-programming/m-p/3989230#M953061</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T13:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: regading popup in dialog programming?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regading-popup-in-dialog-programming/m-p/3989231#M953062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;chk this.&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                    = text-000&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DIAGNOSE_OBJECT             = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          text_question               = v_text&lt;/P&gt;&lt;P&gt;          text_button_1               = 'YES'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ICON_BUTTON_1               = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          text_button_2               = 'NO'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ICON_BUTTON_2               = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          default_button              = '1'&lt;/P&gt;&lt;P&gt;          display_cancel_button       = 'X'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  USERDEFINED_F1_HELP         = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;         start_column                 = 25&lt;/P&gt;&lt;P&gt;         start_row                    = 6&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  POPUP_TYPE                  =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IV_QUICKINFO_BUTTON_1       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IV_QUICKINFO_BUTTON_2       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;         answer                      = v_ans&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PARAMETER                   =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;      IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CASE v_ans.&lt;/P&gt;&lt;P&gt;        WHEN '1'.&lt;/P&gt;&lt;P&gt;          LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;        WHEN '2'.&lt;/P&gt;&lt;P&gt;          CALL SCREEN 100.&lt;/P&gt;&lt;P&gt;        WHEN OTHERS.&lt;/P&gt;&lt;P&gt;          CALL SCREEN 100.&lt;/P&gt;&lt;P&gt;      ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sandeep Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 13:53:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regading-popup-in-dialog-programming/m-p/3989231#M953062</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T13:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: regading popup in dialog programming?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regading-popup-in-dialog-programming/m-p/3989232#M953063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tumma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a modal dialog screen first. Let the created screen number be 0002.And the icon name as YES.In the PAI of the screen where you have kept the YES,NO,CANCEL buttons, write the code as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Case SY-UCOMM.

When 'YES'.
Call screen '0002'.

EndCase.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reward points if helpful.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Khan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 17:37:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regading-popup-in-dialog-programming/m-p/3989232#M953063</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T17:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: regading popup in dialog programming?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regading-popup-in-dialog-programming/m-p/3989233#M953064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can do this after calling FM popup_to_confirm&lt;/P&gt;&lt;P&gt;As the output of this function module is stored in sequence of button i.e. 'Yes' is first button then output l_ans will be ' 1 ' similarly for 'No' its ' 2 ' and for 'Cancel' its ' 3 '&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your dialog screen is also a screen, so will creating this dialog screen just click on modal dialog screen radio button on screen button. Here it is necessary to pass top left and bottom right coordinate to call csreen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can write following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF l_ans EQ ' 1'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE&gt;CALL SCREEN &amp;lt;screen&amp;gt; STARTING AT &amp;lt;top left&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;          &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; ENDING   AT  &amp;lt;bottom right&amp;gt;.&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE&gt;ELSE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE&gt;LEAVE PROGRAM.&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE&gt;ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Reward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2008 04:54:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regading-popup-in-dialog-programming/m-p/3989233#M953064</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-17T04:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: regading popup in dialog programming?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regading-popup-in-dialog-programming/m-p/3989234#M953065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need a code for copying a row in another row in ALV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Nov 2010 06:21:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regading-popup-in-dialog-programming/m-p/3989234#M953065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-30T06:21:32Z</dc:date>
    </item>
  </channel>
</rss>

