<?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: Alv text display in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-text-display/m-p/5564148#M1269462</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;answered&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Jul 2009 05:43:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-24T05:43:23Z</dc:date>
    <item>
      <title>Alv text display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-text-display/m-p/5564146#M1269460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi expert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In alv report totals are displayed as "TOTAL", And i need to display grand total as "GRAND TOTAL" as a text, but it over write the text as "TOTAL" as "GRAND TOTAL".&lt;/P&gt;&lt;P&gt;I will write the code below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM subtotal_text CHANGING p_total TYPE any&lt;/P&gt;&lt;P&gt;p_subtot_text TYPE slis_subtot_text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: text TYPE string.&lt;/P&gt;&lt;P&gt;data: v_len type i,&lt;/P&gt;&lt;P&gt;V_LINE TYPE I.&lt;/P&gt;&lt;P&gt;v_len = lines( it_output ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF p_subtot_text-criteria = 'LIFNR'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT it_output INTO wa_output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ON CHANGE OF wa_output-lifnr.&lt;/P&gt;&lt;P&gt;CONCATENATE wa_output-name 'TOTAL' INTO text SEPARATED BY SPACE.&lt;/P&gt;&lt;P&gt;p_subtot_text-display_text_for_subtotal = text.&lt;/P&gt;&lt;P&gt;CLEAR text.&lt;/P&gt;&lt;P&gt; ENDON.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if sy-index = v_len.&lt;/P&gt;&lt;P&gt; p_subtot_text-display_text_for_subtotal = 'GRAND TOTAL'.&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Thank you,&lt;/P&gt;&lt;P&gt; Dinesh.B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2009 11:20:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-text-display/m-p/5564146#M1269460</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-13T11:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Alv text display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-text-display/m-p/5564147#M1269461</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;you can populate the text in the field catalog&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the sample code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_layout-zebra = 'X'.&lt;/P&gt;&lt;P&gt;  wa_layout-subtotals_text = 'Subtotals'&lt;/P&gt;&lt;P&gt;  wa_layout-totals_text = 'Grandtotals'&lt;/P&gt;&lt;P&gt;  wa_layout-numc_sum = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and call the fm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2009 11:29:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-text-display/m-p/5564147#M1269461</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-13T11:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Alv text display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-text-display/m-p/5564148#M1269462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;answered&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2009 05:43:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-text-display/m-p/5564148#M1269462</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-24T05:43:23Z</dc:date>
    </item>
  </channel>
</rss>

