<?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: Module pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/2695605#M623850</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the program in SE38 : demo_abap_objects_controls&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Aug 2007 06:10:58 GMT</pubDate>
    <dc:creator>gopi_narendra</dc:creator>
    <dc:date>2007-08-21T06:10:58Z</dc:date>
    <item>
      <title>Module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/2695604#M623849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In dialog pool programming how to get jpeg image and display it..If any Function module what used for it????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2007 05:38:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/2695604#M623849</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-21T05:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/2695605#M623850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the program in SE38 : demo_abap_objects_controls&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2007 06:10:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/2695605#M623850</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2007-08-21T06:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/2695606#M623851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the below given code however before that create a custom control in your screen and name it CUSTOM_1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;In top include of the module pool program provide the classes definition.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Classes *****************************************************&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class SCREEN_INIT definition create private.&lt;/P&gt;&lt;P&gt;  public section.&lt;/P&gt;&lt;P&gt;    class-methods INIT_SCREEN.&lt;/P&gt;&lt;P&gt;    methods CONSTRUCTOR.&lt;/P&gt;&lt;P&gt;  private section.&lt;/P&gt;&lt;P&gt;    data: CONTAINER1 type ref to CL_GUI_CUSTOM_CONTAINER,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          PICTURE type ref to CL_GUI_PICTURE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    methods: FILL_PICTURE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endclass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class SCREEN_HANDLER definition.&lt;/P&gt;&lt;P&gt;  public section.&lt;/P&gt;&lt;P&gt;    methods: CONSTRUCTOR importing CONTAINER&lt;/P&gt;&lt;P&gt;               type ref to CL_GUI_CUSTOM_CONTAINER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  private section.&lt;/P&gt;&lt;P&gt;    data: HTML_VIEWER type ref to CL_GUI_HTML_VIEWER,&lt;/P&gt;&lt;P&gt;          LIST_VIEWER type ref to CL_GUI_ALV_GRID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endclass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Then in the main program below the TOP include give implementation of these classes ofcourse before the PBO include which is.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Class implementations&lt;/P&gt;&lt;P&gt;class SCREEN_INIT implementation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  method INIT_SCREEN.&lt;/P&gt;&lt;P&gt;    data SCREEN type ref to SCREEN_INIT.&lt;/P&gt;&lt;P&gt;    create object SCREEN.&lt;/P&gt;&lt;P&gt;  endmethod.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  method CONSTRUCTOR.&lt;/P&gt;&lt;P&gt;    data: EVENTS type CNTL_SIMPLE_EVENTS,&lt;/P&gt;&lt;P&gt;          EVENT like line of EVENTS,&lt;/P&gt;&lt;P&gt;          EVENT_HANDLER type ref to SCREEN_HANDLER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    create object: CONTAINER1 exporting CONTAINER_NAME = 'CUSTOM_1',&lt;/P&gt;&lt;P&gt;                   PICTURE exporting PARENT = CONTAINER1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    call method: ME-&amp;gt;FILL_PICTURE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endmethod.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  method FILL_PICTURE.&lt;/P&gt;&lt;P&gt;    types PICT_LINE(256) type X.&lt;/P&gt;&lt;P&gt;    data  PICT_TAB type table of PICT_LINE.&lt;/P&gt;&lt;P&gt;    data  URL(255) type C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    import PICT_TAB = PICT_TAB from database ABTREE(PI) id 'FLIGHTS'.&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 = 'GIF'&lt;/P&gt;&lt;P&gt;         tables&lt;/P&gt;&lt;P&gt;              DATA    = PICT_TAB&lt;/P&gt;&lt;P&gt;         changing&lt;/P&gt;&lt;P&gt;              URL     = URL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    call method PICTURE-&amp;gt;LOAD_PICTURE_FROM_URL exporting URL = URL.&lt;/P&gt;&lt;P&gt;    call method PICTURE-&amp;gt;SET_DISPLAY_MODE&lt;/P&gt;&lt;P&gt;         exporting DISPLAY_MODE = PICTURE-&amp;gt;DISPLAY_MODE_FIT_CENTER.&lt;/P&gt;&lt;P&gt;  endmethod.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endclass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class SCREEN_HANDLER implementation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  method CONSTRUCTOR.&lt;/P&gt;&lt;P&gt;    create object: HTML_VIEWER exporting PARENT = CONTAINER,&lt;/P&gt;&lt;P&gt;                   LIST_VIEWER exporting I_PARENT = CONTAINER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;and then make a call in your PBO module to the class method to show the logo on the screen.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module STATUS_0101 output.&lt;/P&gt;&lt;P&gt;  SET PF-STATUS 'LISTE'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; SET TITLEBAR 'xxx'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call method SCREEN_INIT=&amp;gt;INIT_SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endmodule.                 " STATUS_0101  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps. Revert for further clarifications if any.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Always reward points to useful suggestions.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Vikas Taneja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2007 06:56:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/2695606#M623851</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-21T06:56:59Z</dc:date>
    </item>
  </channel>
</rss>

