<?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: Subtotal in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/subtotal/m-p/3133240#M744437</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tobias,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try replacing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;wa_sort-fieldname = 'SALDO'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;wa_sort-fieldname = 'PARTNER'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The totals on Verb, Ford and Saldo you activate by setting DO_SUM = 'X' for these fields in IT_FIELDCAT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Dec 2007 13:24:38 GMT</pubDate>
    <dc:creator>ThomasZloch</dc:creator>
    <dc:date>2007-12-12T13:24:38Z</dc:date>
    <item>
      <title>Subtotal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subtotal/m-p/3133239#M744436</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've got to make a report with subtotal for each partner.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my table looks like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Partner |   Vertrag  |   Verb  |   Ford  |  Saldo&lt;/P&gt;&lt;P&gt; A1           12345       -250         0          0&lt;/P&gt;&lt;P&gt; A1           23456          0        500        250&lt;/P&gt;&lt;P&gt; A2           46798        -125       0           0 &lt;/P&gt;&lt;P&gt; A2           45123        -75         0           0 &lt;/P&gt;&lt;P&gt; A2           45678          0        150        -50 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and so on.&lt;/P&gt;&lt;P&gt;so the subtotal shoul stand in the Saldo-field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried it so&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CLEAR wa_sort.
  wa_sort-fieldname = 'SALDO'.
  wa_sort-up        = 'X'.
  wa_sort-subtot    = 'X'.
  APPEND wa_sort TO itab_sort.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i only get a subtotal for the field ford, but i need it for both fields, verb and ford and the result should stand in saldo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope someone has a good idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 13:12:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subtotal/m-p/3133239#M744436</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-12T13:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Subtotal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subtotal/m-p/3133240#M744437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tobias,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try replacing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;wa_sort-fieldname = 'SALDO'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;wa_sort-fieldname = 'PARTNER'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The totals on Verb, Ford and Saldo you activate by setting DO_SUM = 'X' for these fields in IT_FIELDCAT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 13:24:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subtotal/m-p/3133240#M744437</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2007-12-12T13:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: Subtotal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subtotal/m-p/3133241#M744438</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;Chnage the code as below :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  CLEAR wa_sort.
  wa_sort-fieldname = 'PARTNER'.     "Change the code 
  wa_sort-up        = 'X'.
  wa_sort-subtot    = 'X'.
  APPEND wa_sort TO itab_sort.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram Ponna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 13:32:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subtotal/m-p/3133241#M744438</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-12T13:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: Subtotal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subtotal/m-p/3133242#M744439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so the report should look like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i only get the totalsum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;GS	Name	BuKr	Ges	Forderung	Verbindlichkeit	Saldo Agt.
						
001	Pfefferminzia	1010	MVG	3.000,00 		
		        1041	MSV		  -1.500,00 	1.500,00 
						
001	Musterimus	1010	MVG		  -1.000,00 	
		        1012	MKV		  -2.000,00 	
		        1030	VSC	500,00 		        -2.500,00 
						
	GS-Summe			3.500,00  -4.500,00 	-1.000,00 
						
002	Beispieleria	1010	MVG	10.000,00 		10.000,00 
						
	GS-Summe			10.000,00 	0,00 	10.000,00 
						
	Gesamtsumme			13.500,00 -4.500,00 	9.000,00 
						
	Summen je Gesellschaft	MVG	13.000,00  -1.000,00 	12.000,00 
			        MSV	   0,00    -1.500,00    -1.500,00 
			        MKV	   0,00    -2.000,00    -2.000,00 
			        VCS	   500,00 	 0,00  	  500,00 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope someone has a good idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards, &lt;/P&gt;&lt;P&gt;tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 14:26:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subtotal/m-p/3133242#M744439</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-12T14:26:59Z</dc:date>
    </item>
  </channel>
</rss>

