<?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 OLE2_OBJECT AND DOCUMENT MANAGEMENT SYSTEM (DMS) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/ole2-object-and-document-management-system-dms/m-p/3068914#M727335</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;I'm trying to make a excel inform like a catalog with materials and images which are in a Document Management System.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using OLE2_OBJECT to make the inform in EXCEL, because I'm trying to do it with SMARTFORMS, and I cannot because I need to resize and put ok the images and with SMARTFORMS I cannot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To see the information I have a ALV Objects with a custom container with the information to the database..., material, price, etc..., and in other container when you click in a row I show the picture which is in the DMS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To do it, I use this method to get the URL to the image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD cl_dms_thumbnail_display=&amp;gt;get_url &lt;/P&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;P&gt;i_doc = ls_doc "IMPORTING &lt;/P&gt;&lt;P&gt;e_url = g_graphic_url. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And after I call the method of instance of class cl_gui_picture to show the picture in the cl_gui_alv_container&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD g_picture1-&amp;gt;load_picture_from_url &lt;/P&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;P&gt;url = p_graphic_url &lt;/P&gt;&lt;P&gt;IMPORTING &lt;/P&gt;&lt;P&gt;RESULT = p_result. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the code to excel print to insert the picture if I put this URL to my local pc, it's ok, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD OF picture 'INSERT' &lt;/P&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;P&gt;#1 = 'C:Documents and SettingsadministradorMis documentosMis imágenesprueba.bmp'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the URL of the g_graphics_url it's &lt;/P&gt;&lt;P&gt;SAPR3://SAPR3CMS/get/200/ZAFD_5F100/DC99BBC5172158F18A14005056C00008/DSR_20DEP_202_20BANDAS_20BROWN_20389_2020070719.JPG&lt;/P&gt;&lt;P&gt;and this URL it's nothing if I put in the internet explorer... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can I do to do this??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have another idea I appreciate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Nov 2007 17:14:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-28T17:14:55Z</dc:date>
    <item>
      <title>OLE2_OBJECT AND DOCUMENT MANAGEMENT SYSTEM (DMS)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ole2-object-and-document-management-system-dms/m-p/3068914#M727335</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;I'm trying to make a excel inform like a catalog with materials and images which are in a Document Management System.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using OLE2_OBJECT to make the inform in EXCEL, because I'm trying to do it with SMARTFORMS, and I cannot because I need to resize and put ok the images and with SMARTFORMS I cannot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To see the information I have a ALV Objects with a custom container with the information to the database..., material, price, etc..., and in other container when you click in a row I show the picture which is in the DMS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To do it, I use this method to get the URL to the image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD cl_dms_thumbnail_display=&amp;gt;get_url &lt;/P&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;P&gt;i_doc = ls_doc "IMPORTING &lt;/P&gt;&lt;P&gt;e_url = g_graphic_url. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And after I call the method of instance of class cl_gui_picture to show the picture in the cl_gui_alv_container&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD g_picture1-&amp;gt;load_picture_from_url &lt;/P&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;P&gt;url = p_graphic_url &lt;/P&gt;&lt;P&gt;IMPORTING &lt;/P&gt;&lt;P&gt;RESULT = p_result. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the code to excel print to insert the picture if I put this URL to my local pc, it's ok, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD OF picture 'INSERT' &lt;/P&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;P&gt;#1 = 'C:Documents and SettingsadministradorMis documentosMis imágenesprueba.bmp'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the URL of the g_graphics_url it's &lt;/P&gt;&lt;P&gt;SAPR3://SAPR3CMS/get/200/ZAFD_5F100/DC99BBC5172158F18A14005056C00008/DSR_20DEP_202_20BANDAS_20BROWN_20389_2020070719.JPG&lt;/P&gt;&lt;P&gt;and this URL it's nothing if I put in the internet explorer... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can I do to do this??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have another idea I appreciate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2007 17:14:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ole2-object-and-document-management-system-dms/m-p/3068914#M727335</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-28T17:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: OLE2_OBJECT AND DOCUMENT MANAGEMENT SYSTEM (DMS)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ole2-object-and-document-management-system-dms/m-p/3068915#M727336</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;May be try this way . ( I am not 100% sure about this)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data : g_picture   type ref to cl_gui_picture.
data : g_thumbnail type ref to cl_gui_custom_container.

CALL METHOD cl_dms_thumbnail_display=&amp;gt;get_url
EXPORTING
i_doc = ls_doc "IMPORTING
e_url = g_graphic_url. 

if not g_graphic_url is initial.
 create object g_thumbnail
      exporting container_name = &amp;lt;Your container name&amp;gt;.
 
 create object g_picture
       exporting parent = g_thumbnail.

 call method g_picture-&amp;gt;set_display_mode.

endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aRs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2007 17:30:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ole2-object-and-document-management-system-dms/m-p/3068915#M727336</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-11-28T17:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: OLE2_OBJECT AND DOCUMENT MANAGEMENT SYSTEM (DMS)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ole2-object-and-document-management-system-dms/m-p/3068916#M727337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;...sorry, but your answer has not valid because I'm try to "copy" the image in the Dev. Manag Document to the EXCEL inform that I'm making... and you tell me a method to display in the container the image... it's not the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks at any rate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2007 17:37:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ole2-object-and-document-management-system-dms/m-p/3068916#M727337</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-28T17:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: OLE2_OBJECT AND DOCUMENT MANAGEMENT SYSTEM (DMS)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ole2-object-and-document-management-system-dms/m-p/3068917#M727338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved by myself&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jul 2010 07:24:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ole2-object-and-document-management-system-dms/m-p/3068917#M727338</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-22T07:24:06Z</dc:date>
    </item>
  </channel>
</rss>

