<?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 Attach a screen to a splitter container cell in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/attach-a-screen-to-a-splitter-container-cell/m-p/896705#M54352</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 already have a splitter container with 2 cells : one for a ALV-tree and the other for a ALV-grid.&lt;/P&gt;&lt;P&gt;I want to add a thrid cell to my splitter container with one output field and one input/output field.&lt;/P&gt;&lt;P&gt;I could insert an ALV-grid in this cell but I'm sure there is more simple to do. I was expecting to connect a screen with those 2 fields to my splitter container cell put I didn't manage to find out the convenient statement or method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jun 2005 09:37:05 GMT</pubDate>
    <dc:creator>former_member768686</dc:creator>
    <dc:date>2005-06-21T09:37:05Z</dc:date>
    <item>
      <title>Attach a screen to a splitter container cell</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attach-a-screen-to-a-splitter-container-cell/m-p/896705#M54352</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 already have a splitter container with 2 cells : one for a ALV-tree and the other for a ALV-grid.&lt;/P&gt;&lt;P&gt;I want to add a thrid cell to my splitter container with one output field and one input/output field.&lt;/P&gt;&lt;P&gt;I could insert an ALV-grid in this cell but I'm sure there is more simple to do. I was expecting to connect a screen with those 2 fields to my splitter container cell put I didn't manage to find out the convenient statement or method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2005 09:37:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attach-a-screen-to-a-splitter-container-cell/m-p/896705#M54352</guid>
      <dc:creator>former_member768686</dc:creator>
      <dc:date>2005-06-21T09:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Attach a screen to a splitter container cell</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attach-a-screen-to-a-splitter-container-cell/m-p/896706#M54353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there is no easier way - your approach of ALV is better. else another way is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;make the container to occupy only say 90% of the screen size and in the balance screen area (10%) have your input field. (i feel this is the easiest way).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;placing a transaction/custom screen in a container has been discussed before here, without any concrete solution (what you want is something like SE80). It looks to be complex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2005 09:59:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attach-a-screen-to-a-splitter-container-cell/m-p/896706#M54353</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-06-21T09:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Attach a screen to a splitter container cell</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attach-a-screen-to-a-splitter-container-cell/m-p/896707#M54354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's go to the alv-grid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and best regards.&lt;/P&gt;&lt;P&gt;Olivier.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2005 13:55:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attach-a-screen-to-a-splitter-container-cell/m-p/896707#M54354</guid>
      <dc:creator>former_member768686</dc:creator>
      <dc:date>2005-06-21T13:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Attach a screen to a splitter container cell</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attach-a-screen-to-a-splitter-container-cell/m-p/896708#M54355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a easier way......  You have one container which contains two splitter containers, right?  Make the first container a "docking container" and hang it off of a regular dynpro.  The dynpro would then have your I/O fields.&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, 21 Jun 2005 14:21:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attach-a-screen-to-a-splitter-container-cell/m-p/896708#M54355</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-06-21T14:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Attach a screen to a splitter container cell</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attach-a-screen-to-a-splitter-container-cell/m-p/896709#M54356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is an example.  In this one, the docking container is hanging off the side of a selection screen.  You can implement the same kind of thing for a dynpro.  The only different is that you put the code(from the AT Selection screen output event) into the PBO of the dynpro.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report  zrich_0005.

data: imara type table of mara with header line.
data: it001w type table of t001w with header line.

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.

  data: dockingleft  type ref to cl_gui_docking_container,
        splitter  type ref to cl_gui_splitter_container,
        alv_top    type ref to cl_gui_alv_grid,
        alv_bot     type ref to cl_gui_alv_grid,
        dock_sub_cont1   type ref to cl_gui_container,
        dock_sub_cont2   type ref to cl_gui_container,
        repid type syrepid.

  repid = sy-repid.

* Get some data
  select * up to 100 rows into corresponding fields of table imara
              from mara.

  select * into corresponding fields of table it001w
              from t001w.

  check dockingleft is initial.

* Create docking and slitter

  create object dockingleft
              exporting repid     = repid
                        dynnr     = sy-dynnr
                        side      = dockingleft-&amp;gt;dock_at_left
                        extension = 600.

  create object splitter
                 exporting parent = dockingleft
                           rows    = 2
                           columns = 1.


* Set the splitter containers
  call method splitter-&amp;gt;get_container
                 exporting row            = 1
                           column         = 1
                           receiving container = dock_sub_cont1.


  call method splitter-&amp;gt;get_container
                 exporting row            = 2
                           column         = 1
                           receiving container = dock_sub_cont2.



* Create ALV at top
 create object alv_top
               exporting i_parent = dock_sub_cont1.


  call method alv_top-&amp;gt;set_table_for_first_display
      exporting
           i_structure_name       = 'MARA'
      changing
           it_outtab       = imara[].



* Create ALV at Bottom

  create object alv_bot
              exporting i_parent = dock_sub_cont2.

  call method alv_bot-&amp;gt;set_table_for_first_display
     exporting
          i_structure_name       = 'T001W'
     changing
          it_outtab       = it001w[].

&lt;/CODE&gt;&lt;/PRE&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, 21 Jun 2005 14:36:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attach-a-screen-to-a-splitter-container-cell/m-p/896709#M54356</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-06-21T14:36:37Z</dc:date>
    </item>
  </channel>
</rss>

