<?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: Runtime error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/4007631#M957371</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madhu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Thanks for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Here i am retrieving data 3 tables, so i used for all entries. in the read statement i am reading data using key. after read statement i am appending workarea to internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here append is working fine. But i am using Modify statement program going to dump. why its going to dump i con't understand.&lt;/P&gt;&lt;P&gt;Please tell me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jun 2008 08:02:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-24T08:02:27Z</dc:date>
    <item>
      <title>Runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/4007628#M957368</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;&lt;/P&gt;&lt;P&gt;  I wrote program in Report using for all entries. here i used Binary search. If iam using append its working properly. If i am using modify its going to dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why it is going to dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 07:43:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/4007628#M957368</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T07:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/4007629#M957369</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;First let me explain the functionality of these three statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Append: Inserts a record to an internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Modify: Modifies a existitng record in the internal table, if there is no record it will throw error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update: Modifies a existing record in the internal table if it finds the record, else it will insert a record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The runtime error may be due to non existance of the record in the internal table. First decide on the functionality you want and carry on with your coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Madhu G S&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward Points if usefull&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 07:54:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/4007629#M957369</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T07:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/4007630#M957370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sri,&lt;/P&gt;&lt;P&gt;Modify statement requires a index i.e. the record no which you want to modify . If you do not provide the index then it will give you dump.&lt;/P&gt;&lt;P&gt;If you want to modify the current record in the loop pass i.e. if you are using the the mdify statement in loop and endloop and want to modify the current record which the loop is accessing then give index addition in modify statement.&lt;/P&gt;&lt;P&gt;For e.g. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at itab into wtab.&lt;/P&gt;&lt;P&gt;modify itab from wtab index sy-tabix.&lt;/P&gt;&lt;P&gt;clear wtab.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help children of U.N World Food Program by rewarding  points and encourage others to answer your queries.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 08:01:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/4007630#M957370</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T08:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/4007631#M957371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madhu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Thanks for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Here i am retrieving data 3 tables, so i used for all entries. in the read statement i am reading data using key. after read statement i am appending workarea to internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here append is working fine. But i am using Modify statement program going to dump. why its going to dump i con't understand.&lt;/P&gt;&lt;P&gt;Please tell me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 08:02:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/4007631#M957371</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T08:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/4007632#M957372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the complete syntax that you are using for your MODIFY Statement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2008 20:43:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/4007632#M957372</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-25T20:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/4007633#M957373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sri,&lt;/P&gt;&lt;P&gt;there is a significant difference between the functionality of append and modify.&lt;/P&gt;&lt;P&gt;Append statement insert a record into internal table and also allows the duplicate enteries.&lt;/P&gt;&lt;P&gt;but in case of modify if your program is going into dump there can be two reaosns:&lt;/P&gt;&lt;P&gt;1. The data you want to modify may not be present in the table.&lt;/P&gt;&lt;P&gt;2. The fields you are using in modify statement may not be compatible with that of internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So check the syntex of the modify statement you have given and also the table values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Rajesh Kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 10:42:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/4007633#M957373</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T10:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/4007634#M957374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Modify statement requires a Index .&lt;/P&gt;&lt;P&gt;At  modify the internal table with sy-tabix.&lt;/P&gt;&lt;P&gt;i.e. Modify itab from wtab index sy-tabix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help children of U.N World Food Program by rewarding  points and encourage others to answer your queries.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 11:53:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/4007634#M957374</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T11:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/4007635#M957375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Thanks for your answer.&lt;/P&gt;&lt;P&gt;  My problem is sloved.&lt;/P&gt;&lt;P&gt;  Thanks alot.&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>Thu, 26 Jun 2008 12:04:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/4007635#M957375</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T12:04:39Z</dc:date>
    </item>
  </channel>
</rss>

