<?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: how can i validate a path in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996057#M1343423</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 could use the FM to find the file path. See if this of some to you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

parameters: p_fname type string.
data: GV_FPATH TYPE FILEEXTERN.
                    

CALL FUNCTION 'FILE_GET_NAME_USING_PATH'
  EXPORTING
   CLIENT                           = SY-MANDT
    logical_path                     = 'HOME'
*   OPERATING_SYSTEM                 = SY-OPSYS
*   PARAMETER_1                      = ' '
*   PARAMETER_2                      = ' '
*   PARAMETER_3                      = ' '
*   USE_BUFFER                       = ' '
    file_name                        = P_FNAME
*   USE_PRESENTATION_SERVER          = ' '
*   ELEMINATE_BLANKS                 = 'X'
 IMPORTING
   FILE_NAME_WITH_PATH              = GV_FPATH
 EXCEPTIONS
   PATH_NOT_FOUND                   = 1
   MISSING_PARAMETER                = 2
   OPERATING_SYSTEM_NOT_FOUND       = 3
   FILE_SYSTEM_NOT_FOUND            = 4
    OTHERS                           = 5
         .
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.

WRITE:/ 'File Path:',GV_FPATH.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Aug 2009 05:15:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-20T05:15:19Z</dc:date>
    <item>
      <title>how can i validate a path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996050#M1343416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i validate a path... i tried to use cl_gui_frontend_services=&amp;gt;directory_exist&lt;/P&gt;&lt;P&gt;but it gives me an error &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for a local path and an app server path??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2009 23:10:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996050#M1343416</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-19T23:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: how can i validate a path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996051#M1343417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;cl_gui_frontend_services=&amp;gt;directory_exist is for checking directories (not files) on the presentation server ( on local pc, laptop)... You cannot use it for validating path on App server. For App server you need to use open dataset... read dataset. etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Karthik on Aug 20, 2009 2:21 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 00:20:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996051#M1343417</guid>
      <dc:creator>SG141</dc:creator>
      <dc:date>2009-08-20T00:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: how can i validate a path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996052#M1343418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use CL_GUI_FRONTEND_SERVICES=&amp;gt;&lt;STRONG&gt;FILE_EXIST&lt;/STRONG&gt; to check for file on the desktop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the App server use Open dataset. If it fails then there is no file at the specified location.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 01:19:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996052#M1343418</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T01:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: how can i validate a path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996053#M1343419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Carlos Venturo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use the method&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;file_exist from the class cl_gui_frontend_services...&lt;/P&gt;&lt;P&gt;this will return you wether you have the file on the specified path or not...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use method CL_GUI_FRONTEND_SERVICES=&amp;gt;FILE_EXIST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can also refer FM's:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONV_UTIL_CHECK_FILE_EXISTENCE&lt;/P&gt;&lt;P&gt;CV120_DOC_FILE_EXISTENCE_CHECK&lt;/P&gt;&lt;P&gt;CV122_DOC_FILE_EXISTENCE_CHECK&lt;/P&gt;&lt;P&gt;DX_FILE_EXISTENCE_CHECK&lt;/P&gt;&lt;P&gt;PFL_CHECK_OS_FILE_EXISTENCE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or when you simply upload a file using any FM, just check sy-subrc.&lt;/P&gt;&lt;P&gt; If not equal to 0, then display message Invalid Directory or File Name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Saurabh Goel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 03:46:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996053#M1343419</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T03:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: how can i validate a path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996054#M1343420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go through this link, I hope your problem will be solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="94478"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nidhi Kothiyal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 03:47:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996054#M1343420</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T03:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: how can i validate a path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996055#M1343421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;cl_GUI_FROMENT_services&lt;/P&gt;&lt;P&gt;from the name itself its says its from front end only. so it doesnt checks app server path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now. directory_exist from the name it checks directory.&lt;/P&gt;&lt;P&gt;so need fle_exist for a file in presentation server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and for a path in app server use OPEN DATASET and read dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: soumya prakash mishra on Aug 20, 2009 10:24 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 04:54:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996055#M1343421</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T04:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: how can i validate a path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996056#M1343422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please guys read carefully .. i nver said validate files ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 05:08:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996056#M1343422</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T05:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: how can i validate a path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996057#M1343423</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 could use the FM to find the file path. See if this of some to you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

parameters: p_fname type string.
data: GV_FPATH TYPE FILEEXTERN.
                    

CALL FUNCTION 'FILE_GET_NAME_USING_PATH'
  EXPORTING
   CLIENT                           = SY-MANDT
    logical_path                     = 'HOME'
*   OPERATING_SYSTEM                 = SY-OPSYS
*   PARAMETER_1                      = ' '
*   PARAMETER_2                      = ' '
*   PARAMETER_3                      = ' '
*   USE_BUFFER                       = ' '
    file_name                        = P_FNAME
*   USE_PRESENTATION_SERVER          = ' '
*   ELEMINATE_BLANKS                 = 'X'
 IMPORTING
   FILE_NAME_WITH_PATH              = GV_FPATH
 EXCEPTIONS
   PATH_NOT_FOUND                   = 1
   MISSING_PARAMETER                = 2
   OPERATING_SYSTEM_NOT_FOUND       = 3
   FILE_SYSTEM_NOT_FOUND            = 4
    OTHERS                           = 5
         .
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.

WRITE:/ 'File Path:',GV_FPATH.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 05:15:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996057#M1343423</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T05:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: how can i validate a path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996058#M1343424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you follow the below coding, where you will get to separate validation &lt;/P&gt;&lt;P&gt;for presentation server &amp;amp; application server file path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM present_validation .&lt;/P&gt;&lt;P&gt;  DATA: lw_check TYPE c,&lt;/P&gt;&lt;P&gt;        lw_file TYPE string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF po_psv IS INITIAL.&lt;/P&gt;&lt;P&gt;    IF sy-ucomm = 'ONLI' OR sy-ucomm = space.&lt;/P&gt;&lt;P&gt;      MESSAGE  'Please input the file name' TYPE lc_e.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    lw_file = po_psv.&lt;/P&gt;&lt;P&gt;    lw_check = cl_gui_frontend_services=&amp;gt;file_exist( lw_file ).&lt;/P&gt;&lt;P&gt;    IF lw_check IS INITIAL.&lt;/P&gt;&lt;P&gt;      MESSAGE  'Please input the correct file path' TYPE lc_e.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " PRESENT_VALIDATION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM application_validation .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: lw_file TYPE string.&lt;/P&gt;&lt;P&gt;  lw_file = po_asv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF po_asv IS INITIAL.&lt;/P&gt;&lt;P&gt;    IF sy-ucomm = 'ONLI' OR sy-ucomm = space.&lt;/P&gt;&lt;P&gt;      MESSAGE  'Please input the file name' TYPE lc_e.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    OPEN DATASET lw_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.&lt;/P&gt;&lt;P&gt;    IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;      MESSAGE  'Please input the correct file path' TYPE lc_e.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " APPLICATION_VALIDATION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this can solve your problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tutun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 05:26:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996058#M1343424</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T05:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: how can i validate a path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996059#M1343425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos,&lt;/P&gt;&lt;P&gt;I suggest you to go through the below link .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I guess there are few methods that you can chose to solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="189142"&gt;&lt;/A&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aditi Wason.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 05:47:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996059#M1343425</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T05:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: how can i validate a path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996060#M1343426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a \ or a / at the end of your path?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c:\xyz\wherever\whatever&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is treated as a file. So please check if your path ends with one ofdof the path delimters and check with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c:\xyz\wherever\whatever\&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 05:54:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996060#M1343426</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2009-08-20T05:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: how can i validate a path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996061#M1343427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hii carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for validation of path on application server &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use fm EPS_GET_DIRECTORY_LISTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second use FM PFL_CHECK_OS_FILE_EXISTENCE which perfectly working fine for application server file validation. Here also file name is case sensitive. Check this FM in SE37 by giving ur file name and check the check box Lower case&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgrds,&lt;/P&gt;&lt;P&gt;shweta&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Shweta Joon on Aug 20, 2009 8:01 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 05:59:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996061#M1343427</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T05:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: how can i validate a path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996062#M1343428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;where is your file? presentation server or app server?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 06:04:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996062#M1343428</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T06:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: how can i validate a path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996063#M1343429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there is no yet a file... im gonna create the pdf. file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;all i want to validate is that for example if the user input 'C:\dir\'  that PATH  exist (NOT FILE), thats it .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx for the previous answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 07:09:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996063#M1343429</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T07:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: how can i validate a path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996064#M1343430</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 use the method &lt;STRONG&gt;CL_GUI_FRONTEND_SERVICES-&amp;gt;DIRECTORY_EXIST&lt;/STRONG&gt; for path validation in the presentation server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 07:14:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996064#M1343430</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T07:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: how can i validate a path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996065#M1343431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thats great,.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now&lt;/P&gt;&lt;P&gt;pass your path to the method directory_exist as : 'C:\DIR\'  ... case is not a problem and last '\' also is not a problem you may or may not give.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that result parameter = X means directory exist. if not then it ddoesnt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 07:15:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996065#M1343431</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T07:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: how can i validate a path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996066#M1343432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thx for the answer ... but PLEASE read at least the first post.. i'm looking for another way to valdiate because the FM cl_gui_frontend_services=&amp;gt;directory_exist gives me an error!!! it says there is no method (probably because its an old version).. because its works fine in another server...but in the one im programming it doesnt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 07:23:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996066#M1343432</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T07:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: how can i validate a path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996067#M1343433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well my mistake i dint read the first post. In case cl_gui_frontend_services=&amp;gt;directory_exist is not working check if the FM's&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PC_CHECK_PATH&lt;/STRONG&gt; or &lt;STRONG&gt;PC_CHECK_PATH_WITH_DRIVE&lt;/STRONG&gt;  work for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 07:30:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996067#M1343433</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T07:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: how can i validate a path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996068#M1343434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be you are using a lower version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any ways&lt;/P&gt;&lt;P&gt;i have tried FM GUI_CREATE_DIRECTORY&lt;/P&gt;&lt;P&gt;if a directory exist it just doesnt harm the directory. but if the directory is not present it create it and raises exception FAILED.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can try this FM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 07:33:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-validate-a-path/m-p/5996068#M1343434</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T07:33:26Z</dc:date>
    </item>
  </channel>
</rss>

