<?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 Regarding sorted internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sorted-internal-table/m-p/8013000#M1607933</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;Please see the following code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:  t_marc type SORTED TABLE OF marc with UNIQUE key matnr,werks.&lt;/P&gt;&lt;P&gt;data:  w_marc LIKE LINE OF t_marc.&lt;/P&gt;&lt;P&gt;select *&lt;/P&gt;&lt;P&gt;  from marc&lt;/P&gt;&lt;P&gt;  into table t_marc&lt;/P&gt;&lt;P&gt;  UP TO 100 rows.&lt;/P&gt;&lt;P&gt;read TABLE t_marc into w_marc WITH table KEY matnr = 'XYZ' werks = '600'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I am checking this code , I am getting the error  as " Component WERKS is not contained in the table T_MARC or the key is not statically declared.&lt;/P&gt;&lt;P&gt;WERKS is already specified as the key field in MARC . But even then I am getting the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please do the needful....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sravani.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jul 2011 07:45:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-07-18T07:45:56Z</dc:date>
    <item>
      <title>Regarding sorted internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sorted-internal-table/m-p/8013000#M1607933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;Please see the following code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:  t_marc type SORTED TABLE OF marc with UNIQUE key matnr,werks.&lt;/P&gt;&lt;P&gt;data:  w_marc LIKE LINE OF t_marc.&lt;/P&gt;&lt;P&gt;select *&lt;/P&gt;&lt;P&gt;  from marc&lt;/P&gt;&lt;P&gt;  into table t_marc&lt;/P&gt;&lt;P&gt;  UP TO 100 rows.&lt;/P&gt;&lt;P&gt;read TABLE t_marc into w_marc WITH table KEY matnr = 'XYZ' werks = '600'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I am checking this code , I am getting the error  as " Component WERKS is not contained in the table T_MARC or the key is not statically declared.&lt;/P&gt;&lt;P&gt;WERKS is already specified as the key field in MARC . But even then I am getting the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please do the needful....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sravani.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2011 07:45:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sorted-internal-table/m-p/8013000#M1607933</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-18T07:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding sorted internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sorted-internal-table/m-p/8013001#M1607934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sravani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delete the comma in the line "data: t_marc type SORTED TABLE OF marc with UNIQUE key matnr,werks."&lt;/P&gt;&lt;P&gt;then it will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2011 07:52:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sorted-internal-table/m-p/8013001#M1607934</guid>
      <dc:creator>former_member583456</dc:creator>
      <dc:date>2011-07-18T07:52:38Z</dc:date>
    </item>
  </channel>
</rss>

