<?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: ALV in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1991946#M404553</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;Docking container allows us to attach one or more areas to a screen.Container is docked at one edge of the screen.&lt;/P&gt;&lt;P&gt;They are specific by their characteristic that they don&amp;#146;t need a dynpro screen control to open in, and they don&amp;#146;t float freely like dialogbox containers.They rather &amp;#147;dock&amp;#148; at specified side of a screen. In their constructor, it&amp;#146;s possible to define their size and docking side (left, right, top or botton). Class: CL_GUI_DOCKING_CONTAINER is used for docking containers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The difference between the docking and custom container is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In docking container there is no need to drag and drop the container in the screen painter. The container will get created during run time.&lt;/P&gt;&lt;P&gt;In Custom container,we will be placing the container control. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;See the below BLOG&amp;lt;/b&amp;gt;about the Docking container&lt;/P&gt;&lt;P&gt;/people/igor.barbaric/blog/2006/05/03/oo-abap-and-design-patterns-3-docking-containers-controller&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Beejal&lt;/P&gt;&lt;P&gt;**Reward if this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Mar 2007 05:32:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-14T05:32:29Z</dc:date>
    <item>
      <title>ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1991945#M404552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  What is the purpose of docking container?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 05:28:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1991945#M404552</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T05:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1991946#M404553</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;Docking container allows us to attach one or more areas to a screen.Container is docked at one edge of the screen.&lt;/P&gt;&lt;P&gt;They are specific by their characteristic that they don&amp;#146;t need a dynpro screen control to open in, and they don&amp;#146;t float freely like dialogbox containers.They rather &amp;#147;dock&amp;#148; at specified side of a screen. In their constructor, it&amp;#146;s possible to define their size and docking side (left, right, top or botton). Class: CL_GUI_DOCKING_CONTAINER is used for docking containers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The difference between the docking and custom container is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In docking container there is no need to drag and drop the container in the screen painter. The container will get created during run time.&lt;/P&gt;&lt;P&gt;In Custom container,we will be placing the container control. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;See the below BLOG&amp;lt;/b&amp;gt;about the Docking container&lt;/P&gt;&lt;P&gt;/people/igor.barbaric/blog/2006/05/03/oo-abap-and-design-patterns-3-docking-containers-controller&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Beejal&lt;/P&gt;&lt;P&gt;**Reward if this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 05:32:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1991946#M404553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T05:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1991947#M404554</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;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;ALV Grid control is based on the custom controls on the screen. When the program is scheduled in background, it tries to create GUI related front-end objects and hence the error &amp;#147;Fatal Error &amp;#150; GUI cannot be reached&amp;#148;. This type of problem is common with all the programs that use the ALV grid control to display the output.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; Whenever we execute this type of programs in background, we should be passing a blank docking container instead of the custom container as parent to our grid control.&lt;BR /&gt;&lt;BR /&gt; The docking container doesn&amp;#146;t need any of the custom controls on the screen; instead it attaches an area to any or all of the four edges of the screen (top, left, right or bottom). The behavior of the areas in the container is determined by the sequence in which they are initialized. Docking Containers are attached to the screen from the inside out. This means that when you create a second container, it is attached to the edge of the screen, and the container that was already there is pushed outwards.&lt;/P&gt; &lt;BR /&gt;&lt;BR /&gt;· &lt;B&gt;&lt;P&gt;Define a docking container in the program&lt;/P&gt;&lt;/B&gt;data: or_doc  type ref to &lt;EM&gt;cl_gui_docking_container .&lt;/EM&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        &lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;At the time of creating a custom container, check if the program is being executed in background or foreground. If the program is scheduled in background, then create a docking container instead of custom container.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;+if cl_gui_alv_grid=&amp;gt;offline( ) is initial. &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    create object or_custom_container &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           exporting container_name = c_container. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  create object or_grid &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         exporting i_parent = or_custom_container. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create object or_grid &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         exporting i_parent = or_doc . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif . + &lt;/P&gt;&lt;P&gt;Now test executing the program in background. The report would be generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;  Naresh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 05:35:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1991947#M404554</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T05:35:36Z</dc:date>
    </item>
  </channel>
</rss>

