<?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 Row Explode (ALV grid) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/row-explode-alv-grid/m-p/4646582#M1093582</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a table that contains rows that are aggregated of more record. This records also are aggregated. What I need is a way that clicking on a row, the row is exploded in its components, and if I click on one of the component, then this also is exploded in its components. It's a two levels of explosion of a row. I would like to know if there are some function could help me. I would like to do it in an ALV grid if possibile.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Gabriele&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Oct 2008 07:48:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-20T07:48:33Z</dc:date>
    <item>
      <title>Row Explode (ALV grid)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/row-explode-alv-grid/m-p/4646582#M1093582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a table that contains rows that are aggregated of more record. This records also are aggregated. What I need is a way that clicking on a row, the row is exploded in its components, and if I click on one of the component, then this also is exploded in its components. It's a two levels of explosion of a row. I would like to know if there are some function could help me. I would like to do it in an ALV grid if possibile.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Gabriele&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 07:48:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/row-explode-alv-grid/m-p/4646582#M1093582</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-20T07:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: Row Explode (ALV grid)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/row-explode-alv-grid/m-p/4646583#M1093583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is possible to use the ALV subtotal functionality to aggregate based on document numbers, item numbers, etc.  Your scenario sounds like it is the same in principle as a sales order-&amp;gt;item-&amp;gt;schedule line relationship.  If no suitable fields for subtotalling exist in the data you are working with then you could add some integer fields to the ALV internal table and use these for subtotalling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, you could maintain an internal table of the detailed data and aggregate into the ALV display table.  The program could then react to a double click by reading the detailed data again and not aggregating the row that was just clicked.  A description field in the ALV could be used to differentiate between aggregated and detailed rows, possibly using different numbers of asterisks; *, **, ***, etc to indicate the aggregation level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 07:59:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/row-explode-alv-grid/m-p/4646583#M1093583</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-20T07:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Row Explode (ALV grid)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/row-explode-alv-grid/m-p/4646584#M1093584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for your help,&lt;/P&gt;&lt;P&gt;can you give me some hints for setting this?&lt;/P&gt;&lt;P&gt;Can you post me some tips for set this working in the grid: I'll give you some detail; i have that complete rows are like that:&lt;/P&gt;&lt;P&gt;KSTAR |  CODSPESA | COST | OTHER_FIELDS&lt;/P&gt;&lt;P&gt;the row shown initially is an aggregate of same KSTAR records; so I would like to have something like this:&lt;/P&gt;&lt;P&gt;+ KSTAR | SUM&lt;/P&gt;&lt;P&gt;wher SUM is the sum of COST for each CODSPESA&lt;/P&gt;&lt;P&gt;and clicking on the row:&lt;/P&gt;&lt;P&gt;- KSTAR | SUM&lt;/P&gt;&lt;P&gt;.... + CODSPESA1 | SUM1&lt;/P&gt;&lt;P&gt;.... + CODSPESA2 | SUM2&lt;/P&gt;&lt;P&gt;So the "higher" SUM is the sum of SUM1 and SUM2; clicking again on one component CODSPESA I would have:&lt;/P&gt;&lt;P&gt;- KSTAR | SUM&lt;/P&gt;&lt;P&gt;.... - CODSPESA1 | SUM1&lt;/P&gt;&lt;P&gt;............COST 1&lt;/P&gt;&lt;P&gt;............COST 2&lt;/P&gt;&lt;P&gt;............COST 3&lt;/P&gt;&lt;P&gt;.... + CODSPESA2 | SUM2&lt;/P&gt;&lt;P&gt;So SUM1 is the sum of COST1, COST2 and COST3&lt;/P&gt;&lt;P&gt;I just want to know which are the fields I have to set in catalogue or in the layout for the grid .. also the name of this fields are welcome.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 09:37:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/row-explode-alv-grid/m-p/4646584#M1093584</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-20T09:37:45Z</dc:date>
    </item>
  </channel>
</rss>

