<?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: Passing SORTED internla table  to ALV Function Module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-sorted-internla-table-to-alv-function-module/m-p/4601596#M1084643</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;YOu cannot use Unique key for standard table as the key of the standard table is always Non-Unique.&lt;/P&gt;&lt;P&gt;Also dont use internal table with header lines as it is completely obsolete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try the below statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA itab LIKE SORTED TABLE OF wa WITH UNIQUE KEY field1 field2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Hakim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Oct 2008 07:02:51 GMT</pubDate>
    <dc:creator>abdul_hakim</dc:creator>
    <dc:date>2008-10-22T07:02:51Z</dc:date>
    <item>
      <title>Passing SORTED internla table  to ALV Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-sorted-internla-table-to-alv-function-module/m-p/4601594#M1084641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;      I define a work area WA1 with reference I defined a table (itab) by using following statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      DATA: itab TYPE SORTED TABLE OF WA1 WITH UNIQUE KEY  field1 field2  WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    I am unable pass the table itab to FM &lt;STRONG&gt;Reuse_alv_grid_display&lt;/STRONG&gt; bcoz itab is sorted table. At the same time I can't define itab as a STANDARD table with UNIQUE KEY addition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         If I define a itab as DATA: itab TYPE STANDARD TABLE OF wa1 WITH KEY  field1 field2  WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;I'm getting unnecessary day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give me suggestions.......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2008 06:58:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-sorted-internla-table-to-alv-function-module/m-p/4601594#M1084641</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-22T06:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Passing SORTED internla table  to ALV Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-sorted-internla-table-to-alv-function-module/m-p/4601595#M1084642</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;Create one more standard internal table, move contents from this sorted itab to the new one. And pass this new itab to the FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Navneeth K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2008 07:01:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-sorted-internla-table-to-alv-function-module/m-p/4601595#M1084642</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-22T07:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Passing SORTED internla table  to ALV Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-sorted-internla-table-to-alv-function-module/m-p/4601596#M1084643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;YOu cannot use Unique key for standard table as the key of the standard table is always Non-Unique.&lt;/P&gt;&lt;P&gt;Also dont use internal table with header lines as it is completely obsolete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try the below statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA itab LIKE SORTED TABLE OF wa WITH UNIQUE KEY field1 field2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Hakim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2008 07:02:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-sorted-internla-table-to-alv-function-module/m-p/4601596#M1084643</guid>
      <dc:creator>abdul_hakim</dc:creator>
      <dc:date>2008-10-22T07:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: Passing SORTED internla table  to ALV Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-sorted-internla-table-to-alv-function-module/m-p/4601597#M1084644</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;Even i faced the same prob.&lt;/P&gt;&lt;P&gt;what i would suggest is, first perform all  ur operations in the sorted internal table, Then after that while passing the  itab to Function module, just transfer all the data from the sorted internal table to stanadrd internal table and pass the standrd itab to the FM.&lt;/P&gt;&lt;P&gt; this is the approach i followed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;revert back if any issues.&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>Wed, 22 Oct 2008 07:14:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-sorted-internla-table-to-alv-function-module/m-p/4601597#M1084644</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-22T07:14:38Z</dc:date>
    </item>
  </channel>
</rss>

