<?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 API for creating a directory in the application server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/api-for-creating-a-directory-in-the-application-server/m-p/1055586#M90291</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;Does anyone knows a way to create a directory in the application server? Something similar to&lt;/P&gt;&lt;P&gt;CL_GUI_FRONTEND_SERVICES but for managing files in the application server?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Diz IsMi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Oct 2005 16:01:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-10-31T16:01:24Z</dc:date>
    <item>
      <title>API for creating a directory in the application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/api-for-creating-a-directory-in-the-application-server/m-p/1055586#M90291</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;Does anyone knows a way to create a directory in the application server? Something similar to&lt;/P&gt;&lt;P&gt;CL_GUI_FRONTEND_SERVICES but for managing files in the application server?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Diz IsMi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2005 16:01:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/api-for-creating-a-directory-in-the-application-server/m-p/1055586#M90291</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-31T16:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: API for creating a directory in the application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/api-for-creating-a-directory-in-the-application-server/m-p/1055587#M90292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, CL_GUI_FRONTEND_SERVICES=&amp;gt;Directory_Create works really good for me.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

REPORT ZRICH_0001 .

data: path type string.
data: rc type sy-subrc.


path = '\172.52.72.651qfilesvr400S109XXXXusrsapTSTSYStest'.



CALL METHOD CL_GUI_FRONTEND_SERVICES=&amp;gt;DIRECTORY_CREATE
  EXPORTING
    DIRECTORY                = path
  CHANGING
    RC                       = rc
  EXCEPTIONS
    DIRECTORY_CREATE_FAILED  = 1
    CNTL_ERROR               = 2
    ERROR_NO_GUI             = 3
    PATH_NOT_FOUND           = 4
    DIRECTORY_ACCESS_DENIED  = 5
    DIRECTORY_ALREADY_EXISTS = 6
    UNKNOWN_ERROR            = 7
    others                   = 8
        .
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.


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2005 16:09:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/api-for-creating-a-directory-in-the-application-server/m-p/1055587#M90292</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-10-31T16:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: API for creating a directory in the application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/api-for-creating-a-directory-in-the-application-server/m-p/1055588#M90293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there something like CL_GUI_FRONTEND_SERVICES that you can use during background jobs?  I'm looking for something that will allow me to move/rename files and create directories.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Davis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2007 12:23:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/api-for-creating-a-directory-in-the-application-server/m-p/1055588#M90293</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-30T12:23:55Z</dc:date>
    </item>
  </channel>
</rss>

