<?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: Reg: Display image form application server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-display-image-form-application-server/m-p/4305985#M1026726</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shaik Meera,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is to display image from a Server. I know the path, I know the server path where the image is stored. From this path i need to load. Can you help on this as your sol gets data from images stored in se78 or something. I need it to load it from a path in server.&lt;/P&gt;&lt;P&gt;I have this path stored in the database.&lt;/P&gt;&lt;P&gt;Actually iam maintaining a material catalogue where i store the path of the images for every material in a database table. Based on the material i need to fetch the picture and display it.&lt;/P&gt;&lt;P&gt;Kindly help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Aug 2008 08:59:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-04T08:59:14Z</dc:date>
    <item>
      <title>Reg: Display image form application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-display-image-form-application-server/m-p/4305981#M1026722</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;&lt;/P&gt;&lt;P&gt;    I have an image stored in application server for eg d:\test.gif.&lt;/P&gt;&lt;P&gt;My requirement is to display the image from this path into a container in screen programming.&lt;/P&gt;&lt;P&gt;How can i achieve it. Kindly help.&lt;/P&gt;&lt;P&gt;I tried using load_picture_from_url method of class cl_gui_picture, its not working.&lt;/P&gt;&lt;P&gt;If i try to display an image from presentation server using this class and method its working fine. But my requirement is to display it form application server.&lt;/P&gt;&lt;P&gt;Help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2008 07:31:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-display-image-form-application-server/m-p/4305981#M1026722</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-04T07:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Display image form application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-display-image-form-application-server/m-p/4305982#M1026723</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;Use the Tcode&lt;/P&gt;&lt;P&gt;SMW0.&lt;/P&gt;&lt;P&gt;See the links:&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2593327"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2852635"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can do that in ALV report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the transaction OAOR, you should be able to insert your company Logo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GOTO - OAOR (Business Document Navigator)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give Class Name - PICTURES Class Type - OT..... then Execute&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will show you the list, then select ENJOYSAP_LOGO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On that list, you will find one control with a "create" tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click std. doc types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select SCREEN and double-click.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will push FILE selection screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select your company logo (.gif) and press OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will ask for a description- for instance: "company logo".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will let you know your doc has been stored successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find your logo under ENJOYSAP_LOGO-&amp;gt;Screen-&amp;gt;company logo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just run your ALV program, you should find your company logo in place of the EnjoySAP logo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM TOP-OF-PAGE.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;IT_LIST_COMMENTARY = HEADING[]&lt;/P&gt;&lt;P&gt;I_LOGO = 'ENJOYSAP_LOGO'&lt;/P&gt;&lt;P&gt;I_END_OF_LIST_GRID ='GT_LIST_TOP_OF_PAGE'.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;ENDFORM. "TOP-OF-PAGE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here 'ENJOYSAP_LOGO' will replace by ur created logo.&lt;/P&gt;&lt;P&gt;n pls reply me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer this link&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_enhanced.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_enhanced.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/alv-logo.htm" target="test_blank"&gt;http://www.sap-img.com/abap/alv-logo.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/fu002.htm" target="test_blank"&gt;http://www.sap-img.com/fu002.htm&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;Harish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2008 07:37:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-display-image-form-application-server/m-p/4305982#M1026723</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-04T07:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Display image form application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-display-image-form-application-server/m-p/4305983#M1026724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need it to be done programatically.&lt;/P&gt;&lt;P&gt;I have an image stored in application server, this part is not a prob.&lt;/P&gt;&lt;P&gt;The problem is where i need to display image from this path in application server into a Container in screen programming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2008 07:42:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-display-image-form-application-server/m-p/4305983#M1026724</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-04T07:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Display image form application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-display-image-form-application-server/m-p/4305984#M1026725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi naveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try by using below code, to display logo in Custom container &lt;/P&gt;&lt;P&gt;in module pool programs. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: logo_container type ref to cl_gui_custom_container,&lt;/P&gt;&lt;P&gt;      logo           type ref to cl_gui_picture.&lt;/P&gt;&lt;P&gt;data: url(255) type c.  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Flow Logic &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  process before output.&lt;/P&gt;&lt;P&gt;  module init_picture_control.   " create module to display logo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;end of Flow Logic &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module init_picture_control output.&lt;/P&gt;&lt;P&gt;  perform init_picture_control.&lt;/P&gt;&lt;P&gt;endmodule.                 " INIT_PICTURE_CONTROL  OUTPUT &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  init_picture_control&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form init_picture_control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: query_table like w3query occurs 1 with header line,&lt;/P&gt;&lt;P&gt;      html_table like w3html occurs 1,&lt;/P&gt;&lt;P&gt;      return_code like  w3param-ret_code,&lt;/P&gt;&lt;P&gt;      content_type like  w3param-cont_type,&lt;/P&gt;&lt;P&gt;      content_length like  w3param-cont_len,&lt;/P&gt;&lt;P&gt;      pic_data like w3mime occurs 0,&lt;/P&gt;&lt;P&gt;      pic_size type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if url is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    if logo_container is initial.&lt;/P&gt;&lt;P&gt;      create object logo_container&lt;/P&gt;&lt;P&gt;             exporting  container_name = 'LOGO_CONTAINER'&lt;/P&gt;&lt;P&gt;             exceptions others         = 1.&lt;/P&gt;&lt;P&gt;      if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;        exit.&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    if logo is initial.&lt;/P&gt;&lt;P&gt;      create object logo&lt;/P&gt;&lt;P&gt;             exporting  parent = logo_container&lt;/P&gt;&lt;P&gt;             exceptions others = 1.&lt;/P&gt;&lt;P&gt;      if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;        exit.&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    refresh query_table.&lt;/P&gt;&lt;P&gt;    query_table-name  = '_OBJECT_ID'.  &lt;/P&gt;&lt;P&gt;    query_table-value = 'SAPSMARTFORMS'. u201Cput your Logo name  &lt;/P&gt;&lt;P&gt;    append query_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    call function 'WWW_GET_MIME_OBJECT'&lt;/P&gt;&lt;P&gt;         tables&lt;/P&gt;&lt;P&gt;              query_string        = query_table&lt;/P&gt;&lt;P&gt;              html                = html_table&lt;/P&gt;&lt;P&gt;              mime                = pic_data&lt;/P&gt;&lt;P&gt;         changing&lt;/P&gt;&lt;P&gt;              return_code         = return_code&lt;/P&gt;&lt;P&gt;              content_type        = content_type&lt;/P&gt;&lt;P&gt;              content_length      = content_length&lt;/P&gt;&lt;P&gt;         exceptions&lt;/P&gt;&lt;P&gt;              object_not_found    = 1&lt;/P&gt;&lt;P&gt;              parameter_not_found = 2&lt;/P&gt;&lt;P&gt;              others              = 3.&lt;/P&gt;&lt;P&gt;    if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      pic_size = content_length.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    call function 'DP_CREATE_URL'&lt;/P&gt;&lt;P&gt;         exporting&lt;/P&gt;&lt;P&gt;              type     = 'image'&lt;/P&gt;&lt;P&gt;              subtype  = cndp_sap_tab_unknown&lt;/P&gt;&lt;P&gt;              size     = pic_size&lt;/P&gt;&lt;P&gt;              lifetime = cndp_lifetime_transaction&lt;/P&gt;&lt;P&gt;         tables&lt;/P&gt;&lt;P&gt;              data     = pic_data&lt;/P&gt;&lt;P&gt;         changing&lt;/P&gt;&lt;P&gt;              url      = url&lt;/P&gt;&lt;P&gt;         exceptions&lt;/P&gt;&lt;P&gt;              others   = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    call method logo-&amp;gt;load_picture_from_url&lt;/P&gt;&lt;P&gt;         exporting url     = url&lt;/P&gt;&lt;P&gt;         exceptions others = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                    " init_picture_control  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&amp;amp;regards,&lt;/P&gt;&lt;P&gt;meeravali shaik.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2008 08:38:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-display-image-form-application-server/m-p/4305984#M1026725</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-04T08:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Display image form application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-display-image-form-application-server/m-p/4305985#M1026726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shaik Meera,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is to display image from a Server. I know the path, I know the server path where the image is stored. From this path i need to load. Can you help on this as your sol gets data from images stored in se78 or something. I need it to load it from a path in server.&lt;/P&gt;&lt;P&gt;I have this path stored in the database.&lt;/P&gt;&lt;P&gt;Actually iam maintaining a material catalogue where i store the path of the images for every material in a database table. Based on the material i need to fetch the picture and display it.&lt;/P&gt;&lt;P&gt;Kindly help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2008 08:59:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-display-image-form-application-server/m-p/4305985#M1026726</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-04T08:59:14Z</dc:date>
    </item>
  </channel>
</rss>

