<?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: Error in ALV in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-alv/m-p/4952609#M1154755</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is your object go_grid1 initialized i.e. does it has any value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jayant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Dec 2008 12:02:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-22T12:02:04Z</dc:date>
    <item>
      <title>Error in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-alv/m-p/4952608#M1154754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Guru's,&lt;/P&gt;&lt;P&gt;I need your help.&lt;/P&gt;&lt;P&gt;I have written a code to display three ALV's in a single screen. But the method "set_table_for_first_display" is giving me a dump  "GETWA_NOT_ASSIGNED".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have shown the code here. Please help me out. I have used OO Concept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{ls_fieldcatalog-fieldname = 'Rank'.&lt;/P&gt;&lt;P&gt;ls_fieldcatalog-ref_field = 'RANK'.&lt;/P&gt;&lt;P&gt;ls_fieldcatalog-ref_table = 'ZOVERALL'.&lt;/P&gt;&lt;P&gt;ls_fieldcatalog-DD_ROLL = 'RANK'.&lt;/P&gt;&lt;P&gt;APPEND ls_fieldcatalog to lt_fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR ls_fieldcatalog.&lt;/P&gt;&lt;P&gt;ls_fieldcatalog-fieldname = 'Personnel No'.&lt;/P&gt;&lt;P&gt;ls_fieldcatalog-ref_field = 'PERNR'.&lt;/P&gt;&lt;P&gt;ls_fieldcatalog-ref_table = 'PA0001'.&lt;/P&gt;&lt;P&gt;ls_fieldcatalog-DD_ROLL = 'PERNR_D'.&lt;/P&gt;&lt;P&gt;APPEND ls_fieldcatalog to lt_fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR ls_fieldcatalog.&lt;/P&gt;&lt;P&gt;ls_fieldcatalog-fieldname = 'Object ID'.&lt;/P&gt;&lt;P&gt;ls_fieldcatalog-ref_field = 'OBJID'.&lt;/P&gt;&lt;P&gt;ls_fieldcatalog-ref_table = '/SHSPE60/L001H71'.&lt;/P&gt;&lt;P&gt;ls_fieldcatalog-DD_ROLL = 'HROBJID'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND ls_fieldcatalog to lt_fieldcatalog.&lt;/P&gt;&lt;P&gt;CLEAR ls_fieldcatalog.&lt;/P&gt;&lt;P&gt;ls_fieldcatalog-fieldname = 'Score'.&lt;/P&gt;&lt;P&gt;ls_fieldcatalog-ref_field = 'ZTOT'.&lt;/P&gt;&lt;P&gt;ls_fieldcatalog-ref_table = 'ZOVERALL'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND ls_fieldcatalog to lt_fieldcatalog.&lt;/P&gt;&lt;P&gt;CLEAR ls_fieldcatalog.&lt;/P&gt;&lt;P&gt;ls_fieldcatalog-fieldname = 'Total'.&lt;/P&gt;&lt;P&gt;ls_fieldcatalog-ref_field = 'ZTOT'.&lt;/P&gt;&lt;P&gt;ls_fieldcatalog-ref_table = 'ZOVERALL'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND ls_fieldcatalog to lt_fieldcatalog.&lt;/P&gt;&lt;P&gt;CLEAR ls_fieldcatalog.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Set event handler&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  SET HANDLER: lcl_eventhandler=&amp;gt;handle_double_click FOR go_grid1.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; SET HANDLER: lcl_eventhandler=&amp;gt;handle_double_click FOR go_grid2.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; SET HANDLER: lcl_eventhandler=&amp;gt;handle_double_click FOR go_grid3.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Display data&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD go_grid1-&amp;gt;set_table_for_first_display&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      it_outtab        = it_overall&lt;/P&gt;&lt;P&gt;       IT_FIELDCATALOG  = LT_FIELDCATALOG&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      OTHERS           = 4.&lt;/P&gt;&lt;P&gt;  IF sy-subrc  &amp;lt;&amp;gt; '0'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The o/p table is IT_OVERALL. But is has no dictionary structure it has 5 fields mentioned below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_macro_name="TYPES"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Warm Regards&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 11:55:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-alv/m-p/4952608#M1154754</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T11:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Error in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-alv/m-p/4952609#M1154755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is your object go_grid1 initialized i.e. does it has any value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jayant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 12:02:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-alv/m-p/4952609#M1154755</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T12:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-alv/m-p/4952610#M1154756</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;Check the name of the fields passed to field catalog and the ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure both are same&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;SHiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 12:05:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-alv/m-p/4952610#M1154756</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T12:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-alv/m-p/4952611#M1154757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;its not defaulted to any value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_macro_name="DATA"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 12:06:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-alv/m-p/4952611#M1154757</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T12:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-alv/m-p/4952612#M1154758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not asking you to default it to any value but you need to create a object. You can use the below program for your reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*&amp;amp;---------------------------------------------------------------------*
*&amp;amp; Report  ZTEST                                               *
*&amp;amp;                                                                     *
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;                                                                     *
*&amp;amp;                                                                     *
*&amp;amp;---------------------------------------------------------------------*

report ZTEST                           .


data : g_container type scrfname value 'CONTAINER1',
       g_custom_container type ref to cl_gui_custom_container,
       g_alv_grid type ref to cl_gui_alv_grid.


types : begin of struct,
        matnr type matnr,
        mtart type mtart,
        meins type meins,

        end of struct.

data : itab type standard table of struct with header line.

data : ok_code_0101(20).
data : i_fieldcat type lvc_t_fcat.

data : l_fieldcat type lvc_s_fcat.


start-of-selection.
select matnr
       mtart
       meins into table itab
       from mara
       where mtart = 'FERT'.

 call screen 0101.


*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Module  STATUS_0101  OUTPUT
*&amp;amp;---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
module status_0101 output.
*  SET PF-STATUS 'xxxxxxxx'.
*  SET TITLEBAR 'xxx'.


perform initialise_alv.
perform build_fieldcat using i_fieldcat.
perform alv_display.

endmodule.                 " STATUS_0101  OUTPUT
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  BUILD_FIELDCAT
*&amp;amp;---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
*      --&amp;gt;P_I_FIELDCAT  text
*----------------------------------------------------------------------*
form build_fieldcat  using    p_i_fieldcat type lvc_t_fcat.

refresh p_i_fieldcat.

perform fill_fcat using '1' 'MATNR'  'ITAB'  'MATERIAL'  '20' '1'.

perform fill_fcat using '2' 'MTART'  'ITAB'  'TYPE'  '20' '1'.

perform fill_fcat using '3' 'MEINS'  'ITAB'  'UNIT'  '20' '1'.



endform.                    " BUILD_FIELDCAT
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  FILL_FCAT
*&amp;amp;---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
*      --&amp;gt;P_0079   text
*      --&amp;gt;P_0080   text
*      --&amp;gt;P_0081   text
*      --&amp;gt;P_0082   text
*      --&amp;gt;P_0083   text
*      --&amp;gt;P_0084   text
*----------------------------------------------------------------------*
form fill_fcat  using    p_col_pos      type lvc_s_fcat-col_pos
                         p_fieldname    type lvc_s_fcat-fieldname
                         p_tabname      type lvc_s_fcat-tabname
                         p_seltext      type lvc_s_fcat-scrtext_l
                         p_outputlen    type lvc_s_fcat-outputlen
                         p_row_pos      type lvc_s_fcat-row_pos.

 clear l_fieldcat.

 l_fieldcat-col_pos      = p_col_pos.
 l_fieldcat-fieldname    = p_fieldname.
 l_fieldcat-tabname      = p_tabname.
 l_fieldcat-scrtext_l    = p_seltext.
 l_fieldcat-outputlen    = p_outputlen.
 l_fieldcat-row_pos      = p_row_pos.



 append l_fieldcat to i_fieldcat.

endform.                    " FILL_FCAT
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  INITIALISE_ALV
*&amp;amp;---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
*  --&amp;gt;  p1        text
*  &amp;lt;--  p2        text
*----------------------------------------------------------------------*
form initialise_alv .

if g_custom_container is initial.

create object g_custom_container
  exporting
*    PARENT                      =
    container_name              = g_container
*    STYLE                       =
*    LIFETIME                    = lifetime_default
*    REPID                       =
*    DYNNR                       =
*    NO_AUTODEF_PROGID_DYNNR     =
  exceptions
    cntl_error                  = 1
    cntl_system_error           = 2
    create_error                = 3
    lifetime_error              = 4
    lifetime_dynpro_dynpro_link = 5
    others                      = 6
    .
if sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.


create object g_alv_grid
  exporting
*    I_SHELLSTYLE      = 0
*    I_LIFETIME        =
    i_parent          = g_custom_container
*    I_APPL_EVENTS     = space
*    I_PARENTDBG       =
*    I_APPLOGPARENT    =
*    I_GRAPHICSPARENT  =
*    I_NAME            =
  exceptions
    error_cntl_create = 1
    error_cntl_init   = 2
    error_cntl_link   = 3
    error_dp_create   = 4
    others            = 5
    .
if sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.




endif.

endform.                    " INITIALISE_ALV
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  ALV_DISPLAY
*&amp;amp;---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
*  --&amp;gt;  p1        text
*  &amp;lt;--  p2        text
*----------------------------------------------------------------------*
form alv_display .

call method g_alv_grid-&amp;gt;set_table_for_first_display
*  EXPORTING
*    I_BUFFER_ACTIVE               =
*    I_BYPASSING_BUFFER            =
*    I_CONSISTENCY_CHECK           =
*    I_STRUCTURE_NAME              =
*    IS_VARIANT                    =
*    I_SAVE                        =
*    I_DEFAULT                     = 'X'
*    IS_LAYOUT                     =
*    IS_PRINT                      =
*    IT_SPECIAL_GROUPS             =
*    IT_TOOLBAR_EXCLUDING          =
*    IT_HYPERLINK                  =
*    IT_ALV_GRAPHICS               =
*    IT_EXCEPT_QINFO               =
  changing
    it_outtab                     = itab[]
    it_fieldcatalog               = i_fieldcat
*    IT_SORT                       =
*    IT_FILTER                     =
  exceptions
    invalid_parameter_combination = 1
    program_error                 = 2
    too_many_lines                = 3
    others                        = 4
        .
if sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.


endform.                    " ALV_DISPLAY
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Module  EXIT_MODULE  INPUT
*&amp;amp;---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
module exit_module input.

set screen 0.
leave program.

endmodule.                 " EXIT_MODULE  INPUT
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you have created a screen with custom container I assume that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jayant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 12:12:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-alv/m-p/4952612#M1154758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T12:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-alv/m-p/4952613#M1154759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when there is no data in the Itab.. I see the ALV field header.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 12:20:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-alv/m-p/4952613#M1154759</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T12:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-alv/m-p/4952614#M1154760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AFAIK you have to create a GUI Container and attach the same to your program. Please refer to the program BCALV_GRID_DEMO for details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you have not declared a container &amp;amp; are trying to display your grid &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;)&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>Mon, 22 Dec 2008 12:25:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-alv/m-p/4952614#M1154760</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2008-12-22T12:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-alv/m-p/4952615#M1154761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;I have declared it.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_macro_name="data"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 12:33:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-alv/m-p/4952615#M1154761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T12:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-alv/m-p/4952616#M1154762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ls_fieldcatalog-fieldname = 'Rank'.
ls_fieldcatalog-ref_field = 'RANK'.
ls_fieldcatalog-ref_table = 'ZOVERALL'.
ls_fieldcatalog-DD_ROLL = 'RANK'.  *check this line RANK is a DDROLL or ref_field?*
APPEND ls_fieldcatalog to lt_fieldcatalog.

CLEAR ls_fieldcatalog.
ls_fieldcatalog-fieldname = 'Personnel No'.
ls_fieldcatalog-ref_field = 'PERNR'.
ls_fieldcatalog-ref_table = 'PA0001'.
ls_fieldcatalog-DD_ROLL = 'PERNR_D'.
APPEND ls_fieldcatalog to lt_fieldcatalog.

CLEAR ls_fieldcatalog.
ls_fieldcatalog-fieldname = 'Object ID'.
ls_fieldcatalog-ref_field = 'OBJID'.
ls_fieldcatalog-ref_table = '/SHSPE60/L001H71'.
ls_fieldcatalog-DD_ROLL = 'HROBJID'.

APPEND ls_fieldcatalog to lt_fieldcatalog.
CLEAR ls_fieldcatalog.
ls_fieldcatalog-fieldname = 'Score'.
ls_fieldcatalog-ref_field = 'ZTOT'.
ls_fieldcatalog-ref_table = 'ZOVERALL'.

APPEND ls_fieldcatalog to lt_fieldcatalog.
CLEAR ls_fieldcatalog.
ls_fieldcatalog-fieldname = 'Total'.
ls_fieldcatalog-ref_field = 'ZTOT'.
ls_fieldcatalog-ref_table = 'ZOVERALL'.


APPEND ls_fieldcatalog to lt_fieldcatalog.
CLEAR ls_fieldcatalog.


Set event handler 
SET HANDLER: lcl_eventhandler=&amp;gt;handle_double_click FOR go_grid1.

SET HANDLER: lcl_eventhandler=&amp;gt;handle_double_click FOR go_grid2. 
SET HANDLER: lcl_eventhandler=&amp;gt;handle_double_click FOR go_grid3. 

Display data 

CALL METHOD go_grid1-&amp;gt;set_table_for_first_display

CHANGING
it_outtab = it_overall
IT_FIELDCATALOG = LT_FIELDCATALOG
EXCEPTIONS
OTHERS = 4.
IF sy-subrc '0'.

MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO 
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4. 
ENDIF.}

The o/p table is IT_OVERALL. But is has no dictionary structure it has 5 fields mentioned below.

{TYPES: BEGIN OF ty_overall,
RANK TYPE I,
pernr type pernr_d,
objid type HROBJID,
WEIGH TYPE P DECIMALS 2,
TOTAL TYPE P DECIMALS 2,
END OF ty_overall.

DATA: IT_overall TYPE TABLE OF ty_overall,
WA_overall TYPE ty_overall.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 12:44:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-alv/m-p/4952616#M1154762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T12:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-alv/m-p/4952617#M1154763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;GOT IT. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; I has misspelled the keywords in the field name. I am soo sorry. Jus wasted 2 hrs of productive time on a silly mistake. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vijaya Sankar.VJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 13:02:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-alv/m-p/4952617#M1154763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T13:02:53Z</dc:date>
    </item>
  </channel>
</rss>

