<?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: Directory_exits syntax error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/directory-exits-syntax-error/m-p/1995684#M405733</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;declare it as type string&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: lv_talalt TYPE string.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Mar 2007 13:22:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-21T13:22:34Z</dc:date>
    <item>
      <title>Directory_exits syntax error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/directory-exits-syntax-error/m-p/1995681#M405730</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;I would like to use the method cl_gui_frontend_services=&amp;gt;directory_exist.&lt;/P&gt;&lt;P&gt;Something is not working with the returning parameter, but I don't know why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: lv_talalt TYPE c.

CLEAR lv_talalt.
CALL METHOD cl_gui_frontend_services=&amp;gt;directory_exist
  EXPORTING
    directory        = lv_directory_string
  RETURNING 
    RESULT           = lv_talalt.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx in adavance&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 13:14:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/directory-exits-syntax-error/m-p/1995681#M405730</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T13:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: Directory_exits syntax error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/directory-exits-syntax-error/m-p/1995682#M405731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;data: lv_talalt type abap_bool.      "&amp;lt;---- Try this

CLEAR lv_talalt.
CALL METHOD cl_gui_frontend_services=&amp;gt;directory_exist
  EXPORTING
    directory        = lv_directory_string
  RETURNING 
    RESULT           = lv_talalt.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&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>Wed, 21 Mar 2007 13:19:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/directory-exits-syntax-error/m-p/1995682#M405731</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-03-21T13:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: Directory_exits syntax error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/directory-exits-syntax-error/m-p/1995683#M405732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanx for the answers, found the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD cl_gui_frontend_services=&amp;gt;directory_exist&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    directory = lv_directory_string&lt;/P&gt;&lt;P&gt;  RECEIVING                    "&amp;lt;&amp;lt;&amp;lt;---&lt;/P&gt;&lt;P&gt;    result    = lv_talalt.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 13:21:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/directory-exits-syntax-error/m-p/1995683#M405732</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T13:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Directory_exits syntax error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/directory-exits-syntax-error/m-p/1995684#M405733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;declare it as type string&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: lv_talalt TYPE string.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 13:22:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/directory-exits-syntax-error/m-p/1995684#M405733</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T13:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: Directory_exits syntax error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/directory-exits-syntax-error/m-p/1995685#M405734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also right it like this in a Netweaver Release,  then there would have been no confusion with the RETURN/RECIEVING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;lv_talalt = cl_gui_frontend_services=&amp;gt;directory_exist( lv_directory_string ).&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>Wed, 21 Mar 2007 13:24:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/directory-exits-syntax-error/m-p/1995685#M405734</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-03-21T13:24:53Z</dc:date>
    </item>
  </channel>
</rss>

