<?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 Collect statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/collect-statement/m-p/3980907#M950882</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 to take these details from tabel bseg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in bseg i have bukrs belnr gjahr buzei shkzg hkont Dmbtr wrbtr from here i have to take data into final o/p tabel.it_final&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in it_final has fields bukrs hkont debitAmt CreditAmt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i need to collect for each gl debit amount and credit amount.&lt;/P&gt;&lt;P&gt;how can i do &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks ,&lt;/P&gt;&lt;P&gt;satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jun 2008 02:38:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-13T02:38:48Z</dc:date>
    <item>
      <title>Collect statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/collect-statement/m-p/3980907#M950882</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 to take these details from tabel bseg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in bseg i have bukrs belnr gjahr buzei shkzg hkont Dmbtr wrbtr from here i have to take data into final o/p tabel.it_final&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in it_final has fields bukrs hkont debitAmt CreditAmt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i need to collect for each gl debit amount and credit amount.&lt;/P&gt;&lt;P&gt;how can i do &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks ,&lt;/P&gt;&lt;P&gt;satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 02:38:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/collect-statement/m-p/3980907#M950882</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-13T02:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Collect statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/collect-statement/m-p/3980908#M950883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satish, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you can do is to loop through your table that holds the records from bseg then collect those records into another table(gt_final). For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
LOOP AT gt_bseg INTO wa_bseg.
  MOVE-CORRESPONDING wa_bseg to wa_final.
  COLLECT wa_final INTO GT_FINAL.
  CLEAR wa_final.
ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. Please award points if it helps...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 02:54:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/collect-statement/m-p/3980908#M950883</guid>
      <dc:creator>aris_hidalgo</dc:creator>
      <dc:date>2008-06-13T02:54:50Z</dc:date>
    </item>
  </channel>
</rss>

