https://raw.githubusercontent.com/ajmaradiaga/feeds/main/scmt/topics/ABAP-RESTful-Application-Programming-Model-qa.xml SAP Community - ABAP RESTful Application Programming Model 2026-02-12T06:00:07.679356+00:00 python-feedgen ABAP RESTful Application Programming Model Q&A in SAP Community https://community.sap.com/t5/technology-q-a/sap-change-document-integration-on-rap-i-changedocument-2-is-not-released/qaq-p/14314779 SAP Change document integration on RAP - I_ChangeDocument_2 is not released 2026-01-26T14:18:06.368000+01:00 rfreitas87 https://community.sap.com/t5/user/viewprofilepage/user-id/401423 <P>Sometimes I dont understant SAP</P><P>im trying to achieve change document integrations on my custom RAP development.&nbsp; ABAP Cloud on BTP</P><P>im following SAP documentation</P><P><A href="https://help.sap.com/docs/abap-cloud/abap-rap/integrating-change-documents" target="_blank" rel="noopener noreferrer">https://help.sap.com/docs/abap-cloud/abap-rap/integrating-change-documents</A></P><P><A href="https://help.sap.com/docs/abap-cloud/abap-rap/displaying-change-documents-on-ui" target="_blank" rel="noopener noreferrer">https://help.sap.com/docs/abap-cloud/abap-rap/displaying-change-documents-on-ui</A></P><P>but im facing error -&gt;&nbsp;<SPAN>The use of CDS Entity I_ChangeDocument_2 is not permitted.</SPAN></P><P>and i found the note&nbsp;<A href="https://me.sap.com/notes/0003337092" target="_blank" rel="noopener noreferrer">https://me.sap.com/notes/0003337092</A>&nbsp;that says "<SPAN>The views&nbsp;I_ChangeDocument_2, I_ChangeDocument, I_ChangeDocumentItem are technical views which only used internally and it<STRONG> is not planned to release them</STRONG>"<BR /><BR />so , what should i do to achieve the change documents integration?</SPAN></P><P><SPAN><a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1500393">@Madhumathi_</a> any idea? im also following your blog</SPAN></P><P>&nbsp;</P><P>&nbsp;</P> 2026-01-26T14:18:06.368000+01:00 https://community.sap.com/t5/technology-q-a/disable-custom-action-button-when-a-field-value-changed-in-sap-fiori/qaq-p/14314957 Disable custom action button when a field value changed in SAP Fiori Elements 2026-01-26T17:37:36.811000+01:00 JastinC1 https://community.sap.com/t5/user/viewprofilepage/user-id/1906021 <P>I have a custom action implemented in manifest.json</P><pre class="lia-code-sample language-abap"><code> "_Attachment/@com.sap.vocabularies.UI.v1.LineItem": { "actions": { "idUploadAtt": { "press": ".extension.xxx.ext.controller.ObjectPage.onAttachmentUpload", "visible": true, "enabled": ".extension.xxx.ext.controller.ObjectPage.onAttachmentUploadEnable", "requiresSelection": false, "text": "Add a Link" } } }</code></pre><P>i have the handler implemented in the controller extension.&nbsp;</P><P>I need the custom action button dynamically enable/disable based from one of the field values in the object page. If value is blank, custom action button is disabled and vice versa.</P><P>However, I checked that the handler in the controller extension is only triggered during routing to the object page or changing to edit mode. It does not trigger when the field value is changed.</P><P>Can you advise how can I trigger the handler during field value change?</P> 2026-01-26T17:37:36.811000+01:00 https://community.sap.com/t5/technology-q-a/visualisation-draft-record-odata-v2-versus-odata-v4/qaq-p/14315755 Visualisation Draft record Odata V2 versus Odata V4 2026-01-27T13:57:13.486000+01:00 HelgaRaemaekers https://community.sap.com/t5/user/viewprofilepage/user-id/632793 <P>hey,</P><P>we've written an application in RAP Odata V2 with draft. On the overview page,&nbsp; under the draft record, stood the word "Concept".</P><P>We've converted our application from V2 to V4, and now the word "Concept" has disappeared. I've read that their should appear a pencil at the left of the record, but I don't see this.&nbsp;<BR /><BR />Is there something special we have to do to obtain this pencil, or any indication to show this is a DRAFT record?<BR /><BR /></P><P>Thanks a lot,</P><P>Helga</P> 2026-01-27T13:57:13.486000+01:00 https://community.sap.com/t5/technology-q-a/pre-configured-sorting-order-for-child-entity-in-rap/qaq-p/14315898 Pre-configured sorting order for Child entity in RAP 2026-01-27T16:52:44.731000+01:00 AbhijeetT https://community.sap.com/t5/user/viewprofilepage/user-id/2140111 <P><SPAN>Dear Experts,</SPAN></P><P><SPAN>I</SPAN><SPAN>&nbsp;am creating a simple RAP application. I am facing issue while pre-configuring the sorting order for the child entity entries.</SPAN><SPAN>&nbsp;</SPAN></P><P><SPAN>I analyzed some of the demo applications provided by SAP but could not find the relevant examples.&nbsp;</SPAN><SPAN>Also tried to search for the old posts with same query but could not find.</SPAN></P><P><SPAN>Could you please guide me in this regard.</SPAN></P><P><SPAN>My application has 2 entities. CASE – Parent entity and FORMS – Child entity.</SPAN></P><P><SPAN>Metadata extension for the parent (Case) entity</SPAN></P><P><SPAN>&nbsp;<span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Parent_ME.png" style="width: 693px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/365884iA165B3D1BAE0EBBD/image-size/large?v=v2&amp;px=999" role="button" title="Parent_ME.png" alt="Parent_ME.png" /></span></SPAN></P><P><SPAN>&nbsp;</SPAN><SPAN>It is correctly pre-sorting the table entries as per the annotations.</SPAN></P><P><SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Parent_UI.png" style="width: 782px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/365885iC84263C7F917CEF5/image-size/large?v=v2&amp;px=999" role="button" title="Parent_UI.png" alt="Parent_UI.png" /></span></SPAN></P><P><SPAN>&nbsp;</SPAN></P><P><SPAN>M</SPAN><SPAN>etadata extension for the child (Forms) entity</SPAN></P><P><SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Child_ME.png" style="width: 713px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/365886iCBF719A9A363EF04/image-size/large?v=v2&amp;px=999" role="button" title="Child_ME.png" alt="Child_ME.png" /></span></SPAN></P><P>&nbsp;</P><P><SPAN>But it is not pre-sorting the table entries.</SPAN></P><P><SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Child_UI.png" style="width: 781px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/365887i566F5F715BA63D33/image-size/large?v=v2&amp;px=999" role="button" title="Child_UI.png" alt="Child_UI.png" /></span></SPAN></P> 2026-01-27T16:52:44.731000+01:00 https://community.sap.com/t5/technology-q-a/side-effect-not-working-after-deleting-the-child-instance/qaq-p/14316932 Side effect not working after deleting the child instance 2026-01-28T15:35:03.747000+01:00 AbhijeetT https://community.sap.com/t5/user/viewprofilepage/user-id/2140111 <P>Dear Experts,</P><P><SPAN>I am creating a simple RAP application. I am facing issue with the side effect not working as expected when I delete the child entity.</SPAN></P><P><SPAN>I analyzed some of the demo applications provided by SAP but could not find the relevant examples.</SPAN></P><P><SPAN>Could you please guide me in this regard.</SPAN></P><P><SPAN>My application has 2 entities. FORM – Parent entity and PAYMENT – Child entity.</SPAN></P><P><SPAN>FORM has 2 amounts – Expected amount and Difference amount.</SPAN></P><P><SPAN>The difference amount must be adjusted as soon as new Payment is created or deleted.</SPAN></P><P><SPAN>Base behavior definition - Payment</SPAN></P><P><STRONG><EM>side effects { $self affects field _forms.Diffamount; }</EM></STRONG></P><P><SPAN>Behavior projection</SPAN></P><DIV><DIV><P><EM><STRONG>projection;</STRONG></EM></P><P><EM><STRONG>strict ( 2 );</STRONG></EM></P><P><EM><STRONG>use draft;</STRONG></EM></P><P><EM><STRONG>use side effects;</STRONG></EM></P></DIV></DIV><P><SPAN>Initially, Expected amount and Difference amount are same because there is no Payment.</SPAN></P><P><SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SE_3.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/366465i89790B411389AB2C/image-size/large/is-moderation-mode/true?v=v2&amp;px=999" role="button" title="SE_3.png" alt="SE_3.png" /></span></SPAN></P><P><SPAN>Adding a payment</SPAN></P><P><SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SE_4.png" style="width: 752px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/366467iB23F94997806F43F/image-size/large?v=v2&amp;px=999" role="button" title="SE_4.png" alt="SE_4.png" /></span></SPAN></P><P><SPAN>New difference amount is calculated and updated in the draft table through determination.</SPAN></P><P><SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SE_5.png" style="width: 667px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/366468iDF517E7FBB8E5CBE/image-size/large/is-moderation-mode/true?v=v2&amp;px=999" role="button" title="SE_5.png" alt="SE_5.png" /></span></SPAN></P><P><SPAN>New difference amount is updated on the Form object page due to side effect.</SPAN></P><P><SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SE_6.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/366469iDFC7216ABACBE5B6/image-size/large?v=v2&amp;px=999" role="button" title="SE_6.png" alt="SE_6.png" /></span></SPAN></P><P><SPAN>Saved the changes to the persistent table.</SPAN></P><P>&nbsp;</P><P><SPAN>Deleting the payment</SPAN></P><P><SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SE_7.png" style="width: 602px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/366471i82E9B6783239636B/image-size/large/is-moderation-mode/true?v=v2&amp;px=999" role="button" title="SE_7.png" alt="SE_7.png" /></span></SPAN></P><P><SPAN>New difference amount is calculated and updated in the draft table through determination.</SPAN></P><P><SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SE_8.png" style="width: 666px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/366472iDCA0C759D66949D7/image-size/large?v=v2&amp;px=999" role="button" title="SE_8.png" alt="SE_8.png" /></span></SPAN></P><P><SPAN>But new difference amount is NOT updated on the Form object page.</SPAN></P><P><SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SE_9.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/366475iA66D4D3C4EF761F8/image-size/large/is-moderation-mode/true?v=v2&amp;px=999" role="button" title="SE_9.png" alt="SE_9.png" /></span></SPAN></P><P><SPAN>After manual reload the difference amount is updated</SPAN></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SE_10.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/366476iEDEED20E52E97310/image-size/large?v=v2&amp;px=999" role="button" title="SE_10.png" alt="SE_10.png" /></span></P><P>&nbsp;</P> 2026-01-28T15:35:03.747000+01:00 https://community.sap.com/t5/technology-q-a/download-flight-data-in-eclipse-from-github/qaq-p/14316947 download flight data in eclipse from github 2026-01-28T15:54:59.690000+01:00 gpooja https://community.sap.com/t5/user/viewprofilepage/user-id/823064 <P><A href="https://github.com/SAP-samples/abap-platform-refscen-flight/blob/ABAP-platform-cloud/README.md" target="_blank" rel="nofollow noopener noreferrer">abap-platform-refscen-flight/README.md at ABAP-platform-cloud · SAP-samples/abap-platform-refscen-flight · GitHub</A>&nbsp;referencing this document but facing errors while activating the packages.</P><P>Can someone please help with this?</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gpooja_0-1769611965930.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/366481iF6C53D80C4E372E8/image-size/medium?v=v2&amp;px=400" role="button" title="gpooja_0-1769611965930.png" alt="gpooja_0-1769611965930.png" /></span></P> 2026-01-28T15:54:59.690000+01:00 https://community.sap.com/t5/technology-q-a/how-to-make-quick-view-in-sap-rap-eclipse/qaq-p/14317307 How to make Quick View in sap rap eclipse? 2026-01-29T06:06:16.907000+01:00 JINWOOK_LEE22 https://community.sap.com/t5/user/viewprofilepage/user-id/2275471 <P>"Is it possible to display a QuickView with the user's email and phone number when hovering over or clicking on the 'Created By' field on the Object Page?</P> 2026-01-29T06:06:16.907000+01:00 https://community.sap.com/t5/technology-q-a/seeking-guidance-ui-state-persistence-in-rap-unmanaged-query-after-intent/qaq-p/14318023 Seeking Guidance: UI State Persistence in RAP Unmanaged Query after Intent-Based Navigation 2026-01-29T17:52:39.842000+01:00 rowieforms https://community.sap.com/t5/user/viewprofilepage/user-id/219439 <P>I’m currently working on a custom application using an <STRONG>Unmanaged RAP Query</STRONG> where we’ve implemented <STRONG>Intent-Based Navigation (IBN)</STRONG> to various standard SAP apps.</P><P>While the forward navigation works as expected, we are encountering an issue with the "Return" flow. When navigating back from the standard app to our custom RAP app, the UI state is lost—the filters are cleared, and the previously queried data is gone. It behaves as a fresh launch rather than a return to the previous state.</P><P>Standard SAP apps typically maintain this context (Pagination/Filter selections) via <STRONG>Inner App State</STRONG> or <STRONG>Selection Variant</STRONG> persistence.</P><P>Could anyone provide insight on how to properly implement state handling in an Unmanaged RAP context? Specifically:</P><OL><LI><P>Are there specific annotations or manifest settings required to enable <STRONG>Component/UI State persistence</STRONG>?</P></LI><LI><P>Does the Unmanaged Query require a specific implementation to "re-read" the navigation context upon return?</P></LI></OL><P>Looking forward to your expert advice!</P><P>Best regards,</P><P>Rowie</P> 2026-01-29T17:52:39.842000+01:00 https://community.sap.com/t5/technology-q-a/sap-rap-fields-of-root-and-child-on-one-object-page/qaq-p/14320566 SAP RAP - fields of root and child on one object page 2026-02-03T11:36:07.200000+01:00 PR2000 https://community.sap.com/t5/user/viewprofilepage/user-id/1491838 <P>Hi Everyone,</P><P>I have a simple managed RAP-Scenarion with a BO containing the follwing Entities:</P><UL><LI>Root entity (e.g. Invoice)</LI><LI>One Child Entity &nbsp;(e.g. Position)</LI><LI>Cardianality is [1..*]</LI></UL><P>When I start the Application, I can click on create and enter the Data for the Root-Node. After that, I can click on create again and entert he data fort he child. So far, so good. This is the standard behavior the RAP Framework offers.</P><P>&nbsp;</P><P>I’m wondering if it is possible, to create a managed scenarion with an Object Page, where all Fields of the Root and the Child are displayed all at once.</P><P>I found a solution here <A href="https://community.sap.com/t5/technology-q-a/create-by-association-for-1-1-composition-in-rap-unmanaged/qaq-p/14006338" target="_blank">https://community.sap.com/t5/technology-q-a/create-by-association-for-1-1-composition-in-rap-unmanaged/qaq-p/14006338</A>. But after implementing, the fields of the child are shown in a second facet on the same screen as the root entity. But the fields are not editable. I think this is because of the cardinality I used in my example. The cardinality in the mentioned link between root and child is 0..1.</P><P>&nbsp;</P><P>Thank you for any hints, tricks …</P><P>&nbsp;</P><P>BR</P><P>&nbsp;</P><P>Peter</P> 2026-02-03T11:36:07.200000+01:00 https://community.sap.com/t5/technology-q-a/abap-rap-action-is-not-updating-the-ui-unmanaged-managed/qaq-p/14320626 ABAP RAP - Action is not Updating the UI (unmanaged / managed) 2026-02-03T12:42:01.217000+01:00 wjanes https://community.sap.com/t5/user/viewprofilepage/user-id/41246 <P>Hello Community</P><P>I am currently trying to fill a field with a different value using an action. To do this, I create a READ entity to determine the selected rows, then I change the field and return it using the Result statement.</P><P>Unfortunately, the UI is not updated so that the new value appears in the column.</P><P>I have stored my action as follows:<BR /><STRONG>action load result [1] $self;</STRONG></P><P>My action method looks like this:</P><P><STRONG>READ ENTITIES OF XXXX IN LOCAL MODE</STRONG><BR /><STRONG>ENTITY YYYYY</STRONG><BR /><STRONG>FROM CORRESPONDING #( keys )</STRONG><BR /><STRONG>RESULT DATA(lt_rows)</STRONG><BR /><STRONG>FAILED failed.</STRONG></P><P><STRONG>LOOP AT lt_rows ASSIGNING FIELD-SYMBOL(&lt;row&gt;).</STRONG><BR /><STRONG>&lt;row&gt;-FIELD1 = ‘NEW_TEXT’.</STRONG><BR /><STRONG>&lt;row&gt;-FIELD2 = ‘NEW TEXT 2’.</STRONG><BR /><STRONG>INSERT VALUE #( %tky = &lt;row&gt;-%tky %param = &lt;row&gt; ) INTO TABLE result.</STRONG><BR /><STRONG>ENDLOOP.</STRONG></P><P>Regardless of whether I try it in a managed or unmanaged environment, it does not work. Could someone assist me in identifying what the problem might be?<BR /><BR />Update: I did some debugging today and found out that the odata call is always triggered and overwrite my changed result!<BR />But how can i prevent this?</P><P>Current system is SAP S4HANA 2023 FP03.</P><P>Best regards, Wolfgang</P> 2026-02-03T12:42:01.217000+01:00 https://community.sap.com/t5/technology-q-a/how-can-i-restrict-access-to-custom-cds-view-data-by-access-control-on/qaq-p/14320668 How can i restrict access to custom CDS View Data by Access Control on aspect pfcg_auth in S4HPC 2026-02-03T13:14:21.506000+01:00 vhardzeyenka https://community.sap.com/t5/user/viewprofilepage/user-id/1412543 <P>Hi.</P><P>I need to&nbsp;restrict access to CDS View Data by Access Control on PFCG in S4HPC.</P><P>How can i link Authorization Object with Business Role?</P><P>I've created custom CDS View</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vhardzeyenka_0-1770120589435.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/368522iFB760330938E0E9F/image-size/medium?v=v2&amp;px=400" role="button" title="vhardzeyenka_0-1770120589435.png" alt="vhardzeyenka_0-1770120589435.png" /></span></P><P>Also Access Control on PFCG authorization</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vhardzeyenka_1-1770120619472.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/368526iB1ED2B4B299DD3CA/image-size/medium?v=v2&amp;px=400" role="button" title="vhardzeyenka_1-1770120619472.png" alt="vhardzeyenka_1-1770120619472.png" /></span></P><P>I also created custom Authorization Object / Field <SPAN>ZVHAOBJ1 /&nbsp;ZVHFLD1</SPAN>.&nbsp;</P><P>Now question: how can i assign&nbsp;Authorization Object&nbsp;<SPAN>ZVHAOBJ1 to particular Business Role to restrict access to CDS View Data for:</SPAN></P><UL><LI><SPAN>Users that has proper authorization can view data according to restriction described above (like, only particular suppliers and only if has Read authorization)</SPAN></LI><LI><SPAN>Other users cannot read the data</SPAN></LI></UL><P><SPAN>Regards</SPAN></P><P><SPAN>Vitali</SPAN></P><P>&nbsp;</P> 2026-02-03T13:14:21.506000+01:00 https://community.sap.com/t5/technology-q-a/make-field-read-only-in-table-but-editable-in-object-page/qaq-p/14321137 Make field read-only in table but editable in Object Page 2026-02-04T06:16:09.888000+01:00 JastinC1 https://community.sap.com/t5/user/viewprofilepage/user-id/1906021 <P>I have a custom app where in the Object Page, there is section for a table where i can add new business partner.</P><P>But I want the fields to be read-only when it is viewed as a table in the Object Page.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JastinC1_0-1770181957835.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/368733iCDB9725E1A16EA46/image-size/medium?v=v2&amp;px=400" role="button" title="JastinC1_0-1770181957835.png" alt="JastinC1_0-1770181957835.png" /></span></P><P>I want it to be editable when I access the row into another the BP Object Page.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JastinC1_1-1770182002948.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/368734i9085135F00A13D31/image-size/medium?v=v2&amp;px=400" role="button" title="JastinC1_1-1770182002948.png" alt="JastinC1_1-1770182002948.png" /></span></P><P>I already tried using dynamic feature control, but the logic cannot tell whether the app is in table view or in object page view. Need your help on this matter. Thanks!</P> 2026-02-04T06:16:09.888000+01:00 https://community.sap.com/t5/technology-q-a/while-creating-qn-attachment-in-api-i-am-getting-the-authorization-error/qaq-p/14321528 While creating QN attachment in API I am getting the authorization error 2026-02-04T13:35:24.731000+01:00 verorach_97 https://community.sap.com/t5/user/viewprofilepage/user-id/2278688 <P>I have successfully posted the Quality Notification via API IN PUBLIC CLOUD. After creation while trying to create an attachment in Quality Notification using API&nbsp;<SPAN>/sap/opu/odata/sap/API_CV_ATTACHMENT_SRV/AttachmentContentSet, I am getting authorization error. I have used the system credentials SAP_COM_0153 (which is used for QN).</SPAN></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="verorach_97_1-1770208287306.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/368923i51F6CA9EB7522A8C/image-size/medium?v=v2&amp;px=400" role="button" title="verorach_97_1-1770208287306.png" alt="verorach_97_1-1770208287306.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="verorach_97_2-1770208445305.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/368924i963C123A03EC2447/image-size/medium?v=v2&amp;px=400" role="button" title="verorach_97_2-1770208445305.png" alt="verorach_97_2-1770208445305.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="verorach_97_3-1770208501209.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/368925i147407702ECD0D78/image-size/medium?v=v2&amp;px=400" role="button" title="verorach_97_3-1770208501209.png" alt="verorach_97_3-1770208501209.png" /></span></P><P>Kindly help me in resolving this issue</P> 2026-02-04T13:35:24.731000+01:00 https://community.sap.com/t5/technology-q-a/rap-based-service-does-not-support-aggregation-totals-with-filters-and/qaq-p/14322110 RAP‑Based Service Does Not Support Aggregation Totals with Filters and Group‑By with Crud 2026-02-05T11:50:13.971000+01:00 Adarsh119 https://community.sap.com/t5/user/viewprofilepage/user-id/2153398 <P>&nbsp;</P><H2 id="problemdescription" id="toc-hId-1789521216"><STRONG>Problem Description:</STRONG></H2><P>We are implementing a Fiori Elements <STRONG>List Report</STRONG> using a <STRONG>RAP‑based OData service</STRONG> (OData V2 or V4).<BR />The business requirement is to show <STRONG>aggregated totals</STRONG> (SUM) for multiple numeric columns. These totals must update dynamically whenever:</P><UL><LI>Filters are applied</LI><LI>Group By is enabled</LI><LI>Group levels expand/collapse</LI><LI>Sorting or table personalization is applied</LI></UL><H3 id="mostimportantrequirement" id="toc-hId-1722090430"><STRONG>Most Important Requirement:</STRONG></H3><P>When the List Report table is <STRONG>grouped</STRONG>, the system must display <STRONG>an aggregation subtotal row for each group</STRONG> (group-level total), not only a grand total.</P><P>However, RAP currently <STRONG>does not allow analytical annotations</STRONG> or analytical CDS entities to be used with transactional behavior. Because of this limitation:</P><UL><LI>We cannot enable annotations such as<UL><LI><CODE><a href="https://community.sap.com/t5/user/viewprofilepage/user-id/15206">@analytics</a>.query: true</CODE></LI><LI><CODE>@DefaultAggregation: #SUM</CODE></LI><LI><CODE>@Aggregation.default: #SUM</CODE></LI></UL></LI><LI>RAP services cannot perform backend aggregations or expose group-level totals.</LI><LI>As a result, neither <STRONG>grand totals</STRONG> nor <STRONG>group-level totals</STRONG> can appear in the List Report.</LI></UL><HR /><H2 id="observedlimitation" id="toc-hId-1396494206"><STRONG>Observed Limitation:</STRONG></H2><H3 id="backendrap" id="toc-hId-1329063420">Backend (RAP):</H3><UL><LI>RAP business objects with behavior definitions <STRONG>do not support analytical CDS views</STRONG>.</LI><LI>Aggregations and group-by queries are <STRONG>not supported</STRONG> in RAP OData V2 or OData V4.</LI><LI>Analytical annotations cannot be used on projection or interface views participating in RAP.</LI></UL><P>&nbsp;</P><P>&nbsp;</P> 2026-02-05T11:50:13.971000+01:00 https://community.sap.com/t5/technology-q-a/rap-based-service-does-not-support-aggregation-totals-with-filters-and/qaq-p/14322164 RAP‑Based Service Does Not Support Aggregation Totals with Filters and Group‑By 2026-02-05T12:30:47.391000+01:00 wafa-chaari https://community.sap.com/t5/user/viewprofilepage/user-id/2209085 <P><SPAN>We are implementing a Fiori Elements List Report using a RAP‑based OData service (OData V2 or V4).<BR />The business requirement is to show aggregated totals (SUM) for multiple numeric columns. These totals must update dynamically whenever:</SPAN></P><UL><LI>Filters are applied</LI><LI>Group By is enabled</LI><LI>Group levels expand/collapse</LI><LI>Sorting or table personalization is applied<H3 id="toc-hId-1918604094"><SPAN><STRONG>Most Important Requirement:</STRONG></SPAN></H3><P><SPAN>When the List Report table is grouped, the system must display an aggregation subtotal row for each group (group-level total), not only a grand total.</SPAN></P><P><SPAN>However, RAP currently does not allow analytical annotations or analytical CDS entities to be used with transactional behavior. Because of this limitation:</SPAN></P><UL><LI>We cannot enable annotations such as<UL><LI><A class="" title="https://community.sap.com/t5/user/viewprofilepage/user-id/15206" href="https://community.sap.com/t5/user/viewprofilepage/user-id/15206" target="_blank"><SPAN>@analytical<CODE>.query: true</CODE></SPAN></A></LI><LI><CODE>@DefaultAggregation: #SUM</CODE></LI><LI><CODE>@Aggregation.default: #SUM</CODE></LI><LI>RAP services cannot perform backend aggregations or expose group-level totals.</LI><LI>As a result, neither <STRONG>grand totals nor group-level totals can appear in the List Report.</STRONG></LI></UL></LI></UL></LI></UL> 2026-02-05T12:30:47.391000+01:00 https://community.sap.com/t5/technology-q-a/rap-fiori-elements-how-do-i-show-hierarchical-data-inside-a-fiori-elements/qaq-p/14322289 RAP + Fiori elements: How do I show hierarchical data inside a Fiori Elements Object Page 2026-02-05T15:38:25.375000+01:00 imen_belkhiria https://community.sap.com/t5/user/viewprofilepage/user-id/2266133 <P>Hello Everybody,</P><P>Actually I have created a RAP OData v4 in SAP S/HANA on-premise with a Fiori elements application. I am trying to display the data in my object page in hierarchical way. I have tried with define hierarchy view and the annotation&nbsp;<SPAN><a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1599241">@odata</a>.hierarchy.recursiveHierarchy, but my system version does not support it.&nbsp;<BR />Does anyone have a solution to&nbsp;show hierarchical data inside a Fiori Elements Object Page?</SPAN></P><P>Thank you,</P><P>&nbsp;</P> 2026-02-05T15:38:25.375000+01:00 https://community.sap.com/t5/technology-q-a/how-to-trigger-handler-class-read-method-in-rap-odata-v4-web-api/qaq-p/14322627 how to trigger handler class read method in RAP OData V4 Web API? 2026-02-06T05:25:45.034000+01:00 Chandra_S https://community.sap.com/t5/user/viewprofilepage/user-id/1491439 <P>Dear Colleagues,</P><P>Good day.</P><P><SPAN>Well, I have a requirement, existing material data coming from third party system to CPI to S/4 HANA MDG and need to create change request and approve it. </SPAN></P><P><SPAN>So created a RAP service,&nbsp;Table , CDS view , service definition with binding type OData V4 Web API&nbsp;along with behavior definition/implementation In the handler class, defined the methods modify and read. I just want to see if read method is called and data filled. So i would like to know how i can execute/debug the handler class read method. </SPAN></P><P><SPAN>How can i do the GET call using GW client?</SPAN></P><P><SPAN>Service URL :&nbsp;&nbsp;</SPAN>/sap/opu/odata4/sap/xxx_xx_xxx_sb/srvd_a2x/sap/xxxx_xx_xxxx_s/0001/</P><P>xxx_xx_xxx_sb -&nbsp; Service binding&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;xxxx_xx_xxxx_s&nbsp; - Service definition</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chandra_S_0-1770351130965.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/369373iCAE03B1AE4605ADC/image-size/medium?v=v2&amp;px=400" role="button" title="Chandra_S_0-1770351130965.png" alt="Chandra_S_0-1770351130965.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chandra_S_1-1770351210163.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/369374iEDCF6EF12ABBC342/image-size/medium?v=v2&amp;px=400" role="button" title="Chandra_S_1-1770351210163.png" alt="Chandra_S_1-1770351210163.png" /></span></P><P>&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chandra_S_2-1770351805805.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/369375iC76B35A65F1F2361/image-size/medium?v=v2&amp;px=400" role="button" title="Chandra_S_2-1770351805805.png" alt="Chandra_S_2-1770351805805.png" /></span></P><P>&nbsp;</P><P>&nbsp;</P><P>regards</P><P>Chandra Kishore.</P> 2026-02-06T05:25:45.034000+01:00 https://community.sap.com/t5/technology-q-a/different-header-in-xml-schema-based-interface-with-gateway-in-sap-s4-hana/qaq-p/14323330 Different Header in XML schema based interface with gateway in sap s4 hana  ADOBE forms 2026-02-07T00:12:18.072000+01:00 ahmedilyas-1 https://community.sap.com/t5/user/viewprofilepage/user-id/913778 <P>Hi</P><P>I am using Master form template to display logo and fotter and content form template for content my requirement is to have 2 different header fields in first page and second page. i.e after logo i want 5 fields in first page and 2 fields in second page and so on.&nbsp; Could you let me know how to achieve different headers using XML schema based interface in sap s4 hana&nbsp;</P><P>Thanks</P> 2026-02-07T00:12:18.072000+01:00 https://community.sap.com/t5/technology-q-a/timeout-in-rap-action/qaq-p/14323903 Timeout in RAP Action 2026-02-09T07:36:41.901000+01:00 UI5_DEV1 https://community.sap.com/t5/user/viewprofilepage/user-id/1487023 <P>I have a Rap app with an action in a table that is partially executed on up to 100,000 items. Processing then takes place in the backend for each location. Since this process takes a certain amount of time per item, it can take several hours for the entire logic to be completed. As a result, the process aborts in the frontend with a timeout.</P><P>I solved the problem by running the processing in an RFC module in the background. The customer does not want to extend the session length that causes the timeout. My question now is whether there are other alternatives to solve this problem?</P> 2026-02-09T07:36:41.901000+01:00 https://community.sap.com/t5/technology-q-a/exception-aggregation-steps-and-nop-together-abap-rap-analytical-query/qaq-p/14323904 Exception aggregation steps and #NOP together (ABAP RAP Analytical Query) 2026-02-09T07:36:50.223000+01:00 mvoros https://community.sap.com/t5/user/viewprofilepage/user-id/183841 <P>Hi,</P><P>I am trying to define an analytical query in ABAP RAP and I am struggling to have #NOP operation and exception aggregation steps working together in one query.</P><P>For simplicity, let's say I have a cube with the following properties: Document, Document Item, Sales and Price. With this simple model, I can define aggregation #SUM for Sales and aggregation #NOP for Price. Let's say I have the following data in my cube:\</P><pre class="lia-code-sample language-json"><code>Document A, 10, 20, 10 Document A, 20, 40, 10 Document B, 10, 100, 20 Document B, 20, 200, 25</code></pre><P>When I ask to get aggregated records by Document and show measures Sales and Price, I get the following two records:</P><pre class="lia-code-sample language-json"><code>Document A, 60, 10 Document B, 300, &lt;null&gt;</code></pre><P>This is all great and what I exactly want to see. The sales get aggregated and Price shows a value only if all items have the same price. Otherwise it does not show the value.</P><P>The problem is that my data model is more complex. Let's say each document can be tagged with one or more tags. My cube also has additional attribute Tag. I want provide flexibility to users to have aggregation per tag. Let's say I have the following data in my cube:</P><pre class="lia-code-sample language-json"><code>Tag One, Document A, 10, 20, 10 Tag One, Document A, 20, 40, 20 Tag Two, Document A, 10, 20, 10 Tag Two, Document A, 20, 40, 20</code></pre><P>I have one document, with different prices on each item and the document is associated with two tags. When I ask to get aggregated records by Document and show measures Sales and Price, I get the following record:</P><pre class="lia-code-sample language-json"><code>Document A, 120, &lt;null&gt;</code></pre><P>The aggregation for Price works fine (it shows null as there are different prices for document items). But the aggregation for Sales is double counting as the document has two tags. This is clearly wrong. To fix this problem, I introduced the exception aggregation steps for measure Sales.</P><pre class="lia-code-sample language-sql"><code>@AnalyticsDetails.exceptionAggregationSteps: [ { exceptionAggregationBehavior: #SUM, exceptionAggregationElements: [ 'Document' ] } ] Sales</code></pre><P>When I ask to get the aggregate records by Document and show measures Sales and Price, I get the following record:</P><pre class="lia-code-sample language-json"><code>Document A, 60, 10</code></pre><P>The aggregation for Sales works again and it does not double count Sales anymore. But the aggregation #NOP stopped working and it shows the value from the first item. I would like to avoid this. The aggregatiobn #NOP is not supported for exceptionAggregationBehavior.</P><P>Is there a way how to make #NOP and exception aggregation steps work together? Or is there another way how to model this type of the scenario where the same document can be present multiple times and the summation should prevent any double counting?</P><P>The best workaround I could come up with is that I defined two new measures MinPrice and MaxPrice with the corresponding aggregations #MIN and #MAN. Then I defined a new measure with the following formula.</P><pre class="lia-code-sample language-sql"><code>@Aggregation.default: #FORMULA @EndUserText.label: 'Test' @AnalyticsDetails.query:{ decimals: 2} case when $projection.minprice = $projection.maxprice then get_numeric_value(MinPrice) else 0 end as Test,</code></pre><P>This almost works as desired. If minimal and maximal prices are the same, it shows the price. Otherwise it shows 0. Here I would prefer null instead of 0. But there are other things that I do not like about this workaround. The hard coded decimals are not nice. And it means that for each measure like Price, I need to define additional 2 measures Min and Max. I have more than 10 fields like this so it quickly gets out of hand. The last concern is about performance of this workaround.</P><P>Any suggestions how to achieve this requirement?</P><P>Thanks</P> 2026-02-09T07:36:50.223000+01:00