<?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: Direct open file from application server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/direct-open-file-from-application-server/m-p/8078864#M1614305</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So how should a file be opened that is not there? &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Aug 2011 11:31:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-08-10T11:31:27Z</dc:date>
    <item>
      <title>Direct open file from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/direct-open-file-from-application-server/m-p/8078860#M1614301</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;Is there any class/method to directly open the file from application server?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Means---at my selection screen I have application server path, file name and the type of the file...when I execute the program it should directly open the .doc/.txt/.msg file that is saved in the application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 11:06:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/direct-open-file-from-application-server/m-p/8078860#M1614301</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-10T11:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Direct open file from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/direct-open-file-from-application-server/m-p/8078861#M1614302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try FM FILE_READ_AND_CONVERT_SAP_DATA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 11:17:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/direct-open-file-from-application-server/m-p/8078861#M1614302</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-10T11:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Direct open file from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/direct-open-file-from-application-server/m-p/8078862#M1614303</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 think you have to download the file to the users pc first and then open it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Oliver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 11:20:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/direct-open-file-from-application-server/m-p/8078862#M1614303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-10T11:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Direct open file from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/direct-open-file-from-application-server/m-p/8078863#M1614304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No...my requirement is to open directly once I execute...not to download and open &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 11:28:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/direct-open-file-from-application-server/m-p/8078863#M1614304</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-10T11:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Direct open file from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/direct-open-file-from-application-server/m-p/8078864#M1614305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So how should a file be opened that is not there? &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 11:31:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/direct-open-file-from-application-server/m-p/8078864#M1614305</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-10T11:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Direct open file from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/direct-open-file-from-application-server/m-p/8078865#M1614306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oliver...my file is in application server...from ther it should pick and open..I have the application server path, file name and type of the file...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 11:34:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/direct-open-file-from-application-server/m-p/8078865#M1614306</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-10T11:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Direct open file from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/direct-open-file-from-application-server/m-p/8078866#M1614307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, but you don't want to only show the text in it in a SAP window, do you?&lt;/P&gt;&lt;P&gt;If yes, use OPEN DATASET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I think what you want is to open the file on the clients computer (eg. a .doc file with MS Word).&lt;/P&gt;&lt;P&gt;And this is only possible if Word has access to this file. And usually you don't have direct access to the application servers file folder.&lt;/P&gt;&lt;P&gt;Therefore the file has to be downloaded to the users computer first. (into C:\Temp\ for example). And only then it is possible to open it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's the problem with this? The user doesn't even notice the download. It happens in Background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Oliver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 11:41:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/direct-open-file-from-application-server/m-p/8078866#M1614307</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-10T11:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Direct open file from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/direct-open-file-from-application-server/m-p/8078867#M1614308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree.Bcz the functionality is kind of attachment open in any transactions.So they want to direct open.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 11:45:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/direct-open-file-from-application-server/m-p/8078867#M1614308</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-10T11:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Direct open file from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/direct-open-file-from-application-server/m-p/8078868#M1614309</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;&lt;/P&gt;&lt;P&gt;Use TCODE: CG3Y&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 11:46:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/direct-open-file-from-application-server/m-p/8078868#M1614309</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-10T11:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Direct open file from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/direct-open-file-from-application-server/m-p/8078869#M1614310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi chandra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will give the list of files. I want to open the file that I have provided the name at selection screen..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 11:50:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/direct-open-file-from-application-server/m-p/8078869#M1614310</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-10T11:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: Direct open file from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/direct-open-file-from-application-server/m-p/8078870#M1614311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Forget CG3Y.  It's old and has severe limitations....like 256 byte file transfer....use GUI_DOWNLOAD and GUI_UPLOAD instead of CG3*, if using FM....GUI services class if in OO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far as opening the file, after you have it open, you can't do anything with the data until you get it into SAP.  This is somewhat similar to Open SQL SELECT, which copies the data from db to db buffers, to SAP buffers  (if the data is not already buffered),  into your structure or internal table before you can do anything with that data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: DaveL on Aug 10, 2011 1:55 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 11:54:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/direct-open-file-from-application-server/m-p/8078870#M1614311</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-10T11:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Direct open file from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/direct-open-file-from-application-server/m-p/8078871#M1614312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then you have to explain them that this IS direct open. This is the way every program does it...PDFs on the internet, mail attachments in Outlook, ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure if CG3Y helps you. You should use methods of CL_GUI_FRONTEND_SERVICES to get the file to the pc and start them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternative would be not to store the files on the application server, but on a file server where everybody has access.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 11:55:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/direct-open-file-from-application-server/m-p/8078871#M1614312</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-10T11:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Direct open file from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/direct-open-file-from-application-server/m-p/8078872#M1614313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, suppose I have got the data into one internal table. And the table has the file name with file type. Is there any way to open the file from the internal table data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here it shoulf be dynamic, i.e the format can be anything (txt,xls,msg,xml,etc)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 11:57:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/direct-open-file-from-application-server/m-p/8078872#M1614313</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-10T11:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: Direct open file from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/direct-open-file-from-application-server/m-p/8078873#M1614314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you are looking for OLE. I think there are lots of threads in the forum if you search for "OLE".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 13:40:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/direct-open-file-from-application-server/m-p/8078873#M1614314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-10T13:40:35Z</dc:date>
    </item>
  </channel>
</rss>

