<?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: Using REUSE_ALV_GRID_DISPLAY function module to display subtotal text in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-reuse-alv-grid-display-function-module-to-display-subtotal-text/m-p/3092200#M733462</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;Use this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;layout-subtotals_text = 'U r Text'.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Rgds,&lt;/P&gt;&lt;P&gt;S.Barani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Nov 2007 04:21:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-23T04:21:36Z</dc:date>
    <item>
      <title>Using REUSE_ALV_GRID_DISPLAY function module to display subtotal text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-reuse-alv-grid-display-function-module-to-display-subtotal-text/m-p/3092198#M733460</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;I managed to display the subtotal but now I need to display subtotal caption / text beside it... example:&lt;/P&gt;&lt;P&gt;Subtotal Consumption (USD) : 1000.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I managed to get the subtotal 1000.00...How do I display the caption / text 'Subtotal Consumption (USD)'?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help...Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2007 03:49:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-reuse-alv-grid-display-function-module-to-display-subtotal-text/m-p/3092198#M733460</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-23T03:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Using REUSE_ALV_GRID_DISPLAY function module to display subtotal text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-reuse-alv-grid-display-function-module-to-display-subtotal-text/m-p/3092199#M733461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;     In the layout varaible &lt;/P&gt;&lt;P&gt;     layout-subtotals_text = 'Subtotal text'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Santosh Thorat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2007 04:01:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-reuse-alv-grid-display-function-module-to-display-subtotal-text/m-p/3092199#M733461</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-23T04:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Using REUSE_ALV_GRID_DISPLAY function module to display subtotal text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-reuse-alv-grid-display-function-module-to-display-subtotal-text/m-p/3092200#M733462</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;Use this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;layout-subtotals_text = 'U r Text'.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Rgds,&lt;/P&gt;&lt;P&gt;S.Barani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2007 04:21:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-reuse-alv-grid-display-function-module-to-display-subtotal-text/m-p/3092200#M733462</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-23T04:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Using REUSE_ALV_GRID_DISPLAY function module to display subtotal text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-reuse-alv-grid-display-function-module-to-display-subtotal-text/m-p/3092201#M733463</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 like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    wa_layout-subtotals_text = 'Subtotal'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2007 04:44:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-reuse-alv-grid-display-function-module-to-display-subtotal-text/m-p/3092201#M733463</guid>
      <dc:creator>former_member386202</dc:creator>
      <dc:date>2007-11-23T04:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Using REUSE_ALV_GRID_DISPLAY function module to display subtotal text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-reuse-alv-grid-display-function-module-to-display-subtotal-text/m-p/3092202#M733464</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;code.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------" /&gt;&lt;P&gt;wa_layout-zebra = 'X'.&lt;/P&gt;&lt;P&gt;wa_layout-subtotals_text = 'Total'.&lt;/P&gt;&lt;P&gt;wa_layout-totals_text = 'Sum of Marks'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;alv statement.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------" /&gt;&lt;P&gt;is_layout = wa_layout&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declaration.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------" /&gt;&lt;P&gt;DATA : wa_layout type slis_layout_alv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg:2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this one&lt;/P&gt;&lt;P&gt;form build_layout.&lt;/P&gt;&lt;P&gt;gd_layout-no_input = 'X'.&lt;/P&gt;&lt;P&gt;gd_layout-colwidth_optimize = 'X'.&lt;/P&gt;&lt;P&gt;gd_layout-totals_text = 'Totals'(201).&lt;/P&gt;&lt;P&gt;endform. " BUILD_LAYOUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check this sample program&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/reporting/alv/alvlist_code.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/reporting/alv/alvlist_code.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2007 05:09:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-reuse-alv-grid-display-function-module-to-display-subtotal-text/m-p/3092202#M733464</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-23T05:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: Using REUSE_ALV_GRID_DISPLAY function module to display subtotal text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-reuse-alv-grid-display-function-module-to-display-subtotal-text/m-p/3092203#M733465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;Thanks for the reply...&lt;/P&gt;&lt;P&gt;I have tried it before I post this message but I cannot get the desired output.&lt;/P&gt;&lt;P&gt;DATA g_layout           TYPE slis_layout_alv.&lt;/P&gt;&lt;P&gt;  CLEAR g_layout.&lt;/P&gt;&lt;P&gt;  g_layout-colwidth_optimize   = ' '.&lt;/P&gt;&lt;P&gt;  g_layout-f2code              = '&amp;amp;ETA'.&lt;/P&gt;&lt;P&gt;  g_layout-zebra               = 'X'.&lt;/P&gt;&lt;P&gt;  g_layout-detail_popup        = 'X'.&lt;/P&gt;&lt;P&gt;  g_layout-get_selinfos        = 'X'.&lt;/P&gt;&lt;P&gt;  g_layout-cell_merge          = 'X'.&lt;/P&gt;&lt;P&gt;  g_layout-reprep              = 'X'.&lt;/P&gt;&lt;P&gt;  g_layout-no_subtotals        = ' '.&lt;/P&gt;&lt;P&gt;  g_layout-colwidth_optimize = 'X'.&lt;/P&gt;&lt;P&gt;  g_layout-subtotals_text = 'Test subtotal text'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      i_interface_check  = ' '&lt;/P&gt;&lt;P&gt;      i_callback_program = g_repid&lt;/P&gt;&lt;P&gt;      is_layout          = g_layout&lt;/P&gt;&lt;P&gt;      it_fieldcat        = gt_fieldcat&lt;/P&gt;&lt;P&gt;      it_sort            = gt_sort[]&lt;/P&gt;&lt;P&gt;      i_save             = g_variant_save&lt;/P&gt;&lt;P&gt;      is_variant         = g_def_variant&lt;/P&gt;&lt;P&gt;      it_events          = gt_events&lt;/P&gt;&lt;P&gt;      is_print           = g_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;&lt;/P&gt;&lt;P&gt;Please advice...Thanks....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2007 05:13:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-reuse-alv-grid-display-function-module-to-display-subtotal-text/m-p/3092203#M733465</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-23T05:13:30Z</dc:date>
    </item>
  </channel>
</rss>

