<?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 runtime error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-runtime-error/m-p/1838195#M356516</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallow I do a simple alv report that I take from se 83 example&lt;/P&gt;&lt;P&gt;And I have RUNTIME ERROR what it can be&lt;/P&gt;&lt;P&gt;What I doing wrong mybe I forget somtihg .&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;This is the &lt;/P&gt;&lt;P&gt;Error analysis&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;    You attempted to access an unassigned field symbol&lt;/P&gt;&lt;P&gt;    (data segment 32820).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    This error may occur if&lt;/P&gt;&lt;P&gt;    - You address a typed field symbol before it has been set with&lt;/P&gt;&lt;P&gt;      ASSIGN&lt;/P&gt;&lt;P&gt;    - You address a field symbol that pointed to the line of an&lt;/P&gt;&lt;P&gt;      internal table that was deleted&lt;/P&gt;&lt;P&gt;    - You address a field symbol that was previously reset using&lt;/P&gt;&lt;P&gt;      UNASSIGN or that pointed to a local field that no&lt;/P&gt;&lt;P&gt;      longer exists&lt;/P&gt;&lt;P&gt;    - You address a global function interface, although the&lt;/P&gt;&lt;P&gt;      respective function module is not active - that is, is&lt;/P&gt;&lt;P&gt;      not in the list of active calls. The list of active calls&lt;/P&gt;&lt;P&gt;      can be taken from this short dump. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;This is Source Code Extract&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   macro_cell_data_get&lt;/P&gt;&lt;P&gt;     &amp;lt;ls_fcat&amp;gt;&lt;/P&gt;&lt;P&gt;     &amp;lt;ls_data&amp;gt;&lt;/P&gt;&lt;P&gt;     &amp;lt;l_field_value&amp;gt;&lt;/P&gt;&lt;P&gt;     ls_lvc_data-value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;new API&lt;/P&gt;&lt;P&gt;   if ir_salv_adapter is bound.&lt;/P&gt;&lt;P&gt;     clear ls_lvc_data-style.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;     if g_gui_type ne 1.&lt;/P&gt;&lt;P&gt;       if &amp;lt;ls_fcat&amp;gt;-key eq abap_true.&lt;/P&gt;&lt;P&gt;         ls_lvc_data-style = alv_style_color_int_key.&lt;/P&gt;&lt;P&gt;       elseif l_style_color is initial&lt;/P&gt;&lt;P&gt;             and ( &amp;lt;ls_fcat&amp;gt;-emphasize is initial or&lt;/P&gt;&lt;P&gt;                   &amp;lt;ls_fcat&amp;gt;-emphasize = '$' ).&lt;/P&gt;&lt;P&gt;         if &amp;lt;ls_stin&amp;gt;-counter is initial.&lt;/P&gt;&lt;P&gt;           ls_lvc_data-style = alv_style_color_normal.&lt;/P&gt;&lt;P&gt;         else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;. &amp;lt;b&amp;gt;this is my definition in the program&amp;lt;/b&amp;gt;&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;      Module  PBO  OUTPUT&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;MODULE pbo OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SET PF-STATUS 'MAIN100'.&lt;/P&gt;&lt;P&gt;  IF g_custom_container IS INITIAL.&lt;/P&gt;&lt;P&gt;    CREATE OBJECT g_custom_container&lt;/P&gt;&lt;P&gt;           EXPORTING container_name = g_container.&lt;/P&gt;&lt;P&gt;    CREATE OBJECT grid1&lt;/P&gt;&lt;P&gt;           EXPORTING i_parent = g_custom_container.&lt;/P&gt;&lt;P&gt;    CALL METHOD grid1-&amp;gt;set_table_for_first_display&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        i_structure_name = 'YHR_EX_TEKEN_STR'&lt;/P&gt;&lt;P&gt;      CHANGING&lt;/P&gt;&lt;P&gt;        it_outtab        = teken_itab.&lt;/P&gt;&lt;P&gt;  ENDIF.&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;ENDMODULE.                 " PBO  OUTPUT&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;      Module  PAI  INPUT&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;MODULE pai INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; to react on oi_custom_events:&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; call method cl_gui_cfw=&amp;gt;dispatch.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CASE ok_code.&lt;/P&gt;&lt;P&gt;    WHEN 'EXIT'.&lt;/P&gt;&lt;P&gt;      PERFORM exit_program.&lt;/P&gt;&lt;P&gt;    WHEN OTHERS.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    do nothing&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;  CLEAR ok_code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " PAI  INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&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;      FORM EXIT_PROGRAM                                             *&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 exit_program.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; CALL METHOD G_CUSTOM_CONTAINER-&amp;gt;FREE.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; CALL METHOD CL_GUI_CFW=&amp;gt;FLUSH.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;ENDFORM.                    "EXIT_PROGRAM &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankes for your time and answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jan 2007 09:36:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-09T09:36:39Z</dc:date>
    <item>
      <title>alv runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-runtime-error/m-p/1838195#M356516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallow I do a simple alv report that I take from se 83 example&lt;/P&gt;&lt;P&gt;And I have RUNTIME ERROR what it can be&lt;/P&gt;&lt;P&gt;What I doing wrong mybe I forget somtihg .&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;This is the &lt;/P&gt;&lt;P&gt;Error analysis&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;    You attempted to access an unassigned field symbol&lt;/P&gt;&lt;P&gt;    (data segment 32820).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    This error may occur if&lt;/P&gt;&lt;P&gt;    - You address a typed field symbol before it has been set with&lt;/P&gt;&lt;P&gt;      ASSIGN&lt;/P&gt;&lt;P&gt;    - You address a field symbol that pointed to the line of an&lt;/P&gt;&lt;P&gt;      internal table that was deleted&lt;/P&gt;&lt;P&gt;    - You address a field symbol that was previously reset using&lt;/P&gt;&lt;P&gt;      UNASSIGN or that pointed to a local field that no&lt;/P&gt;&lt;P&gt;      longer exists&lt;/P&gt;&lt;P&gt;    - You address a global function interface, although the&lt;/P&gt;&lt;P&gt;      respective function module is not active - that is, is&lt;/P&gt;&lt;P&gt;      not in the list of active calls. The list of active calls&lt;/P&gt;&lt;P&gt;      can be taken from this short dump. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;This is Source Code Extract&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   macro_cell_data_get&lt;/P&gt;&lt;P&gt;     &amp;lt;ls_fcat&amp;gt;&lt;/P&gt;&lt;P&gt;     &amp;lt;ls_data&amp;gt;&lt;/P&gt;&lt;P&gt;     &amp;lt;l_field_value&amp;gt;&lt;/P&gt;&lt;P&gt;     ls_lvc_data-value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;new API&lt;/P&gt;&lt;P&gt;   if ir_salv_adapter is bound.&lt;/P&gt;&lt;P&gt;     clear ls_lvc_data-style.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;     if g_gui_type ne 1.&lt;/P&gt;&lt;P&gt;       if &amp;lt;ls_fcat&amp;gt;-key eq abap_true.&lt;/P&gt;&lt;P&gt;         ls_lvc_data-style = alv_style_color_int_key.&lt;/P&gt;&lt;P&gt;       elseif l_style_color is initial&lt;/P&gt;&lt;P&gt;             and ( &amp;lt;ls_fcat&amp;gt;-emphasize is initial or&lt;/P&gt;&lt;P&gt;                   &amp;lt;ls_fcat&amp;gt;-emphasize = '$' ).&lt;/P&gt;&lt;P&gt;         if &amp;lt;ls_stin&amp;gt;-counter is initial.&lt;/P&gt;&lt;P&gt;           ls_lvc_data-style = alv_style_color_normal.&lt;/P&gt;&lt;P&gt;         else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;. &amp;lt;b&amp;gt;this is my definition in the program&amp;lt;/b&amp;gt;&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;      Module  PBO  OUTPUT&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;MODULE pbo OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SET PF-STATUS 'MAIN100'.&lt;/P&gt;&lt;P&gt;  IF g_custom_container IS INITIAL.&lt;/P&gt;&lt;P&gt;    CREATE OBJECT g_custom_container&lt;/P&gt;&lt;P&gt;           EXPORTING container_name = g_container.&lt;/P&gt;&lt;P&gt;    CREATE OBJECT grid1&lt;/P&gt;&lt;P&gt;           EXPORTING i_parent = g_custom_container.&lt;/P&gt;&lt;P&gt;    CALL METHOD grid1-&amp;gt;set_table_for_first_display&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        i_structure_name = 'YHR_EX_TEKEN_STR'&lt;/P&gt;&lt;P&gt;      CHANGING&lt;/P&gt;&lt;P&gt;        it_outtab        = teken_itab.&lt;/P&gt;&lt;P&gt;  ENDIF.&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;ENDMODULE.                 " PBO  OUTPUT&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;      Module  PAI  INPUT&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;MODULE pai INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; to react on oi_custom_events:&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; call method cl_gui_cfw=&amp;gt;dispatch.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CASE ok_code.&lt;/P&gt;&lt;P&gt;    WHEN 'EXIT'.&lt;/P&gt;&lt;P&gt;      PERFORM exit_program.&lt;/P&gt;&lt;P&gt;    WHEN OTHERS.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    do nothing&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;  CLEAR ok_code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " PAI  INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&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;      FORM EXIT_PROGRAM                                             *&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 exit_program.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; CALL METHOD G_CUSTOM_CONTAINER-&amp;gt;FREE.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; CALL METHOD CL_GUI_CFW=&amp;gt;FLUSH.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;ENDFORM.                    "EXIT_PROGRAM &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankes for your time and answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2007 09:36:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-runtime-error/m-p/1838195#M356516</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-09T09:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: alv runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-runtime-error/m-p/1838196#M356517</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;U need to assign the field symbol to any structure before u process the field symbol.&lt;/P&gt;&lt;P&gt;Like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;1. ASSIGN f TO &amp;lt;fs&amp;gt;. &lt;/P&gt;&lt;P&gt;2. ASSIGN COMPONENT idx/name OF STRUCTURE struc TO &amp;lt;fs&amp;gt;. &lt;/P&gt;&lt;P&gt;3. ASSIGN LOCAL COPY OF ... f TO&amp;lt;fs&amp;gt;. &lt;/P&gt;&lt;P&gt;4. Dynamic ASSIGN &lt;/P&gt;&lt;P&gt;a. ASSIGN (f) TO &amp;lt;fs&amp;gt;. &lt;/P&gt;&lt;P&gt;b. ASSIGN TABLE FIELD (f) TO &amp;lt;fs&amp;gt;. &lt;/P&gt;&lt;P&gt;c. ASSIGN LOCAL COPY OF MAIN TABLE FIELD (f) TO &amp;lt;fs&amp;gt;. &lt;/P&gt;&lt;P&gt;d. ASSIGN LOCAL COPY OF ... (f) TO &amp;lt;fs&amp;gt;. &lt;/P&gt;&lt;P&gt;5. ASSIGN dref-&amp;gt;* TO &amp;lt;fs&amp;gt;.&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If useful reward.&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2007 09:40:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-runtime-error/m-p/1838196#M356517</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-09T09:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: alv runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-runtime-error/m-p/1838197#M356518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Vasanth M  i dont understand u well . i use the same code for other alv report and i dont have a any runtime . mybe u can explain the soltion u bring a little  better regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2007 09:45:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-runtime-error/m-p/1838197#M356518</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-09T09:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: alv runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-runtime-error/m-p/1838198#M356519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;To declare a field symbol, use the statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS &amp;lt;FS&amp;gt; [&amp;lt;type&amp;gt;|STRUCTURE &amp;lt;s&amp;gt; DEFAULT &amp;lt;wa&amp;gt;].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For field symbols, the angle brackets are part of the syntax. They identify field symbols in the program code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you do not specify any additions, the field symbol &amp;lt;FS&amp;gt; can have data objects of any type assigned to it. When you assign a data object, the field symbol inherits its technical attributes. The data type of the assigned data object becomes the actual data type of the field symbol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the sample code:&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF line,&lt;/P&gt;&lt;P&gt;         col1 TYPE c,&lt;/P&gt;&lt;P&gt;         col2 TYPE c,&lt;/P&gt;&lt;P&gt;       END OF line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: wa TYPE line,&lt;/P&gt;&lt;P&gt;      itab TYPE HASHED TABLE OF line WITH UNIQUE KEY col1,&lt;/P&gt;&lt;P&gt;      key(4) TYPE c VALUE 'COL1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS &amp;lt;fs&amp;gt; TYPE ANY TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN itab TO &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE &amp;lt;fs&amp;gt; WITH TABLE KEY (key) = 'X' INTO wa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;keerthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2007 09:48:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-runtime-error/m-p/1838198#M356519</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-09T09:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: alv runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-runtime-error/m-p/1838199#M356520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Antonio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if g_gui_type ne 1.&lt;/P&gt;&lt;P&gt;if &amp;lt;ls_fcat&amp;gt;-key eq abap_true.&lt;/P&gt;&lt;P&gt;ls_lvc_data-style = alv_style_color_int_key.&lt;/P&gt;&lt;P&gt;elseif l_style_color is initial&lt;/P&gt;&lt;P&gt;and ( &amp;lt;ls_fcat&amp;gt;-emphasize is initial or&lt;/P&gt;&lt;P&gt;&amp;lt;ls_fcat&amp;gt;-emphasize = '$' ).&lt;/P&gt;&lt;P&gt;if &amp;lt;ls_stin&amp;gt;-counter is initial.&lt;/P&gt;&lt;P&gt;ls_lvc_data-style = alv_style_color_normal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the above piece of code first u need to assign the field symbol&lt;/P&gt;&lt;P&gt;assign str to &amp;lt;ls_fcat&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u do this u won't get the short dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If useful reward.&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2007 09:48:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-runtime-error/m-p/1838199#M356520</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-09T09:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: alv runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-runtime-error/m-p/1838200#M356521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi keerthi kiran varanasi  why i have to do that i dont use field symbol in my program regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2007 09:50:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-runtime-error/m-p/1838200#M356521</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-09T09:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: alv runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-runtime-error/m-p/1838201#M356522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Vasanth M  i have to copy that to my program as is ?.i ask that becouse i never use a field symbol . and if i have to change your code which things i have to change regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2007 09:54:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-runtime-error/m-p/1838201#M356522</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-09T09:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: alv runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-runtime-error/m-p/1838202#M356523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi vasanth what i have to put in ls_fcat regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2007 10:15:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-runtime-error/m-p/1838202#M356523</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-09T10:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: alv runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-runtime-error/m-p/1838203#M356524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;field symbol errors in ALV are usually down to fieldcat columns incorrectly defined. Check your internal table fields of the table you pass to the alv FM against the columns defined in the fieldcat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2007 10:33:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-runtime-error/m-p/1838203#M356524</guid>
      <dc:creator>alison_lloyd</dc:creator>
      <dc:date>2007-01-09T10:33:31Z</dc:date>
    </item>
  </channel>
</rss>

