<?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: FM REUSE_ALV_GRID_DISPLAY - runtime error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-reuse-alv-grid-display-runtime-error/m-p/3087894#M732363</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ferry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is asking for something to be passed but so I put that in there but I don't have it populated so I commented it out.  I am not sure what I need to populate in that table or if I need to populate it at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Davis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Nov 2007 19:16:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-19T19:16:27Z</dc:date>
    <item>
      <title>FM REUSE_ALV_GRID_DISPLAY - runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-reuse-alv-grid-display-runtime-error/m-p/3087892#M732361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I get the following error when I use FM REUSE_ALV_GRID_DISPLAY:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Field catalog not found".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I realize that it is looking for the parameter it_fieldcat but I don't remember ever passing that parameter before; it also says that it is optional.  Below is my call to the FM.  Does the addition of it_sort mean that I must pass it_fieldcat?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
*     I_INTERFACE_CHECK                 = ' '
*     I_BYPASSING_BUFFER                = ' '
*     I_BUFFER_ACTIVE                   = ' '
*     I_CALLBACK_PROGRAM                = ' '
*     I_CALLBACK_PF_STATUS_SET          = ' '
*     I_CALLBACK_USER_COMMAND           = ' '
*     I_CALLBACK_TOP_OF_PAGE            = ' '
*     I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
*     I_CALLBACK_HTML_END_OF_LIST       = ' '
*     I_STRUCTURE_NAME                  =
*     I_BACKGROUND_ID                   = ' '
*     I_GRID_TITLE                      =
*     I_GRID_SETTINGS                   =
*     IS_LAYOUT                         =
*     it_fieldcat                       = it_fieldcat
*     IT_EXCLUDING                      =
*     IT_SPECIAL_GROUPS                 =
         it_sort                           = it_sort
*     IT_FILTER                         =
*     IS_SEL_HIDE                       =
*     I_DEFAULT                         = 'X'
*     I_SAVE                            = ' '
*     IS_VARIANT                        =
*     IT_EVENTS                         =
*     IT_EVENT_EXIT                     =
*       is_print                          = is_print
*     IS_REPREP_ID                      =
*     I_SCREEN_START_COLUMN             = 0
*     I_SCREEN_START_LINE               = 0
*     I_SCREEN_END_COLUMN               = 0
*     I_SCREEN_END_LINE                 = 0
*     I_HTML_HEIGHT_TOP                 = 0
*     I_HTML_HEIGHT_END                 = 0
*     IT_ALV_GRAPHICS                   =
*     IT_HYPERLINK                      =
*     IT_ADD_FIELDCAT                   =
*     IT_EXCEPT_QINFO                   =
*     IR_SALV_FULLSCREEN_ADAPTER        =
*   IMPORTING
*     E_EXIT_CAUSED_BY_CALLER           =
*     ES_EXIT_CAUSED_BY_USER            =
        TABLES
          t_outtab                          = it_out
*   EXCEPTIONS
*     PROGRAM_ERROR                     = 1
*     OTHERS                            = 2
                .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Davis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 19:06:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-reuse-alv-grid-display-runtime-error/m-p/3087892#M732361</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-19T19:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: FM REUSE_ALV_GRID_DISPLAY - runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-reuse-alv-grid-display-runtime-error/m-p/3087893#M732362</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;Please check this line and I think should be uncommented.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    it_fieldcat                       = it_fieldcat&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 19:08:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-reuse-alv-grid-display-runtime-error/m-p/3087893#M732362</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-19T19:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: FM REUSE_ALV_GRID_DISPLAY - runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-reuse-alv-grid-display-runtime-error/m-p/3087894#M732363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ferry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is asking for something to be passed but so I put that in there but I don't have it populated so I commented it out.  I am not sure what I need to populate in that table or if I need to populate it at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Davis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 19:16:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-reuse-alv-grid-display-runtime-error/m-p/3087894#M732363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-19T19:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: FM REUSE_ALV_GRID_DISPLAY - runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-reuse-alv-grid-display-runtime-error/m-p/3087895#M732364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;populate the catalogue table as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR alv_fieldcat_line.&lt;/P&gt;&lt;P&gt;  alv_fieldcat_line-fieldname = 'PERNR'.  " Name of the field&lt;/P&gt;&lt;P&gt;  alv_fieldcat_line-tabname = 'it_out'.      " Name of the internal table&lt;/P&gt;&lt;P&gt;  alv_fieldcat_line-seltext_m = 'Personnel number'. " Lable of the field&lt;/P&gt;&lt;P&gt;  alv_fieldcat_line-hotspot = ' '.&lt;/P&gt;&lt;P&gt;  APPEND alv_fieldcat_line TO it_fieldcat. " Append the field to the it_fieldcat table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 19:21:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-reuse-alv-grid-display-runtime-error/m-p/3087895#M732364</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-19T19:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: FM REUSE_ALV_GRID_DISPLAY - runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-reuse-alv-grid-display-runtime-error/m-p/3087896#M732365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to populat it for your all internal table.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA:  WA_FIELDCAT   TYPE SLIS_FIELDCAT_ALV.
DATA: T_FIELDCAT   TYPE SLIS_T_FIELDCAT_ALV.

  WA_FIELDCAT-COL_POS = 1.
  WA_FIELDCAT-FIELDNAME = 'FIELD1.
  WA_FIELDCAT-TABNAME = 'T_FINAL_TAB'.
  WA_FIELDCAT-SELTEXT_L = L_SELTEXT_L.
  APPEND WA_FIELDCAT TO T_FIELDCAT.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fill this table T_FIELDCAT for all the fields which you want to display in the output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass the field table T_FIELDCAT to the ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 19:21:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-reuse-alv-grid-display-runtime-error/m-p/3087896#M732365</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2007-11-19T19:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: FM REUSE_ALV_GRID_DISPLAY - runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-reuse-alv-grid-display-runtime-error/m-p/3087897#M732366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you read the documentation for the FM? It's quite helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 19:41:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-reuse-alv-grid-display-runtime-error/m-p/3087897#M732366</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-19T19:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: FM REUSE_ALV_GRID_DISPLAY - runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-reuse-alv-grid-display-runtime-error/m-p/3087898#M732367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't you think that it was the first thing that I did?  Thanks for your input though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everybody else,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the tips; I'll take a look at what you posted shortly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Davis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 19:44:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-reuse-alv-grid-display-runtime-error/m-p/3087898#M732367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-19T19:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: FM REUSE_ALV_GRID_DISPLAY - runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-reuse-alv-grid-display-runtime-error/m-p/3087899#M732368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Davis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont know how much it will be of help to you. But this is how I used in one of my programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
            I_BACKGROUND_ID         = 'ALV_BACKGROUND'
            I_CALLBACK_PROGRAM      = G_REPID
*            I_STRUCTURE_NAME        = 'SFLIGHT'
            IS_LAYOUT               = GS_LAYOUT
            IT_FIELDCAT             = f_cat[]
*           IT_EXCLUDING            =
*            IT_SPECIAL_GROUPS       = GT_SP_GROUP[]
*            IT_SORT                 = GT_SORT[]
*           IT_FILTER               =
*           IS_SEL_HIDE             =
*           i_default               = g_default
            I_SAVE                  = G_SAVE
            IS_VARIANT              = G_VARIANT
            IT_EVENTS               = GT_xEVENTS
*           IT_EVENT_EXIT           =
*            IS_PRINT                = GS_PRINT
*           I_SCREEN_START_COLUMN   = 0
*           I_SCREEN_START_LINE     = 0
*           I_SCREEN_END_COLUMN     = 0
*           I_SCREEN_END_LINE       = 0
*      IMPORTING
*           E_EXIT_CAUSED_BY_CALLER =
       TABLES
            T_OUTTAB                = bestand.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Aneesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 19:58:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-reuse-alv-grid-display-runtime-error/m-p/3087899#M732368</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-19T19:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: FM REUSE_ALV_GRID_DISPLAY - runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-reuse-alv-grid-display-runtime-error/m-p/3087900#M732369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Didn't the documentation help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also do a where used list to see how it is called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 20:01:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-reuse-alv-grid-display-runtime-error/m-p/3087900#M732369</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-19T20:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: FM REUSE_ALV_GRID_DISPLAY - runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-reuse-alv-grid-display-runtime-error/m-p/3087901#M732370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amandeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for that code.  I was doing just what you posted except I was doing it inside a loop so my it_fieldcat had too many entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Davis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 20:05:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-reuse-alv-grid-display-runtime-error/m-p/3087901#M732370</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-19T20:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: FM REUSE_ALV_GRID_DISPLAY - runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-reuse-alv-grid-display-runtime-error/m-p/3087902#M732371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The documentation told me how to use it but it still wasn't working.  It wasn't until I checked my code with the posted code that I realized I had my code in a loop so it was appending too many lines to the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Davis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 20:07:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-reuse-alv-grid-display-runtime-error/m-p/3087902#M732371</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-19T20:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: FM REUSE_ALV_GRID_DISPLAY - runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-reuse-alv-grid-display-runtime-error/m-p/3087903#M732372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good u resolved it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 20:09:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-reuse-alv-grid-display-runtime-error/m-p/3087903#M732372</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-19T20:09:19Z</dc:date>
    </item>
  </channel>
</rss>

