<?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: Shortdump @ alv grid program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/shortdump-alv-grid-program/m-p/1808135#M346721</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Markus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Change ur declarations like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA:   wa_buero TYPE zd06_buero.
DATA:   it_buero type standard TABLE OF zd06_buero.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_buero is not a table , so when u use it_buero in the select statement because it is not a table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Dec 2006 09:56:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-05T09:56:14Z</dc:date>
    <item>
      <title>Shortdump @ alv grid program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shortdump-alv-grid-program/m-p/1808130#M346716</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;we have a problem with our alv grid program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the coding: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*Varibalendeklaration
DATA:   wa_buero TYPE zd06_buero.
DATA:   it_buero LIKE TABLE OF wa_buero.

*Selectierung und Sortierung
SELECT agencynum COUNT( * ) AS zcount
       INTO CORRESPONDING FIELDS OF TABLE it_buero
       FROM sbook
       GROUP BY agencynum
       ORDER BY zcount DESCENDING.


*Den Dynpro aufrufen
CALL SCREEN 103.


*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Module  STATUS_0103  OUTPUT
*&amp;amp;---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
MODULE status_0103 OUTPUT.

*Aufrufen des von Hendrik erstellten Funktionsbaustein zum Aufruf des
*Alv Grids

  CALL FUNCTION 'ZD06_06_ALV'
    EXPORTING
      container_name_in   = 'CONTAINER_1'
      i_structure_name_in = 'ZD06_BUERO'
    CHANGING
      it_outtab_in        = it_buero.
  .
ENDMODULE.                 " STATUS_103  OUTPUT
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have just create an new DDIC Structure with the points we need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our referent can't solve the problem and know I need your help. &lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 08:41:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shortdump-alv-grid-program/m-p/1808130#M346716</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T08:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Shortdump @ alv grid program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shortdump-alv-grid-program/m-p/1808131#M346717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what exactly are you trying to do... &lt;/P&gt;&lt;P&gt;I believe this is a Report program and you are doing the ALV grid by Object Oriented principles.&lt;/P&gt;&lt;P&gt;If yes .. then this is not the way to do... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And can you plz tell what is this FM - ZD06_06_ALV for ???? &lt;/P&gt;&lt;P&gt;Also could you please give the exact reason of the Dump... you have not mentioned the reason of dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe it is due to the null reference ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz revert back with these anwers... this will help in solving the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 08:52:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shortdump-alv-grid-program/m-p/1808131#M346717</guid>
      <dc:creator>former_member69765</dc:creator>
      <dc:date>2006-12-05T08:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Shortdump @ alv grid program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shortdump-alv-grid-program/m-p/1808132#M346718</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;thank you for answering.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The programm take a travelagencynumber from dbtab sbook. There also is a counter who sort and count the agencynumbers. The programm should tell us, how many books are done with this agency. e.g.: Travelagency 98565    1358 books&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZD06_06_ALV is a function for alv grid. The code for this function is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*"----------------------------------------------------------------------
*"*"Lokale Schnittstelle:
*"  IMPORTING
*"     REFERENCE(CONTAINER_NAME_IN) TYPE  CHAR30
*"     REFERENCE(I_STRUCTURE_NAME_IN)
*"  CHANGING
*"     REFERENCE(IT_OUTTAB_IN)
*"----------------------------------------------------------------------

  DATA: container_r TYPE REF TO cl_gui_custom_container,
        grid_r      TYPE REF TO cl_gui_alv_grid.

  CREATE OBJECT container_r
   EXPORTING container_name = container_name_in.
  CREATE OBJECT grid_r
  EXPORTING i_parent = container_r.
  CALL METHOD grid_r-&amp;gt;set_table_for_first_display
    EXPORTING
      i_structure_name = i_structure_name_in
    CHANGING
      it_outtab        = it_outtab_in.

ENDFUNCTION.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dump reason is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Runtime error: DBIF_RSQL_INVALID_RSQL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We set a breakpoint at the select statement and there is the problem. exactly there is the dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 09:04:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shortdump-alv-grid-program/m-p/1808132#M346718</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T09:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Shortdump @ alv grid program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shortdump-alv-grid-program/m-p/1808133#M346719</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;Let me know the structure of the table 'zd06_buero' ,might be here is the problem of defining this table strucuter..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 09:19:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shortdump-alv-grid-program/m-p/1808133#M346719</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T09:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Shortdump @ alv grid program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shortdump-alv-grid-program/m-p/1808134#M346720</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;my friend Hendrik create a new structure and know its ok. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think there was a little problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for you help. The sdn is a very good and useful platform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 09:46:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shortdump-alv-grid-program/m-p/1808134#M346720</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T09:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Shortdump @ alv grid program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shortdump-alv-grid-program/m-p/1808135#M346721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Markus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Change ur declarations like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA:   wa_buero TYPE zd06_buero.
DATA:   it_buero type standard TABLE OF zd06_buero.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_buero is not a table , so when u use it_buero in the select statement because it is not a table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 09:56:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shortdump-alv-grid-program/m-p/1808135#M346721</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T09:56:14Z</dc:date>
    </item>
  </channel>
</rss>

