<?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 Dynamic column heading in editable ALV in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-column-heading-in-editable-alv/m-p/9280903#M1723991</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 am using editable ALV.&lt;/P&gt;&lt;P&gt;code for field catalog is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; gs_fldcat&lt;SPAN class="L0S70"&gt;-fieldname &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'ZZYEAR4'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; gs_fldcat&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;tabname &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'ITAB'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; gs_fldcat&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;ref_fieldname &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'ZZYEAR4'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; gs_fldcat&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;ref_tabname &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'ZFI_FISCAL_YR'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; gs_fldcat&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;col_pos &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;1&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; gs_fldcat&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;seltext_m &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;fy1&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; gs_fldcat&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;edit &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'X'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; gs_fldcat&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;do_sum &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'X'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;append &lt;/SPAN&gt;gs_fldcat &lt;SPAN class="L0S52"&gt;to &lt;/SPAN&gt;gt_fldcat&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;clear &lt;/SPAN&gt;gs_fldcat&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;Based on some logic column header must be dynamically set for this i am passing variable fy1 in seltext_m field.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;As the ALV is editable in column of type 'currency' I am passing reference table and field name.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;Problem is ALV is now displaying with text as maintained in reference field but not as in seltext_m field.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;How can I maintain dynamic column headers.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;Please help.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Mar 2013 12:12:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-03-07T12:12:26Z</dc:date>
    <item>
      <title>Dynamic column heading in editable ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-column-heading-in-editable-alv/m-p/9280903#M1723991</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 am using editable ALV.&lt;/P&gt;&lt;P&gt;code for field catalog is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; gs_fldcat&lt;SPAN class="L0S70"&gt;-fieldname &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'ZZYEAR4'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; gs_fldcat&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;tabname &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'ITAB'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; gs_fldcat&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;ref_fieldname &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'ZZYEAR4'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; gs_fldcat&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;ref_tabname &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'ZFI_FISCAL_YR'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; gs_fldcat&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;col_pos &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;1&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; gs_fldcat&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;seltext_m &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;fy1&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; gs_fldcat&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;edit &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'X'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; gs_fldcat&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;do_sum &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'X'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;append &lt;/SPAN&gt;gs_fldcat &lt;SPAN class="L0S52"&gt;to &lt;/SPAN&gt;gt_fldcat&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;clear &lt;/SPAN&gt;gs_fldcat&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;Based on some logic column header must be dynamically set for this i am passing variable fy1 in seltext_m field.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;As the ALV is editable in column of type 'currency' I am passing reference table and field name.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;Problem is ALV is now displaying with text as maintained in reference field but not as in seltext_m field.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;How can I maintain dynamic column headers.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;Please help.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 12:12:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-column-heading-in-editable-alv/m-p/9280903#M1723991</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-03-07T12:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic column heading in editable ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-column-heading-in-editable-alv/m-p/9280904#M1723992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you have not searched the forum correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is very basic. Why you are passing reference field and table name if you want to display as dynamic? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keep only seltext_m.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abhijit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 13:15:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-column-heading-in-editable-alv/m-p/9280904#M1723992</guid>
      <dc:creator>Abhijit74</dc:creator>
      <dc:date>2013-03-07T13:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic column heading in editable ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-column-heading-in-editable-alv/m-p/9280905#M1723993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Abhilit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for replying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am passing reference field and table because editable column in alv grid is of type currency and if I don't pass reference field and reference table then editable field is behaving strangely as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I had entered 5000 in editable cell then after pressing 'enter' it changes to 50. Due to this, logic built on this field is calculating wrong figures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I this answers your concern.&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;Shubh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 14:38:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-column-heading-in-editable-alv/m-p/9280905#M1723993</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-03-07T14:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic column heading in editable ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-column-heading-in-editable-alv/m-p/9280906#M1723994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using field COLTEXT of fieldcatelog&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 15:04:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-column-heading-in-editable-alv/m-p/9280906#M1723994</guid>
      <dc:creator>Pawan_Kesari</dc:creator>
      <dc:date>2013-03-07T15:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic column heading in editable ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-column-heading-in-editable-alv/m-p/9280907#M1723995</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;Don't give reference field name and reference table name instead of this use field name and Tabname (Your final output table which will be used in Reuse_alv_grid_display or Reuse_alv_list_display). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ls_fieldcat-fieldname = 'Your field Name".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ls_fieldcat-tabname&amp;nbsp;&amp;nbsp; = 'Final Table' .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ls_fieldcat-scrtext_l =&amp;nbsp; text-027.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;APPEND &lt;/SPAN&gt;ls_fieldcat &lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;gt_fieldcat.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CLEAR &lt;/SPAN&gt;ls_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnaks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abhijit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 06:39:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-column-heading-in-editable-alv/m-p/9280907#M1723995</guid>
      <dc:creator>Abhijit74</dc:creator>
      <dc:date>2013-03-08T06:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic column heading in editable ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-column-heading-in-editable-alv/m-p/9280908#M1723996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shubham,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you using two fieldcatalog ?i.e. &lt;/P&gt;&lt;P&gt;-&amp;gt; First one to add all the dynamic data to be shown fieldcatalog,and then reuse inorder to create&lt;/P&gt;&lt;P&gt;dynamic internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt;Second one to use in REUSE_ALV_GRID_DISPLAY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are doing so,then might be you have misse to append scrtext_m ,to second fieldcatalog from first fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Roma Jhamb&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2013 11:31:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-column-heading-in-editable-alv/m-p/9280908#M1723996</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-03-12T11:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic column heading in editable ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-column-heading-in-editable-alv/m-p/9280909#M1723997</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;Field scrtext_l is not present in field catalog table. I am using SLIS_T_FIELDCAT_ALV as a table type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found the solution,actually I was passing values to only seltext_m, but values need to be passed to seltext_l,seltext_m,_seltext_s,reptext_ddic&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;Shubh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2013 15:38:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-column-heading-in-editable-alv/m-p/9280909#M1723997</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-03-13T15:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic column heading in editable ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-column-heading-in-editable-alv/m-p/9280910#M1723998</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;It was a printing mistake. it was seltext_l.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abhijit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2013 07:19:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-column-heading-in-editable-alv/m-p/9280910#M1723998</guid>
      <dc:creator>Abhijit74</dc:creator>
      <dc:date>2013-03-14T07:19:12Z</dc:date>
    </item>
  </channel>
</rss>

