<?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: Error during database call in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-database-call/m-p/10606892#M1862494</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are many possible reasons (too many to guess with so few information)&lt;/P&gt;&lt;P&gt;Could you analyze log of the system (SM21) , dump (ST22) or log in database manager and/or give more information ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Sep 2014 06:07:48 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2014-09-29T06:07:48Z</dc:date>
    <item>
      <title>Error during database call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-database-call/m-p/10606890#M1862492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have custom program and in which i am using standard function module - which has SQL query as follows: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE &amp;lt;SAP std table&amp;gt; FROM TABLE &amp;lt;internal table&amp;gt;. As soon as this statement executes, i am getting error like :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Error During database call".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Can you please help me what could be the reason for this error? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 06:02:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-database-call/m-p/10606890#M1862492</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-29T06:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error during database call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-database-call/m-p/10606891#M1862493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please let us know what is the FM that you get this message.&lt;/P&gt;&lt;P&gt;Also maybe the internal table structure passed is not correct....&lt;/P&gt;&lt;P&gt;Unless how the FM is called with what Parameters it is difficult to analyse.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;K.S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 06:06:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-database-call/m-p/10606891#M1862493</guid>
      <dc:creator>former_member188724</dc:creator>
      <dc:date>2014-09-29T06:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error during database call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-database-call/m-p/10606892#M1862494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are many possible reasons (too many to guess with so few information)&lt;/P&gt;&lt;P&gt;Could you analyze log of the system (SM21) , dump (ST22) or log in database manager and/or give more information ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 06:07:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-database-call/m-p/10606892#M1862494</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2014-09-29T06:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: Error during database call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-database-call/m-p/10606893#M1862495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sridhar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE assumes that you already have the entries in the table which you are making changes too and that the structure of both match.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So please check whether the structure of the SAP std table matches with that of the internal table. and whether the entries you are trying to update already exist in the SAP std table or not. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If they do not exist, a better option would be to use MODIFY, provided your requirements do not get impacted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shashi Thakur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 06:08:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-database-call/m-p/10606893#M1862495</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-29T06:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error during database call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-database-call/m-p/10606894#M1862496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333339691162px;"&gt;Hi,&lt;/P&gt;&lt;P style="font-size: 13.3333339691162px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333339691162px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333339691162px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333339691162px;"&gt;Fm name: /SAPAPO/DM_PRODUCT_POST_ONE .. This is in SCM EWM module.&lt;/P&gt;&lt;P style="font-size: 13.3333339691162px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333339691162px;"&gt;Table that i am updating is: /SAPAPO/MATLWH&lt;/P&gt;&lt;P style="font-size: 13.3333339691162px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333339691162px;"&gt;It is not giving dump.. throwing error message exactly after the UPDATE query in above standard function module.&lt;/P&gt;&lt;P style="font-size: 13.3333339691162px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333339691162px;"&gt;The FM is using matching internal table structure only to update the above table. &lt;/P&gt;&lt;P style="font-size: 13.3333339691162px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333339691162px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333339691162px;"&gt;For example if i run for 40 records to update above table , it is throwing above error. &lt;/P&gt;&lt;P style="font-size: 13.3333339691162px;"&gt;If i take subset of data, then it is working fine. &lt;/P&gt;&lt;P style="font-size: 13.3333339691162px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333339691162px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333339691162px;"&gt;Some other cases, it is working fine without above error. &lt;/P&gt;&lt;P style="font-size: 13.3333339691162px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333339691162px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333339691162px;"&gt;Earlier, to my program, they already used a custom program in which they directly &lt;/P&gt;&lt;P style="font-size: 13.3333339691162px;"&gt;updated the records. I mean they update standard tables using UPDATE and INSERT statements &lt;/P&gt;&lt;P style="font-size: 13.3333339691162px;"&gt;on table: /SAPAPO/MATLWH. &lt;/P&gt;&lt;P style="font-size: 13.3333339691162px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333339691162px;"&gt;Is that some thing database inconsistency causing this issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 10:47:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-database-call/m-p/10606894#M1862496</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-01T10:47:03Z</dc:date>
    </item>
  </channel>
</rss>

