<?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 Read image using url in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-image-using-url/m-p/9693167#M1768376</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;Can any body give some idea "how to read image using external url link" and display that image in Adobe/smartforms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Sep 2013 06:22:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-09-12T06:22:33Z</dc:date>
    <item>
      <title>Read image using url</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-image-using-url/m-p/9693167#M1768376</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;Can any body give some idea "how to read image using external url link" and display that image in Adobe/smartforms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 06:22:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-image-using-url/m-p/9693167#M1768376</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-12T06:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: Read image using url</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-image-using-url/m-p/9693168#M1768377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Upload the image in SE78 in MIME directory/repository.&lt;/P&gt;&lt;P&gt;Determine the image details using below code and then pass it over to you adobe level&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/278322" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Form Context&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/278323" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Image Object at form context leve&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/278336" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ansumesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 07:18:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-image-using-url/m-p/9693168#M1768377</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-12T07:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: Read image using url</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-image-using-url/m-p/9693169#M1768378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kumar,&lt;/P&gt;&lt;P&gt;Hope this link Solves Ur problem.&lt;/P&gt;&lt;P&gt;&lt;A href="https://scn.sap.com/thread/2113202"&gt;https://scn.sap.com/thread/2113202&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sivaganesh.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 07:24:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-image-using-url/m-p/9693169#M1768378</guid>
      <dc:creator>sivaganesh_krishnan</dc:creator>
      <dc:date>2013-09-12T07:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: Read image using url</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-image-using-url/m-p/9693170#M1768379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi both,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing, we don't want to save the picture any where. Because those pictures are millions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just want to use the link and get the picture in byte string/hex string and convert to image and show in smartform/adobe reader.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 07:30:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-image-using-url/m-p/9693170#M1768379</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-12T07:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Read image using url</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-image-using-url/m-p/9693171#M1768380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Sorry but you can't use external images directly in the smartforms. You need to import it in the Document server in BMP format using transaction SE78 and then use it in your form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Ashish Rawat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 07:44:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-image-using-url/m-p/9693171#M1768380</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-12T07:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Read image using url</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-image-using-url/m-p/9693172#M1768381</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;In that case, I have requested image into HEX STRING (RAW format from .Net) and the file will be saved in the server. I am able to read file and save into desktop. But when I open desktop image, it is giving error. Attached is the Raw format file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2013 02:13:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-image-using-url/m-p/9693172#M1768381</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-17T02:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: Read image using url</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-image-using-url/m-p/9693173#M1768382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could create a custom folder in the Mime Repository (SE80--&amp;gt;Click on Mime Repository button on the top) under path /sap/public/bc instead of using SE78 etc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then upload the image file (.JPG for example) in that new folder in the Mime Repository. Make sure the Mime Type is set to image/jpeg (Right click then see Properties of the image file)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the context of your form, define an image file of type Graphic Content. Set the Graphic content field to a variable (say var1) of type XSTRING and set the Mime Type to a constant (say co1) of type STRING value 'SAP/PUBLIC/BC/your_folder/your_image.jpg'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Code Initialization of the form interface, work with the SAP standard mime_repository object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;data:&amp;nbsp; lr_api&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;type &lt;SPAN class="L0S52"&gt;ref &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;to &lt;/SPAN&gt;if_mr_api&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; lr_api &lt;SPAN class="L0S55"&gt;= cl_mime_repository_api&lt;SPAN class="L0S70"&gt;=&amp;gt;&lt;/SPAN&gt;get_api&lt;SPAN class="L0S55"&gt;( &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;)&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lr_api&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;SPAN class="L0S52"&gt;get&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;( &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;exporting&amp;nbsp; &lt;/SPAN&gt;i_url&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= co1&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;importing &lt;/SPAN&gt;e_content &lt;SPAN class="L0S55"&gt;= var1&lt;/SPAN&gt; &lt;SPAN class="L0S55"&gt;)&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;Finally, in the form, don't forget to bind the image object of the form to the image/Graphic Content of the context.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;Sougata.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2013 04:30:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-image-using-url/m-p/9693173#M1768382</guid>
      <dc:creator>Sougata</dc:creator>
      <dc:date>2013-09-17T04:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Read image using url</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-image-using-url/m-p/9693174#M1768383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The file data string should be BMP format....the string you have shown here is not in BMP format. Save the file in BMP format on your desktop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2013 05:58:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-image-using-url/m-p/9693174#M1768383</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-17T05:58:08Z</dc:date>
    </item>
  </channel>
</rss>

