<?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 internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3024773#M715169</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 created an internal table as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;DATA : BEGIN OF t_menge OCCURS 0,&lt;/P&gt;&lt;P&gt;         menge TYPE p DECIMALS 5,&lt;/P&gt;&lt;P&gt;         value TYPE f,&lt;/P&gt;&lt;P&gt;       END OF t_menge.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data present in this is as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;20322&amp;lt;3445.2=303 |  5.5427315026343518E+00                                |&lt;/P&gt;&lt;P&gt;20322&amp;lt;3445.2=303 |  5.5427315026343518E+00                                |&lt;/P&gt;&lt;P&gt;20322&amp;lt;3445.2=303 |  5.5427315026343518E+00                                |&lt;/P&gt;&lt;P&gt;20332&amp;lt;3845.2=303 |  1.1080800842992622E-01                                |&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now at runtime it is showing dump while sorting this table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt; SORT t_menge BY menge value.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;DELETE ADJACENT DUPLICATES FROM t_menge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dump saying that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;A packed number contains no sign.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i want to correct this without changing the internal table field type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to sort the table and delete the adjacent duplicates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;shoban&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Nov 2007 06:47:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-12T06:47:55Z</dc:date>
    <item>
      <title>internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3024773#M715169</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 created an internal table as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;DATA : BEGIN OF t_menge OCCURS 0,&lt;/P&gt;&lt;P&gt;         menge TYPE p DECIMALS 5,&lt;/P&gt;&lt;P&gt;         value TYPE f,&lt;/P&gt;&lt;P&gt;       END OF t_menge.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data present in this is as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;20322&amp;lt;3445.2=303 |  5.5427315026343518E+00                                |&lt;/P&gt;&lt;P&gt;20322&amp;lt;3445.2=303 |  5.5427315026343518E+00                                |&lt;/P&gt;&lt;P&gt;20322&amp;lt;3445.2=303 |  5.5427315026343518E+00                                |&lt;/P&gt;&lt;P&gt;20332&amp;lt;3845.2=303 |  1.1080800842992622E-01                                |&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now at runtime it is showing dump while sorting this table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt; SORT t_menge BY menge value.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;DELETE ADJACENT DUPLICATES FROM t_menge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dump saying that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;A packed number contains no sign.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i want to correct this without changing the internal table field type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to sort the table and delete the adjacent duplicates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;shoban&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2007 06:47:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3024773#M715169</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-12T06:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3024774#M715170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shoban,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is type 'Packed decimals' i.e. p doesn't allow u to enter special char like &amp;lt;, &amp;gt;, = , |, etc., So try to make the type as char 'C' and then do the sorting...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try changing like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF t_menge OCCURS 0,&lt;/P&gt;&lt;P&gt;**********************************&lt;/P&gt;&lt;P&gt;menge TYPE c ,&lt;/P&gt;&lt;P&gt;**********************************&lt;/P&gt;&lt;P&gt;value TYPE f,&lt;/P&gt;&lt;P&gt;END OF t_menge.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2007 06:59:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3024774#M715170</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-12T06:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3024775#M715171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shoban,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to make the type as char 'C' and then do the sorting... because, the problem is type 'Packed decimals' , p doesn't allow u to enter any special characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward If Useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chitra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2007 07:02:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3024775#M715171</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-12T07:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3024776#M715172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Making menge as type C is not the solution becuase i have done some arithmetical operation on that so please suggest some other advice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2007 07:06:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3024776#M715172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-12T07:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3024777#M715173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shoban,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do one thing...&lt;/P&gt;&lt;P&gt;Try to do all your calculation in one particaular work area or an internal table without these special characters, then finally transfer these to another internal table which has both these fields...&lt;/P&gt;&lt;P&gt;In this internal table just use the menge of type c and concatenate those special char like &amp;lt; &amp;gt; = etc...&lt;/P&gt;&lt;P&gt;Then sort this internal table...&lt;/P&gt;&lt;P&gt;I think this might solve your problem....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2007 07:13:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3024777#M715173</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-12T07:13:17Z</dc:date>
    </item>
  </channel>
</rss>

