<?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: Displaying Image on Screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-image-on-screen/m-p/5643574#M1284363</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Container name are different..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 May 2009 06:21:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-18T06:21:30Z</dc:date>
    <item>
      <title>Displaying Image on Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-image-on-screen/m-p/5643570#M1284359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear gurus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to Picture Container in my Screen&lt;/P&gt;&lt;P&gt;and i want to display pictures on them.&lt;/P&gt;&lt;P&gt;Im facing a problem on that&lt;/P&gt;&lt;P&gt;when i execute the program i get the same picture on the other container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to resolve it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 06:15:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-image-on-screen/m-p/5643570#M1284359</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-18T06:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying Image on Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-image-on-screen/m-p/5643571#M1284360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please check the container names and the assignment you have given so taht it is not repeated..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 06:17:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-image-on-screen/m-p/5643571#M1284360</guid>
      <dc:creator>former_member242255</dc:creator>
      <dc:date>2009-05-18T06:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying Image on Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-image-on-screen/m-p/5643572#M1284361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Container name are different..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL METHOD cl_gui_cfw=&amp;gt;flush.   "First Container Coding.

CREATE OBJECT:
  container EXPORTING container_name = 'PICTURE_CONTAINER',
  picture EXPORTING parent = container.

  CALL METHOD cl_ssf_xsf_utilities=&amp;gt;get_bds_graphic_as_bmp
    EXPORTING
      p_object       = 'GRAPHICS'
      p_name         = 'Snak TpF Logo'
      p_id           = 'BMAP'
      p_btype        = 'BCOL'
    RECEIVING
      p_bmp          = l_graphic_xstr
  EXCEPTIONS
    NOT_FOUND      = 1
    INTERNAL_ERROR = 2
    others         = 3
          .
  IF sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.

  graphic_size = XSTRLEN( l_graphic_xstr ).
  l_graphic_conv = graphic_size.
  l_graphic_offs = 0.

  WHILE l_graphic_conv &amp;gt; 255.
    graphic_table-line = l_graphic_xstr+l_graphic_offs(255).
    APPEND graphic_table.
    l_graphic_offs = l_graphic_offs + 255.
    l_graphic_conv = l_graphic_conv - 255.
  ENDWHILE.
  graphic_table-line = l_graphic_xstr+l_graphic_offs(l_graphic_conv).

  APPEND graphic_table.

  CALL FUNCTION 'DP_CREATE_URL'
    EXPORTING
      type     = 'IMAGE'
      subtype  = 'X-UNKNOWN'
      size     = graphic_size
      lifetime = 'T'
    TABLES
      data     = graphic_table
    CHANGING
      url      = url.

  CALL METHOD picture-&amp;gt;load_picture_from_url
    EXPORTING
      url = url.
  CALL METHOD picture-&amp;gt;set_display_mode
    EXPORTING
      display_mode = picture-&amp;gt;display_mode_fit_center.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 06:19:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-image-on-screen/m-p/5643572#M1284361</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-18T06:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying Image on Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-image-on-screen/m-p/5643573#M1284362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;CALL METHOD cl_gui_cfw=&amp;gt;flush. "Second Container Coding

  CREATE OBJECT:
  container EXPORTING container_name = 'PICTURE_CONTAINER2',
  picture EXPORTING parent = container.

  CALL METHOD cl_ssf_xsf_utilities=&amp;gt;get_bds_graphic_as_bmp
    EXPORTING
      p_object       = 'GRAPHICS'
      p_name         = 'SNAK LOGO'
      p_id           = 'BMAP'
      p_btype        = 'BCOL'
    RECEIVING
      p_bmp          = l_graphic_xstr
  EXCEPTIONS
    NOT_FOUND      = 1
    INTERNAL_ERROR = 2
    others         = 3
          .
  IF sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.

  graphic_size = XSTRLEN( l_graphic_xstr ).
  l_graphic_conv = graphic_size.
  l_graphic_offs = 0.

  WHILE l_graphic_conv &amp;gt; 255.
    graphic_table-line = l_graphic_xstr+l_graphic_offs(255).
    APPEND graphic_table.
    l_graphic_offs = l_graphic_offs + 255.
    l_graphic_conv = l_graphic_conv - 255.
  ENDWHILE.
  graphic_table-line = l_graphic_xstr+l_graphic_offs(l_graphic_conv).

  APPEND graphic_table.

  CALL FUNCTION 'DP_CREATE_URL'
    EXPORTING
      type     = 'IMAGE'
      subtype  = 'X-UNKNOWN'
      size     = graphic_size
      lifetime = 'T'
    TABLES
      data     = graphic_table
    CHANGING
      url      = url.

  CALL METHOD picture-&amp;gt;load_picture_from_url
    EXPORTING
      url = url.
  CALL METHOD picture-&amp;gt;set_display_mode
    EXPORTING
      display_mode = picture-&amp;gt;display_mode_fit_center.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 06:20:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-image-on-screen/m-p/5643573#M1284362</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-18T06:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying Image on Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-image-on-screen/m-p/5643574#M1284363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Container name are different..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 06:21:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-image-on-screen/m-p/5643574#M1284363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-18T06:21:30Z</dc:date>
    </item>
  </channel>
</rss>

