<?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: A question about Command button in Selection Screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-command-button-in-selection-screen/m-p/6742902#M1458866</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;     Check this program : demo_sel_screen_pushbutton&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srini.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Mar 2010 07:08:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-19T07:08:30Z</dc:date>
    <item>
      <title>A question about Command button in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-command-button-in-selection-screen/m-p/6742898#M1458862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Expert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following requirement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My selection screen has an input field which is used to keep the directory for user to download data in the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to add a command button in the selection screen after the field. By clicking the button, the user can specify the download folder. After the user confirms the selection, the directory should be displayed in the field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to write such statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Best Regards, Yongbo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Mar 2010 06:57:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-command-button-in-selection-screen/m-p/6742898#M1458862</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-19T06:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: A question about Command button in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-command-button-in-selection-screen/m-p/6742899#M1458863</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;Why not use a F4 help to browse through the directory on that field !!?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Mar 2010 07:00:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-command-button-in-selection-screen/m-p/6742899#M1458863</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-19T07:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: A question about Command button in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-command-button-in-selection-screen/m-p/6742900#M1458864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try using this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN INCLUDE PUSHBUTTON [/][pos](len) button_text &lt;/P&gt;&lt;P&gt;                                    [USER-COMMAND fcode] &lt;/P&gt;&lt;P&gt;                                    [MODIF ID modid] &lt;/P&gt;&lt;P&gt;                                    [ID id].&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Mar 2010 07:01:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-command-button-in-selection-screen/m-p/6742900#M1458864</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-19T07:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: A question about Command button in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-command-button-in-selection-screen/m-p/6742901#M1458865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PUSHBUTTON 3(5)  but USER-COMMAND btn, &lt;/P&gt;&lt;P&gt;                            &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN. &lt;/P&gt;&lt;P&gt;  CASE sscrfields. &lt;/P&gt;&lt;P&gt;    WHEN 'btn'. &lt;/P&gt;&lt;P&gt;   ENDCASE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION. &lt;/P&gt;&lt;P&gt;  title  = 'Bbutton'. &lt;/P&gt;&lt;P&gt;  but = 'Button '. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'ICON_CREATE' &lt;/P&gt;&lt;P&gt;    EXPORTING &lt;/P&gt;&lt;P&gt;      name   = icon_information &lt;/P&gt;&lt;P&gt;      text   = 'Button' &lt;/P&gt;&lt;P&gt;      info   = 'Button on screen' &lt;/P&gt;&lt;P&gt;    IMPORTING &lt;/P&gt;&lt;P&gt;      RESULT = but2 &lt;/P&gt;&lt;P&gt;    EXCEPTIONS &lt;/P&gt;&lt;P&gt;      OTHERS = 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Mar 2010 07:05:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-command-button-in-selection-screen/m-p/6742901#M1458865</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-19T07:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: A question about Command button in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-command-button-in-selection-screen/m-p/6742902#M1458866</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;     Check this program : demo_sel_screen_pushbutton&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srini.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Mar 2010 07:08:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-command-button-in-selection-screen/m-p/6742902#M1458866</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-19T07:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: A question about Command button in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-command-button-in-selection-screen/m-p/6742903#M1458867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;Hi,
&amp;lt;li&amp;gt;Try this way.
&lt;PRE&gt;&lt;CODE&gt;
REPORT ztest_notepad.
DATA: file_table TYPE filetable.
DATA: file_table_line LIKE LINE OF file_table.
DATA: rc TYPE i.

SELECTION-SCREEN BEGIN OF BLOCK b1.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS:p_file TYPE char50.
SELECTION-SCREEN PUSHBUTTON 53(10) but1 USER-COMMAND but1.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK b1.

INITIALIZATION.
  but1 = 'Click here'.

AT SELECTION-SCREEN.
  IF sy-ucomm EQ 'BUT1'.

    CALL METHOD cl_gui_frontend_services=&amp;gt;file_open_dialog
      EXPORTING
        window_title      = 'Select file'
        default_extension = '*.*'
      CHANGING
        file_table        = file_table
        rc                = rc.
    READ TABLE file_table INTO file_table_line INDEX 1.
    p_file = file_table_line-filename.

  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;
Thanks
Venkat.O&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Mar 2010 07:42:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-command-button-in-selection-screen/m-p/6742903#M1458867</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2010-03-19T07:42:50Z</dc:date>
    </item>
  </channel>
</rss>

