<?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: How to insert sub-total inside the internal table data. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-sub-total-inside-the-internal-table-data/m-p/5893205#M1326754</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sarves,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is ok &lt;/P&gt;&lt;P&gt;But we can't use &lt;STRONG&gt;at new statement&lt;/STRONG&gt; as  i want the sum of emp group 1 ,2 at one place ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More over how to insert only total field to be filled rest of fields should be empty &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;sas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jul 2009 05:40:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-14T05:40:56Z</dc:date>
    <item>
      <title>How to insert sub-total inside the internal table data.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-sub-total-inside-the-internal-table-data/m-p/5893203#M1326752</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;&lt;/P&gt;&lt;P&gt;I am little confused with this below issue...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to insert the sub-total inside the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For ex: in the below code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are 3 data Personnel number , Employee gorup , Total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So output  of this data&lt;/P&gt;&lt;P&gt;ex:  &lt;/P&gt;&lt;P&gt;perrn empgrp total&lt;/P&gt;&lt;P&gt;1         1            1&lt;/P&gt;&lt;P&gt;2         1            1&lt;/P&gt;&lt;P&gt;3         2            1&lt;/P&gt;&lt;P&gt;4         3            1&lt;/P&gt;&lt;P&gt;5         3            1 &lt;/P&gt;&lt;P&gt;6         4            1&lt;/P&gt;&lt;P&gt;7         4           1 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reuirement is to display the total for empgroup 1-2 , 3 , 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so now we want to loop the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perrn empgrp total&lt;/P&gt;&lt;P&gt;1         1            1&lt;/P&gt;&lt;P&gt;2         1            1&lt;/P&gt;&lt;P&gt;3         2            1&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        *              3-&amp;gt; Addition of Emp gorup 1 &amp;amp; 2&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;4         3            1&lt;/P&gt;&lt;P&gt;5         3            1 &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        *              2-&amp;gt;Addition of Emp Group 3 &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;6         4            1&lt;/P&gt;&lt;P&gt;7         4            1 &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         *            2 -&amp;gt; Addition of emp Group 4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to add based on 2 emp gorups and how to insert in between the internal table ...Please any advice?&lt;/P&gt;&lt;P&gt;Just have a condition that should not use another internal table.&lt;/P&gt;&lt;P&gt;and Please conside that * as space .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
For ex: 
REPORT YTEST_XLS_COL LINE-SIZE 300.
TABLES: PERNR.
INFOTYPES: 0001.
DATA: BEGIN OF ITAB OCCURS 1,
PERNR TYPE PERNR,
EG TYPE P0001-PERSG,
TOTAL TYPE I,
END OF ITAB.

START-OF-SELECTION.
GET PERNR.
RP_PROVIDE_FROM_LAST P0001 SPACE PN-BEGDA PN-ENDDA.
MOVE PERNR-PERNR TO ITAB-PERNR.
MOVE P0001-PERSG TO ITAB-EG.
CLEAR ITAB-TOTAL.
ITAB-TOTAL = ITAB-TOTAL + 1.
APPEND ITAB.

END-OF-SELECTION.
SORT ITAB BY EG .
LOOP AT ITAB.
WRITE: / ITAB-PERNR ,20 ITAB-EG ,25 ITAB-TOTAL.
ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 05:23:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-sub-total-inside-the-internal-table-data/m-p/5893203#M1326752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-14T05:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert sub-total inside the internal table data.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-sub-total-inside-the-internal-table-data/m-p/5893204#M1326753</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;Did you try using SUM statement.&lt;/P&gt;&lt;P&gt;Find the Help of [SUM|http://help.sap.com/saphelp_nw04/helpdata/EN/fc/eb381a358411d1829f0000e829fbfe/content.htm]. I think this should resolve the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sarves&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 05:36:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-sub-total-inside-the-internal-table-data/m-p/5893204#M1326753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-14T05:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert sub-total inside the internal table data.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-sub-total-inside-the-internal-table-data/m-p/5893205#M1326754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sarves,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is ok &lt;/P&gt;&lt;P&gt;But we can't use &lt;STRONG&gt;at new statement&lt;/STRONG&gt; as  i want the sum of emp group 1 ,2 at one place ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More over how to insert only total field to be filled rest of fields should be empty &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;sas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 05:40:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-sub-total-inside-the-internal-table-data/m-p/5893205#M1326754</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-14T05:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert sub-total inside the internal table data.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-sub-total-inside-the-internal-table-data/m-p/5893206#M1326755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi i have &lt;STRONG&gt;corrected and tested&lt;/STRONG&gt; your code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use this code,did according to your logic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; 
END-OF-SELECTION.
SORT ITAB BY EG .
data: tot type i.
data: tabix type sy-tabix.
clear tot.
loop at itab.
tot = tot + itab-total.
at end of eg.
if itab-eg ne 1.
  itab-total = tot.
  tabix = sy-tabix + 1.
insert itab index tabix.
clear tot.
endif.
endat.
endloop.

LOOP AT ITAB.
WRITE: / ITAB-PERNR ,20 ITAB-EG ,25 ITAB-TOTAL.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sajid&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: shaik sajid on Jul 14, 2009 7:46 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: shaik sajid on Jul 14, 2009 8:17 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 05:46:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-sub-total-inside-the-internal-table-data/m-p/5893206#M1326755</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-14T05:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert sub-total inside the internal table data.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-sub-total-inside-the-internal-table-data/m-p/5893207#M1326756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, SAS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Test the following Sample Code it is working fine and hope will solve out your problem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TYPES:  BEGIN OF ty,
        persg LIKE pa0001-persg, " persg must be left most
        pernr LIKE pa0001-pernr,
        amount TYPE i,
        END OF ty.

DATA: it1 TYPE STANDARD TABLE OF ty,
      it2 TYPE STANDARD TABLE OF ty,
      wa LIKE LINE OF it1.

wa-persg = '1'. wa-pernr = '1'. wa-amount = 1234. APPEND wa TO it1.
wa-persg = '2'. wa-pernr = '2'. wa-amount = 10.   APPEND wa TO it1.
wa-persg = '3'. wa-pernr = '3'. wa-amount = 15.   APPEND wa TO it1.
wa-persg = '3'. wa-pernr = '4'. wa-amount = 2343. APPEND wa TO it1.
wa-persg = '4'. wa-pernr = '5'. wa-amount = 1000. APPEND wa TO it1.
wa-persg = '4'. wa-pernr = '6'. wa-amount = 1000. APPEND wa TO it1.

SORT: it1 BY persg.

LOOP AT it1 INTO wa WHERE persg = 1 OR persg = 2.
  wa-persg = '1'. " because we Need 1 and 2 togather
  MODIFY: it1 FROM wa INDEX sy-tabix.
ENDLOOP.

LOOP AT it1 INTO wa.
  APPEND wa TO it2.
  AT END OF persg.
    SUM.
    wa-pernr = '99999999'.
    APPEND: wa TO it2.
  ENDAT.
ENDLOOP.

LOOP AT it2 INTO wa.
  IF wa-pernr &amp;lt;&amp;gt; '99999999'.
    WRITE: / wa-persg, wa-amount.
  ELSE.
    WRITE: /1(7) 'Sub T', 8 wa-amount LEFT-JUSTIFIED.
  ENDIF.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Reply if any Issue,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 05:48:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-sub-total-inside-the-internal-table-data/m-p/5893207#M1326756</guid>
      <dc:creator>faisalatsap</dc:creator>
      <dc:date>2009-07-14T05:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert sub-total inside the internal table data.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-sub-total-inside-the-internal-table-data/m-p/5893208#M1326757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not possible to do that in internal table level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 05:48:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-sub-total-inside-the-internal-table-data/m-p/5893208#M1326757</guid>
      <dc:creator>former_member206439</dc:creator>
      <dc:date>2009-07-14T05:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert sub-total inside the internal table data.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-sub-total-inside-the-internal-table-data/m-p/5893209#M1326758</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;Add another field with name total ,make use of control break statement AT END OF field(in your case field is  employee group).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In side this control bake statement sum up the employee group and pass the value to total in the work area of the internal table and modify the in ternal using the work area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you will the  sub total inside the internal table .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solution should solve the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhava&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 05:59:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-sub-total-inside-the-internal-table-data/m-p/5893209#M1326758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-14T05:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert sub-total inside the internal table data.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-sub-total-inside-the-internal-table-data/m-p/5893210#M1326759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Hi i have &lt;STRONG&gt;corrected and tested&lt;/STRONG&gt; your code.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; You can use this code,did according to your logic&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;/CODE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;CODE&gt; 
&amp;gt; END-OF-SELECTION.
&amp;gt; SORT ITAB BY EG .
&amp;gt; data: tot type i.
&amp;gt; data: tabix type sy-tabix.
&amp;gt; clear tot.
&amp;gt; loop at itab.
&amp;gt; tot = tot + itab-total.
&amp;gt; at end of eg.
&amp;gt; if itab-eg ne 1.
&amp;gt;   itab-total = tot.
&amp;gt;   tabix = sy-tabix + 1.
&amp;gt; insert itab index tabix.
&amp;gt; clear tot.
&amp;gt; endif.
&amp;gt; endat.
&amp;gt; endloop.
&amp;gt; 
&amp;gt; LOOP AT ITAB.
&amp;gt; WRITE: / ITAB-PERNR ,20 ITAB-EG ,25 ITAB-TOTAL.
&amp;gt; ENDLOOP.&lt;/CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Regards&lt;/P&gt;&lt;P&gt;&amp;gt; Sajid&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;HI Shaid,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This solution is providing dump at the insert buton please provide the alternate solution &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as this is not only restricted to emp group 1-2 one categaroy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;actually the requriment is that emp gorup 1-2 , 3 , 4-12 is the exact requirement ....Solution still pending !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 07:51:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-sub-total-inside-the-internal-table-data/m-p/5893210#M1326759</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-14T07:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert sub-total inside the internal table data.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-sub-total-inside-the-internal-table-data/m-p/5893211#M1326760</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 it now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT YTEST_XLS_COL LINE-SIZE 300.

TABLES: PERNR.
INFOTYPES: 0001.
DATA: BEGIN OF ITAB OCCURS 1,
EG TYPE P0001-PERSG,
PERNR TYPE PERNR,
TOTAL TYPE I,
END OF ITAB.

DATA: BEGIN OF ITAB_main OCCURS 1,
PERNR TYPE PERNR,
EG TYPE P0001-PERSG,
TOTAL TYPE I,
END OF ITAB_main.

data: flag,flag1.

START-OF-SELECTION.

GET PERNR.
  RP_PROVIDE_FROM_LAST P0001 SPACE PN-BEGDA PN-ENDDA.
  MOVE PERNR-PERNR TO ITAB-PERNR.
  MOVE P0001-PERSG TO ITAB-EG.
  CLEAR ITAB-TOTAL.
  ITAB-TOTAL = ITAB-TOTAL + 1.
  APPEND ITAB.
 
END-OF-SELECTION.
  SORT ITAB BY EG .
  data: tot type i.
  data: tabix type sy-tabix.
  clear tot.

  clear: flag,flag1.

  loop at itab.
    tot = tot + itab-total.
    MOVE-CORRESPONDING itab to itab_main.
    APPEND itab_main.
    at end of eg.
      if itab-eg ne '1' and flag eq ' '.
        itab_main-total = tot.
        APPEND itab_main.
        clear tot.
        flag = 'X'.
      elseif itab-eg eq '3' .
        itab_main-total = tot.
        APPEND itab_main.
        clear tot.
        flag = 'X'.
        flag1 = 'X'.
      elseif itab-eg ne '4' and itab-eg ne '5' and itab-eg ne '6' and itab-eg ne '7' and itab-eg ne '8' and itab-eg ne '9' and itab-eg ne '10' and itab-eg ne '11' and flag1 eq 'X'.
        itab_main-total = tot.
        APPEND itab_main.
        clear tot.
        flag = 'X'.
        flag1 = 'X'.
      endif.
    endat.
  endloop.

  LOOP AT ITAB_main.
    WRITE: / ITAB_main-PERNR ,20 ITAB_main-EG ,25 ITAB_main-TOTAL.
  ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sajid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 08:19:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-sub-total-inside-the-internal-table-data/m-p/5893211#M1326760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-14T08:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert sub-total inside the internal table data.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-sub-total-inside-the-internal-table-data/m-p/5893212#M1326761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;shaik,&lt;/P&gt;&lt;P&gt;Please check this once ....&lt;/P&gt;&lt;P&gt;It is coming wrong &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;sas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 08:47:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-sub-total-inside-the-internal-table-data/m-p/5893212#M1326761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-14T08:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert sub-total inside the internal table data.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-sub-total-inside-the-internal-table-data/m-p/5893213#M1326762</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;Its working correctly in my system (but may there is no enough data in my system).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you can use the code i mentioned, for the logic top work i declared one another internal table and i changed the sequence of structure in first internal table (for endat to work).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may be checking with realtime data, so u may find small bugs, so you can correct them with little change in the logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sajid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 09:18:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-sub-total-inside-the-internal-table-data/m-p/5893213#M1326762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-14T09:18:41Z</dc:date>
    </item>
  </channel>
</rss>

