<?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 Please help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-help/m-p/3618510#M871681</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 want to add records to a hashed table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my code is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: ipn_pc_zoba type hashed table of tpn_pc_zoba with unique key vbeln,&lt;/P&gt;&lt;P&gt;wpn_pc_zoba like line of ipn_pc_zoba.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at izoba into wzoba.&lt;/P&gt;&lt;P&gt;clear wpn_pc_zoba .&lt;/P&gt;&lt;P&gt;read table ipn_pc_zoba into wpn_pc_zoba with key vbeln = wzoba-LS_KDAUF.&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;wpn_pc_zoba-vbeln = wzoba-LS_KDAUF.&lt;/P&gt;&lt;P&gt;append wpn_pc_zoba to ipn_pc_zoba.&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;The Error is : You cannot use explicit or implicit index operations on tables with types "HASHED TABLE" or "ANY TABLE". "IPN_PC_ZOBA" has the type "HASHED TABLE". It is possible that .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I TRIED WITH INSERT INSTEAD OF APPEND BUT STILL IT IS NOT WORKING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to write the code to solve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reply ASAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SRI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Mar 2008 12:58:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-25T12:58:33Z</dc:date>
    <item>
      <title>Please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-help/m-p/3618510#M871681</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 want to add records to a hashed table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my code is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: ipn_pc_zoba type hashed table of tpn_pc_zoba with unique key vbeln,&lt;/P&gt;&lt;P&gt;wpn_pc_zoba like line of ipn_pc_zoba.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at izoba into wzoba.&lt;/P&gt;&lt;P&gt;clear wpn_pc_zoba .&lt;/P&gt;&lt;P&gt;read table ipn_pc_zoba into wpn_pc_zoba with key vbeln = wzoba-LS_KDAUF.&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;wpn_pc_zoba-vbeln = wzoba-LS_KDAUF.&lt;/P&gt;&lt;P&gt;append wpn_pc_zoba to ipn_pc_zoba.&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;The Error is : You cannot use explicit or implicit index operations on tables with types "HASHED TABLE" or "ANY TABLE". "IPN_PC_ZOBA" has the type "HASHED TABLE". It is possible that .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I TRIED WITH INSERT INSTEAD OF APPEND BUT STILL IT IS NOT WORKING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to write the code to solve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reply ASAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SRI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2008 12:58:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-help/m-p/3618510#M871681</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-25T12:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-help/m-p/3618511#M871682</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;  Declare wpn_pc_zoba  as.&lt;/P&gt;&lt;P&gt;data:wpn_pc_zoba  type  tpn_pc_zoba.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rewards if helpful.&lt;/P&gt;&lt;P&gt;Regrds&lt;/P&gt;&lt;P&gt;Shambhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2008 13:26:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-help/m-p/3618511#M871682</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-25T13:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-help/m-p/3618512#M871683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;read table ipn_pc_zoba into wpn_pc_zoba with key vbeln = wzoba-LS_KDAUF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with the help of above statement ur reading  the data from ipn_pc_zoba  into wpn_pc_zoba  where  vbeln = wzoba-LS_KDAUF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this indicates that  wpn_pc_zoba is having a data which is equal to wzoba-LS_KDAUF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u declared ur table  ipn_pc_zoba  as hashed with unique key&lt;/P&gt;&lt;P&gt;then how can it append the same value which is unique.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz reward &lt;/P&gt;&lt;P&gt;if it is useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lakshman.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2008 13:29:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-help/m-p/3618512#M871683</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-25T13:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-help/m-p/3618513#M871684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried INSERT .... INTO TABLE ......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead of INSERT.... INTO......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2008 13:31:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-help/m-p/3618513#M871684</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-25T13:31:57Z</dc:date>
    </item>
  </channel>
</rss>

