<?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: Create another object using the same container generated by a split... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-another-object-using-the-same-container-generated-by-a-split/m-p/7791213#M1586320</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the Class cl_gui_splitter_container.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Apr 2011 03:37:59 GMT</pubDate>
    <dc:creator>rathishr_nair</dc:creator>
    <dc:date>2011-04-07T03:37:59Z</dc:date>
    <item>
      <title>Create another object using the same container generated by a split...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-another-object-using-the-same-container-generated-by-a-split/m-p/7791205#M1586312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SapGears!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm facing a problem about creating an object using a splited container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I split the container A in containers A1 and A2 and create alv in A1 and html in A1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that, i need to create a toolbar buttons using the class cl_gui_toolbar in A2 without need to recreate all again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Try to call method free( ) and recreate the object, but the container A2 appears in blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any help will be very nice!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2011 17:50:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-another-object-using-the-same-container-generated-by-a-split/m-p/7791205#M1586312</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-23T17:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: Create another object using the same container generated by a split...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-another-object-using-the-same-container-generated-by-a-split/m-p/7791206#M1586313</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've checked it and it looks really strange. I'm not able to think any explanation, so this solution is rather walkaround. In my case it worked when I've created additional splitt container. So I've main split container A which had 2 panes A1 and A2. In A1 goes ALV and in A2 goes new split container that have only one container (row = 1 column = 1) B1. At beginning B1 has html and later toolbar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when time to change from html to toolbar comes:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  go_html-&amp;gt;free( ).
  B1-&amp;gt;free( ).
 CLEAR: go_html, B1.

CREATE B1
 parent = A2.

 CREATE go_toolbar
   parent = B1
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Marcin Cholewczuk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2011 22:03:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-another-object-using-the-same-container-generated-by-a-split/m-p/7791206#M1586313</guid>
      <dc:creator>marcin_cholewczuk</dc:creator>
      <dc:date>2011-03-23T22:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: Create another object using the same container generated by a split...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-another-object-using-the-same-container-generated-by-a-split/m-p/7791207#M1586314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would try different solution. Split A2 into two new rows B1 and B2. In B1 set your toolbar, in B2 your alv. By default set B1 cell hidden &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
"suppress splitter bar
 CALL METHOD gr_splitter_cont-&amp;gt;set_row_sash
    EXPORTING
      id    = 1
      type  = gr_splitter_cont-&amp;gt;type_movable
      value = gr_splitter_cont-&amp;gt;false.
 
"show only alv in entire cell
  CALL METHOD gr_splitter_cont-&amp;gt;set_row_height( id = 1 height = 1000 ).
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Now when you request for toolbar display only that cell&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
    CALL METHOD gr_splitter_cont-&amp;gt;set_row_height( id = 1 height = 0 ).
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;A kind of workaround but you will avoid much troubles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2011 08:47:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-another-object-using-the-same-container-generated-by-a-split/m-p/7791207#M1586314</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2011-03-24T08:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Create another object using the same container generated by a split...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-another-object-using-the-same-container-generated-by-a-split/m-p/7791208#M1586315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, my solution was to recreate the entire object again with what i want to be in the containers, but this is stupid! i can't belive that abap cannot handle this.... there must be a way of doing that...But tanks for the ideas below!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe someone has an way to solve that problem directly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tanks!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2011 16:29:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-another-object-using-the-same-container-generated-by-a-split/m-p/7791208#M1586315</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-24T16:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Create another object using the same container generated by a split...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-another-object-using-the-same-container-generated-by-a-split/m-p/7791209#M1586316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raphael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the scenario you have mentioned. Please correct me if I have done anything wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the PBO of the screen, I created a splitter container and placed an ALV grid in the first half and HTML viewer in the Second half. After that I am displaying it. I have placed a push button in the Application Toolbar and when I click on that, in the PAI, I am using the method Free of HTMl Viewer and then I created an object of CL_GUI_TOOLBAR with parent as the bottom container. I added a button to the toolbar and it was displayed in the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rathish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2011 13:21:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-another-object-using-the-same-container-generated-by-a-split/m-p/7791209#M1586316</guid>
      <dc:creator>rathishr_nair</dc:creator>
      <dc:date>2011-04-05T13:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: Create another object using the same container generated by a split...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-another-object-using-the-same-container-generated-by-a-split/m-p/7791210#M1586317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rathish R Nair, i apreciate your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try do that in a docking container, that is my case&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i never tryied it in a custom container like u did&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tanks a lot!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2011 14:21:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-another-object-using-the-same-container-generated-by-a-split/m-p/7791210#M1586317</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-05T14:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Create another object using the same container generated by a split...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-another-object-using-the-same-container-generated-by-a-split/m-p/7791211#M1586318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raphael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried it with Docking Container and it is working as well. After creating a Docking Container, I created a Splitter Container object using the Docking Container as the Parent. &lt;/P&gt;&lt;P&gt;Also I tried by creating two docking containers and placing grid in one and HTML viewer in one. In this case also the toolbar was appearing when I press the button on the output screen. Can you please tell me the exact way you did this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rathish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2011 11:16:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-another-object-using-the-same-container-generated-by-a-split/m-p/7791211#M1586318</guid>
      <dc:creator>rathishr_nair</dc:creator>
      <dc:date>2011-04-06T11:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: Create another object using the same container generated by a split...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-another-object-using-the-same-container-generated-by-a-split/m-p/7791212#M1586319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice man!! you are using easy_splitter or cl_gui_splitter?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using cl_gui_splitter and i cant do that just by calling the free method of the object&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe the splitter way can be the problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what splitter class u are using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tanks!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2011 11:40:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-another-object-using-the-same-container-generated-by-a-split/m-p/7791212#M1586319</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-06T11:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: Create another object using the same container generated by a split...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-another-object-using-the-same-container-generated-by-a-split/m-p/7791213#M1586320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the Class cl_gui_splitter_container.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2011 03:37:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-another-object-using-the-same-container-generated-by-a-split/m-p/7791213#M1586320</guid>
      <dc:creator>rathishr_nair</dc:creator>
      <dc:date>2011-04-07T03:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Create another object using the same container generated by a split...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-another-object-using-the-same-container-generated-by-a-split/m-p/7791214#M1586321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First, i apreciate a lot your help! Tanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hum... so its possible to the error is associated with the PAI call?&lt;/P&gt;&lt;P&gt;If you use an event, like changing the container from html to toolbar not using the sy-ucomm and the screen control, but an event&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;im my case i use an event. Its strange because evebory say that have the same behave than me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i just use a docking container splitted and i dont have the PAI call to change that, maybe that is the problem, or i belive that when using a custom container the problem dont appears&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you try use docking container and some event to change the subcontainer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2011 12:36:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-another-object-using-the-same-container-generated-by-a-split/m-p/7791214#M1586321</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-07T12:36:07Z</dc:date>
    </item>
  </channel>
</rss>

