<?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: Grouping the fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/grouping-the-fields/m-p/5918277#M1330995</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;closed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Oct 2009 05:47:12 GMT</pubDate>
    <dc:creator>Dsk</dc:creator>
    <dc:date>2009-10-09T05:47:12Z</dc:date>
    <item>
      <title>Grouping the fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/grouping-the-fields/m-p/5918270#M1330988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. I have the below fields in my internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAles order no&lt;/P&gt;&lt;P&gt;Sales order item no&lt;/P&gt;&lt;P&gt;Billing no&lt;/P&gt;&lt;P&gt;Billing item no &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sample data&lt;/P&gt;&lt;P&gt;Sales order	Sales order item	billing NO	Billing item&lt;/P&gt;&lt;P&gt;         100	                10	               12               	1&lt;/P&gt;&lt;P&gt;			                     2&lt;/P&gt;&lt;P&gt;			                     3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.My requirement :&lt;/P&gt;&lt;P&gt; 2.1 - i am displaying in an ALV Output&lt;/P&gt;&lt;P&gt;2.2 - when i display the output i see the values for sales order 100 in all the line items &lt;/P&gt;&lt;P&gt;2.3 - i need to know if we can use some group feature..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is a sample test case ..if i get the logic i can apply on my real report..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note :I am new to ABAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reg&lt;/P&gt;&lt;P&gt;dsk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2009 05:54:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/grouping-the-fields/m-p/5918270#M1330988</guid>
      <dc:creator>Dsk</dc:creator>
      <dc:date>2009-07-28T05:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping the fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/grouping-the-fields/m-p/5918271#M1330989</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;You have two options:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Take another internal table with a similar structure to that of your final ALV o/p table and delete duplicates comparing sales order no. Then a third internal table to populate your values comparing these both tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Sort the report &amp;amp; subtotal it on order value or invoice value so that you see order number only in the 1st line item and others for the same order remain blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In both cases there's a hitch. In scenarios like multiple deliveries &amp;amp; invoices pls test the report as compared to normal scenarios we have one sales order with one delivery &amp;amp; one invoice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2009 06:13:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/grouping-the-fields/m-p/5918271#M1330989</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-28T06:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping the fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/grouping-the-fields/m-p/5918272#M1330990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SAMPLE DATA IN DETAIL:&lt;/P&gt;&lt;P&gt;1. Actually i noticed the sample data has collapsed..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. The real strucuture is like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales order    Sales orderitem   billing NO      Billing item&lt;/P&gt;&lt;P&gt;100 xxxxxxxx10xxxxxxxxxxx 12xxxxxxxx 1&lt;/P&gt;&lt;P&gt;100 xxxxxxxx10xxxxxxxxxxx 12xxxxxxxx 2 &lt;/P&gt;&lt;P&gt;100 xxxxxxxx10xxxxxxxxxxx 12xxxxxxxx 3 &lt;/P&gt;&lt;P&gt;100 xxxxxxxx10xxxxxxxxxxx 12xxxxxxxx 4 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Note: 'x' is onlyfor representing the space&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. In this case in my output  i dont want to show the sales order / item and billing no ..for all lines i want to show it only&lt;/P&gt;&lt;P&gt;  in my first line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorry for the trouble&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reg&lt;/P&gt;&lt;P&gt;dsk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Dhandapani Satheeshkumar on Jul 28, 2009 11:49 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2009 06:19:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/grouping-the-fields/m-p/5918272#M1330990</guid>
      <dc:creator>Dsk</dc:creator>
      <dc:date>2009-07-28T06:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping the fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/grouping-the-fields/m-p/5918273#M1330991</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;Please use separate internals tables to fetch order &amp;amp; Billing data for header as well line items details respectively.&lt;/P&gt;&lt;P&gt;like I_VBAK, I_VBAP, I_VBRK, I_VBRP.&lt;/P&gt;&lt;P&gt;For final output create a final table with all the fields you want to display like I_FINAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally within the loop for I_VBAK, you can read all other internals tables and append the required values into I_FINAL table.&lt;/P&gt;&lt;P&gt;Thats it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it is clear to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2009 06:19:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/grouping-the-fields/m-p/5918273#M1330991</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-28T06:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping the fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/grouping-the-fields/m-p/5918274#M1330992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this case, say you have these data in Internal  Table IT1. First Sort these data in ascendig order by Sales order, Sales orderitem, billing NO.  Now Loop at these table and use the concept of ON CHANGE ON billing NO ..... else ... ENDON. Inside the ON CHANGE ON  loop, append the records the in other internal table say IT2 having same structure IT1 and pass it the ALV to display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will solve your problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2009 06:32:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/grouping-the-fields/m-p/5918274#M1330992</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-28T06:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping the fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/grouping-the-fields/m-p/5918275#M1330993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anil and amit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. thanks for  your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.Currently also i am doing the same "logic" but what happens in the output i am seeing my order no and few other fields for all the lines of billing lines..&lt;/P&gt;&lt;P&gt;3. My requirement is to show the sales order no, customer no etc only in my first line..i need your expertise in the final display in the output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tahnks in advance&lt;/P&gt;&lt;P&gt;sathees&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2009 06:32:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/grouping-the-fields/m-p/5918275#M1330993</guid>
      <dc:creator>Dsk</dc:creator>
      <dc:date>2009-07-28T06:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping the fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/grouping-the-fields/m-p/5918276#M1330994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sumesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Thanks for your response.&lt;/P&gt;&lt;P&gt;2. I will try the ON CHANGE ON  - concept and will update you the results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Satheesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2009 06:34:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/grouping-the-fields/m-p/5918276#M1330994</guid>
      <dc:creator>Dsk</dc:creator>
      <dc:date>2009-07-28T06:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping the fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/grouping-the-fields/m-p/5918277#M1330995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;closed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2009 05:47:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/grouping-the-fields/m-p/5918277#M1330995</guid>
      <dc:creator>Dsk</dc:creator>
      <dc:date>2009-10-09T05:47:12Z</dc:date>
    </item>
  </channel>
</rss>

