<?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: Pb read table abap in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pb-read-table-abap/m-p/6069060#M1355233</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you use read statement then it will have to read a unique record if not , u just wanna check read entries are existing then transporting no fields needs to be provided else read the internal table into some work area is mandatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with cheers&lt;/P&gt;&lt;P&gt;s.janagar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Sep 2009 13:27:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-14T13:27:25Z</dc:date>
    <item>
      <title>Pb read table abap</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pb-read-table-abap/m-p/6069056#M1355229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem with the use of an internal table in my abap routine (in an update rule).&lt;/P&gt;&lt;P&gt;I create an internal table, after i load it, and when i want to read it i have a problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Table Declaration&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA : BEGIN OF t_ze_range occurs 0,&lt;/P&gt;&lt;P&gt;         /BIC/OIZE_RANGE type /BIC/OIZE_RANGE,&lt;/P&gt;&lt;P&gt;         /BIC/OIZE_TECHNO type /BIC/OIZE_TECHNO,&lt;/P&gt;&lt;P&gt;         /BIC/OIZE_BU2 type /BIC/OIZE_BU2,&lt;/P&gt;&lt;P&gt;         /BIC/OIZE_BU1 type /BIC/OIZE_BU1,&lt;/P&gt;&lt;P&gt;       END OF t_ze_range. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;loading&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;i load my table t_ze_range from the table /BIC/PZE_RANGE (info object)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;  /BIC/ZE_RANGE /BIC/ZE_TECHNO /BIC/ZE_BU2 /BIC/ZE_BU1&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;  /BIC/PZE_RANGE&lt;/P&gt;&lt;P&gt;APPENDING TABLE&lt;/P&gt;&lt;P&gt;   t_ze_range&lt;/P&gt;&lt;P&gt;WHERE&lt;/P&gt;&lt;P&gt;  OBJVERS = 'A'&lt;/P&gt;&lt;P&gt;GROUP BY&lt;/P&gt;&lt;P&gt;  /BIC/ZE_RANGE /BIC/ZE_TECHNO /BIC/ZE_BU2 /BIC/ZE_BU1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i execute my update rule in debug mode, i have data in my internal table t_ze_range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And when i want to access data in my update rule:&lt;/P&gt;&lt;P&gt;READ TABLE t_ze_range WITH KEY /BIC/OIZE_RANGE = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have this errors :&lt;/P&gt;&lt;P&gt;E:In the OO context either an INTO or an ASSIGNING specification or the addition "TRANSPORTING NO FIELDS" must be used. addition "TRANSPORTING NO FIELDS" must be used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you help me to solve it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Karol Walesch&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2009 13:14:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pb-read-table-abap/m-p/6069056#M1355229</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-14T13:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Pb read table abap</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pb-read-table-abap/m-p/6069057#M1355230</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;If you use Transporting no fields, you can check only the existence of the record in the internal table&lt;/P&gt;&lt;P&gt;but if you want to use some data in the internal table(for the record found) later then you need to use INTO &amp;lt;workarea&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hence based on your requirement, use the above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE t_ze_range WITH KEY /BIC/OIZE_RANGE = 1  [TRANSPORTING NO FIELDS]&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;READ TABLE t_ze_range INTO [LS_ZE_REANGE] WITH KEY /BIC/OIZE_RANGE = 1 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2009 13:20:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pb-read-table-abap/m-p/6069057#M1355230</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-14T13:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Pb read table abap</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pb-read-table-abap/m-p/6069058#M1355231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to add an INTO or Assiging construction oder you have to use the TRANSPORTING NO FIELDS clase in your read stametent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But thats exactly what the error message told you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2009 13:22:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pb-read-table-abap/m-p/6069058#M1355231</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2009-09-14T13:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Pb read table abap</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pb-read-table-abap/m-p/6069059#M1355232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Are you reading the table data for any processing?&lt;/P&gt;&lt;P&gt;In the read statement add TRANSPORTING NO FIELDS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2009 13:26:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pb-read-table-abap/m-p/6069059#M1355232</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-14T13:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: Pb read table abap</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pb-read-table-abap/m-p/6069060#M1355233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you use read statement then it will have to read a unique record if not , u just wanna check read entries are existing then transporting no fields needs to be provided else read the internal table into some work area is mandatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with cheers&lt;/P&gt;&lt;P&gt;s.janagar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2009 13:27:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pb-read-table-abap/m-p/6069060#M1355233</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-14T13:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: Pb read table abap</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pb-read-table-abap/m-p/6069061#M1355234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok, if i understand :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i want to read data, i want to use statement INTO&lt;/P&gt;&lt;P&gt;and if a use TRANSPORTING NO FIELDS i can't read data from my internal table ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case, i want to read only 1 row in my internal table :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i write :&lt;/P&gt;&lt;P&gt;READ TABLE t_ze_range WITH KEY /BIC/OIZE_RANGE = range TRANSPORTING NO FIELDS.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;  RESULT = t_ze_range-/BIC/OIZE_TECHNO.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My result is empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i want to use statement INTO, i don't know what is a workarea ???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Karol Walesch&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2009 13:40:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pb-read-table-abap/m-p/6069061#M1355234</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-14T13:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Pb read table abap</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pb-read-table-abap/m-p/6069062#M1355235</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;Can u declare the work area as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF wa_ze_range,&lt;/P&gt;&lt;P&gt;/BIC/OIZE_RANGE type /BIC/OIZE_RANGE,&lt;/P&gt;&lt;P&gt;/BIC/OIZE_TECHNO type /BIC/OIZE_TECHNO,&lt;/P&gt;&lt;P&gt;/BIC/OIZE_BU2 type /BIC/OIZE_BU2,&lt;/P&gt;&lt;P&gt;/BIC/OIZE_BU1 type /BIC/OIZE_BU1,&lt;/P&gt;&lt;P&gt;END OF wa_ze_range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The work area can hold only one value, i.e what ever the record with key has been satisfied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can use above work area as like, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table t_itab into wa_itab with key where xx = ' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know any other info required.'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2009 14:39:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pb-read-table-abap/m-p/6069062#M1355235</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-14T14:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: Pb read table abap</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pb-read-table-abap/m-p/6069063#M1355236</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;how define a workarea ? and what is it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Karol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2009 14:40:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pb-read-table-abap/m-p/6069063#M1355236</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-14T14:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Pb read table abap</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pb-read-table-abap/m-p/6069064#M1355237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok thanks very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Karol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2009 14:45:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pb-read-table-abap/m-p/6069064#M1355237</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-14T14:45:52Z</dc:date>
    </item>
  </channel>
</rss>

