<?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: Logos in Module Pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/logos-in-module-pool/m-p/3633912#M875200</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;First you need to upload using OAER or OAOR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; you need to have containers, and you need to use classes.&lt;/P&gt;&lt;P&gt;data: DG_DYNDOC_ID TYPE REF TO CL_DD_DOCUMENT.&lt;/P&gt;&lt;P&gt;using this method you can set background picture.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD DG_DYNDOC_ID-&amp;gt;SET_DOCUMENT_BACKGROUND&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;PICTURE_ID = DL_BACKGROUND_ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Here is  the sample code&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a screen&lt;/P&gt;&lt;P&gt;Place a custom container for the picture on the screen. &lt;/P&gt;&lt;P&gt;Name the container GO_PICTURE_CONTAINER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Type pool for using SAP icons &lt;/P&gt;&lt;P&gt;TYPE-POOLS: icon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declarations &lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;go_picture TYPE REF TO cl_gui_picture,&lt;/P&gt;&lt;P&gt;go_picture_container TYPE REF TO cl_gui_custom_container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE status_0100 OUTPUT.&lt;/P&gt;&lt;P&gt;IF go_picture_container IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create obejcts for picture and container and &lt;/P&gt;&lt;P&gt;setup picture control &lt;/P&gt;&lt;P&gt;CREATE OBJECT go_picture_container&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;container_name = 'PICTURE_CONTAINER'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE OBJECT go_picture&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;parent = go_picture_container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set display mode (Stretching, original size etc.) &lt;/P&gt;&lt;P&gt;CALL METHOD go_picture-&amp;gt;set_display_mode&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;DISPLAY_MODE = CL_GUI_PICTURE=&amp;gt;display_mode_fit_center&lt;/P&gt;&lt;P&gt;EXCEPTIONS = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load picture from SAP Icons. To oad a picture from an URL use method &lt;/P&gt;&lt;P&gt;load_picture_from_url &lt;/P&gt;&lt;P&gt;CALL METHOD go_picture-&amp;gt;load_picture_from_sap_icons&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;icon = icon_delete&lt;/P&gt;&lt;P&gt;EXCEPTIONS error = 1.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE. [/code]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the below link.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/controls/picture.htm" target="test_blank"&gt;http://www.sapgenie.com/abap/controls/picture.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Award points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Apr 2008 11:01:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-17T11:01:23Z</dc:date>
    <item>
      <title>Logos in Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logos-in-module-pool/m-p/3633910#M875198</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;How to upload Our own logo to Module Pool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Module Pool we use ABTREE table .&lt;/P&gt;&lt;P&gt;How to upload custom logos to ABTREE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2008 10:46:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logos-in-module-pool/m-p/3633910#M875198</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-17T10:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: Logos in Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logos-in-module-pool/m-p/3633911#M875199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using OAER we will upload the Logo's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;RSDEMO_PICTURE_CONTROL  
sap_picture_demo_icon.
sap_picture_demo&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check these demo's&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2008 11:00:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logos-in-module-pool/m-p/3633911#M875199</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-17T11:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: Logos in Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logos-in-module-pool/m-p/3633912#M875200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;First you need to upload using OAER or OAOR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; you need to have containers, and you need to use classes.&lt;/P&gt;&lt;P&gt;data: DG_DYNDOC_ID TYPE REF TO CL_DD_DOCUMENT.&lt;/P&gt;&lt;P&gt;using this method you can set background picture.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD DG_DYNDOC_ID-&amp;gt;SET_DOCUMENT_BACKGROUND&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;PICTURE_ID = DL_BACKGROUND_ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Here is  the sample code&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a screen&lt;/P&gt;&lt;P&gt;Place a custom container for the picture on the screen. &lt;/P&gt;&lt;P&gt;Name the container GO_PICTURE_CONTAINER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Type pool for using SAP icons &lt;/P&gt;&lt;P&gt;TYPE-POOLS: icon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declarations &lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;go_picture TYPE REF TO cl_gui_picture,&lt;/P&gt;&lt;P&gt;go_picture_container TYPE REF TO cl_gui_custom_container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE status_0100 OUTPUT.&lt;/P&gt;&lt;P&gt;IF go_picture_container IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create obejcts for picture and container and &lt;/P&gt;&lt;P&gt;setup picture control &lt;/P&gt;&lt;P&gt;CREATE OBJECT go_picture_container&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;container_name = 'PICTURE_CONTAINER'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE OBJECT go_picture&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;parent = go_picture_container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set display mode (Stretching, original size etc.) &lt;/P&gt;&lt;P&gt;CALL METHOD go_picture-&amp;gt;set_display_mode&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;DISPLAY_MODE = CL_GUI_PICTURE=&amp;gt;display_mode_fit_center&lt;/P&gt;&lt;P&gt;EXCEPTIONS = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load picture from SAP Icons. To oad a picture from an URL use method &lt;/P&gt;&lt;P&gt;load_picture_from_url &lt;/P&gt;&lt;P&gt;CALL METHOD go_picture-&amp;gt;load_picture_from_sap_icons&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;icon = icon_delete&lt;/P&gt;&lt;P&gt;EXCEPTIONS error = 1.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE. [/code]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the below link.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/controls/picture.htm" target="test_blank"&gt;http://www.sapgenie.com/abap/controls/picture.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Award points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2008 11:01:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logos-in-module-pool/m-p/3633912#M875200</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-17T11:01:23Z</dc:date>
    </item>
  </channel>
</rss>

