<?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: Problem using Field symbols in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols/m-p/4441510#M1053705</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you field symbols is unassign, sy-subrc is different 0 ... try ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN g_var TO &amp;lt;fs_var&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;  ... LOGIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ASSIGN &amp;lt;fs_var&amp;gt; TO &amp;lt;fs_var2&amp;gt;.&lt;/P&gt;&lt;P&gt;  IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    ... logic&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David Carballido ^^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Sep 2008 23:23:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-04T23:23:31Z</dc:date>
    <item>
      <title>Problem using Field symbols</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols/m-p/4441507#M1053702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have recently upgraded to ECC6.0 and one of the zprogram is giving dump now. Previously with 4.6C it was working fine. Can someone please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I researched prvious posts but did not find any answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Veni.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Runtime Errors         GETWA_NOT_ASSIGNED&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Short text                                                                   &lt;/P&gt;&lt;P&gt;    Field symbol has not yet been assigned.                                                                                &lt;/P&gt;&lt;P&gt;What happened?                                                               &lt;/P&gt;&lt;P&gt;    Error in the ABAP Application Program                                                                                &lt;/P&gt;&lt;P&gt;The current ABAP program "SAPLKKBL" had to be terminated because it has  &lt;/P&gt;&lt;P&gt;    come across a statement that unfortunately cannot be executed.      &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 GEN_FIELD_OUT2                                           * &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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      ........                                                      * &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 gen_field_out2.                                                    &lt;/P&gt;&lt;P&gt;  field-symbols &amp;lt;l_initial&amp;gt;.                                                                                &lt;/P&gt;&lt;P&gt;case gs_out-field_colcount.                                           &lt;/P&gt;&lt;P&gt;    when 001.                                                           &lt;/P&gt;&lt;P&gt;      if gs_out_flags-slave ne 'X'.                                     &lt;/P&gt;&lt;P&gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;       &lt;STRONG&gt;assign &amp;lt;fm01&amp;gt; to &amp;lt;field&amp;gt;.&lt;/STRONG&gt;                                       &lt;/P&gt;&lt;P&gt;        gs_fc = gs_mfc01.                                               &lt;/P&gt;&lt;P&gt;      else.                                                             &lt;/P&gt;&lt;P&gt;        assign &amp;lt;fs01&amp;gt; to &amp;lt;field&amp;gt;.                                       &lt;/P&gt;&lt;P&gt;        gs_fc = gs_sfc01.                                               &lt;/P&gt;&lt;P&gt;      endif.                                                            &lt;/P&gt;&lt;P&gt;    when 002.                                                           &lt;/P&gt;&lt;P&gt;      if gs_out_flags-slave ne 'X'.                                     &lt;/P&gt;&lt;P&gt;        assign &amp;lt;fm02&amp;gt; to &amp;lt;field&amp;gt;.                                       &lt;/P&gt;&lt;P&gt;        gs_fc = gs_mfc02.                                               &lt;/P&gt;&lt;P&gt;      else.                                                             &lt;/P&gt;&lt;P&gt;        assign &amp;lt;fs02&amp;gt; to &amp;lt;field&amp;gt;.                                       &lt;/P&gt;&lt;P&gt;        gs_fc = gs_sfc02.                                               &lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2008 22:12:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols/m-p/4441507#M1053702</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-04T22:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using Field symbols</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols/m-p/4441508#M1053703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are assigning a field symbold that is not assigned in the first place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's what you need to find out, why is that field symbols never assigned&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2008 22:16:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols/m-p/4441508#M1053703</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-04T22:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using Field symbols</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols/m-p/4441509#M1053704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like this is coming from the ALV call.  This commonly happens when you specify a field in the field catalog, that does not have a corresponding field in the internal table which is used in the ALV grid.  Check to make sure that all fields in your field catalog have a corresponding field in the internal table, and that it is they are spelled correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2008 22:30:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols/m-p/4441509#M1053704</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2008-09-04T22:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using Field symbols</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols/m-p/4441510#M1053705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you field symbols is unassign, sy-subrc is different 0 ... try ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN g_var TO &amp;lt;fs_var&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;  ... LOGIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ASSIGN &amp;lt;fs_var&amp;gt; TO &amp;lt;fs_var2&amp;gt;.&lt;/P&gt;&lt;P&gt;  IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    ... logic&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David Carballido ^^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2008 23:23:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols/m-p/4441510#M1053705</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-04T23:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using Field symbols</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols/m-p/4441511#M1053706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error is comming from include 'LKKBLF99'.  In my program it is comming when executing the function 'REUSE_ALV_LIST_DISPLAY'.  Can someone please help me with the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            i_callback_program       = g_repid&lt;/P&gt;&lt;P&gt;            i_callback_pf_status_set = g_status&lt;/P&gt;&lt;P&gt;            i_callback_user_command  = g_user_command&lt;/P&gt;&lt;P&gt;            is_layout                = g_layout&lt;/P&gt;&lt;P&gt;            it_sort                  = t_sortcat&lt;/P&gt;&lt;P&gt;            i_default                = 'A'&lt;/P&gt;&lt;P&gt;            i_save                   = 'A'&lt;/P&gt;&lt;P&gt;            is_variant               = g_variant&lt;/P&gt;&lt;P&gt;            it_fieldcat              = t_fieldcat[]&lt;/P&gt;&lt;P&gt;            it_events                = t_alv_events[]&lt;/P&gt;&lt;P&gt;            is_print                 = print&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            t_outtab                 = itab&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            program_error            = 1&lt;/P&gt;&lt;P&gt;            OTHERS                   = 2.&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&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;Runtime Errors         GETWA_NOT_ASSIGNED  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Short text                                  &lt;/P&gt;&lt;P&gt;    Field symbol has not yet been assigned. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; What happened?                                                              &lt;/P&gt;&lt;P&gt;     Error in the ABAP Application Program                                                                                &lt;/P&gt;&lt;P&gt;The current ABAP program "SAPLKKBL" had to be terminated because it has &lt;/P&gt;&lt;P&gt;     come across a statement that unfortunately cannot be executed.          &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error analysis                                                     &lt;/P&gt;&lt;P&gt;    You attempted to access an unassigned field symbol             &lt;/P&gt;&lt;P&gt;    (data segment 92).                                                                                &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;Trigger Location of Runtime Error                            &lt;/P&gt;&lt;P&gt;    Program                                 SAPLKKBL         &lt;/P&gt;&lt;P&gt;    Include                                 LKKBLF99         &lt;/P&gt;&lt;P&gt;    Row                                     2,796            &lt;/P&gt;&lt;P&gt;    Module type                             (FORM)           &lt;/P&gt;&lt;P&gt;    Module Name                             GEN_FIELD_OUT2   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; 2785 &lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt; 2786 *       FORM GEN_FIELD_OUT2                                           * &lt;/P&gt;&lt;P&gt; 2787 &lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt; 2788 *       ........                                                      * &lt;/P&gt;&lt;P&gt; 2789 &lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt; 2790 form gen_field_out2.                                                    &lt;/P&gt;&lt;P&gt; 2791   field-symbols &amp;lt;l_initial&amp;gt;.                                            &lt;/P&gt;&lt;P&gt; 2792                                                                         &lt;/P&gt;&lt;P&gt; 2793   case gs_out-field_colcount.                                           &lt;/P&gt;&lt;P&gt; 2794     when 001.                                                           &lt;/P&gt;&lt;P&gt; 2795       if gs_out_flags-slave ne 'X'.                                     &lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;         assign &amp;lt;fm01&amp;gt; to &amp;lt;field&amp;gt;.                                       &lt;/P&gt;&lt;P&gt; 2797         gs_fc = gs_mfc01.                                               &lt;/P&gt;&lt;P&gt; 2798       else.                                                             &lt;/P&gt;&lt;P&gt; 2799         assign &amp;lt;fs01&amp;gt; to &amp;lt;field&amp;gt;.                                       &lt;/P&gt;&lt;P&gt; 2800         gs_fc = gs_sfc01.                                               &lt;/P&gt;&lt;P&gt; 2801       endif.                                                            &lt;/P&gt;&lt;P&gt; 2802     when 002.                                                           &lt;/P&gt;&lt;P&gt; 2803       if gs_out_flags-slave ne 'X'.                                     &lt;/P&gt;&lt;P&gt; 2804         assign &amp;lt;fm02&amp;gt; to &amp;lt;field&amp;gt;.                                       &lt;/P&gt;&lt;P&gt; 2805         gs_fc = gs_mfc02.                                               &lt;/P&gt;&lt;P&gt; 2806       else.                                                             &lt;/P&gt;&lt;P&gt; 2807         assign &amp;lt;fs02&amp;gt; to &amp;lt;field&amp;gt;.                                       &lt;/P&gt;&lt;P&gt; 2808         gs_fc = gs_sfc02.                                               &lt;/P&gt;&lt;P&gt; 2809       endif.           &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Veni.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2008 16:29:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols/m-p/4441511#M1053706</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-05T16:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using Field symbols</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols/m-p/4441512#M1053707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Follow Rich's suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF you see the assignment of &amp;lt;fm01&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
assign component gs_out_fieldcat-fieldname
             of structure t_outtab_master to &amp;lt;fm01&amp;gt;.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;There is something wrong between your field catalog and your internal table. Maybe something changed in the update&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2008 16:39:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols/m-p/4441512#M1053707</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-05T16:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using Field symbols</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols/m-p/4441513#M1053708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is problem regrading fieldcatlog. this type of error usually not come in grid alv it only comes inalv list&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Analysing your program dump i think the problem is, the fieldcatlog of one of your  field(which you want to display) in alv list has given reference table name but i think for that field no reference table exist.&lt;/P&gt;&lt;P&gt;  so what it is trying to get output length to display. but the field symbol is not assigned so it giving a short dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully it will definitely solve your problem..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nitin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2008 11:26:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols/m-p/4441513#M1053708</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-17T11:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using Field symbols</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols/m-p/4441514#M1053709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still did not find any solution for the problem. Why program name and include name are assigning to same g_repid. I debuged it and for both program name only comming. Is this the problem. This report was workin fine in 4.6c but dumps in ECC6.0. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please help me with it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Veni.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF itab OCCURS 100,&lt;/P&gt;&lt;P&gt;      kunnr LIKE vbpa-kunnr,&lt;/P&gt;&lt;P&gt;      name1 LIKE kna1-name1,&lt;/P&gt;&lt;P&gt;      netwr LIKE vbrp-netwr,&lt;/P&gt;&lt;P&gt;      kbetr LIKE konp-kbetr,&lt;/P&gt;&lt;P&gt;      cnetwr LIKE vbrp-netwr,&lt;/P&gt;&lt;P&gt;      adjust(12) TYPE c,&lt;/P&gt;&lt;P&gt;      mnetwr LIKE vbrp-netwr,&lt;/P&gt;&lt;P&gt;      wrbtr LIKE bseg-wrbtr,&lt;/P&gt;&lt;P&gt;      owrbtr LIKE bseg-wrbtr,&lt;/P&gt;&lt;P&gt;      ualloc LIKE bseg-wrbtr,&lt;/P&gt;&lt;P&gt;      twrbtr LIKE bseg-wrbtr,&lt;/P&gt;&lt;P&gt;      texcess LIKE bseg-wrbtr,&lt;/P&gt;&lt;P&gt;      treserve LIKE bseg-wrbtr,&lt;/P&gt;&lt;P&gt;      END OF itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPE-POOLS: slis.&lt;/P&gt;&lt;P&gt;DATA : print TYPE slis_print_alv,                 "Printer settings&lt;/P&gt;&lt;P&gt;       g_repid LIKE  sy-repid,                    "Program calling ALV&lt;/P&gt;&lt;P&gt;       t_fieldcat TYPE slis_t_fieldcat_alv,       "ALV FieldCatalog&lt;/P&gt;&lt;P&gt;       g_layout TYPE slis_layout_alv,             "Layout for ALV&lt;/P&gt;&lt;P&gt;       w_fieldcat LIKE LINE OF t_fieldcat,        "ALV FieldCat WorkArea&lt;/P&gt;&lt;P&gt;       t_alv_headers TYPE slis_t_listheader,      "ALV headers&lt;/P&gt;&lt;P&gt;       t_alv_events TYPE slis_t_event WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;       t_sortcat TYPE slis_t_sortinfo_alv,&lt;/P&gt;&lt;P&gt;       g_variant LIKE disvariant,&lt;/P&gt;&lt;P&gt;       g_filter   TYPE slis_t_filter_alv,&lt;/P&gt;&lt;P&gt;       g_status type   slis_formname value 'STANDARD_02',&lt;/P&gt;&lt;P&gt;       G_USER_COMMAND TYPE SLIS_FORMNAME VALUE 'USER_COMMAND',&lt;/P&gt;&lt;P&gt;       w_sortcat_ln LIKE LINE OF t_sortcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM alv_output.&lt;/P&gt;&lt;P&gt;  clear t_fieldcat.&lt;/P&gt;&lt;P&gt;  refresh t_fieldcat.&lt;/P&gt;&lt;P&gt;  clear pfkey.&lt;/P&gt;&lt;P&gt;  g_repid = sy-repid.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            i_program_name         = g_repid&lt;/P&gt;&lt;P&gt;            i_internal_tabname     = 'ITAB'&lt;/P&gt;&lt;P&gt;            i_inclname             = g_repid&lt;/P&gt;&lt;P&gt;       CHANGING&lt;/P&gt;&lt;P&gt;            ct_fieldcat            = t_fieldcat[]&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            inconsistent_interface = 1&lt;/P&gt;&lt;P&gt;            program_error          = 2&lt;/P&gt;&lt;P&gt;            OTHERS                 = 3.&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;    EXIT.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    CLEAR w_fieldcat-key.&lt;/P&gt;&lt;P&gt;    MODIFY t_fieldcat  FROM w_fieldcat TRANSPORTING key WHERE key = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Add checkbox to the Field Catalog&lt;/P&gt;&lt;P&gt;    CLEAR w_fieldcat.&lt;/P&gt;&lt;P&gt;    w_fieldcat-fieldname = 'CHECKBOX'.&lt;/P&gt;&lt;P&gt;    w_fieldcat-checkbox = 'X'.&lt;/P&gt;&lt;P&gt;    w_fieldcat-key = 'X'.&lt;/P&gt;&lt;P&gt;    w_fieldcat-outputlen = 2.&lt;/P&gt;&lt;P&gt;    w_fieldcat-seltext_l = 'Selection Indicator'.&lt;/P&gt;&lt;P&gt;    w_fieldcat-col_pos = 1.&lt;/P&gt;&lt;P&gt;    w_fieldcat-edit = 'X'.&lt;/P&gt;&lt;P&gt;    APPEND w_fieldcat TO t_fieldcat.                        " index 1.&lt;/P&gt;&lt;P&gt;    CLEAR w_fieldcat.&lt;/P&gt;&lt;P&gt;*Add the right descriptions&lt;/P&gt;&lt;P&gt;    w_fieldcat-col_pos = 2.&lt;/P&gt;&lt;P&gt;    modify t_fieldcat from w_fieldcat transporting col_pos&lt;/P&gt;&lt;P&gt;    where fieldname = 'KUNNR'.&lt;/P&gt;&lt;P&gt;    clear w_fieldcat.&lt;/P&gt;&lt;P&gt;    w_fieldcat-seltext_l = 'Customer Name'.&lt;/P&gt;&lt;P&gt;    w_fieldcat-col_pos = 3.&lt;/P&gt;&lt;P&gt;    MODIFY t_fieldcat FROM w_fieldcat TRANSPORTING seltext_l col_pos&lt;/P&gt;&lt;P&gt;    WHERE fieldname = 'NAME1'.&lt;/P&gt;&lt;P&gt;    CLEAR w_fieldcat.&lt;/P&gt;&lt;P&gt;    w_fieldcat-col_pos = 4.&lt;/P&gt;&lt;P&gt;    w_fieldcat-seltext_l = 'Gross Co-op Sales'.&lt;/P&gt;&lt;P&gt;    MODIFY t_fieldcat FROM w_fieldcat TRANSPORTING seltext_l col_pos&lt;/P&gt;&lt;P&gt;    WHERE fieldname = 'NETWR'.&lt;/P&gt;&lt;P&gt;    CLEAR w_fieldcat.&lt;/P&gt;&lt;P&gt;    w_fieldcat-seltext_l = 'Accrual Rate(%)'.&lt;/P&gt;&lt;P&gt;    w_fieldcat-col_pos = 5.&lt;/P&gt;&lt;P&gt;    MODIFY t_fieldcat FROM w_fieldcat TRANSPORTING seltext_l col_pos&lt;/P&gt;&lt;P&gt;    WHERE fieldname = 'KBETR'.&lt;/P&gt;&lt;P&gt;    CLEAR w_fieldcat.&lt;/P&gt;&lt;P&gt;    w_fieldcat-seltext_l = 'Credits Accrued'.&lt;/P&gt;&lt;P&gt;    w_fieldcat-col_pos = 6.&lt;/P&gt;&lt;P&gt;    MODIFY t_fieldcat FROM w_fieldcat TRANSPORTING seltext_l col_pos&lt;/P&gt;&lt;P&gt;    WHERE fieldname = 'CNETWR'.&lt;/P&gt;&lt;P&gt;    CLEAR w_fieldcat.&lt;/P&gt;&lt;P&gt;    w_fieldcat-seltext_l = 'Adjustments'.&lt;/P&gt;&lt;P&gt;    w_fieldcat-col_pos = 7.&lt;/P&gt;&lt;P&gt;    MODIFY t_fieldcat FROM w_fieldcat TRANSPORTING seltext_l col_pos&lt;/P&gt;&lt;P&gt;    WHERE fieldname = 'ADJUST'.&lt;/P&gt;&lt;P&gt;    CLEAR w_fieldcat.&lt;/P&gt;&lt;P&gt;    w_fieldcat-seltext_l = 'Max.Allowable Credits'.&lt;/P&gt;&lt;P&gt;    w_fieldcat-col_pos = 8.&lt;/P&gt;&lt;P&gt;    MODIFY t_fieldcat FROM w_fieldcat TRANSPORTING seltext_l col_pos&lt;/P&gt;&lt;P&gt;    WHERE fieldname = 'MNETWR'.&lt;/P&gt;&lt;P&gt;    CLEAR w_fieldcat.&lt;/P&gt;&lt;P&gt;    w_fieldcat-seltext_l = 'Credits Issued'.&lt;/P&gt;&lt;P&gt;    w_fieldcat-col_pos = 9.&lt;/P&gt;&lt;P&gt;    MODIFY t_fieldcat FROM w_fieldcat TRANSPORTING seltext_l col_pos&lt;/P&gt;&lt;P&gt;    WHERE fieldname = 'WRBTR'.&lt;/P&gt;&lt;P&gt;    CLEAR w_fieldcat.&lt;/P&gt;&lt;P&gt;    w_fieldcat-seltext_l = 'Chargebacks Outstanding'.&lt;/P&gt;&lt;P&gt;    w_fieldcat-seltext_m = 'Outstanding'.&lt;/P&gt;&lt;P&gt;    w_fieldcat-col_pos = 10.&lt;/P&gt;&lt;P&gt;    MODIFY t_fieldcat FROM w_fieldcat TRANSPORTING seltext_l col_pos&lt;/P&gt;&lt;P&gt;    seltext_m WHERE fieldname = 'OWRBTR'.&lt;/P&gt;&lt;P&gt;    CLEAR w_fieldcat.&lt;/P&gt;&lt;P&gt;    w_fieldcat-seltext_l = 'Unallocate Chargebacks'.&lt;/P&gt;&lt;P&gt;    w_fieldcat-seltext_m = 'Unallocated'.&lt;/P&gt;&lt;P&gt;    w_fieldcat-col_pos = 11.&lt;/P&gt;&lt;P&gt;    MODIFY t_fieldcat FROM w_fieldcat TRANSPORTING seltext_l col_pos&lt;/P&gt;&lt;P&gt;    seltext_m WHERE fieldname = 'UALLOC'.&lt;/P&gt;&lt;P&gt;    CLEAR w_fieldcat.&lt;/P&gt;&lt;P&gt;    w_fieldcat-seltext_l = 'Total Charges'.&lt;/P&gt;&lt;P&gt;    w_fieldcat-col_pos = 12.&lt;/P&gt;&lt;P&gt;    MODIFY t_fieldcat FROM w_fieldcat TRANSPORTING seltext_l col_pos&lt;/P&gt;&lt;P&gt;    WHERE fieldname = 'TWRBTR'.&lt;/P&gt;&lt;P&gt;    CLEAR w_fieldcat.&lt;/P&gt;&lt;P&gt;    w_fieldcat-seltext_l = 'Excess Credits Issued'.&lt;/P&gt;&lt;P&gt;    w_fieldcat-seltext_m = 'Excess Credit'.&lt;/P&gt;&lt;P&gt;    w_fieldcat-col_pos = 13.&lt;/P&gt;&lt;P&gt;    MODIFY t_fieldcat FROM w_fieldcat TRANSPORTING seltext_l col_pos&lt;/P&gt;&lt;P&gt;    seltext_m WHERE fieldname = 'TEXCESS'.&lt;/P&gt;&lt;P&gt;    CLEAR w_fieldcat.&lt;/P&gt;&lt;P&gt;    w_fieldcat-seltext_l = 'Reserve Remaining'.&lt;/P&gt;&lt;P&gt;    w_fieldcat-seltext_m = 'Res. Remaining'.&lt;/P&gt;&lt;P&gt;    w_fieldcat-col_pos = 14.&lt;/P&gt;&lt;P&gt;    MODIFY t_fieldcat FROM w_fieldcat TRANSPORTING seltext_l col_pos&lt;/P&gt;&lt;P&gt;    seltext_m WHERE fieldname = 'TRESERVE'.&lt;/P&gt;&lt;P&gt;    CLEAR w_fieldcat.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  g_variant-report = g_repid.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            i_callback_program       = g_repid&lt;/P&gt;&lt;P&gt;            i_callback_pf_status_set = g_status&lt;/P&gt;&lt;P&gt;            i_callback_user_command  = g_user_command&lt;/P&gt;&lt;P&gt;            is_layout                = g_layout&lt;/P&gt;&lt;P&gt;            it_sort                  = t_sortcat&lt;/P&gt;&lt;P&gt;            i_default                = 'A'&lt;/P&gt;&lt;P&gt;            i_save                   = 'A'&lt;/P&gt;&lt;P&gt;            is_variant               = g_variant&lt;/P&gt;&lt;P&gt;            it_fieldcat              = t_fieldcat[]&lt;/P&gt;&lt;P&gt;            it_events                = t_alv_events[]&lt;/P&gt;&lt;P&gt;            is_print                 = print&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            t_outtab                 = itab&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            program_error            = 1&lt;/P&gt;&lt;P&gt;            OTHERS                   = 2.&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&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;ENDFORM.                    " alv_output&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2008 19:08:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols/m-p/4441514#M1053709</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-18T19:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using Field symbols</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols/m-p/4441515#M1053710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any help please...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Veni.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2008 19:57:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols/m-p/4441515#M1053710</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-18T19:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using Field symbols</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols/m-p/4441516#M1053711</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;I tried your code in my system (ECC 6.0) ...I am not getting any dump..is it during display or after that...please explain&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: BEGIN OF itab OCCURS 100,
kunnr LIKE vbpa-kunnr,
name1 LIKE kna1-name1,
netwr LIKE vbrp-netwr,
kbetr LIKE konp-kbetr,
cnetwr LIKE vbrp-netwr,
adjust(12) TYPE c,
mnetwr LIKE vbrp-netwr,
wrbtr LIKE bseg-wrbtr,
owrbtr LIKE bseg-wrbtr,
ualloc LIKE bseg-wrbtr,
twrbtr LIKE bseg-wrbtr,
texcess LIKE bseg-wrbtr,
treserve LIKE bseg-wrbtr,
END OF itab.

TYPE-POOLS: slis.
DATA : print TYPE slis_print_alv, "Printer settings
g_repid LIKE sy-repid, "Program calling ALV
t_fieldcat TYPE slis_t_fieldcat_alv, "ALV FieldCatalog
g_layout TYPE slis_layout_alv, "Layout for ALV
w_fieldcat LIKE LINE OF t_fieldcat, "ALV FieldCat WorkArea
t_alv_headers TYPE slis_t_listheader, "ALV headers
t_alv_events TYPE slis_t_event WITH HEADER LINE,
t_sortcat TYPE slis_t_sortinfo_alv,
g_variant LIKE disvariant,
g_filter TYPE slis_t_filter_alv,
g_status TYPE slis_formname VALUE 'STANDARD_02',
g_user_command TYPE slis_formname VALUE 'USER_COMMAND',
w_sortcat_ln LIKE LINE OF t_sortcat.

PERFORM alv_output.

*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  alv_output
*&amp;amp;---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
FORM alv_output.
  CLEAR t_fieldcat.
  REFRESH t_fieldcat.
  g_repid = sy-repid.
  CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
      i_program_name         = g_repid
      i_internal_tabname     = 'ITAB'
      i_inclname             = g_repid
    CHANGING
      ct_fieldcat            = t_fieldcat[]
    EXCEPTIONS
      inconsistent_interface = 1
      program_error          = 2
      OTHERS                 = 3.
  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.
    EXIT.
  ELSE.
    CLEAR w_fieldcat-key.
    MODIFY t_fieldcat FROM w_fieldcat TRANSPORTING key WHERE key = 'X'.

*Add checkbox to the Field Catalog
    CLEAR w_fieldcat.
    w_fieldcat-fieldname = 'CHECKBOX'.
    w_fieldcat-checkbox = 'X'.
    w_fieldcat-key = 'X'.
    w_fieldcat-outputlen = 2.
    w_fieldcat-seltext_l = 'Selection Indicator'.
    w_fieldcat-col_pos = 1.
    w_fieldcat-edit = 'X'.
    APPEND w_fieldcat TO t_fieldcat.                        " index 1.
    CLEAR w_fieldcat.
*Add the right descriptions
    w_fieldcat-col_pos = 2.
    MODIFY t_fieldcat FROM w_fieldcat TRANSPORTING col_pos
    WHERE fieldname = 'KUNNR'.
    CLEAR w_fieldcat.
    w_fieldcat-seltext_l = 'Customer Name'.
    w_fieldcat-col_pos = 3.
    MODIFY t_fieldcat FROM w_fieldcat TRANSPORTING seltext_l col_pos
    WHERE fieldname = 'NAME1'.
    CLEAR w_fieldcat.
    w_fieldcat-col_pos = 4.
    w_fieldcat-seltext_l = 'Gross Co-op Sales'.
    MODIFY t_fieldcat FROM w_fieldcat TRANSPORTING seltext_l col_pos
    WHERE fieldname = 'NETWR'.
    CLEAR w_fieldcat.
    w_fieldcat-seltext_l = 'Accrual Rate(%)'.
    w_fieldcat-col_pos = 5.
    MODIFY t_fieldcat FROM w_fieldcat TRANSPORTING seltext_l col_pos
    WHERE fieldname = 'KBETR'.
    CLEAR w_fieldcat.
    w_fieldcat-seltext_l = 'Credits Accrued'.
    w_fieldcat-col_pos = 6.
    MODIFY t_fieldcat FROM w_fieldcat TRANSPORTING seltext_l col_pos
    WHERE fieldname = 'CNETWR'.
    CLEAR w_fieldcat.
    w_fieldcat-seltext_l = 'Adjustments'.
    w_fieldcat-col_pos = 7.
    MODIFY t_fieldcat FROM w_fieldcat TRANSPORTING seltext_l col_pos
    WHERE fieldname = 'ADJUST'.
    CLEAR w_fieldcat.
    w_fieldcat-seltext_l = 'Max.Allowable Credits'.
    w_fieldcat-col_pos = 8.
    MODIFY t_fieldcat FROM w_fieldcat TRANSPORTING seltext_l col_pos
    WHERE fieldname = 'MNETWR'.
    CLEAR w_fieldcat.
    w_fieldcat-seltext_l = 'Credits Issued'.
    w_fieldcat-col_pos = 9.
    MODIFY t_fieldcat FROM w_fieldcat TRANSPORTING seltext_l col_pos
    WHERE fieldname = 'WRBTR'.
    CLEAR w_fieldcat.
    w_fieldcat-seltext_l = 'Chargebacks Outstanding'.
    w_fieldcat-seltext_m = 'Outstanding'.
    w_fieldcat-col_pos = 10.
    MODIFY t_fieldcat FROM w_fieldcat TRANSPORTING seltext_l col_pos
    seltext_m WHERE fieldname = 'OWRBTR'.
    CLEAR w_fieldcat.
    w_fieldcat-seltext_l = 'Unallocate Chargebacks'.
    w_fieldcat-seltext_m = 'Unallocated'.
    w_fieldcat-col_pos = 11.
    MODIFY t_fieldcat FROM w_fieldcat TRANSPORTING seltext_l col_pos
    seltext_m WHERE fieldname = 'UALLOC'.
    CLEAR w_fieldcat.
    w_fieldcat-seltext_l = 'Total Charges'.
    w_fieldcat-col_pos = 12.
    MODIFY t_fieldcat FROM w_fieldcat TRANSPORTING seltext_l col_pos
    WHERE fieldname = 'TWRBTR'.
    CLEAR w_fieldcat.
    w_fieldcat-seltext_l = 'Excess Credits Issued'.
    w_fieldcat-seltext_m = 'Excess Credit'.
    w_fieldcat-col_pos = 13.
    MODIFY t_fieldcat FROM w_fieldcat TRANSPORTING seltext_l col_pos
    seltext_m WHERE fieldname = 'TEXCESS'.
    CLEAR w_fieldcat.
    w_fieldcat-seltext_l = 'Reserve Remaining'.
    w_fieldcat-seltext_m = 'Res. Remaining'.
    w_fieldcat-col_pos = 14.
    MODIFY t_fieldcat FROM w_fieldcat TRANSPORTING seltext_l col_pos
    seltext_m WHERE fieldname = 'TRESERVE'.
    CLEAR w_fieldcat.
  ENDIF.
  g_variant-report = g_repid.
  CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
      i_callback_program       = g_repid
      i_callback_pf_status_set = g_status
      i_callback_user_command  = g_user_command
      is_layout                = g_layout
      it_sort                  = t_sortcat
      i_default                = 'A'
      i_save                   = 'A'
      is_variant               = g_variant
      it_fieldcat              = t_fieldcat[]
      it_events                = t_alv_events[]
      is_print                 = print
    TABLES
      t_outtab                 = itab
    EXCEPTIONS
      program_error            = 1
      OTHERS                   = 2.
  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_output&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;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2008 20:24:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols/m-p/4441516#M1053711</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-18T20:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using Field symbols</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols/m-p/4441517#M1053712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is during display only. After giving selection screen parameters, when I execute it is giving me dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Veni.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: veni reddy on Sep 18, 2008 10:49 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2008 20:49:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols/m-p/4441517#M1053712</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-18T20:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using Field symbols</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols/m-p/4441518#M1053713</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;Try this..add the CHECKBOX field to the internal table declaration..as you have added in your field catalog..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: BEGIN OF itab OCCURS 100,
kunnr LIKE vbpa-kunnr,
name1 LIKE kna1-name1,
netwr LIKE vbrp-netwr,
kbetr LIKE konp-kbetr,
cnetwr LIKE vbrp-netwr,
adjust(12) TYPE c,
mnetwr LIKE vbrp-netwr,
wrbtr LIKE bseg-wrbtr,
owrbtr LIKE bseg-wrbtr,
ualloc LIKE bseg-wrbtr,
twrbtr LIKE bseg-wrbtr,
texcess LIKE bseg-wrbtr,
treserve LIKE bseg-wrbtr,
CHECKBOX TYPE char1,             " Code added.
END OF itab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2008 20:55:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols/m-p/4441518#M1053713</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-18T20:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using Field symbols</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols/m-p/4441519#M1053714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added the checkbox to ITAB. Should I change any thing in w_fieldcat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    w_fieldcat-fieldname = 'CHECKBOX'. "CHECKBOX&lt;/P&gt;&lt;P&gt;    w_fieldcat-checkbox = 'X'.&lt;/P&gt;&lt;P&gt;    w_fieldcat-key = 'X'.&lt;/P&gt;&lt;P&gt;    w_fieldcat-outputlen = 2.&lt;/P&gt;&lt;P&gt;    w_fieldcat-seltext_l = 'Selection Indicator'.&lt;/P&gt;&lt;P&gt;    w_fieldcat-col_pos = 1.&lt;/P&gt;&lt;P&gt;    w_fieldcat-edit = 'X'.&lt;/P&gt;&lt;P&gt;    APPEND w_fieldcat TO t_fieldcat.                        " index 1.&lt;/P&gt;&lt;P&gt;    CLEAR w_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Veni.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2008 21:14:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols/m-p/4441519#M1053714</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-18T21:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using Field symbols</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols/m-p/4441520#M1053715</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;I would do the following...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;**Comment the checkbox column in the field catalog.
**Add checkbox to the Field Catalog
*    CLEAR w_fieldcat.
*    w_fieldcat-fieldname = 'CHECKBOX'.
*    w_fieldcat-checkbox = 'X'.
*    w_fieldcat-key = 'X'.
*    w_fieldcat-outputlen = 2.
*    w_fieldcat-seltext_l = 'Selection Indicator'.
*    w_fieldcat-col_pos = 1.
*    w_fieldcat-edit = 'X'.
*    APPEND w_fieldcat TO t_fieldcat.                        " index 1.

** Add the checkbox as the box field name in the layout.
  g_layout-box_fieldname = 'CHECKBOX'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2008 21:17:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols/m-p/4441520#M1053715</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-18T21:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using Field symbols</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols/m-p/4441521#M1053716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankyou very much. Now no dump, it is giving me output. But after the output not able to get the checked records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the modified code. Anything should I change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM alv_output.&lt;/P&gt;&lt;P&gt;  clear t_fieldcat.&lt;/P&gt;&lt;P&gt;  refresh t_fieldcat.&lt;/P&gt;&lt;P&gt;  clear pfkey.&lt;/P&gt;&lt;P&gt;  g_repid = sy-repid.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      i_program_name         = g_repid&lt;/P&gt;&lt;P&gt;      i_internal_tabname     = 'ITAB'&lt;/P&gt;&lt;P&gt;      i_inclname             = g_repid&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      ct_fieldcat            = t_fieldcat[]&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      inconsistent_interface = 1&lt;/P&gt;&lt;P&gt;      program_error          = 2&lt;/P&gt;&lt;P&gt;      OTHERS                 = 3.&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;    EXIT.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    CLEAR w_fieldcat-key.&lt;/P&gt;&lt;P&gt;    MODIFY t_fieldcat  FROM w_fieldcat TRANSPORTING key WHERE key = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CLEAR w_fieldcat.&lt;/P&gt;&lt;P&gt;**Comment the checkbox column in the field catalog.&lt;/P&gt;&lt;P&gt;**Add checkbox to the Field Catalog&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   w_fieldcat-fieldname = 'CHECKBOX'. "CHECKBOX&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   w_fieldcat-checkbox = 'X'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   w_fieldcat-key = 'X'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   w_fieldcat-outputlen = 2.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   w_fieldcat-seltext_l = 'Selection Indicator'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   w_fieldcat-col_pos = 1.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   w_fieldcat-edit = 'X'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   APPEND w_fieldcat TO t_fieldcat.                        " index 1.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   CLEAR w_fieldcat.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;Add the checkbox as the box field name in the layout.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;    g_layout-box_fieldname = 'CHECKBOX'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Add the right descriptions&lt;/P&gt;&lt;P&gt;    w_fieldcat-col_pos = 2.&lt;/P&gt;&lt;P&gt;    modify t_fieldcat from w_fieldcat transporting col_pos&lt;/P&gt;&lt;P&gt;    where fieldname = 'KUNNR'.&lt;/P&gt;&lt;P&gt;    clear w_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    w_fieldcat-seltext_l = 'Customer Name'.&lt;/P&gt;&lt;P&gt;    w_fieldcat-col_pos = 3.&lt;/P&gt;&lt;P&gt;    MODIFY t_fieldcat FROM w_fieldcat TRANSPORTING seltext_l col_pos&lt;/P&gt;&lt;P&gt;    WHERE fieldname = 'NAME1'.&lt;/P&gt;&lt;P&gt;    CLEAR w_fieldcat.&lt;/P&gt;&lt;P&gt;    w_fieldcat-col_pos = 4.&lt;/P&gt;&lt;P&gt;    w_fieldcat-seltext_l = 'Net Sales'.&lt;/P&gt;&lt;P&gt;    MODIFY t_fieldcat FROM w_fieldcat TRANSPORTING seltext_l col_pos&lt;/P&gt;&lt;P&gt;    WHERE fieldname = 'NETWR'.&lt;/P&gt;&lt;P&gt;    CLEAR w_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Veni.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2008 21:43:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols/m-p/4441521#M1053716</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-18T21:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using Field symbols</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols/m-p/4441522#M1053717</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;In the user command subroutine just loop at the internal table ITAB ...WHERE CHECKBOX = 'X'...to get the records that are checked..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2008 22:09:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols/m-p/4441522#M1053717</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-18T22:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using Field symbols</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols/m-p/4441523#M1053718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It was not reading the Custnum properly. I fixed it now and working fine. I really appriciate all your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; move sy-lisel+4(14) to ftab-kunnr.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  move sy-lisel+3(13) to ftab-kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Veni.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form user_command using r_ucomm like sy-ucomm&lt;/P&gt;&lt;P&gt;                        rs_selfield type slis_selfield.&lt;/P&gt;&lt;P&gt;  pfkey = sy-pfkey.&lt;/P&gt;&lt;P&gt;  clear sy-pfkey.&lt;/P&gt;&lt;P&gt;  case r_ucomm.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;   WHEN 'SALE'.&lt;/P&gt;&lt;P&gt;      SET PF-STATUS 'NORM1'.&lt;/P&gt;&lt;P&gt;      PERFORM display_data.&lt;/P&gt;&lt;P&gt;      CLEAR: vbpa, vbrk.&lt;/P&gt;&lt;P&gt;      LOOP AT ftab.&lt;/P&gt;&lt;P&gt;        IF ftab-ind = 'X'.&lt;/P&gt;&lt;P&gt;          SKIP.&lt;/P&gt;&lt;P&gt;          ULINE (33).&lt;/P&gt;&lt;P&gt;          FORMAT COLOR COL_HEADING ON.&lt;/P&gt;&lt;P&gt;          WRITE: /01 sy-vline,&lt;/P&gt;&lt;P&gt;                  02 'Sales for Customer:', ftab-kunnr, sy-vline.&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;FORM display_data.&lt;/P&gt;&lt;P&gt;  cnt1 = 4.&lt;/P&gt;&lt;P&gt;  ipage = 1.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; move sy-lisel+4(14) to ftab-kunnr.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  move sy-lisel+3(13) to ftab-kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ftab-ind = 'X'.&lt;/P&gt;&lt;P&gt;  append ftab.&lt;/P&gt;&lt;P&gt;  CLEAR ftab.&lt;/P&gt;&lt;P&gt;ENDFORM.                    "display_data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2008 22:22:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols/m-p/4441523#M1053718</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-18T22:22:11Z</dc:date>
    </item>
  </channel>
</rss>

