<?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 ALV GRID Display function module giving Run time error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-function-module-giving-run-time-error/m-p/5939776#M1334367</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have ALV report, In which I am using ALV grid dispaly FM to display the report. &lt;/P&gt;&lt;P&gt;But when my out table which I am passing to FM is empty that time ALV grid display shows blank ALV report. but when out table is not empty that time  I am getting the Run time error, which shows message "Field symbol has not yet been assigned". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one please help me out in this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jul 2009 10:35:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-16T10:35:37Z</dc:date>
    <item>
      <title>ALV GRID Display function module giving Run time error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-function-module-giving-run-time-error/m-p/5939776#M1334367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have ALV report, In which I am using ALV grid dispaly FM to display the report. &lt;/P&gt;&lt;P&gt;But when my out table which I am passing to FM is empty that time ALV grid display shows blank ALV report. but when out table is not empty that time  I am getting the Run time error, which shows message "Field symbol has not yet been assigned". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one please help me out in this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2009 10:35:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-function-module-giving-run-time-error/m-p/5939776#M1334367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-16T10:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: ALV GRID Display function module giving Run time error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-function-module-giving-run-time-error/m-p/5939777#M1334368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chetan,&lt;/P&gt;&lt;P&gt;Check fieldcatalog internal table whether it is empty or has values.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
  EXPORTING
    i_callback_program = 'ZTEST_NOTEPAD'
    it_fieldcat        = it_fields  "Check this table.
  TABLES
    t_outtab           = it_data.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2009 10:39:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-function-module-giving-run-time-error/m-p/5939777#M1334368</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2009-07-16T10:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: ALV GRID Display function module giving Run time error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-function-module-giving-run-time-error/m-p/5939778#M1334369</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;there is a mismatch between table data and the fields of the fieldcat.&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;venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2009 10:39:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-function-module-giving-run-time-error/m-p/5939778#M1334369</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-16T10:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: ALV GRID Display function module giving Run time error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-function-module-giving-run-time-error/m-p/5939779#M1334370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please recheck ur field catalogue. This error used to come when there is a mistake in field name declared in field catalogue with respect to the output table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sathar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2009 10:40:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-function-module-giving-run-time-error/m-p/5939779#M1334370</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-16T10:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: ALV GRID Display function module giving Run time error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-function-module-giving-run-time-error/m-p/5939780#M1334371</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;Its the problem with the field symbol. Assign some value to field symbol and try again.&lt;/P&gt;&lt;P&gt;There shuld be mismatch with the parameters passed to the FM .chk it once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lakshman.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2009 10:40:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-function-module-giving-run-time-error/m-p/5939780#M1334371</guid>
      <dc:creator>former_member209217</dc:creator>
      <dc:date>2009-07-16T10:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: ALV GRID Display function module giving Run time error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-function-module-giving-run-time-error/m-p/5939781#M1334372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Chetan ,&lt;/P&gt;&lt;P&gt;Can u provide me the code ???&lt;/P&gt;&lt;P&gt;I will solve this with in minutes ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2009 11:17:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-function-module-giving-run-time-error/m-p/5939781#M1334372</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-16T11:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: ALV GRID Display function module giving Run time error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-function-module-giving-run-time-error/m-p/5939782#M1334373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello Chetan ,&lt;/P&gt;&lt;P&gt;Can u provide me the code? &lt;/P&gt;&lt;P&gt;I will solve this with in minutes.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;apoorv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2009 11:18:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-function-module-giving-run-time-error/m-p/5939782#M1334373</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-16T11:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: ALV GRID Display function module giving Run time error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-function-module-giving-run-time-error/m-p/5939783#M1334374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chetan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure that all the letters are in caps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;''REUSE_ALV_GRID_DISPLAY'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA : IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE ,

PERFORM FIELD_CATALOG TABLES IT_FIELDCAT
USING: 'ITAB' 'WERKS' ' ' 'PLANT' 'X',
            'ITAB' 'MATNR' 'X' 'MATERIAL NO:' 'X',
             'ITAB' 'MAKTX' ' ' 'MATERIAL DESCRIPTION' 'X'.

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
   EXPORTING
     I_CALLBACK_PROGRAM                = SY-CPROG  
 *    IS_LAYOUT                         = S_LAYOUT
     IT_FIELDCAT                       = IT_FIELDCAT[]
     IT_SORT                           = TB_SORT[]
*   IT_EVENTS                         =
    TABLES
      T_OUTTAB                         = ITAB[]

            .

FORM FIELD_CATALOG  TABLES   T_FIELD_CATALOG STRUCTURE IT_FIELDCAT
USING FP_TABNAME TYPE ANY
  FP_FIELDNAME TYPE ANY
  FP_KEY TYPE ANY
  FP_TEXT TYPE ANY
  FP_DO_SUM TYPE ANY.

  T_FIELD_CATALOG-TABNAME = FP_TABNAME.
  T_FIELD_CATALOG-FIELDNAME = FP_FIELDNAME.
  T_FIELD_CATALOG-KEY = FP_KEY.
  T_FIELD_CATALOG-SELTEXT_L = FP_TEXT.
  T_FIELD_CATALOG-DO_SUM = FP_DO_SUM .

  APPEND IT_FIELDCAT.
  CLEAR IT_FIELDCAT.
ENDFORM.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Karthik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Karthik R on Jul 16, 2009 5:09 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2009 11:38:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-function-module-giving-run-time-error/m-p/5939783#M1334374</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-16T11:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: ALV GRID Display function module giving Run time error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-function-module-giving-run-time-error/m-p/5939784#M1334375</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;The problem could be any of these.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have used the FM 'REUSE_ALV_FIELDCATALOG_MERGE' and not manually merged the field catalog, then in your internal table declarations you are supposed to be using 'LIKE' and not 'TYPE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: BEGIN OF t_materialdetails OCCURS 0,
           matnr LIKE mara-matnr,
           END OF t_materialdetails.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you are passing the name of the internal table to your internal table in the FM 'REUSE_ALV_FIELDCATALOG_MERGE', use Caps enclosed in quotes. If you are manually merging then again the name of the internal table and the field names should be in caps enclosed in quotes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the FM 'REUSE_ALV_LIST_DISPLAY', if you are passing the name of the program directly in the field  &lt;STRONG&gt;i_callback_program&lt;/STRONG&gt;, the you gotto do so in caps enclosed between quotes or best you gotto pass the sy-repid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2009 11:49:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-function-module-giving-run-time-error/m-p/5939784#M1334375</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-16T11:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: ALV GRID Display function module giving Run time error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-function-module-giving-run-time-error/m-p/5939785#M1334376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;The problem is your fieldcatalog which you have created.&lt;/P&gt;&lt;P&gt;Check in your fieldcatalog the name of teh fields is same as the fieldname in your internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Probably you might have mistyped some field name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This results into this kind of problem and dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ankur Parab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2009 14:04:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-function-module-giving-run-time-error/m-p/5939785#M1334376</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-16T14:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: ALV GRID Display function module giving Run time error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-function-module-giving-run-time-error/m-p/5939786#M1334377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;Hi Chetan,
Possibilities
&amp;lt;li&amp;gt;problem with fieldcatalog.
&amp;lt;li&amp;gt;Check fieldcatalog internal table and output table  whether both have the same fields.
&amp;lt;li&amp;gt;Check fieldcatalog internal table whether field names and internal table names are in Capital letters.

Thanks
Venkat.O
&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2009 01:46:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-function-module-giving-run-time-error/m-p/5939786#M1334377</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2009-07-17T01:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: ALV GRID Display function module giving Run time error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-function-module-giving-run-time-error/m-p/5939787#M1334378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Chetan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since u r getting clear message in the Dump that Field Symbol is not assigned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check where ver u r using FieldSymbol that is not initial for further data process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ur dump check at which point (line of source code)error happening and rectify it .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If possible share ur Dump Message with us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2009 02:03:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-function-module-giving-run-time-error/m-p/5939787#M1334378</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-17T02:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: ALV GRID Display function module giving Run time error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-function-module-giving-run-time-error/m-p/5939788#M1334379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TYPES: BEGIN OF type_out,&lt;/P&gt;&lt;P&gt;        col00    TYPE   ytlet-rzzyyproduct,&lt;/P&gt;&lt;P&gt;        col01    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col02    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col03    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col04    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col05    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col06    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col07    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col08    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col09    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col10    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col11    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col12    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col13    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col14    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col15    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col16    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col17    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col18    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col19    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col20    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col21    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col22    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col23    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col24    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col25    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col26    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col27    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col28    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col29    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col30    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col31    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col32    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col33    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col34    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col35    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col36    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col37    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col38    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col39    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col40    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col41    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col42    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col43    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;        col44    TYPE   ytlet-kslvt,&lt;/P&gt;&lt;P&gt;      END OF type_out.&lt;/P&gt;&lt;P&gt;DATA: t_fieldcat   TYPE slis_t_fieldcat_alv,   "Field catelog table&lt;/P&gt;&lt;P&gt;      w_fieldcat   TYPE slis_fieldcat_alv,     "Field catelog Work area&lt;/P&gt;&lt;P&gt;      w_layout     TYPE slis_layout_alv,       "Layout structure&lt;/P&gt;&lt;P&gt;      w_event      TYPE slis_alv_event,        "Event structure&lt;/P&gt;&lt;P&gt;      t_event      TYPE slis_t_event,          "Event structure&lt;/P&gt;&lt;P&gt;      t_sort       TYPE STANDARD TABLE OF slis_sortinfo_alv,&lt;/P&gt;&lt;P&gt;      t_callback_main_user_command  TYPE  slis_formname,&lt;/P&gt;&lt;P&gt;      v_selfield TYPE slis_selfield.&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;ksl&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM DISPLAY_REPORT .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Prepare Field Catlog&lt;/P&gt;&lt;P&gt;  PERFORM  creat_field_catlog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Set layout&lt;/P&gt;&lt;P&gt;  PERFORM  set_layout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Get Event&lt;/P&gt;&lt;P&gt;  PERFORM get_event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Display Report&lt;/P&gt;&lt;P&gt;  PERFORM display_alv_report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " DISPLAY_REPORT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM creat_field_catlog .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM add_fields_catlog USING:&lt;/P&gt;&lt;P&gt;       '01'    'RZZYYPRODUCT'     'IT_OUT'    'MPMs' ' ',&lt;/P&gt;&lt;P&gt;       '02'    'KSLVT'     'IT_OUT'    'License Fee' ' ',&lt;/P&gt;&lt;P&gt;       '03'    'KSLVT'     'IT_OUT'    'Ad Sales' ' ',&lt;/P&gt;&lt;P&gt;       '04'    'KSLVT'     'IT_OUT'    'Promo Fees' ' ',&lt;/P&gt;&lt;P&gt;       '05'    'KSLVT'     'IT_OUT'    'Total Ad Sales/Promo' ' ',&lt;/P&gt;&lt;P&gt;       '06'    'KSLVT'     'IT_OUT'    'Other' ' ',&lt;/P&gt;&lt;P&gt;       '07'    'KSLVT'     'IT_OUT'    'Total' ' ',&lt;/P&gt;&lt;P&gt;       '08'    'KSLVT'     'IT_OUT'    'Dom Station' ' ',&lt;/P&gt;&lt;P&gt;       '09'    'KSLVT'     'IT_OUT'    'Basic Cable/Free VOD' ' ',&lt;/P&gt;&lt;P&gt;       '10'    'KSLVT'     'IT_OUT'    'License Fee' ' ',&lt;/P&gt;&lt;P&gt;       '11'    'KSLVT'     'IT_OUT'    'Ad Sales (incl Internet)' ' ',&lt;/P&gt;&lt;P&gt;       '12'    'KSLVT'     'IT_OUT'    'Promo Fees' ' ',&lt;/P&gt;&lt;P&gt;       '13'    'KSLVT'     'IT_OUT'    'Ad Sales &amp;amp; Promo Fees' ' ',&lt;/P&gt;&lt;P&gt;       '14'    'KSLVT'     'IT_OUT'    'Foreign' ' ',&lt;/P&gt;&lt;P&gt;       '15'    'KSLVT'     'IT_OUT'    'Pay TV' ' ',&lt;/P&gt;&lt;P&gt;       '16'    'KSLVT'     'IT_OUT'    'Other' ' ',&lt;/P&gt;&lt;P&gt;       '17'    'KSLVT'     'IT_OUT'    'Total' ' ',&lt;/P&gt;&lt;P&gt;       '18'    'KSLVT'     'IT_OUT'    'Home Entertainment' ' ',&lt;/P&gt;&lt;P&gt;       '19'    'KSLVT'     'IT_OUT'    'SPTI' ' ',&lt;/P&gt;&lt;P&gt;       '20'    'KSLVT'     'IT_OUT'    'All Other Divisions' ' ',&lt;/P&gt;&lt;P&gt;       '21'    'KSLVT'     'IT_OUT'    'Total' ' ',&lt;/P&gt;&lt;P&gt;       '22'    'KSLVT'     'IT_OUT'    'Total Revenue' ' ',&lt;/P&gt;&lt;P&gt;       '23'    'KSLVT'     'IT_OUT'  'PV Net Down &amp;amp; Producers Share' '',&lt;/P&gt;&lt;P&gt;       '24'    'KSLVT'     'IT_OUT'    'Total Net Revenue' ' ',&lt;/P&gt;&lt;P&gt;       '25'    'KSLVT'     'IT_OUT'    'Development Expense' ' ',&lt;/P&gt;&lt;P&gt;       '26'    'KSLVT'     'IT_OUT'    'SOP Deficits' ' ',&lt;/P&gt;&lt;P&gt;       '27'    'KSLVT'     'IT_OUT'    'Amortization' ' ',&lt;/P&gt;&lt;P&gt;       '28'    'KSLVT'     'IT_OUT'    'Other COS ' ' ',&lt;/P&gt;&lt;P&gt;       '29'    'KSLVT'     'IT_OUT'    'Total COS' ' ',&lt;/P&gt;&lt;P&gt;       '30'    'KSLVT'     'IT_OUT'    'Profit Before Releasing' ' ',&lt;/P&gt;&lt;P&gt;       '31'    'KSLVT'     'IT_OUT'    'Gross Profit %' ' ',&lt;/P&gt;&lt;P&gt;       '32'    'KSLVT'     'IT_OUT'    'SPT' ' ',&lt;/P&gt;&lt;P&gt;       '33'    'KSLVT'     'IT_OUT'    'Home Entertainment' ' ',&lt;/P&gt;&lt;P&gt;       '34'    'KSLVT'     'IT_OUT'    'SPTI' ' ',&lt;/P&gt;&lt;P&gt;       '35'    'KSLVT'     'IT_OUT'    'All Other Divisions' ' ',&lt;/P&gt;&lt;P&gt;       '36'    'KSLVT'     'IT_OUT'    'Other' ' ',&lt;/P&gt;&lt;P&gt;       '37'    'KSLVT'     'IT_OUT'    'Total' ' ',&lt;/P&gt;&lt;P&gt;       '38'    'KSLVT'     'IT_OUT'    'Gross Profit' ' ',&lt;/P&gt;&lt;P&gt;       '39'    'KSLVT'     'IT_OUT'    'SPT' ' ',&lt;/P&gt;&lt;P&gt;       '40'    'KSLVT'     'IT_OUT'    'Home Entertainment' ' ',&lt;/P&gt;&lt;P&gt;       '41'    'KSLVT'     'IT_OUT'    'SPTI' ' ',&lt;/P&gt;&lt;P&gt;       '42'    'KSLVT'     'IT_OUT'    'All Other Divisions' ' ',&lt;/P&gt;&lt;P&gt;       '43'    'KSLVT'     'IT_OUT'    'Other' ' ',&lt;/P&gt;&lt;P&gt;       '44'    'KSLVT'     'IT_OUT'    'Total' ' ',&lt;/P&gt;&lt;P&gt;       '45'    'KSLVT'     'IT_OUT'    'Net Margin' ' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " CREAT_FIELD_CATLOG&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  ADD_FIELDS_CATLOG&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Filling of field Catlog&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM add_fields_catlog  USING    p_colpos&lt;/P&gt;&lt;P&gt;                                 p_fildname&lt;/P&gt;&lt;P&gt;                                 p_tabname&lt;/P&gt;&lt;P&gt;                                 p_fildtext&lt;/P&gt;&lt;P&gt;                                 p_ndisplay.&lt;/P&gt;&lt;P&gt;  w_fieldcat-row_pos       = '1'.&lt;/P&gt;&lt;P&gt;  w_fieldcat-col_pos       = p_colpos.&lt;/P&gt;&lt;P&gt;  w_fieldcat-fieldname     = p_fildname.&lt;/P&gt;&lt;P&gt;  w_fieldcat-tabname       = p_tabname.&lt;/P&gt;&lt;P&gt;  w_fieldcat-reptext_ddic  = p_fildtext.&lt;/P&gt;&lt;P&gt;  w_fieldcat-no_out        = p_ndisplay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  APPEND w_fieldcat TO t_fieldcat.&lt;/P&gt;&lt;P&gt;  CLEAR: w_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " ADD_FIELDS_CATLOG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  SET_LAYOUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Set Layout&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM set_layout .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  w_layout-colwidth_optimize = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " SET_LAYOUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  GET_EVENT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM get_event .&lt;/P&gt;&lt;P&gt;  w_event-name = 'TOP-OF-PAGE'.&lt;/P&gt;&lt;P&gt;  w_event-form = 'F_TOP-OF_PAGE'.&lt;/P&gt;&lt;P&gt;  APPEND w_event TO t_event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " GET_EVENT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  TOP-OF-PAGE&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Top of Page&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM top-of-page.&lt;/P&gt;&lt;P&gt;  DATA : t_list_commentry   TYPE slis_t_listheader,&lt;/P&gt;&lt;P&gt;           w_header           TYPE slis_listheader,&lt;/P&gt;&lt;P&gt;           lv_text(90)        TYPE c,&lt;/P&gt;&lt;P&gt;           l_text(90)         TYPE c,&lt;/P&gt;&lt;P&gt;           lv_rundate(10)     TYPE c,&lt;/P&gt;&lt;P&gt;           lv_runtime(10)     TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CONSTANTS: c_space(2) TYPE c VALUE '  ',&lt;/P&gt;&lt;P&gt;             c_space2(6) TYPE c VALUE '      '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  w_header-typ  = 'S'.&lt;/P&gt;&lt;P&gt;  w_header-key  = 'Program:'.&lt;/P&gt;&lt;P&gt;  w_header-info = sy-repid.&lt;/P&gt;&lt;P&gt;  APPEND w_header TO t_list_commentry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  WRITE: sy-datum TO lv_rundate MM/DD/YYYY.&lt;/P&gt;&lt;P&gt;  WRITE: sy-uzeit TO lv_runtime USING EDIT MASK '__:__:__'.&lt;/P&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; CLEAR w_header.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; w_header-typ  = 'S'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; w_header-key  = text-021.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; w_header-info = lv_rundate.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; APPEND w_header TO t_list_commentry.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR: w_header.&lt;/P&gt;&lt;P&gt;  w_header-typ  = 'S'.&lt;/P&gt;&lt;P&gt;  w_header-key  = 'User Id'.&lt;/P&gt;&lt;P&gt;  w_header-info = sy-uname.&lt;/P&gt;&lt;P&gt;  APPEND w_header TO t_list_commentry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR: w_header.&lt;/P&gt;&lt;P&gt;  w_header-typ  = 'S'.&lt;/P&gt;&lt;P&gt;  w_header-key  = 'Run Date'.&lt;/P&gt;&lt;P&gt;  w_header-info = lv_rundate.&lt;/P&gt;&lt;P&gt;  APPEND w_header TO t_list_commentry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR: w_header.&lt;/P&gt;&lt;P&gt;  w_header-typ  = 'S'.&lt;/P&gt;&lt;P&gt;  w_header-key  = 'Run Time'.&lt;/P&gt;&lt;P&gt;  w_header-info = lv_runtime.&lt;/P&gt;&lt;P&gt;  APPEND w_header TO t_list_commentry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR: w_header.&lt;/P&gt;&lt;P&gt;  w_header-typ  = 'H'.&lt;/P&gt;&lt;P&gt;  w_header-key  = 'order'.&lt;/P&gt;&lt;P&gt;  w_header-info = 'MCR Report'.&lt;/P&gt;&lt;P&gt;  APPEND w_header TO t_list_commentry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      it_list_commentary = t_list_commentry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    "TOP-OF-PAGE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM display_alv_report .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CONSTANTS : gc_save TYPE c VALUE 'A'. "Save Layout&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; t_callback_main_user_command  = c_user_command.&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;  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_INTERFACE_CHECK                 = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_BYPASSING_BUFFER                = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_BUFFER_ACTIVE                   = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     i_callback_program                = sy-repid&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_CALLBACK_PF_STATUS_SET          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    i_callback_user_command           = t_callback_main_user_command&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     i_callback_top_of_page            = 'TOP-OF-PAGE'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_CALLBACK_HTML_TOP_OF_PAGE       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_CALLBACK_HTML_END_OF_LIST       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_STRUCTURE_NAME                  =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_BACKGROUND_ID                   = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_GRID_TITLE                      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_GRID_SETTINGS                   =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     is_layout                         = w_layout&lt;/P&gt;&lt;P&gt;     it_fieldcat                       = t_fieldcat&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IT_EXCLUDING                      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IT_SPECIAL_GROUPS                 =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IT_SORT                           =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IT_FILTER                         =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IS_SEL_HIDE                       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_DEFAULT                         = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     i_save                            = gc_save&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IS_VARIANT                        =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IT_EVENTS                         =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IT_EVENT_EXIT                     =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IS_PRINT                          =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IS_REPREP_ID                      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_SCREEN_START_COLUMN             = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_SCREEN_START_LINE               = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_SCREEN_END_COLUMN               = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_SCREEN_END_LINE                 = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_HTML_HEIGHT_TOP                 = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_HTML_HEIGHT_END                 = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IT_ALV_GRAPHICS                   =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IT_HYPERLINK                      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IT_ADD_FIELDCAT                   =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IT_EXCEPT_QINFO                   =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IR_SALV_FULLSCREEN_ADAPTER        =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  E_EXIT_CAUSED_BY_CALLER           =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ES_EXIT_CAUSED_BY_USER            =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      t_outtab                          = it_out&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PROGRAM_ERROR                     = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OTHERS                            = 2&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;   ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2009 07:11:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-function-module-giving-run-time-error/m-p/5939788#M1334379</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-17T07:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: ALV GRID Display function module giving Run time error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-function-module-giving-run-time-error/m-p/5939789#M1334380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi chetan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;put body for fieldcat  and internal table in the Fm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it_fieldcat = t_fieldcat[] &lt;/P&gt;&lt;P&gt;TABLES &lt;/P&gt;&lt;P&gt;t_outtab = it_out[]&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>Fri, 17 Jul 2009 07:16:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-function-module-giving-run-time-error/m-p/5939789#M1334380</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-17T07:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: ALV GRID Display function module giving Run time error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-function-module-giving-run-time-error/m-p/5939790#M1334381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;pre&amp;gt;  PERFORM add_fields_catlog USING:&lt;/P&gt;&lt;P&gt;       '01'    'RZZYYPRODUCT'     'IT_OUT'    'MPMs' ' ',&lt;/P&gt;&lt;P&gt;       '02'    'KSLVT'     'IT_OUT'    'License Fee' ' ',&lt;/P&gt;&lt;P&gt;       '03'    'KSLVT'     'IT_OUT'    'Ad Sales' ' ',&lt;/P&gt;&lt;P&gt;       '04'    'KSLVT'     'IT_OUT'    'Promo Fees' ' ',&lt;/P&gt;&lt;P&gt;       '05'    'KSLVT'     'IT_OUT'    'Total Ad Sales/Promo' ' ',&lt;/P&gt;&lt;P&gt;       '06'    'KSLVT'     'IT_OUT'    'Other' ' ',&lt;/P&gt;&lt;P&gt;       '07'    'KSLVT'     'IT_OUT'    'Total' ' ',&lt;/P&gt;&lt;P&gt;       '08'    'KSLVT'     'IT_OUT'    'Dom Station' ' ',&lt;/P&gt;&lt;P&gt;       '09'    'KSLVT'     'IT_OUT'    'Basic Cable/Free VOD' ' ',&lt;/P&gt;&lt;P&gt;       '10'    'KSLVT'     'IT_OUT'    'License Fee' ' ',&lt;/P&gt;&lt;P&gt;       '11'    'KSLVT'     'IT_OUT'    'Ad Sales (incl Internet)' ' ',&lt;/P&gt;&lt;P&gt;       '12'    'KSLVT'     'IT_OUT'    'Promo Fees' ' ',&lt;/P&gt;&lt;P&gt;       '13'    'KSLVT'     'IT_OUT'    'Ad Sales &amp;amp; Promo Fees' ' ',&lt;/P&gt;&lt;P&gt;       '14'    'KSLVT'     'IT_OUT'    'Foreign' ' ',&lt;/P&gt;&lt;P&gt;       '15'    'KSLVT'     'IT_OUT'    'Pay TV' ' ',&lt;/P&gt;&lt;P&gt;       '16'    'KSLVT'     'IT_OUT'    'Other' ' ',&lt;/P&gt;&lt;P&gt;       '17'    'KSLVT'     'IT_OUT'    'Total' ' ',&lt;/P&gt;&lt;P&gt;       '18'    'KSLVT'     'IT_OUT'    'Home Entertainment' ' ',&lt;/P&gt;&lt;P&gt;       '19'    'KSLVT'     'IT_OUT'    'SPTI' ' ',&lt;/P&gt;&lt;P&gt;       '20'    'KSLVT'     'IT_OUT'    'All Other Divisions' ' ',&lt;/P&gt;&lt;P&gt;       '21'    'KSLVT'     'IT_OUT'    'Total' ' ',&lt;/P&gt;&lt;P&gt;       '22'    'KSLVT'     'IT_OUT'    'Total Revenue' ' ',&lt;/P&gt;&lt;P&gt;       '23'    'KSLVT'     'IT_OUT'  'PV Net Down &amp;amp; Producers Share' '',&lt;/P&gt;&lt;P&gt;       '24'    'KSLVT'     'IT_OUT'    'Total Net Revenue' ' ',&lt;/P&gt;&lt;P&gt;       '25'    'KSLVT'     'IT_OUT'    'Development Expense' ' ',&lt;/P&gt;&lt;P&gt;       '26'    'KSLVT'     'IT_OUT'    'SOP Deficits' ' ',&lt;/P&gt;&lt;P&gt;       '27'    'KSLVT'     'IT_OUT'    'Amortization' ' ',&lt;/P&gt;&lt;P&gt;       '28'    'KSLVT'     'IT_OUT'    'Other COS ' ' ',&lt;/P&gt;&lt;P&gt;       '29'    'KSLVT'     'IT_OUT'    'Total COS' ' ',&lt;/P&gt;&lt;P&gt;       '30'    'KSLVT'     'IT_OUT'    'Profit Before Releasing' ' ',&lt;/P&gt;&lt;P&gt;       '31'    'KSLVT'     'IT_OUT'    'Gross Profit %' ' ',&lt;/P&gt;&lt;P&gt;       '32'    'KSLVT'     'IT_OUT'    'SPT' ' ',&lt;/P&gt;&lt;P&gt;       '33'    'KSLVT'     'IT_OUT'    'Home Entertainment' ' ',&lt;/P&gt;&lt;P&gt;       '34'    'KSLVT'     'IT_OUT'    'SPTI' ' ',&lt;/P&gt;&lt;P&gt;       '35'    'KSLVT'     'IT_OUT'    'All Other Divisions' ' ',&lt;/P&gt;&lt;P&gt;       '36'    'KSLVT'     'IT_OUT'    'Other' ' ',&lt;/P&gt;&lt;P&gt;       '37'    'KSLVT'     'IT_OUT'    'Total' ' ',&lt;/P&gt;&lt;P&gt;       '38'    'KSLVT'     'IT_OUT'    'Gross Profit' ' ',&lt;/P&gt;&lt;P&gt;       '39'    'KSLVT'     'IT_OUT'    'SPT' ' ',&lt;/P&gt;&lt;P&gt;       '40'    'KSLVT'     'IT_OUT'    'Home Entertainment' ' ',&lt;/P&gt;&lt;P&gt;       '41'    'KSLVT'     'IT_OUT'    'SPTI' ' ',&lt;/P&gt;&lt;P&gt;       '42'    'KSLVT'     'IT_OUT'    'All Other Divisions' ' ',&lt;/P&gt;&lt;P&gt;       '43'    'KSLVT'     'IT_OUT'    'Other' ' ',&lt;/P&gt;&lt;P&gt;       '44'    'KSLVT'     'IT_OUT'    'Total' ' ',&lt;/P&gt;&lt;P&gt;       '45'    'KSLVT'     'IT_OUT'    'Net Margin' ' '.&amp;lt;/pre&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;font color=red&amp;gt;If you see above code, Instead of writing column name, you have used , KSLVT and RZZYYPRODUCT. Please Change to COL00 to COL44. Then it works.&amp;lt;/font&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Venkat.O&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2009 07:27:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-function-module-giving-run-time-error/m-p/5939790#M1334381</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2009-07-17T07:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: ALV GRID Display function module giving Run time error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-function-module-giving-run-time-error/m-p/5939791#M1334382</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;This problem is due to passing Data Element in Fieldcatlog for a field.&lt;/P&gt;&lt;P&gt;for Eg.&lt;/P&gt;&lt;P&gt;  *fieldcatalog-ref_fieldname = 'EBELN'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; fieldcatalog-ref_tabname   = 'EKKO'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remove above code for the field you are geting error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;ShreeMohan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2009 07:28:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-function-module-giving-run-time-error/m-p/5939791#M1334382</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-17T07:28:40Z</dc:date>
    </item>
  </channel>
</rss>

