<?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: Function module to get the file path in the system for TEMP folder in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-the-file-path-in-the-system-for-temp-folder/m-p/7786951#M1586026</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look at old now (obsolete) FM WS_QUERY&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; CALL FUNCTION 'WS_QUERY'
     EXPORTING
          environment    = 'TEMP'
          query          = 'EN'
     IMPORTING
          return         = lv_tmp
     EXCEPTIONS
          inv_query      = 1
          no_batch       = 2
          frontend_error = 3
          OTHERS         = 4.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Mar 2011 13:26:50 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2011-03-31T13:26:50Z</dc:date>
    <item>
      <title>Function module to get the file path in the system for TEMP folder</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-the-file-path-in-the-system-for-temp-folder/m-p/7786949#M1586024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any function module that I can use to get the file path in the system for TEMP folder. &lt;/P&gt;&lt;P&gt;I mean, i am supposed to give only TEMP as the input for that function module and I need to get the path of that in the system as the output. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am unsing 4.0 version. &lt;/P&gt;&lt;P&gt;Please advice. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2011 13:03:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-the-file-path-in-the-system-for-temp-folder/m-p/7786949#M1586024</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-31T13:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Function module to get the file path in the system for TEMP folder</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-the-file-path-in-the-system-for-temp-folder/m-p/7786950#M1586025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Higher versions, we can use the below code: &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------" /&gt;&lt;P&gt;call method CL_GUI_FRONTEND_SERVICES=&amp;gt;ENVIRONMENT_GET_VARIABLE&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      VARIABLE   = 'TEMP'&lt;/P&gt;&lt;P&gt;    importing&lt;/P&gt;&lt;P&gt;      VALUE      = LV_TMP&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      CNTL_ERROR = 1&lt;/P&gt;&lt;P&gt;      others     = 2.&lt;/P&gt;&lt;P&gt;&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_CFW=&amp;gt;FLUSH&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      CNTL_SYSTEM_ERROR = 1&lt;/P&gt;&lt;P&gt;      CNTL_ERROR        = 2&lt;/P&gt;&lt;P&gt;      others            = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Error handling&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  concatenate lv_tmp '\' into folder_path.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But need to know in the lower versions like 3.1h and 4.0,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2011 13:19:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-the-file-path-in-the-system-for-temp-folder/m-p/7786950#M1586025</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-31T13:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: Function module to get the file path in the system for TEMP folder</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-the-file-path-in-the-system-for-temp-folder/m-p/7786951#M1586026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look at old now (obsolete) FM WS_QUERY&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; CALL FUNCTION 'WS_QUERY'
     EXPORTING
          environment    = 'TEMP'
          query          = 'EN'
     IMPORTING
          return         = lv_tmp
     EXCEPTIONS
          inv_query      = 1
          no_batch       = 2
          frontend_error = 3
          OTHERS         = 4.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2011 13:26:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-the-file-path-in-the-system-for-temp-folder/m-p/7786951#M1586026</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2011-03-31T13:26:50Z</dc:date>
    </item>
  </channel>
</rss>

