<?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 OData batch request and RAP LUW in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/odata-batch-request-and-rap-luw/m-p/12816694#M2025973</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;
  &lt;P&gt;I have some questions regarding OData batch request and RAP LUW.&lt;/P&gt;
  &lt;P&gt;If I understand correctly, in http request body, every boundary could have several changesets, these changeset are in one LUW, and every boundary is corresponding to an LUW. First, I am wondering if this is right.&lt;/P&gt;
  &lt;P&gt;Further, in association case, let's say header entity A and item entity B, if I want to create or update A with B, how should I generate the request body? &lt;/P&gt;
  &lt;P&gt;1, Complex JSON A with B as an attribute&lt;/P&gt;
  &lt;P&gt;2, JSON A in changeset 1 and JSON B in changeset 2&lt;/P&gt;
  &lt;P&gt;Which is the correct one?&lt;/P&gt;
  &lt;P&gt;In case of 2, how RAP framework calls one method (modify) with both entity A and B? In other words, how the framework knows A has relationship with B if they are in different changesets?&lt;/P&gt;
  &lt;P&gt;Regards,&lt;BR /&gt;Eric&lt;/P&gt;</description>
    <pubDate>Fri, 29 Dec 2023 15:04:19 GMT</pubDate>
    <dc:creator>EricYu0912</dc:creator>
    <dc:date>2023-12-29T15:04:19Z</dc:date>
    <item>
      <title>OData batch request and RAP LUW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/odata-batch-request-and-rap-luw/m-p/12816694#M2025973</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
  &lt;P&gt;I have some questions regarding OData batch request and RAP LUW.&lt;/P&gt;
  &lt;P&gt;If I understand correctly, in http request body, every boundary could have several changesets, these changeset are in one LUW, and every boundary is corresponding to an LUW. First, I am wondering if this is right.&lt;/P&gt;
  &lt;P&gt;Further, in association case, let's say header entity A and item entity B, if I want to create or update A with B, how should I generate the request body? &lt;/P&gt;
  &lt;P&gt;1, Complex JSON A with B as an attribute&lt;/P&gt;
  &lt;P&gt;2, JSON A in changeset 1 and JSON B in changeset 2&lt;/P&gt;
  &lt;P&gt;Which is the correct one?&lt;/P&gt;
  &lt;P&gt;In case of 2, how RAP framework calls one method (modify) with both entity A and B? In other words, how the framework knows A has relationship with B if they are in different changesets?&lt;/P&gt;
  &lt;P&gt;Regards,&lt;BR /&gt;Eric&lt;/P&gt;</description>
      <pubDate>Fri, 29 Dec 2023 15:04:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/odata-batch-request-and-rap-luw/m-p/12816694#M2025973</guid>
      <dc:creator>EricYu0912</dc:creator>
      <dc:date>2023-12-29T15:04:19Z</dc:date>
    </item>
  </channel>
</rss>

