<?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: HTML type Texts in a Module Pool Screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/html-type-texts-in-a-module-pool-screen/m-p/7169022#M1516984</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;Kindly refer below link which display the footer data in HTML texts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/Snippets/ABAP" target="test_blank"&gt;http://wiki.sdn.sap.com/wiki/display/Snippets/ABAP&lt;/A&gt;&lt;EM&gt;-ALV&lt;/EM&gt;Footer&lt;EM&gt;in&lt;/EM&gt;HTML+Display&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And use the methods as per your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;K.Tharani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Aug 2010 07:51:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-08-05T07:51:26Z</dc:date>
    <item>
      <title>HTML type Texts in a Module Pool Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/html-type-texts-in-a-module-pool-screen/m-p/7169017#M1516979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to display some points in a part of a module pool screen. I dont have any idea on this, if anyone can give some example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Rock.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Aug 2010 05:57:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/html-type-texts-in-a-module-pool-screen/m-p/7169017#M1516979</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-05T05:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: HTML type Texts in a Module Pool Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/html-type-texts-in-a-module-pool-screen/m-p/7169018#M1516980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is possible to view html pages with class CL_GUI_HTML_VIEWER in a custom control of a module pool screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Aug 2010 06:59:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/html-type-texts-in-a-module-pool-screen/m-p/7169018#M1516980</guid>
      <dc:creator>kerem_kayacan</dc:creator>
      <dc:date>2010-08-05T06:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: HTML type Texts in a Module Pool Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/html-type-texts-in-a-module-pool-screen/m-p/7169019#M1516981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply Kerem Kayacan ,&lt;/P&gt;&lt;P&gt;I have created a custom container in my screen. I want to display some default data. How to achieve that using CL_GUI_HTML_VIEWER or any other class. Plz provide example code if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Rock.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Aug 2010 07:07:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/html-type-texts-in-a-module-pool-screen/m-p/7169019#M1516981</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-05T07:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: HTML type Texts in a Module Pool Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/html-type-texts-in-a-module-pool-screen/m-p/7169020#M1516982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What default points you want to display? Is it dynamic points?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gothrough some example program, if you want to display it in container&lt;/P&gt;&lt;P&gt;ITSQ_HTML_CONTROL&lt;/P&gt;&lt;P&gt;BCALV_DEMO_HTML&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Aug 2010 07:34:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/html-type-texts-in-a-module-pool-screen/m-p/7169020#M1516982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-05T07:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: HTML type Texts in a Module Pool Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/html-type-texts-in-a-module-pool-screen/m-p/7169021#M1516983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Tharani,&lt;/P&gt;&lt;P&gt;I have some STATIC data like "Welcome to SDN' for example, how to display that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Rock.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Aug 2010 07:41:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/html-type-texts-in-a-module-pool-screen/m-p/7169021#M1516983</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-05T07:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: HTML type Texts in a Module Pool Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/html-type-texts-in-a-module-pool-screen/m-p/7169022#M1516984</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;Kindly refer below link which display the footer data in HTML texts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/Snippets/ABAP" target="test_blank"&gt;http://wiki.sdn.sap.com/wiki/display/Snippets/ABAP&lt;/A&gt;&lt;EM&gt;-ALV&lt;/EM&gt;Footer&lt;EM&gt;in&lt;/EM&gt;HTML+Display&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And use the methods as per your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;K.Tharani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Aug 2010 07:51:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/html-type-texts-in-a-module-pool-screen/m-p/7169022#M1516984</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-05T07:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: HTML type Texts in a Module Pool Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/html-type-texts-in-a-module-pool-screen/m-p/7169023#M1516985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1: Create a container in your module pool screen with name "HTML_CONTROL".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; 2: Create object as below:Point this object to the module pool control using its name&lt;/P&gt;&lt;P&gt;data: html_control TYPE REF TO cl_gui_html_viewer,&lt;/P&gt;&lt;P&gt;      my_container TYPE REF TO cl_gui_custom_container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   CREATE OBJECT my_container&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;            container_name = 'HTML_CONTROL'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CREATE OBJECT html_control&lt;/P&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;P&gt;              parent    = my_container.&lt;/P&gt;&lt;P&gt;3: You can load image or text to module pool screen using this OBJECT reference only. An exaple for loading graphics is shown below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD html_control-&amp;gt;load_mime_object&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;          object_id  = 'HTMLCNTL_TESTHTM2_SAPLOGO'&lt;/P&gt;&lt;P&gt;          object_url = 'SAPLOGO.GIF'&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;ags.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Aug 2010 07:55:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/html-type-texts-in-a-module-pool-screen/m-p/7169023#M1516985</guid>
      <dc:creator>agnihotro_sinha2</dc:creator>
      <dc:date>2010-08-05T07:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: HTML type Texts in a Module Pool Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/html-type-texts-in-a-module-pool-screen/m-p/7169024#M1516986</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 ur screen place a custom control (say with name CONTAINER )....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the below code.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA : container   TYPE REF TO cl_gui_custom_container,
       text_editor TYPE REF TO cl_gui_textedit,
       lt_texttab  TYPE soli_tab.
 
CALL SCREEN 100. " Assuming ur screen no is 100
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Module  STATUS_0100  OUTPUT
*&amp;amp;---------------------------------------------------------------------*
MODULE status_0100 OUTPUT.        "PBO MODULE
 
  SET PF-STATUS '001'.
 
  IF sy-ucomm EQ 'BACK'.
    LEAVE PROGRAM.
  ENDIF.
 
  CHECK container IS NOT BOUND.
 
  CREATE OBJECT container EXPORTING container_name = 'CONTAINER'.
 
  CREATE OBJECT text_editor EXPORTING parent            = container
                                      wordwrap_mode     = cl_gui_textedit=&amp;gt;wordwrap_at_windowborder.
 
***to put some text in the text editor.
 
  APPEND 'Welcome to SDN' TO lt_texttab.
 
  CALL METHOD text_editor-&amp;gt;set_text_as_r3table
    EXPORTING
      table           = lt_texttab       " Contents of this table is displayed in text editor
    EXCEPTIONS
      error_dp        = 1
      error_dp_create = 2
      OTHERS          = 3.
  IF sy-subrc  0.
  ENDIF.
 
 
ENDMODULE.                 " STATUS_0100  OUTPUT
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Module  USER_COMMAND_0100  INPUT
*&amp;amp;---------------------------------------------------------------------*
MODULE user_command_0100 INPUT.        "PAI MODULE
 
  CALL METHOD text_editor-&amp;gt;get_text_as_r3table
    IMPORTING
      table           = lt_texttab       " Text tyed in editor gets collected in this table
    EXCEPTIONS
      error_dp        = 1
      error_dp_create = 2
      OTHERS          = 3.
  IF sy-subrc  0.
  ENDIF.
 
  BREAK-POINT. " Check the table lt_texttab
 
ENDMODULE.                 " USER_COMMAND_0100  INPUT&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This is a simple example of text editor.&lt;/P&gt;&lt;P&gt;You can also use it to display test in your screen.&lt;/P&gt;&lt;P&gt;May it helps you.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;DS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: deepaks sharma on Aug 5, 2010 10:12 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Aug 2010 08:07:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/html-type-texts-in-a-module-pool-screen/m-p/7169024#M1516986</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-05T08:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: HTML type Texts in a Module Pool Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/html-type-texts-in-a-module-pool-screen/m-p/7169025#M1516987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think below SAP program does all that you want to do in your program:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAPHTML_EVENTS_DEMO&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Aug 2010 08:25:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/html-type-texts-in-a-module-pool-screen/m-p/7169025#M1516987</guid>
      <dc:creator>agnihotro_sinha2</dc:creator>
      <dc:date>2010-08-05T08:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: HTML type Texts in a Module Pool Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/html-type-texts-in-a-module-pool-screen/m-p/7169026#M1516988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks  Deepaks sharma, for your help and all others who spent time to reply this thread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Aug 2010 09:33:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/html-type-texts-in-a-module-pool-screen/m-p/7169026#M1516988</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-05T09:33:21Z</dc:date>
    </item>
  </channel>
</rss>

