<?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 Function module to get desktop path in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-desktop-path/m-p/6952632#M1488894</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 to get the desktop path? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried using CL_GUI_FRONTEND_SERVICES=&amp;gt;GET_DESKTOP_DIRECTORY, but it is not returning any value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't hardcode "&lt;STRONG&gt;C:\Documents and Settings\&amp;lt;&amp;lt;&amp;lt;user-name&amp;gt;&amp;gt;&amp;gt;\Desktop&lt;/STRONG&gt;" as some users have their desktop in "&lt;STRONG&gt;D:\Documents and Settings\&amp;lt;&amp;lt;&amp;lt;user-name&amp;gt;&amp;gt;&amp;gt;\Desktop&lt;/STRONG&gt;".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arun Mohan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jun 2010 12:58:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-23T12:58:30Z</dc:date>
    <item>
      <title>Function module to get desktop path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-desktop-path/m-p/6952632#M1488894</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 to get the desktop path? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried using CL_GUI_FRONTEND_SERVICES=&amp;gt;GET_DESKTOP_DIRECTORY, but it is not returning any value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't hardcode "&lt;STRONG&gt;C:\Documents and Settings\&amp;lt;&amp;lt;&amp;lt;user-name&amp;gt;&amp;gt;&amp;gt;\Desktop&lt;/STRONG&gt;" as some users have their desktop in "&lt;STRONG&gt;D:\Documents and Settings\&amp;lt;&amp;lt;&amp;lt;user-name&amp;gt;&amp;gt;&amp;gt;\Desktop&lt;/STRONG&gt;".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arun Mohan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jun 2010 12:58:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-desktop-path/m-p/6952632#M1488894</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-23T12:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Function module to get desktop path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-desktop-path/m-p/6952633#M1488895</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;No problem:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: str TYPE string.

CALL METHOD cl_gui_frontend_services=&amp;gt;GET_DESKTOP_DIRECTORY
  changing
    DESKTOP_DIRECTORY     = str
  EXCEPTIONS
    cntl_error            = 1.
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.
CALL METHOD CL_GUI_CFW=&amp;gt;UPDATE_VIEW.

WRITE: str.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jun 2010 13:08:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-desktop-path/m-p/6952633#M1488895</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-23T13:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Function module to get desktop path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-desktop-path/m-p/6952634#M1488896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Dzed Maroz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It solved the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jun 2010 13:14:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-desktop-path/m-p/6952634#M1488896</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-23T13:14:48Z</dc:date>
    </item>
  </channel>
</rss>

