<?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: datatable inconsistency in Quality in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/datatable-inconsistency-in-quality/m-p/7033370#M1499718</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;1) Check wethere entry exit  in table which is modifying or not, if not exit it will return sy-subrc eq 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Check where condition value exactly match the database records&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Write update with client specified&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
    update table_name client specified
       set fields1 = value1
       where mandt = sy-mandt
           and  fields = check_value.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Ravi Lanjewar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Jun 2010 13:01:12 GMT</pubDate>
    <dc:creator>ravi_lanjewar</dc:creator>
    <dc:date>2010-06-14T13:01:12Z</dc:date>
    <item>
      <title>datatable inconsistency in Quality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/datatable-inconsistency-in-quality/m-p/7033368#M1499716</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;I am trying to update  table crmd_orderadm_h   using FM 'CRM_ORDERADM_H_UPDATE_DU' in dev(client 200) its successfully doing the changes,it uses the statement &lt;STRONG&gt;UPDATE crmd_orderadm_h FROM TABLE it_records_to_update&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in Quality when we are trying to update the same it returns sy-subrc = 4.&lt;/P&gt;&lt;P&gt;I am not sure why is it failing to update,since there is no changes in table level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also checked the documentation ,and it says that it will return  4 if a primary key value doesnt exists or if the change would lead to a double entry in a unique secondary key.But in my case the internal table is empty so it should return a sy-subrc =0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please let me know how do i resolve this issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jun 2010 06:22:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/datatable-inconsistency-in-quality/m-p/7033368#M1499716</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-14T06:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: datatable inconsistency in Quality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/datatable-inconsistency-in-quality/m-p/7033369#M1499717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey ,&lt;/P&gt;&lt;P&gt;I think it has nothing to do with your code , its a data error. &lt;/P&gt;&lt;P&gt;Please read the documentation for update and see are all the records that your are passing to update are all correct and should get updated by update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is helpful.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Uma Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jun 2010 10:48:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/datatable-inconsistency-in-quality/m-p/7033369#M1499717</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-14T10:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: datatable inconsistency in Quality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/datatable-inconsistency-in-quality/m-p/7033370#M1499718</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;1) Check wethere entry exit  in table which is modifying or not, if not exit it will return sy-subrc eq 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Check where condition value exactly match the database records&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Write update with client specified&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
    update table_name client specified
       set fields1 = value1
       where mandt = sy-mandt
           and  fields = check_value.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Ravi Lanjewar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jun 2010 13:01:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/datatable-inconsistency-in-quality/m-p/7033370#M1499718</guid>
      <dc:creator>ravi_lanjewar</dc:creator>
      <dc:date>2010-06-14T13:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: datatable inconsistency in Quality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/datatable-inconsistency-in-quality/m-p/7033371#M1499719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jul 2010 04:27:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/datatable-inconsistency-in-quality/m-p/7033371#M1499719</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-16T04:27:39Z</dc:date>
    </item>
  </channel>
</rss>

