<?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: Dump while selecting the folder for EXPORT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-selecting-the-folder-for-export/m-p/6166723#M1371044</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It will give you a popup which will allow to browse the directories in windows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_macro_name="message" id="7360476"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Sep 2009 22:48:45 GMT</pubDate>
    <dc:creator>former_member156446</dc:creator>
    <dc:date>2009-09-30T22:48:45Z</dc:date>
    <item>
      <title>Dump while selecting the folder for EXPORT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-selecting-the-folder-for-export/m-p/6166720#M1371041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are on ECC6.0 &amp;amp; one of the old programs uses SKTX_DIRECTORY_SELECT.&lt;/P&gt;&lt;P&gt;Can I use CL_GUI_FRONTEND_SERVICES=&amp;gt;DIRECTORY_BROWSE for my purpose to choose the folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2009 22:16:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-selecting-the-folder-for-export/m-p/6166720#M1371041</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-30T22:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while selecting the folder for EXPORT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-selecting-the-folder-for-export/m-p/6166721#M1371042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure the types of initial folder and picked folders are strings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CL_GUI_FRONTEND_SERVICES=&amp;gt;directory_browse( exporting initial_folder = initialFolder
                               changing selected_folder = pickedFolder
                               exceptions cntl_error = 1
                                          error_no_gui = 2
                                          not_supported_by_gui = 3 ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2009 22:28:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-selecting-the-folder-for-export/m-p/6166721#M1371042</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-09-30T22:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while selecting the folder for EXPORT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-selecting-the-folder-for-export/m-p/6166722#M1371043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Initial Folder is not a mandatory one. Can you please explain the purpose of this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2009 22:32:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-selecting-the-folder-for-export/m-p/6166722#M1371043</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-30T22:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while selecting the folder for EXPORT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-selecting-the-folder-for-export/m-p/6166723#M1371044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It will give you a popup which will allow to browse the directories in windows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_macro_name="message" id="7360476"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2009 22:48:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-selecting-the-folder-for-export/m-p/6166723#M1371044</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-09-30T22:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while selecting the folder for EXPORT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-selecting-the-folder-for-export/m-p/6166724#M1371045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. But when I select a folder, it doesn't come on to the parameter box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 02:15:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-selecting-the-folder-for-export/m-p/6166724#M1371045</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-01T02:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while selecting the folder for EXPORT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-selecting-the-folder-for-export/m-p/6166725#M1371046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try using DIRECTORY_GET_CURRENT method of the class after DIRECTORY_BROWSE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 02:24:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-selecting-the-folder-for-export/m-p/6166725#M1371046</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-01T02:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while selecting the folder for EXPORT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-selecting-the-folder-for-export/m-p/6166726#M1371047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kartik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That did not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: p_sel_folder type string,&lt;/P&gt;&lt;P&gt;      p_ini_folder type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD cl_gui_frontend_services=&amp;gt;directory_browse&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    window_title         = 'Choose a Folder for the Export Data.'&lt;/P&gt;&lt;P&gt;    initial_folder       = p_ini_folder&lt;/P&gt;&lt;P&gt;  CHANGING&lt;/P&gt;&lt;P&gt;    selected_folder      = p_sel_folder&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    cntl_error           = 1&lt;/P&gt;&lt;P&gt;    error_no_gui         = 2&lt;/P&gt;&lt;P&gt;    not_supported_by_gui = 3&lt;/P&gt;&lt;P&gt;    others               = 4.&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;CALL METHOD cl_gui_frontend_services=&amp;gt;directory_get_current&lt;/P&gt;&lt;P&gt;  CHANGING&lt;/P&gt;&lt;P&gt;    current_directory            = p_sel_folder&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    directory_get_current_failed = 1&lt;/P&gt;&lt;P&gt;    cntl_error                   = 2&lt;/P&gt;&lt;P&gt;    error_no_gui                 = 3&lt;/P&gt;&lt;P&gt;    not_supported_by_gui         = 4&lt;/P&gt;&lt;P&gt;    others                       = 5.&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;Thanks,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 02:32:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-selecting-the-folder-for-export/m-p/6166726#M1371047</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-01T02:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while selecting the folder for EXPORT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-selecting-the-folder-for-export/m-p/6166727#M1371048</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 Kiran, 
&amp;lt;li&amp;gt;I could not find that function module SKTX_DIRECTORY_SELECT in 4.6 and ECC 6.0 also. But anyhow you seem to be looking for function module or method which needs to select directory with a dialog.
&amp;lt;li&amp;gt;Try this way.
&lt;PRE&gt;&lt;CODE&gt;REPORT ztest_program.
DATA: window_title TYPE string VALUE 'Set download directory'.
DATA: sapworkdir   TYPE string VALUE 'C:\'.

PARAMETERS folder TYPE string.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR folder.
  CALL METHOD cl_gui_frontend_services=&amp;gt;directory_browse
    EXPORTING
      window_title         = window_title
      initial_folder       = sapworkdir
    CHANGING
      selected_folder      = folder
    EXCEPTIONS
      cntl_error           = 1
      error_no_gui         = 2
      not_supported_by_gui = 3
      OTHERS               = 4.
  IF sy-subrc &amp;lt;&amp;gt; 0.
*   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
  IF folder IS INITIAL.
    MESSAGE 'No folder has been selected' TYPE 'S'.
    EXIT.
  ENDIF.

START-OF-SELECTION.
  WRITE folder.&lt;/CODE&gt;&lt;/PRE&gt;
Thanks
Venkat.O&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 02:37:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-selecting-the-folder-for-export/m-p/6166727#M1371048</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2009-10-01T02:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while selecting the folder for EXPORT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-selecting-the-folder-for-export/m-p/6166728#M1371049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Venkat.&lt;/P&gt;&lt;P&gt;I forgot to pass my directory back to selection-screen parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 03:05:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-selecting-the-folder-for-export/m-p/6166728#M1371049</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-01T03:05:12Z</dc:date>
    </item>
  </channel>
</rss>

