<?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: Dynamically grouping identical rows in internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-grouping-identical-rows-in-internal-table/m-p/3882365#M932962</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do that with 2 differents ways :&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;by creating a colomn key which is the concatenation of the key for each lin&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;by using field groups&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I think you have to use the second one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[sample by help|http://help.sap.com/saphelp_nw70/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case you can put dynamiquely what are you wanted in your keys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Christophe.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jun 2008 11:01:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-04T11:01:39Z</dc:date>
    <item>
      <title>Dynamically grouping identical rows in internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-grouping-identical-rows-in-internal-table/m-p/3882364#M932961</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 have a typical scenario where in I have to compare rows of internal table with certain set of fields.If the values are same they would be grouped into one item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For eg. there is an internal table where I have fields like BP number , Location , Site, Customer, Serial no. etc.&lt;/P&gt;&lt;P&gt;Now with the BP no. there is a rule attached and that rule determines with what set of fields we need to group the line items.&lt;/P&gt;&lt;P&gt;Say with BP 1 the rule is R1 and as per that we have to compare only values of fields location and site .If its true we will club all the similar line items.&lt;/P&gt;&lt;P&gt;Now with BP2 the rule is R2 where we have to compary values in iternal table with fields Location , customer and serial no. So then we need to compare these three fields for clubbing similar records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The internal table can have data for no. of different BP's and the data is sorted but its structure is static.&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2008 09:01:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-grouping-identical-rows-in-internal-table/m-p/3882364#M932961</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-04T09:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically grouping identical rows in internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-grouping-identical-rows-in-internal-table/m-p/3882365#M932962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do that with 2 differents ways :&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;by creating a colomn key which is the concatenation of the key for each lin&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;by using field groups&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I think you have to use the second one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[sample by help|http://help.sap.com/saphelp_nw70/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case you can put dynamiquely what are you wanted in your keys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Christophe.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2008 11:01:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-grouping-identical-rows-in-internal-table/m-p/3882365#M932962</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-04T11:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically grouping identical rows in internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-grouping-identical-rows-in-internal-table/m-p/3882366#M932963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you give an example how it can be done using field-groups.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2008 04:43:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-grouping-identical-rows-in-internal-table/m-p/3882366#M932963</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-05T04:43:40Z</dc:date>
    </item>
  </channel>
</rss>

