<?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: OOPS ALV - Short dump in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv-short-dump/m-p/7326664#M1537609</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure you have done below things correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While creating a container control in SE51, make sure you have given a name to it in the attributes &amp;amp; use the same name in the ABAP code with data declaration as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose you have named the container control in SE51 as &lt;STRONG&gt;CC_CONTAINER&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA :
  g_Container TYPE scrfname VALUE 'CC_CONTAINER',
 g_Custom_Container TYPE REF TO CL_GUI_CUSTOM_CONTAINER
 g_Grid TYPE REF TO CL_GUI_ALV_GRID.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also first create a CONTAINER object with reference to container name in the screen &amp;amp; then  Create GRID object with reference to parent name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
IF g_Custom_Container IS INITIAL.

    CREATE OBJECT g_Custom_Container EXPORTING CONTAINER_NAME = g_Container.
  
    CREATE OBJECT g_Grid EXPORTING I_PARENT = g_Custom_Container.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp; Finally called method Set table for display for Grid as below :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
" SET_TABLE_FOR_FIRST_DISPLAY
    CALL METHOD g_Grid-&amp;gt;SET_TABLE_FOR_FIRST_DISPLAY
      EXPORTING
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also make sure that you have activated the code in PBO &amp;amp; PAI in SE51.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With these it shouldnt give the above error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Abhii&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Sep 2010 01:24:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-09-10T01:24:56Z</dc:date>
    <item>
      <title>OOPS ALV - Short dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv-short-dump/m-p/7326662#M1537607</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;While i create a report with grid display with oops ALV using custom container, its giving short dump..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DUMP: CNTL ERROR ouccured..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Sep 2010 00:04:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv-short-dump/m-p/7326662#M1537607</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-10T00:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: OOPS ALV - Short dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv-short-dump/m-p/7326663#M1537608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Howdy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps you could give a sample of your code so we can see what's going wrong - perhaps you haven't created the custom container object properly or assigned the grid to the correct parent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OO is now endorsed by SAP as the programming methodology to use going forward.  There are lots of advantages including easier to read and better flowing code, as well as better exception handling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Sep 2010 00:15:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv-short-dump/m-p/7326663#M1537608</guid>
      <dc:creator>alex_cook</dc:creator>
      <dc:date>2010-09-10T00:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: OOPS ALV - Short dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv-short-dump/m-p/7326664#M1537609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure you have done below things correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While creating a container control in SE51, make sure you have given a name to it in the attributes &amp;amp; use the same name in the ABAP code with data declaration as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose you have named the container control in SE51 as &lt;STRONG&gt;CC_CONTAINER&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA :
  g_Container TYPE scrfname VALUE 'CC_CONTAINER',
 g_Custom_Container TYPE REF TO CL_GUI_CUSTOM_CONTAINER
 g_Grid TYPE REF TO CL_GUI_ALV_GRID.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also first create a CONTAINER object with reference to container name in the screen &amp;amp; then  Create GRID object with reference to parent name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
IF g_Custom_Container IS INITIAL.

    CREATE OBJECT g_Custom_Container EXPORTING CONTAINER_NAME = g_Container.
  
    CREATE OBJECT g_Grid EXPORTING I_PARENT = g_Custom_Container.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp; Finally called method Set table for display for Grid as below :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
" SET_TABLE_FOR_FIRST_DISPLAY
    CALL METHOD g_Grid-&amp;gt;SET_TABLE_FOR_FIRST_DISPLAY
      EXPORTING
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also make sure that you have activated the code in PBO &amp;amp; PAI in SE51.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With these it shouldnt give the above error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Abhii&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Sep 2010 01:24:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv-short-dump/m-p/7326664#M1537609</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-10T01:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: OOPS ALV - Short dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv-short-dump/m-p/7326665#M1537610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Abhii,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can still get errors if you try to execute your OO ALV in BG mode w/o proper handling &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@OP: Provide further details for better answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Sep 2010 01:27:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv-short-dump/m-p/7326665#M1537610</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-09-10T01:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: OOPS ALV - Short dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv-short-dump/m-p/7326666#M1537611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dada but user has not mentioned so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Abhii&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Sep 2010 01:34:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv-short-dump/m-p/7326666#M1537611</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-10T01:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: OOPS ALV - Short dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv-short-dump/m-p/7326667#M1537612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please check if the container name you specified in the screen and the one you use in program are the same&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Sep 2010 05:57:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv-short-dump/m-p/7326667#M1537612</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-10T05:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: OOPS ALV - Short dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv-short-dump/m-p/7326668#M1537613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry i forgot to pass the SY-REPID .....Prob has been resolved&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And i have on more doubt.....can create a selection screen for that.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Becz, when ceate a sel-screen before calling of screen the select query(written in PBO) is not picking the sel-options variables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Sep 2010 11:23:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv-short-dump/m-p/7326668#M1537613</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-13T11:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: OOPS ALV - Short dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv-short-dump/m-p/7326669#M1537614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;missed the sy-repid to the class, caused for the dump&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Dec 2010 10:58:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv-short-dump/m-p/7326669#M1537614</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-22T10:58:53Z</dc:date>
    </item>
  </channel>
</rss>

