<?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: RAP / Restful Application Programming Model: Projecte... in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/rap-restful-application-programming-model-projected-association-is-not/qaa-p/14242414#M4929102</link>
    <description>&lt;P&gt;Hi colleagues,&lt;/P&gt;&lt;P&gt;I was facing the same issue in my project. I was able to solve it with help of ZFE_TRAVEL_XXXXXX example and use of analogy. Since there is no more details about your project, there are some points to follow:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;use "&lt;SPAN&gt;redirected to parent _parent" &amp;lt;--&amp;gt; "redirected to composition child&amp;nbsp;_child" in your projection cds views&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;use "association _child { create; with draft` } and association _parent { with draft } in your behavior definition and bd projection files&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;These steps helped me to solve the issue. More about it probably can be found by inspecting the&amp;nbsp;ZFE_TRAVEL_XXXXXX (namely composition between TRAVEL and BOOKING ) and further googling.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Radim&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Oct 2025 12:40:50 GMT</pubDate>
    <dc:creator>raada</dc:creator>
    <dc:date>2025-10-13T12:40:50Z</dc:date>
    <item>
      <title>RAP / Restful Application Programming Model: Projected association is not draft enabled</title>
      <link>https://community.sap.com/t5/technology-q-a/rap-restful-application-programming-model-projected-association-is-not/qaq-p/14033007</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I am currently developing an RAP (Restful) App.&lt;/P&gt;&lt;P&gt;Relevant architecture: Managed scenario, draft enabled, multiple associations and multiple compositions are present. CRUD Operations have been mapped accordingly and strict( 2 ) is active for the Behavior Definition.&lt;/P&gt;&lt;P&gt;I first had an issue regarding the CREATE Button stemming from the managed scenario Behaviour definition, which did not generate. After some research it appeared to be based on the fact that for OData Version 4, CREATE and EDIT Buttons can only be generated provided draft is enabled.&lt;/P&gt;&lt;P&gt;Following that, I have just finished generating the Draft Tables necessary for all my compositions (which are used for multiple lineitem sections on the object page) and now come to an error message, which is hindering my progress.&lt;/P&gt;&lt;P&gt;The message is:&lt;/P&gt;&lt;P&gt;"&lt;STRONG&gt;Error in entity '(Projection_View_Name(CDS))': Projected association _AssociationName of&amp;nbsp;Projection_View_Name is not draft enabled."&lt;BR /&gt;&lt;/STRONG&gt;&amp;gt;&amp;gt;&amp;gt; Clicking into the message navigates to the Service Binding, which (since that message appeared) is not published anymore and also shows a error message next to its name.&lt;BR /&gt;&lt;BR /&gt;Based on the message I would think, that I would have to specifically define the given association inside the Projection View to be draft enabled, but I am not aware of the syntax. How could this be achieved?&lt;/P&gt;&lt;P&gt;Thanks in advance for every response!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;04.03.2025 - EDIT:&lt;BR /&gt;If the Behaviour Projection it supplied with the syntax "use association _AssociationName { with draft; }" then the message results in: &lt;STRONG&gt;"Error in entity 'Projection_View_Name(CDS)': Entity Projection_View_Name: Association _AssociationName cannot be draft enabled."&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 07:59:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/rap-restful-application-programming-model-projected-association-is-not/qaq-p/14033007</guid>
      <dc:creator>Zerhat</dc:creator>
      <dc:date>2025-03-04T07:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: RAP / Restful Application Programming Model: Projecte...</title>
      <link>https://community.sap.com/t5/technology-q-a/rap-restful-application-programming-model-projected-association-is-not/qaa-p/14033218#M4905560</link>
      <description>&lt;P&gt;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1511892"&gt;@Zerhat&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To enable draft creation for an associated entity, use the syntax below:&lt;/P&gt;&lt;LI-CODE lang="abap"&gt;association _Booking { create ; with draft; }&lt;/LI-CODE&gt;&lt;P&gt;Please also refer to the following document:&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.sap.com/docs/ABAP_PLATFORM_NEW/fc4c71aa50014fd1b43721701471913d/982a40c45eba4443b2b6a25f824023fa.html" target="_blank"&gt;https://help.sap.com/docs/ABAP_PLATFORM_NEW/fc4c71aa50014fd1b43721701471913d/982a40c45eba4443b2b6a25f824023fa.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 10:04:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/rap-restful-application-programming-model-projected-association-is-not/qaa-p/14033218#M4905560</guid>
      <dc:creator>MioYasutake</dc:creator>
      <dc:date>2025-03-04T10:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: RAP / Restful Application Programming Model: Projecte...</title>
      <link>https://community.sap.com/t5/technology-q-a/rap-restful-application-programming-model-projected-association-is-not/qaa-p/14034087#M4905664</link>
      <description>Thanks for the reply! That syntax had already been implemented prior, hence the reason it was possible to activate the Behaviour Projection (=&amp;gt; "use association _AssociationName { with draft; }", refering to the EDIT I made made in my post, yesterday).</description>
      <pubDate>Wed, 05 Mar 2025 07:44:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/rap-restful-application-programming-model-projected-association-is-not/qaa-p/14034087#M4905664</guid>
      <dc:creator>Zerhat</dc:creator>
      <dc:date>2025-03-05T07:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: RAP / Restful Application Programming Model: Projecte...</title>
      <link>https://community.sap.com/t5/technology-q-a/rap-restful-application-programming-model-projected-association-is-not/qaa-p/14174742#M4922270</link>
      <description>Did you find the solution to this one?? I'm facing the same problem in my development too!</description>
      <pubDate>Thu, 07 Aug 2025 12:14:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/rap-restful-application-programming-model-projected-association-is-not/qaa-p/14174742#M4922270</guid>
      <dc:creator>AshutoshJ</dc:creator>
      <dc:date>2025-08-07T12:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: RAP / Restful Application Programming Model: Projecte...</title>
      <link>https://community.sap.com/t5/technology-q-a/rap-restful-application-programming-model-projected-association-is-not/qaa-p/14242414#M4929102</link>
      <description>&lt;P&gt;Hi colleagues,&lt;/P&gt;&lt;P&gt;I was facing the same issue in my project. I was able to solve it with help of ZFE_TRAVEL_XXXXXX example and use of analogy. Since there is no more details about your project, there are some points to follow:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;use "&lt;SPAN&gt;redirected to parent _parent" &amp;lt;--&amp;gt; "redirected to composition child&amp;nbsp;_child" in your projection cds views&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;use "association _child { create; with draft` } and association _parent { with draft } in your behavior definition and bd projection files&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;These steps helped me to solve the issue. More about it probably can be found by inspecting the&amp;nbsp;ZFE_TRAVEL_XXXXXX (namely composition between TRAVEL and BOOKING ) and further googling.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Radim&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2025 12:40:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/rap-restful-application-programming-model-projected-association-is-not/qaa-p/14242414#M4929102</guid>
      <dc:creator>raada</dc:creator>
      <dc:date>2025-10-13T12:40:50Z</dc:date>
    </item>
  </channel>
</rss>

