<?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>Question Re: Invalid Key Name in Key predicate when updating data from SMP offline Native application in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/invalid-key-name-in-key-predicate-when-updating-data-from-smp-offline/qaa-p/11786371#M4415827</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anup,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;We are facing this issue as well. Did you get a resolution for this issue from SAP? If yes, could you share it with me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Sep 2016 13:24:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-09-01T13:24:03Z</dc:date>
    <item>
      <title>Invalid Key Name in Key predicate when updating data from SMP offline Native application</title>
      <link>https://community.sap.com/t5/technology-q-a/invalid-key-name-in-key-predicate-when-updating-data-from-smp-offline/qaq-p/11786370</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;We are developing an SMP based offline Native Android application (SMP 3.0; SDK SP 10 PL10). We are able to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Successfully create data in offlinestore (deep insert using batch processing).&amp;nbsp; &lt;/P&gt;&lt;P&gt;1a. Create Object in offlinestore with Temp Object key ID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Successfully update the same object header information (example description) in offlinestore (using etags and resourcepath mapping). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Following the local create and local update process, we invoke offlinestore.flush() which sends 2 batch request to SAP&lt;/P&gt;&lt;P&gt;3a. SAP OData Service is successfully accepting the create request and creating the Object in SAP tables with actual ID&lt;/P&gt;&lt;P&gt;3b. The second batch request i.e Update request results in error stating "Invalid key name in Key predicate" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached screens for reference&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screenshot 1: (Ref: Step 2 above) Data successfully updated in Android native app offline store using eTags and Resourcepath&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/982557" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screenshot 2: (Ref: Step 3b above) Error in OData service&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/982558" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please suggest way forward&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;A Rathi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2016 08:33:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/invalid-key-name-in-key-predicate-when-updating-data-from-smp-offline/qaq-p/11786370</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-06-24T08:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Key Name in Key predicate when updating data from SMP offline Native application</title>
      <link>https://community.sap.com/t5/technology-q-a/invalid-key-name-in-key-predicate-when-updating-data-from-smp-offline/qaa-p/11786371#M4415827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anup,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;We are facing this issue as well. Did you get a resolution for this issue from SAP? If yes, could you share it with me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2016 13:24:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/invalid-key-name-in-key-predicate-when-updating-data-from-smp-offline/qaa-p/11786371#M4415827</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-09-01T13:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Key Name in Key predicate when updating data from SMP offline Native application</title>
      <link>https://community.sap.com/t5/technology-q-a/invalid-key-name-in-key-predicate-when-updating-data-from-smp-offline/qaa-p/11786372#M4415828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have the same problem, did you solve it?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Patrizia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 09:13:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/invalid-key-name-in-key-predicate-when-updating-data-from-smp-offline/qaa-p/11786372#M4415828</guid>
      <dc:creator>patty_1982</dc:creator>
      <dc:date>2016-10-05T09:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Key Name in Key predicate when updating data from SMP offline Native application</title>
      <link>https://community.sap.com/t5/technology-q-a/invalid-key-name-in-key-predicate-when-updating-data-from-smp-offline/qaa-p/11786373#M4415829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Patrizia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are still having this issue. The only update I have is that I tried updating the SMP 3.0 SDK version to SP12 PL05 and it did not resolve the issue. I have an incident open with SAP to track it but I haven't been able to reproduce consistently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 19:07:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/invalid-key-name-in-key-predicate-when-updating-data-from-smp-offline/qaa-p/11786373#M4415829</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-10-05T19:07:33Z</dc:date>
    </item>
  </channel>
</rss>

