<?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 abap logic in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-logic/m-p/2106913#M439782</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;after the collect statement, may i know what is the best practice to initialise the field that not intended for the collect. i have 6 fields which are type DEC. the internal table is like a structure where the numeric fields are type DEC.&lt;/P&gt;&lt;P&gt;I only want 4 out of 6 fields to accumulate the value whereas another 2 i do not want.&lt;/P&gt;&lt;P&gt;I cannot make the 2 fields to character field as i use itab like table occurs 0.&lt;/P&gt;&lt;P&gt;i just want comment what method i can use after the collect statement to initialise the other 2 fields.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 01 Apr 2007 23:14:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-01T23:14:23Z</dc:date>
    <item>
      <title>abap logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-logic/m-p/2106913#M439782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;after the collect statement, may i know what is the best practice to initialise the field that not intended for the collect. i have 6 fields which are type DEC. the internal table is like a structure where the numeric fields are type DEC.&lt;/P&gt;&lt;P&gt;I only want 4 out of 6 fields to accumulate the value whereas another 2 i do not want.&lt;/P&gt;&lt;P&gt;I cannot make the 2 fields to character field as i use itab like table occurs 0.&lt;/P&gt;&lt;P&gt;i just want comment what method i can use after the collect statement to initialise the other 2 fields.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Apr 2007 23:14:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-logic/m-p/2106913#M439782</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-01T23:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: abap logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-logic/m-p/2106914#M439783</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;What do you mean by initialise the field? Do you want to blank them out? The just loop at internal table and clear fields and update the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT itab.
  CLEAR itab-field5.
  CLEAR itab-field6.
  MODIFY itab.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please paste your code here and explain in detail what exactly you want. I will help to give you a correct solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Apr 2007 23:38:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-logic/m-p/2106914#M439783</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-01T23:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: abap logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-logic/m-p/2106915#M439784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;actually the other 2 fields size too small to accommodate the value if using collect. i cannot change the structure to make these 2 fields to other field type.&lt;/P&gt;&lt;P&gt;i need to clear the value after the collect for these 2 fields. i cannot loop the internal table to clear but i must do it after the collect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2007 00:02:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-logic/m-p/2106915#M439784</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-02T00:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: abap logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-logic/m-p/2106916#M439785</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 paste your code here with your table definition, how you are populating the data and how you are doing collect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give these information to help you give the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2007 00:39:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-logic/m-p/2106916#M439785</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-02T00:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: abap logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-logic/m-p/2106917#M439786</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 will do it tomorrow.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2007 00:46:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-logic/m-p/2106917#M439786</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-02T00:46:23Z</dc:date>
    </item>
  </channel>
</rss>

