<?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: Add custom container in selection screen? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-custom-container-in-selection-screen/m-p/3248273#M775439</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try something like this.  Here I'm attaching a docking container on the bottom of the selection screen, and using an HTML viewer inside the docking. You would need to create your own HTML document with the specific HTML tags and text that you want, and then upload to SMW0 transaction as an HTML template, then use this document id in the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;


zREPORT  rich_0001.


DATA: dockingbottom  TYPE REF TO cl_gui_docking_container,
      html_viewer     TYPE REF TO cl_gui_html_viewer,
      repid TYPE syrepid.
DATA v_url TYPE bapibds01-uri.

PARAMETERS: p_check TYPE c,
            p_rad1 RADIOBUTTON GROUP grp1 DEFAULT 'X',
            p_rad2 RADIOBUTTON GROUP grp1,
            p_rad3 RADIOBUTTON GROUP grp1.

START-OF-SELECTION.

AT SELECTION-SCREEN OUTPUT.


  repid = sy-repid.

  CHECK dockingbottom IS INITIAL.

  CREATE OBJECT dockingbottom
    EXPORTING
      repid     = repid
      dynnr     = sy-dynnr
      side      = dockingbottom-&amp;gt;dock_at_bottom
      extension = 300.

  CREATE OBJECT html_viewer
    EXPORTING
      parent = dockingbottom.


* This document_id is the document upload via transaction SMW0 as
* an HTML template
  html_viewer-&amp;gt;load_html_document(
     EXPORTING  document_id  = 'HTMLCNTL_CNHTTST1_START'
     IMPORTING  assigned_url = v_url ).

  html_viewer-&amp;gt;show_url( EXPORTING url = v_url ).

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Jan 2008 19:45:18 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2008-01-15T19:45:18Z</dc:date>
    <item>
      <title>Add custom container in selection screen?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-custom-container-in-selection-screen/m-p/3248272#M775438</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;I have requirement to display a text length (50) characters in BOLD letters in the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I know this is not possible....)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody have info how to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am thinking if i place a custom container in the selection screen, then i can display letters in BOLD?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2008 18:57:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-custom-container-in-selection-screen/m-p/3248272#M775438</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2008-01-15T18:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Add custom container in selection screen?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-custom-container-in-selection-screen/m-p/3248273#M775439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try something like this.  Here I'm attaching a docking container on the bottom of the selection screen, and using an HTML viewer inside the docking. You would need to create your own HTML document with the specific HTML tags and text that you want, and then upload to SMW0 transaction as an HTML template, then use this document id in the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;


zREPORT  rich_0001.


DATA: dockingbottom  TYPE REF TO cl_gui_docking_container,
      html_viewer     TYPE REF TO cl_gui_html_viewer,
      repid TYPE syrepid.
DATA v_url TYPE bapibds01-uri.

PARAMETERS: p_check TYPE c,
            p_rad1 RADIOBUTTON GROUP grp1 DEFAULT 'X',
            p_rad2 RADIOBUTTON GROUP grp1,
            p_rad3 RADIOBUTTON GROUP grp1.

START-OF-SELECTION.

AT SELECTION-SCREEN OUTPUT.


  repid = sy-repid.

  CHECK dockingbottom IS INITIAL.

  CREATE OBJECT dockingbottom
    EXPORTING
      repid     = repid
      dynnr     = sy-dynnr
      side      = dockingbottom-&amp;gt;dock_at_bottom
      extension = 300.

  CREATE OBJECT html_viewer
    EXPORTING
      parent = dockingbottom.


* This document_id is the document upload via transaction SMW0 as
* an HTML template
  html_viewer-&amp;gt;load_html_document(
     EXPORTING  document_id  = 'HTMLCNTL_CNHTTST1_START'
     IMPORTING  assigned_url = v_url ).

  html_viewer-&amp;gt;show_url( EXPORTING url = v_url ).

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2008 19:45:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-custom-container-in-selection-screen/m-p/3248273#M775439</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2008-01-15T19:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Add custom container in selection screen?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-custom-container-in-selection-screen/m-p/3248274#M775440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You saved my day. That works well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2008 19:54:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-custom-container-in-selection-screen/m-p/3248274#M775440</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2008-01-15T19:54:13Z</dc:date>
    </item>
  </channel>
</rss>

