<?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 syntax in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-syntax/m-p/3781225#M909852</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;with work area&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Read table it_tab into wa_tab with key &lt;/P&gt;&lt;P&gt;                                                key1 = wa_xyz-key1&lt;/P&gt;&lt;P&gt;                                               key2 = wa_xyz-key2.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;    if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      Perform your logic here.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;with field symbols&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Read table it_tab assigning &amp;lt;fs_tab&amp;gt; with key &lt;/P&gt;&lt;P&gt;                                                       key1 = wa_xyz-key1&lt;/P&gt;&lt;P&gt;                                                       key2 = wa_xyz-key2.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;    if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      Perform your logic here.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 May 2008 05:03:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-07T05:03:56Z</dc:date>
    <item>
      <title>Read Table syntax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-syntax/m-p/3781217#M909844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Can i do read table with 2 keys?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ronita.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 04:53:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-syntax/m-p/3781217#M909844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T04:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Read Table syntax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-syntax/m-p/3781218#M909845</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;oF Course !! Check the syntax of Read statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 04:55:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-syntax/m-p/3781218#M909845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T04:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: Read Table syntax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-syntax/m-p/3781219#M909846</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;Yes, you can READ a table with 2 or more keys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your reference&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      READ TABLE pa_gt_actual_prices INTO ls_act_prices&lt;/P&gt;&lt;P&gt;           WITH TABLE KEY kokrs = p_kokrs&lt;/P&gt;&lt;P&gt;                          perio = l_perio&lt;/P&gt;&lt;P&gt;                          objnr = ls_cssl-objnr&lt;/P&gt;&lt;P&gt;                          gjahr = p_gjahra.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Farheen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 04:56:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-syntax/m-p/3781219#M909846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T04:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: Read Table syntax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-syntax/m-p/3781220#M909847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it wll b&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table it_vbap with key vbeln = it_vbeln posnr = it_posnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards &lt;/P&gt;&lt;P&gt;Rohan Shetty&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 04:56:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-syntax/m-p/3781220#M909847</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T04:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: Read Table syntax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-syntax/m-p/3781221#M909848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you can.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it1.&lt;/P&gt;&lt;P&gt;Read table itab with key abcd = it1-abcd&lt;/P&gt;&lt;P&gt;                                    fghj   = it1-fghj.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;do process.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 04:59:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-syntax/m-p/3781221#M909848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T04:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: Read Table syntax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-syntax/m-p/3781222#M909849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, &lt;/P&gt;&lt;P&gt;Check this link&lt;/P&gt;&lt;P&gt;Link:&lt;/P&gt;&lt;P&gt;[https://www.sdn.sap.com/irj/sdn/forums].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 05:00:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-syntax/m-p/3781222#M909849</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T05:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Read Table syntax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-syntax/m-p/3781223#M909850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check in SAP help or SDN . &lt;/P&gt;&lt;P&gt;read table &amp;lt;tab1&amp;gt; into &amp;lt;ls&amp;gt; with key &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      WHERE variable1 = value1&lt;/P&gt;&lt;P&gt;                 Binary search.&lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;Read table itab with key variable1 = value1 variable2 = value2.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Jagadeesh.G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 05:01:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-syntax/m-p/3781223#M909850</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T05:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Read Table syntax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-syntax/m-p/3781224#M909851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ronita,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       Yes in the read statement we can use more than one key. Pls find the below syntax of the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;read table it_circle into wa_circle 
with key circle_id = cid
             circle_name = cname
             circle_customer = cust.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pls reward if useful.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sirisha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 05:01:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-syntax/m-p/3781224#M909851</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T05:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: Read Table syntax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-syntax/m-p/3781225#M909852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;with work area&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Read table it_tab into wa_tab with key &lt;/P&gt;&lt;P&gt;                                                key1 = wa_xyz-key1&lt;/P&gt;&lt;P&gt;                                               key2 = wa_xyz-key2.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;    if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      Perform your logic here.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;with field symbols&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Read table it_tab assigning &amp;lt;fs_tab&amp;gt; with key &lt;/P&gt;&lt;P&gt;                                                       key1 = wa_xyz-key1&lt;/P&gt;&lt;P&gt;                                                       key2 = wa_xyz-key2.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;    if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      Perform your logic here.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 05:03:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-syntax/m-p/3781225#M909852</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T05:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Read Table syntax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-syntax/m-p/3781226#M909853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ronita De,&lt;/P&gt;&lt;P&gt;  We can read an internal table with two keys.....&lt;/P&gt;&lt;P&gt;READ TABLE IT_KNA1&lt;/P&gt;&lt;P&gt;          INTO WA_KNA1&lt;/P&gt;&lt;P&gt;          WITH KEY KUNNR = P_KUNNR&lt;/P&gt;&lt;P&gt;                           LAND1 = C_LAND1.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt; write: / 'Read is SUCCESS'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Kishore Kumar Maram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 05:03:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-syntax/m-p/3781226#M909853</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T05:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: Read Table syntax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-syntax/m-p/3781227#M909854</link>
      <description>&lt;P&gt;Hi Sirisha,&lt;/P&gt;&lt;P&gt;Is it possible to add same key field with two input field in an read statement ?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;readtable it_circle into wa_circle 
withkey circle_id = cid or 
             circle_id = cid1
             circle_customer = cust&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 22 Dec 2020 07:41:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-syntax/m-p/3781227#M909854</guid>
      <dc:creator>mohammedsarvar_ka</dc:creator>
      <dc:date>2020-12-22T07:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: Read Table syntax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-syntax/m-p/3781228#M909855</link>
      <description>&lt;P&gt;hi &lt;SPAN class="mention-scrubbed"&gt;mohammedsarvar.ka&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;you can't use same key.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2020 08:52:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-syntax/m-p/3781228#M909855</guid>
      <dc:creator>JamesG</dc:creator>
      <dc:date>2020-12-22T08:52:11Z</dc:date>
    </item>
  </channel>
</rss>

