<?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: Odata sender adapter batch request in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/odata-sender-adapter-batch-request/qaa-p/11932629#M4483653</link>
    <description>&lt;P&gt;Hi  &lt;SPAN class="mention-scrubbed"&gt;bramkeijers&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Unfortunately, OData Receiver adapter does not support batch operation.&lt;/P&gt;&lt;P&gt;You have to use HTTP Adapter.&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Bala&lt;/P&gt;&lt;P&gt;P.S.: Your question might have given me another idea for a blog. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 31 Oct 2019 15:15:23 GMT</pubDate>
    <dc:creator>bhalchandrasw</dc:creator>
    <dc:date>2019-10-31T15:15:23Z</dc:date>
    <item>
      <title>Odata sender adapter batch request</title>
      <link>https://community.sap.com/t5/technology-q-a/odata-sender-adapter-batch-request/qaq-p/11932627</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
  &lt;P&gt;I want to mimic the oData batch operation from SAP Cloud For Customers oData API on the LeadCollection endpoint to create multipe Lead objects. I created an IFlow with a receiver and configured it to the LeadCollection endpoint utilizing the EDMX from Cloud for Customer. When I send a batch operation with a single change set it is fine. When I send multiple change sets then I receive error below. There is nothing in trace or access logs for this error. . I referenced the github documentation, the markup should be fine.&lt;/P&gt;
  &lt;P&gt;Please help me out achieving this, I want to use this batch as a base for a custom implementation.&lt;/P&gt;
  &lt;P&gt;Github developers guide on batch: &lt;A href="https://github.com/SAP/C4CODATAAPIDEVGUIDE#batch"&gt;&lt;/A&gt;&lt;A href="https://github.com/SAP/C4CODATAAPIDEVGUIDE#batch" target="test_blank"&gt;https://github.com/SAP/C4CODATAAPIDEVGUIDE#batch&lt;/A&gt;&lt;BR /&gt;ECC related information: &lt;A href="https://blogs.sap.com/2017/12/17/implementing-batch-operations-in-odata/"&gt;https://blogs.sap.com/2017/12/17/implementing-batch-operations-in-odata/&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;Referenced question: &lt;A href="https://answers.sap.com/questions/11969450/odata-sadl-batchrequest-with-multiple-changesets-d.html"&gt;https://answers.sap.com/questions/11969450/odata-sadl-batchrequest-with-multiple-changesets-d.html&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;Please help me out to get this to work, I want to use it as a base for a custom implementation. &lt;/P&gt;
  &lt;P&gt;Two change sets request:&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;--batch_guid_01
Content-Type: multipart/mixed; boundary=changeset_guid_01


--changeset_guid_01
Content-Type: application/http
Content-Transfer-Encoding: binary


POST LeadCollection HTTP/1.1
Content-Type: application/json
Content-Length: 10000


{
  "ObjectID" : "1111",
  "Name": "TestLeadCollection 1",
  "AccountPartyID": "1000976",
  "ContactID": "1000337",
  "Company": "Testleadcollection company 1"
}


--changeset_guid_01
Content-Type: application/http
Content-Transfer-Encoding: binary


POST LeadCollection HTTP/1.1
Content-Type: application/json
Content-Length: 10000


{
  "ObjectID" : "2222",
  "Name": "TestLeadCollection2",
  "AccountPartyID": "1000976",
  "ContactID": "1000337",
  "Company": "Testleadcollection company 2"
}


--changeset_guid_01-- 
--batch_guid_01--

&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Two change sets response:&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;--batch_73428c58-ea9d-49d4-ba22-48d24a66d9e0
Content-Type: application/http
Content-Transfer-Encoding: binary


HTTP/1.1 500 Internal Server Error
DataServiceVersion: 1.0
Content-Type: application/atom+xml;charset=utf-8;type=entry
Content-Length: 248


&amp;lt;?xml version='1.0' encoding='UTF-8'?&amp;gt;&amp;lt;error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"&amp;gt;&amp;lt;code&amp;gt;INTERNAL_SERVER_ERROR&amp;lt;/code&amp;gt;&amp;lt;message xml:lang="*"&amp;gt;null: Transaction ID :eed36bd8-f068-4498-a813-20910f073a83&amp;lt;/message&amp;gt;&amp;lt;/error&amp;gt;
--batch_73428c58-ea9d-49d4-ba22-48d24a66d9e0--
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Thanks in advance!&lt;/P&gt;
  &lt;P&gt;Bram&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2019 10:41:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/odata-sender-adapter-batch-request/qaq-p/11932627</guid>
      <dc:creator>former_member537554</dc:creator>
      <dc:date>2019-05-31T10:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Odata sender adapter batch request</title>
      <link>https://community.sap.com/t5/technology-q-a/odata-sender-adapter-batch-request/qaa-p/11932628#M4483652</link>
      <description>&lt;P&gt;Hi Bram,&lt;/P&gt;&lt;P&gt;Here is a blog for batch in OData sender&lt;BR /&gt;&lt;A href="https://blogs.sap.com/2018/11/22/sap-cloud-platform-integration-odata-service-in-batch-mode/"&gt;&lt;/A&gt;&lt;A href="https://blogs.sap.com/2018/11/22/sap-cloud-platform-integration-odata-service-in-batch-mode/" target="test_blank"&gt;https://blogs.sap.com/2018/11/22/sap-cloud-platform-integration-odata-service-in-batch-mode/&lt;/A&gt;&lt;BR /&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;BR&lt;BR /&gt;Saranya&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 08:31:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/odata-sender-adapter-batch-request/qaa-p/11932628#M4483652</guid>
      <dc:creator>saranya_baskaran2</dc:creator>
      <dc:date>2019-10-31T08:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Odata sender adapter batch request</title>
      <link>https://community.sap.com/t5/technology-q-a/odata-sender-adapter-batch-request/qaa-p/11932629#M4483653</link>
      <description>&lt;P&gt;Hi  &lt;SPAN class="mention-scrubbed"&gt;bramkeijers&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Unfortunately, OData Receiver adapter does not support batch operation.&lt;/P&gt;&lt;P&gt;You have to use HTTP Adapter.&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Bala&lt;/P&gt;&lt;P&gt;P.S.: Your question might have given me another idea for a blog. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 15:15:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/odata-sender-adapter-batch-request/qaa-p/11932629#M4483653</guid>
      <dc:creator>bhalchandrasw</dc:creator>
      <dc:date>2019-10-31T15:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Odata sender adapter batch request</title>
      <link>https://community.sap.com/t5/technology-q-a/odata-sender-adapter-batch-request/qaa-p/11932630#M4483654</link>
      <description>&lt;P&gt;Hi Bala,&lt;/P&gt;&lt;P&gt;OData receiver adapter supports batch operation. Blog explaining how batch works in OData Receiver adapter &lt;A href="https://blogs.sap.com/2017/05/10/batch-operation-in-odata-v2-adapter-in-sap-cloud-platform-integration/"&gt;https://blogs.sap.com/2017/05/10/batch-operation-in-odata-v2-adapter-in-sap-cloud-platform-integration/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BR&lt;BR /&gt;Saranya&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2019 02:56:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/odata-sender-adapter-batch-request/qaa-p/11932630#M4483654</guid>
      <dc:creator>saranya_baskaran2</dc:creator>
      <dc:date>2019-11-01T02:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: Odata sender adapter batch request</title>
      <link>https://community.sap.com/t5/technology-q-a/odata-sender-adapter-batch-request/qaa-p/11932631#M4483655</link>
      <description>&lt;P&gt;Hi  &lt;SPAN class="mention-scrubbed"&gt;saranya.baskaran2&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Yes, you are correct. I was not aware of this functionality.&lt;/P&gt;&lt;P&gt;I think  &lt;SPAN class="mention-scrubbed"&gt;bramkeijers&lt;/SPAN&gt; wants Batch operation on Receiver side. If you change your answer above to include Batch operation on both sides, this question can be closed.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Bala&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2019 07:49:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/odata-sender-adapter-batch-request/qaa-p/11932631#M4483655</guid>
      <dc:creator>bhalchandrasw</dc:creator>
      <dc:date>2019-11-01T07:49:04Z</dc:date>
    </item>
  </channel>
</rss>

