<?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 output in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-output/m-p/4557086#M1075768</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try to use this code where you can display only once with the total value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   W_SORTINFO-FIELDNAME = 'MATERIAL'.&lt;/P&gt;&lt;P&gt;  W_SORTINFO-SUBTOT = 'X'.&lt;/P&gt;&lt;P&gt;  APPEND W_SORTINFO TO T_SORTINFO.&lt;/P&gt;&lt;P&gt;  CLEAR W_SORTINFO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  W_SORTINFO-FIELDNAME = 'QTY'.&lt;/P&gt;&lt;P&gt;  W_SORTINFO-SUBTOT = 'X'.&lt;/P&gt;&lt;P&gt;  APPEND W_SORTINFO TO T_SORTINFO.&lt;/P&gt;&lt;P&gt;  CLEAR W_SORTINFO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried and it is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;Cheers!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Sep 2008 16:20:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-24T16:20:55Z</dc:date>
    <item>
      <title>ALV output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-output/m-p/4557083#M1075765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following is my output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Material          Description        Qty        DeviceID

1                          A                 40            11
1                          A                 40            12
1                          A                 40            13
1                          A                 40            14&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For material "1" the quantity is 40. I dont want the quantity to be repeated. I have used SET_SORTS and SET_AGGREGATIONS also. I can i ignore this. i want to show the output for each and every material now the qty is showing as '160' instead of 40.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 15:17:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-output/m-p/4557083#M1075765</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T15:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: ALV output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-output/m-p/4557084#M1075766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using the Object Model, Any Don't opt for Totals((SET_AGGREGATIONS )) on the Qty. and Don't use Subtotal option on Material also.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 15:29:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-output/m-p/4557084#M1075766</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T15:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: ALV output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-output/m-p/4557085#M1075767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not using object model.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 15:36:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-output/m-p/4557085#M1075767</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T15:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: ALV output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-output/m-p/4557086#M1075768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try to use this code where you can display only once with the total value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   W_SORTINFO-FIELDNAME = 'MATERIAL'.&lt;/P&gt;&lt;P&gt;  W_SORTINFO-SUBTOT = 'X'.&lt;/P&gt;&lt;P&gt;  APPEND W_SORTINFO TO T_SORTINFO.&lt;/P&gt;&lt;P&gt;  CLEAR W_SORTINFO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  W_SORTINFO-FIELDNAME = 'QTY'.&lt;/P&gt;&lt;P&gt;  W_SORTINFO-SUBTOT = 'X'.&lt;/P&gt;&lt;P&gt;  APPEND W_SORTINFO TO T_SORTINFO.&lt;/P&gt;&lt;P&gt;  CLEAR W_SORTINFO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried and it is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;Cheers!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 16:20:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-output/m-p/4557086#M1075768</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T16:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: ALV output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-output/m-p/4557087#M1075769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But your terminology you are using is almost the same. Don't use SUBTOT = 'X' option. and Also Don't use DO_SUM option on the QTY column.  Populate the sort option on the QTY and Material also.&lt;/P&gt;&lt;P&gt;Then only you can get the required output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you still have the issue let me know..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 16:44:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-output/m-p/4557087#M1075769</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T16:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: ALV output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-output/m-p/4557088#M1075770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to show the total for each materials. So i have used the SET_SORTS for material. i want the aggregations for around 14 columns. So i have given the SET_AGGREGATIONS for all the 14 columns. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two internal tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I_TAB1 and I_TAB2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I_TAB1 has material and quantity&lt;/P&gt;&lt;P&gt;I_TAB2 has material and all other 14 columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i have looped the I_TAB2 and read the table I_TAB1.&lt;/P&gt;&lt;P&gt;When i pass the matnr in the I_TAB1 i am getting only one line item. Whereas when i pass matnr in I_TAB2 i am getting four line items because one matnr can have many notification numbers (table VIQMEL).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Sep 2008 04:55:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-output/m-p/4557088#M1075770</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-27T04:55:29Z</dc:date>
    </item>
  </channel>
</rss>

