<?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 display in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/1488696#M227669</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The DO_SUM is enabled for the fields. This is how it is calculating subtotals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR LS_FIELDCAT.&lt;/P&gt;&lt;P&gt;  LS_FIELDCAT-FIELDNAME    = 'SEATSOCC'.&lt;/P&gt;&lt;P&gt;  LS_FIELDCAT-DO_SUM       = 'X'.&lt;/P&gt;&lt;P&gt;  APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  CLEAR LS_FIELDCAT.&lt;/P&gt;&lt;P&gt;  LS_FIELDCAT-FIELDNAME    = 'PRICE'.&lt;/P&gt;&lt;P&gt;  LS_FIELDCAT-DO_SUM       = 'X'.&lt;/P&gt;&lt;P&gt;  APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Aug 2006 21:32:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-30T21:32:16Z</dc:date>
    <item>
      <title>ALV display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/1488694#M227667</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 need some details regarding the standard program BALVST03_GRID below it is showing the Currency wise subtotal. I tried to get the logic how it is working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody explain me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pavan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2006 21:11:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/1488694#M227667</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-30T21:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: ALV display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/1488695#M227668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While building the layout at&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM E05_LAYOUT_BUILD USING GS_LAYOUT.     &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if we pass,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E05_LS_LAYOUT-no_totalline = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then the subtotal will not be displayed by default.&lt;/P&gt;&lt;P&gt;Since no_totalline was set to initial, it is displaying the subtotal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: Award points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2006 21:27:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/1488695#M227668</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-30T21:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: ALV display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/1488696#M227669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The DO_SUM is enabled for the fields. This is how it is calculating subtotals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR LS_FIELDCAT.&lt;/P&gt;&lt;P&gt;  LS_FIELDCAT-FIELDNAME    = 'SEATSOCC'.&lt;/P&gt;&lt;P&gt;  LS_FIELDCAT-DO_SUM       = 'X'.&lt;/P&gt;&lt;P&gt;  APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  CLEAR LS_FIELDCAT.&lt;/P&gt;&lt;P&gt;  LS_FIELDCAT-FIELDNAME    = 'PRICE'.&lt;/P&gt;&lt;P&gt;  LS_FIELDCAT-DO_SUM       = 'X'.&lt;/P&gt;&lt;P&gt;  APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2006 21:32:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/1488696#M227669</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-30T21:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: ALV display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/1488697#M227670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i didn't see the example prog..but i will try to explain how total and subtotals works in alv&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are two ways to get total for fields(columns)&lt;/P&gt;&lt;P&gt;1. fieldcatlog&lt;/P&gt;&lt;P&gt;   set the do_sum to X to get total for that particular field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. layout:&lt;/P&gt;&lt;P&gt;     if you want total for numc type fields just pass X to numc_sum in your layout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. if you want subtotal for a particular field then you have to pass sort table to your fm reuse....display.&lt;/P&gt;&lt;P&gt;in that table you have mention field and sub_tot = X and sorting order&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then it will give subtotal for that field&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2006 23:25:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/1488697#M227670</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-30T23:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: ALV display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/1488698#M227671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in your example&lt;/P&gt;&lt;P&gt;you can see passing sorting table GT_SORT to reuse_....grid function module...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just copy that program to one z program and commet and gt_sort parameter and then check...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please award points if it is helpful to you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2006 23:33:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/1488698#M227671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-30T23:33:45Z</dc:date>
    </item>
  </channel>
</rss>

