<?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: reading a document from application server / opening in SAP session in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-a-document-from-application-server-opening-in-sap-session/m-p/6047483#M1351860</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For question 1 : [sap library - DMS APIs|http://help.sap.com/saphelp_nw2004s/helpdata/en/3c/4d26696ab411d3aece0000e82deb58/frameset.htm]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Aug 2009 20:50:51 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2009-08-24T20:50:51Z</dc:date>
    <item>
      <title>reading a document from application server / opening in SAP session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-a-document-from-application-server-opening-in-sap-session/m-p/6047481#M1351858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we  have a requirment has follows , please help me with your inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have list of documents available in the DMS server....(XLS,DOC,PDF)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. How to get the list of file names ( available in the DMS server )  into the internal table.&lt;/P&gt;&lt;P&gt;2. i need to open these documents by clicking - into the same sap session itself. (it should not open in windows)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Note : Many of our forum friends earlier to open the file in windows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Giri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 10:54:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-a-document-from-application-server-opening-in-sap-session/m-p/6047481#M1351858</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-24T10:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: reading a document from application server / opening in SAP session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-a-document-from-application-server-opening-in-sap-session/m-p/6047482#M1351859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    You can show any  doc that is uploaded in DMS using the URL of the doc . the doc will be shown in a container. You can refer the std prog . SAPRDEMOPIVOTINTERFACE.. or some thg like that ( i dont remember the exact name ) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to pass the Class name . object type and object name to  find the URL.  Check transaction OAER and enter class as SSOFFICEINTEGRATION ,  type as OT and name as SSOFFICEINTEGRATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 15:22:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-a-document-from-application-server-opening-in-sap-session/m-p/6047482#M1351859</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-24T15:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: reading a document from application server / opening in SAP session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-a-document-from-application-server-opening-in-sap-session/m-p/6047483#M1351860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For question 1 : [sap library - DMS APIs|http://help.sap.com/saphelp_nw2004s/helpdata/en/3c/4d26696ab411d3aece0000e82deb58/frameset.htm]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 20:50:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-a-document-from-application-server-opening-in-sap-session/m-p/6047483#M1351860</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2009-08-24T20:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: reading a document from application server / opening in SAP session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-a-document-from-application-server-opening-in-sap-session/m-p/6047484#M1351861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mr.Saxena.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for exact understanding of my requirment. It was very helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just started  debuging  the code of the program which you sent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the mean time - if possible send me the sample code for opening a DMS document ( .doc / .xls ) file in one new sap screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Girish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2009 06:58:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-a-document-from-application-server-opening-in-sap-session/m-p/6047484#M1351861</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-25T06:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: reading a document from application server / opening in SAP session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-a-document-from-application-server-opening-in-sap-session/m-p/6047485#M1351862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, In the past I used the function module SKTX_DIRECTORY_FILE_LIST_GET to get the files in a directory. But maybe this FM is not available in your system. Succes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2009 07:45:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-a-document-from-application-server-opening-in-sap-session/m-p/6047485#M1351862</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-25T07:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: reading a document from application server / opening in SAP session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-a-document-from-application-server-opening-in-sap-session/m-p/6047486#M1351863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are your documents stored in BDS (OAER) or in DMS (BDS is just one of the various layers using DMS). If your documents are stored in an external document management system, you must use DMS.&lt;/P&gt;&lt;P&gt;According to the initial 2 questions, you can achieve it with SDOK_LOIO_FIND_BY_QUERY (for example) to search documents, SDOK_PHIO_LOAD_CONTENT to load a given document, and class CL_GUI_HTML_VIEWER to display it in a SAP GUI screen. You will find examples in the forum (there are also demo programs in your sap system and documentation also).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2009 08:04:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-a-document-from-application-server-opening-in-sap-session/m-p/6047486#M1351863</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2009-08-25T08:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: reading a document from application server / opening in SAP session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-a-document-from-application-server-opening-in-sap-session/m-p/6047487#M1351864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    I dont have any sample code , but  you can choose class as 'SSOFFICEINTEGRATION'  , obj type as OT and upload your document by giving any name , and copy the code from the standard prog to find the URL , creating custom container on screen and opening that doc using that URL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2009 15:04:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-a-document-from-application-server-opening-in-sap-session/m-p/6047487#M1351864</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-25T15:04:22Z</dc:date>
    </item>
  </channel>
</rss>

