<?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: READ TABLE FROM WA in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-from-wa/m-p/8181313#M1624293</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; while developing the program developer or functionality is to check only first four fields.&lt;/P&gt;&lt;P&gt;If you required to add all fields you can define the key field table same as original one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Aug 2011 14:03:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-08-18T14:03:00Z</dc:date>
    <item>
      <title>READ TABLE FROM WA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-from-wa/m-p/8181311#M1624291</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 am working on a existing program where it does a read based on work area so it should compare all fields of work area to find whether a record exists in internal table but i found it compares only first 4 fields .How is it.This is a standard internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;READ TABLE it_scr_exp TRANSPORTING NO FIELDS
    FROM v_scr_exp.
  IF sy-subrc EQ 0 AND sy-tabix NE tc_exp-current_line.
    MESSAGE e224(zsl).
*   That entry already exists.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2011 13:27:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-from-wa/m-p/8181311#M1624291</guid>
      <dc:creator>former_member543447</dc:creator>
      <dc:date>2011-08-18T13:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: READ TABLE FROM WA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-from-wa/m-p/8181312#M1624292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you use the FROM &amp;lt;wa&amp;gt; clause in read stament,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The work area wa must be a data object that is compatible with the line type of the internal table. The first found line of the internal table is read for which the values in the columns of the &lt;STRONG&gt;table key match&lt;/STRONG&gt; the values in the corresponding components of wa.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For standard table there is no unique key. Try using sorted/hashed  table type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2011 13:54:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-from-wa/m-p/8181312#M1624292</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-18T13:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: READ TABLE FROM WA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-from-wa/m-p/8181313#M1624293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; while developing the program developer or functionality is to check only first four fields.&lt;/P&gt;&lt;P&gt;If you required to add all fields you can define the key field table same as original one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2011 14:03:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-from-wa/m-p/8181313#M1624293</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-18T14:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: READ TABLE FROM WA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-from-wa/m-p/8181314#M1624294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi chandra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to use this syntax  to compare all fields in Work area.&lt;/P&gt;&lt;P&gt;READ TABLE it_scr_exp into v_scr_exp1 TRANSPORTING NO FIELDS&lt;/P&gt;&lt;P&gt;    FROM v_scr_exp COMPARING ALL FIELDS.&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;Prasad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2011 14:43:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-from-wa/m-p/8181314#M1624294</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-18T14:43:02Z</dc:date>
    </item>
  </channel>
</rss>

