<?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: application server directories in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-directories/m-p/2155647#M455422</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I cannot as well change value of any field during debugging that's why i need another way to list the directories. I try using SXPG_COMMAND_EXECUTE but I cannot determine what command name I can use from SM49. Can you please help? Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Apr 2007 06:29:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-03T06:29:02Z</dc:date>
    <item>
      <title>application server directories</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-directories/m-p/2155641#M455416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. Is there a way I can check the available directories in the application server? I cannot use AL11 since I am not authorize. Is there any other way to list the existing directories? Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2007 05:49:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-directories/m-p/2155641#M455416</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-03T05:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: application server directories</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-directories/m-p/2155642#M455417</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;  You just try to execute this function module it will give you list of directories present in Application server &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;   F4_DXFILENAME_TOPRECURSION &amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And see this following Example to use this FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: c_fnh_mask TYPE dxfields-filemask VALUE '&lt;STRONG&gt;.&lt;/STRONG&gt;',&lt;/P&gt;&lt;P&gt;search_dir TYPE dxfields-longpath VALUE '/sapglobal/users',&lt;/P&gt;&lt;P&gt;file_path LIKE dxfields-longpath.&lt;/P&gt;&lt;P&gt;report y_test.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'F4_DXFILENAME_TOPRECURSION'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;i_location_flag = 'A'&lt;/P&gt;&lt;P&gt;i_server = ' '&lt;/P&gt;&lt;P&gt;i_path = search_dir&lt;/P&gt;&lt;P&gt;filemask = c_fnh_mask&lt;/P&gt;&lt;P&gt;fileoperation = 'R'&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;o_path = file_path&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;rfc_error = 1&lt;/P&gt;&lt;P&gt;OTHERS = 2.&lt;/P&gt;&lt;P&gt;IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;f_app = file_path.&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;and &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  You can use t/code CG3Y to download a file from application server to presentation server and t/code CG3Z to upload a file to a application server from presentation server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also use this FM GUI_DOWNLOAD or method CL_GUI_FRONTEND_SERVICES=&amp;gt;GUI_DOWNLOAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the class CL_GUI_FRONTEND_SERVICES you can find others methods, for example:&lt;/P&gt;&lt;P&gt;FILE_GET_VERSION&lt;/P&gt;&lt;P&gt;FILE_OPEN_DIALOG&lt;/P&gt;&lt;P&gt;FILE_SAVE_DIALOG&lt;/P&gt;&lt;P&gt;GET_COMPUTER_NAME&lt;/P&gt;&lt;P&gt;GET_DESKTOP_DIRECTORY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;If it helps reward with Points&lt;/P&gt;&lt;P&gt;  Regards Rk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Rk Pasupuleti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2007 06:00:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-directories/m-p/2155642#M455417</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-03T06:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: application server directories</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-directories/m-p/2155643#M455418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;chk this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2440033"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2007 06:06:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-directories/m-p/2155643#M455418</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-03T06:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: application server directories</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-directories/m-p/2155644#M455419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you rum SM49, if yes, you can use operating system commands to list directories. You can also use function modules SXPG_COMMAND_EXECUTE to execute operating system commands&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2007 06:06:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-directories/m-p/2155644#M455419</guid>
      <dc:creator>Rashid_Javed</dc:creator>
      <dc:date>2007-04-03T06:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: application server directories</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-directories/m-p/2155645#M455420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No Authorization object can stop an ABAPer or a Debugger!&lt;/P&gt;&lt;P&gt;Type in '/h' in the tcode field and make sy-subrc = 0 after the authorization check.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2007 06:07:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-directories/m-p/2155645#M455420</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-03T06:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: application server directories</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-directories/m-p/2155646#M455421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; Yes as per pasupulate solution we can get through that function module..&lt;/P&gt;&lt;P&gt;Hope this helps you, reply for queries, Shall post you the updates.&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;Kumar. .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2007 06:10:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-directories/m-p/2155646#M455421</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-03T06:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: application server directories</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-directories/m-p/2155647#M455422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I cannot as well change value of any field during debugging that's why i need another way to list the directories. I try using SXPG_COMMAND_EXECUTE but I cannot determine what command name I can use from SM49. Can you please help? Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2007 06:29:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-directories/m-p/2155647#M455422</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-03T06:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: application server directories</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-directories/m-p/2155648#M455423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In SM49 you will see a list of commands. Now it depends on what Operating system your app. server is using. You can use the following command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LIST_DB2DUMP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as it is defined for both Windows and unix OS. for unix it uses 'ls' and for windows it uses 'dir'. for unix you can pass '/' as parameter to this command so it will list the contents of root. &lt;/P&gt;&lt;P&gt;So first try the commands in SM49, try to execute some and once you found the one you are looking for, you can use it in the function module SXPG_COMMAND_EXECUTE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2007 06:58:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-server-directories/m-p/2155648#M455423</guid>
      <dc:creator>Rashid_Javed</dc:creator>
      <dc:date>2007-04-03T06:58:57Z</dc:date>
    </item>
  </channel>
</rss>

