<?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 RAP: Behavior definition for abstract entity in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/rap-behavior-definition-for-abstract-entity/m-p/13628019#M2026951</link>
    <description>&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;A bit of interesting requirement from my side. I was tasked to develop and expose an OData API that calls a few BAPIs to create a few objects in the S4 backend (e.g. sales orders) together with quite a few lines of custom code. Now this would be a trivial task to do in RAP, however the caveat is - that there is no DB layer for custom data - API should literally just accept the data, execute BAPIs and return the BAPI result back to the consumer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since the behavior definition is not allowed for abstract entities, do you have an idea on how this requirement can be realized in a gateway-like style, where I can just define a model for consumer to use, consumer then calls the endpoint with the necessary payload and I take over with behavior definition to execute necessary code?&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Ilja.&lt;/P&gt;</description>
    <pubDate>Tue, 05 Mar 2024 10:15:44 GMT</pubDate>
    <dc:creator>imihailovs</dc:creator>
    <dc:date>2024-03-05T10:15:44Z</dc:date>
    <item>
      <title>RAP: Behavior definition for abstract entity</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rap-behavior-definition-for-abstract-entity/m-p/13628019#M2026951</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;A bit of interesting requirement from my side. I was tasked to develop and expose an OData API that calls a few BAPIs to create a few objects in the S4 backend (e.g. sales orders) together with quite a few lines of custom code. Now this would be a trivial task to do in RAP, however the caveat is - that there is no DB layer for custom data - API should literally just accept the data, execute BAPIs and return the BAPI result back to the consumer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since the behavior definition is not allowed for abstract entities, do you have an idea on how this requirement can be realized in a gateway-like style, where I can just define a model for consumer to use, consumer then calls the endpoint with the necessary payload and I take over with behavior definition to execute necessary code?&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Ilja.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 10:15:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rap-behavior-definition-for-abstract-entity/m-p/13628019#M2026951</guid>
      <dc:creator>imihailovs</dc:creator>
      <dc:date>2024-03-05T10:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: RAP: Behavior definition for abstract entity</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rap-behavior-definition-for-abstract-entity/m-p/13629255#M2026974</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You have to use custom entities but not abstract entities to achieve your requirements.&lt;/P&gt;&lt;P&gt;Please see the below blog&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.sap.com/t5/technology-blogs-by-members/sap-abap-rap-custom-entities-with-compositions-relationship-in-a-fiori/ba-p/13577865" target="_blank"&gt;https://community.sap.com/t5/technology-blogs-by-members/sap-abap-rap-custom-entities-with-compositions-relationship-in-a-fiori/ba-p/13577865&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Best wishes,&lt;/P&gt;&lt;P&gt;Ramjee Korada&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 06:58:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rap-behavior-definition-for-abstract-entity/m-p/13629255#M2026974</guid>
      <dc:creator>Ramjee_korada</dc:creator>
      <dc:date>2024-03-06T06:58:45Z</dc:date>
    </item>
  </channel>
</rss>

