https://raw.githubusercontent.com/ajmaradiaga/feeds/main/scmt/topics/ABAP-RESTful-Application-Programming-Model-qa.xmlSAP Community - ABAP RESTful Application Programming Model2026-04-10T17:00:06.581243+00:00python-feedgenABAP RESTful Application Programming Model Q&A in SAP Communityhttps://community.sap.com/t5/technology-q-a/updating-production-order-component-quantity-as-per-batch-from-custom-app/qaq-p/14352204Updating Production Order Component Quantity as per Batch from Custom App to SAP Public Cloud2026-03-18T12:19:45.376000+01:00Yash_Rudrakshahttps://community.sap.com/t5/user/viewprofilepage/user-id/1970930<P>Hello Experts,</P><P>We are working with Custom Application (using RAP Application) in SAP S/4HANA Public Cloud, where Batch wise line items are created with fields such as Batch, Quantity, Unit of measurement , Plant, Material, Storage Location, Backflush Indicator, Material Category, & Sequence Category.</P><P>Our requirement is to update these line items in the Component tab of the Production Order in the standard SAP Public Cloud system.</P><P>In other words, each Batch wise line item created in the Custom Application should get populated in a corresponding component tab in the Production Order.</P><P>We explored the CDS view <STRONG>I_ProductionOrderOpComponentTP</STRONG>, but as it is not a root view, we are unable to perform transactional updates using EML <SPAN class=""><SPAN class="">(Entity Manipulation Language) for transactional updates</SPAN></SPAN>.</P><P>Below is the field mapping for reference</P><P> </P><TABLE width="390px"><TBODY><TR><TD width="244.969px" height="30px">CDS View Field</TD><TD width="144.031px" height="30px">Custom App Field</TD></TR><TR><TD width="244.969px" height="30px">RequiredQuantity</TD><TD width="144.031px" height="30px">Quantity</TD></TR><TR><TD width="244.969px" height="30px">BaseUnit</TD><TD width="144.031px" height="30px">UOM</TD></TR><TR><TD width="244.969px" height="30px">Batch</TD><TD width="144.031px" height="30px">Batch</TD></TR><TR><TD width="244.969px" height="30px">Plant</TD><TD width="144.031px" height="30px">Plant</TD></TR><TR><TD width="244.969px" height="30px">Material</TD><TD width="144.031px" height="30px">Product</TD></TR><TR><TD width="244.969px" height="30px">BillOfMaterialItemNumber</TD><TD width="144.031px" height="30px">Line Item Number</TD></TR><TR><TD width="244.969px" height="30px">StorageLocation</TD><TD width="144.031px" height="30px">MRM1'</TD></TR><TR><TD width="244.969px" height="30px">MatlCompIsMarkedForBackflush</TD><TD width="144.031px" height="30px">'X'</TD></TR><TR><TD width="244.969px" height="30px">BillOfMaterialItemCategory</TD><TD width="144.031px" height="30px">L'</TD></TR><TR><TD width="244.969px" height="30px">SequenceCategory </TD><TD width="144.031px" height="30px">'0'</TD></TR></TBODY></TABLE><P><BR />We would like to know if there is any available BAdI, API, or transactional CDS view that can be used to achieve this requirement.</P><P>Best Regards,</P><P>Thank you.</P>2026-03-18T12:19:45.376000+01:00https://community.sap.com/t5/technology-q-a/how-to-implement-draft-like-staging-or-caching-for-custom-entities-with/qaq-p/14353023How to implement Draft-like staging or caching for Custom Entities with large datasets?2026-03-19T09:35:27.124000+01:00wenseanhttps://community.sap.com/t5/user/viewprofilepage/user-id/2236950<P>Hi SAP Community experts,</P><P>I am currently working with a <STRONG>Custom Entity</STRONG> where the data is retrieved through complex <STRONG>custom logic</STRONG> (custom handler). When dealing with large datasets and implementing <STRONG>pagination</STRONG> ($top/$skip), I’ve noticed a performance issue: the custom logic triggers repeatedly for every page request.</P><P>Is there a way to implement a <STRONG>Draft Mode</STRONG> or a similar <STRONG>staging/caching mechanism</STRONG> for Custom Entities?</P><P>My goal is to:</P><OL><LI><P>Execute the full custom logic only once.</P></LI><LI><P>Temporarily persist or cache the result set (similar to how Draft tables work).</P></LI><LI><P>Allow subsequent pagination requests to fetch data directly from this "draft" or cache instead of re-running the entire logic.</P></LI></OL><P>Are there any best practices or built-in features in CAP/RAP to handle this scenario effectively?</P><P>Thanks in advance for your help!</P>2026-03-19T09:35:27.124000+01:00https://community.sap.com/t5/technology-q-a/hide-buttons-in-adaptation-project-with-local-annotations/qaq-p/14353272Hide Buttons in Adaptation Project with Local Annotations2026-03-19T11:54:13.054000+01:00OsciPoscihttps://community.sap.com/t5/user/viewprofilepage/user-id/2287967<P>Hello</P><P>I have a simple question. Is it possible to hide buttons or actions within an adaptation project. I tried with Local Annotations but only managed to hide or relable columns. I don't know how to target the actions. Maybe its not even possible. Pls help^^</P><P>Here are all my variations I tried, but none of them worked:</P><pre class="lia-code-sample language-abap"><code><edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
<edmx:Reference Uri="https://sap.github.io/odata-vocabularies/vocabularies/Common.xml">
<edmx:Include Namespace="com.sap.vocabularies.Common.v1" Alias="Common" />
</edmx:Reference>
<edmx:Reference Uri="https://sap.github.io/odata-vocabularies/vocabularies/UI.xml">
<edmx:Include Namespace="com.sap.vocabularies.UI.v1" Alias="UI" />
</edmx:Reference>
<edmx:Reference Uri="https://sap.github.io/odata-vocabularies/vocabularies/Communication.xml">
<edmx:Include Namespace="com.sap.vocabularies.Communication.v1" Alias="Communication" />
</edmx:Reference>
<edmx:Reference Uri="https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Capabilities.V1.xml">
<edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities" />
</edmx:Reference>
<edmx:Reference Uri="/sap/opu/odata4/sap/c_salesordermanage_srv/srvd/sap/c_salesordermanage_sd/0001/$metadata">
<edmx:Include Namespace="com.sap.gateway.srvd.c_salesordermanage_sd.v0001" Alias="SAP__self" />
</edmx:Reference>
<edmx:DataServices>
<Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="local_1773756144035">
<Annotations Target="SAP__self.SalesOrderManageType/SalesOrder">
<!-- <Annotation Term="UI.Hidden" Bool="true" /> -->
<Annotation Term="Common.Label" String="asdf" />
</Annotations>
<Annotations Target="SAP__self.CreateWithSalesOrderType()">
<Annotation Term="UI.IsAIOperation" Bool="true" />
</Annotations>
<Annotations Target="SAP__self.SetBillingBlock(SAP__self.SalesOrderManageType)/HeaderBillingBlockReason">
<Annotation Term="SAP__common.Label" String="asdf" />
</Annotations>
<Annotations Target="SAP__self.SetBillingBlock(SAP__self.SalesOrderManageType)">
<Annotation Term="UI.Hidden" Bool="true" />
</Annotations>
<Annotations Target="SAP__self.SalesOrderManageType/SetBillingBlock()">
<Annotation Term="UI.Hidden" Bool="true" />
</Annotations>
<Annotations Target="SAP__self.Container/SetBillingBlock">
<Annotation Term="UI.Hidden" Bool="true" />
<Annotation Term="Common.Label" String="asdf" />
</Annotations>
<Annotations Target="SAP__self.Container/SalesOrderManage">
<Annotation Term="UI.CreateHidden" Bool="true" />
<Annotation Term="UI.Hidden" Bool="true" />
</Annotations>
<Annotations Target="com.sap.gateway.srvd.c_salesordermanage_sd.v0001.Container/SalesOrderManageType">
<Annotation Term="UI.CreateHidden" Bool="true" />
</Annotations>
<Annotations Target="SAP__self.SalesOrderManageType">
<Annotation Term="UI.CreateHidden" Bool="true" />
</Annotations>
<Annotations Target="SAP__self.SetBillingBlock(SAP__self.SalesOrderItemType)">
<Annotation Term="SAP__Core.OperationAvailable" Bool="false" />
</Annotations>
<Annotations Target="SAP__self.DataFieldForAction/SetBillingBlock">
<Annotation Term="UI.Hidden" Bool="true" />
</Annotations>
<Annotations Target="SAP__self.SetBillingBlock(SAP__self.SalesOrderItemType)">
<Annotation Term="UI.Hidden" Bool="true" />
</Annotations>
<Annotations Target="SAP__self.SetBillingBlock(SAP__self.SalesOrderItemType)/ItemBillingBlockReason">
<Annotation Term="UI.Hidden" Bool="true" />
</Annotations>
<Annotations Target="SAP__self.SalesOrderManageType/__OperationControl/SetBillingBlock">
<Annotation Term="Common.Label" String="asdf" />
<Annotation Term="UI.Hidden" Bool="true" />
</Annotations>
<Annotations Target="SAP__self.SalesOrderManageOperationControl/SetBillingBlock">
<Annotation Term="UI.Hidden" Bool="true" />
</Annotations>
<Annotations Target="SAP__self.SalesOrderItemOperationControl/SetBillingBlock">
<Annotation Term="UI.Hidden" Bool="true" />
</Annotations>
</Schema>
</edmx:DataServices>
</edmx:Edmx></code></pre><P> </P>2026-03-19T11:54:13.054000+01:00https://community.sap.com/t5/technology-q-a/bgpf-in-rap-not-working-in-quality-env/qaq-p/14353789bgPF in RAP not working in quality env2026-03-19T19:56:16.350000+01:00Mepspahttps://community.sap.com/t5/user/viewprofilepage/user-id/1619294<P>Hello,</P><P>In a managed RAP App with unmanaged save, we call a Bapi through background processing framework at save time.</P><P>In Dev environment everything works correctly, the same not in Quality.</P><P>Following the abap cross trace, of Quality and Dev </P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mepspa_0-1773945943928.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/386466iC18936D5F5A91286/image-size/large?v=v2&px=999" role="button" title="Mepspa_0-1773945943928.png" alt="Mepspa_0-1773945943928.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mepspa_1-1773945976521.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/386467i2121AFABF3D958D0/image-size/large?v=v2&px=999" role="button" title="Mepspa_1-1773945976521.png" alt="Mepspa_1-1773945976521.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mepspa_2-1773946010510.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/386468i0B67D927B45DB849/image-size/large?v=v2&px=999" role="button" title="Mepspa_2-1773946010510.png" alt="Mepspa_2-1773946010510.png" /></span></P><P>In quality the process is created but never starts.</P><P>The configuration of the bgrfc destinations seems identical.</P><P>Any suggestions ?</P><P>thank you</P><P> </P><P> </P>2026-03-19T19:56:16.350000+01:00https://community.sap.com/t5/technology-q-a/what-are-best-guidelines-to-handle-repsonse-parameters-of-abap-eml-for/qaq-p/14354135What are best guidelines to handle repsonse parameters of ABAP EML for MODIFY and COMMIT2026-03-20T08:07:16.068000+01:00abaper_guyhttps://community.sap.com/t5/user/viewprofilepage/user-id/186719<P>Consider I have the below EML where we can see there is a header and its composition table</P><DIV><DIV><P><SPAN>modify</SPAN></P><P><SPAN>entity </SPAN><SPAN>R_FunctionalLocationTP</SPAN></P><P><SPAN>create</SPAN></P><P><SPAN>auto fill cid with </SPAN><SPAN>lt_floc</SPAN></P><P><SPAN>create by \</SPAN><SPAN>_classification</SPAN></P><P><SPAN>auto fill cid with </SPAN><SPAN>lt_floc_class</SPAN></P><P><SPAN>mapped data(</SPAN><SPAN>ls_mapped</SPAN><SPAN>)</SPAN></P><P><SPAN>failed data(</SPAN><SPAN>ls_failed</SPAN><SPAN>)</SPAN></P><P><SPAN>reported data(</SPAN><SPAN>ls_reported</SPAN><SPAN>).</SPAN></P><P> </P><DIV><DIV><P><SPAN>commit</SPAN><SPAN> entities</SPAN></P><P><SPAN>response of </SPAN><SPAN>R_FunctionalLocationTP</SPAN></P><P><SPAN>failed final(</SPAN><SPAN>ls_commit_failed</SPAN><SPAN>)</SPAN></P><P><SPAN>reported final(</SPAN><SPAN>ls_commit_reported</SPAN><SPAN>).</SPAN></P><P> </P><P><SPAN>Now imagine the scenario, assuming that we have 10 header records and each having 3 child records</SPAN></P><P><SPAN>1) out of 10 header records - 2 are in ls_failed but they are not failed ls_commit_failed</SPAN></P><P><SPAN>2) If an item record is successful and is populated in ls_mapped but failed in commit and is populated in ls_commit_failed.</SPAN></P><P><SPAN>During this, the relevant header record is in both the mapped structures (modify and commit) .</SPAN></P><P><SPAN>But since its a composition and because the item record is failed, the header does not get committed to the database (rightly so) but the header doesnt gets populated in any of the failed tables.</SPAN></P><P><SPAN>So considering multiple scenarios like this, what is the best practice to use these response parameters of both MODIFY and COMMIT ENTITIES, such that I can display the log to the user correctly in detail about each header and item level success or failed messages.</SPAN></P></DIV></DIV></DIV></DIV>2026-03-20T08:07:16.068000+01:00https://community.sap.com/t5/technology-q-a/rap-fiori-application-works-in-adt-preview-but-not-correctly-in-fiori/qaq-p/14355848RAP Fiori Application Works in ADT Preview but Not Correctly in Fiori Launchpad (SAP Public cloud)2026-03-23T13:27:23.462000+01:00S_DEVhttps://community.sap.com/t5/user/viewprofilepage/user-id/2025855<P> </P><P>Hello SAP Community,</P><P>I have developed an RAP Excel Upload application using RAP in <STRONG><SPAN class=""><SPAN class="">SAP S/4HANA</SPAN></SPAN> Public Cloud</STRONG> using <STRONG><SPAN class=""><SPAN class="">ABAP Development Tools</SPAN></SPAN> (ADT Eclipse)</STRONG> only, without using <STRONG><SPAN class=""><SPAN class="">SAP Business Application Studio</SPAN></SPAN></STRONG>.<BR /><BR /></P><H2 id="toc-hId-1792387980">WHAT IS WORKING</H2><P>In <STRONG>ADT Eclipse</STRONG>, when I click <STRONG>Preview</STRONG> on the <STRONG>Service Binding</STRONG>, the application works perfectly.</P><P>All features are working correctly:</P><UL><LI>Create upload record</LI><LI>Upload Excel file</LI><LI>Download template</LI><LI>Process Excel</LI><LI>Header data is visible</LI><LI>Item data is visible</LI><LI>Navigation between Header and Item levels works correctly<BR /><BR /><H2 id="toc-hId-1595874475">WHAT I DID</H2><OL><LI>Created the Fiori application using <STRONG>Quick Fiori Application Generator in ADT</STRONG>.</LI><LI>Transported the objects to the <STRONG>Test system</STRONG>.</LI><LI>Created:<UL><LI>IAM App</LI><LI>Business Catalog</LI></UL></LI><LI>Assigned the catalog to the required business role.</LI></OL><P>Now the application <STRONG>appears in the Fiori Launchpad</STRONG>.<BR /><BR /><BR /></P><H2 id="toc-hId-1399360970">ISSUE</H2><P>Although the application opens in the <STRONG>Fiori Launchpad</STRONG>, it does <STRONG>not behave the same way as in ADT Preview</STRONG>.</P><P>In <STRONG>ADT Preview</STRONG>, I can see the <STRONG>navigation arrow (>)</STRONG> to expand and navigate between <STRONG>Header and Item tables</STRONG>.</P><P>However, in the <STRONG>Fiori Launchpad version</STRONG>, the <STRONG>navigation arrow is not visible</STRONG>, so I cannot navigate from Header to Item records.</P><P>Because of this, the application is not functioning as expected.<BR /><BR /></P><H2 id="toc-hId-1202847465">Screenshot</H2><P>Below is the screen where the Fiori app was generated in ADT.<BR /><BR />This screen shot is from the ADT preview here it is working correctly</P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="S_DEV_0-1774268601861.png" style="width: 544px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/387665i30FE5903682AFF2B/image-dimensions/544x234?v=v2" width="544" height="234" role="button" title="S_DEV_0-1774268601861.png" alt="S_DEV_0-1774268601861.png" /></span><BR /><BR />This one is from the Fiori Launchpad which is not working correctly<BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="S_DEV_1-1774268665432.png" style="width: 616px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/387666i370E24F9701E9982/image-dimensions/616x268?v=v2" width="616" height="268" role="button" title="S_DEV_1-1774268665432.png" alt="S_DEV_1-1774268665432.png" /></span><P> </P><P> </P><P><BR /><BR /></P><H2 id="toc-hId-1006333960">Question</H2><P>Could someone please help me understand:</P><UL><LI>Why the navigation arrow is visible in <STRONG>ADT Preview</STRONG> but not in <STRONG>Fiori Launchpad</STRONG>?</LI><LI>Is there any <STRONG>additional configuration required for RAP associations or Fiori elements navigation</STRONG> in <STRONG>S/4HANA Public Cloud</STRONG>?</LI></UL><P>Any guidance would be greatly appreciated.</P><P>Thank you!<BR /><BR /></P></LI></UL>2026-03-23T13:27:23.462000+01:00https://community.sap.com/t5/technology-q-a/how-to-use-btp-destination-with-rest-api-in-ui5-app-bas-local-development/qaq-p/14357024How to use BTP Destination with REST API in UI5 App (BAS local development)2026-03-24T13:36:11.535000+01:00TimurKalynovskyihttps://community.sap.com/t5/user/viewprofilepage/user-id/2225012<P>Hello,</P><P>I created a Destination in my SAP BTP subaccount (connection test is successful).<BR />(see screenshot below)</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TimurKalynovskyi_0-1774350100452.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/388304i7FAA5DA9E5FD0D7B/image-size/medium?v=v2&px=400" role="button" title="TimurKalynovskyi_0-1774350100452.png" alt="TimurKalynovskyi_0-1774350100452.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TimurKalynovskyi_4-1774354493629.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/388336iFB4C2A43BAE7314F/image-size/medium?v=v2&px=400" role="button" title="TimurKalynovskyi_4-1774354493629.png" alt="TimurKalynovskyi_4-1774354493629.png" /></span></P><P> </P><P>My goal is to deploy the app later to Cloud Foundry.<BR />However, first I want to make my UI5 app work <STRONG>locally in SAP Business Application Studio (BAS)</STRONG> using the Destination, including authentication and data retrieval from the backend.<BR /><BR />Current App Configuration:<BR /><BR />ui5.yaml</P><pre class="lia-code-sample language-yaml"><code># yaml-language-server: $schema=https://sap.github.io/ui5-tooling/schema/ui5.yaml.json
specVersion: "4.0"
metadata:
name: testproject1
type: application
server:
customMiddleware:
- name: fiori-tools-proxy
afterMiddleware: compression
configuration:
ignoreCertErrors: false
ui5:
path:
- /resources
- /test-resources
url: https://ui5.sap.com
backend:
- path: /backend
destination: TEST_BACKEND
- name: fiori-tools-appreload
afterMiddleware: compression
configuration:
port: 35729
path: webapp
delay: 300
- name: fiori-tools-preview
afterMiddleware: fiori-tools-appreload
configuration:
flp:
theme: sap_horizon</code></pre><P>xs-app.json</P><pre class="lia-code-sample language-json"><code>{
"welcomeFile": "/index.html",
"authenticationMethod": "route",
"routes": [
{
"source": "^/backend/(.*)$",
"target": "/$1",
"destination": "TEST_BACKEND",
"authenticationType": "none"
},
{
"source": "^/resources/(.*)$",
"target": "/resources/$1",
"authenticationType": "none",
"destination": "ui5"
},
{
"source": "^/test-resources/(.*)$",
"target": "/test-resources/$1",
"authenticationType": "none",
"destination": "ui5"
},
{
"source": "^(.*)$",
"target": "$1",
"service": "html5-apps-repo-rt",
"authenticationType": "xsuaa"
}
]
}</code></pre><P>AJAX in Controller</P><pre class="lia-code-sample language-javascript"><code> _loadMetadata: async function () {
$.ajax({
type: "GET",
url: "/testproject1/backend/application/api/v1/documenthub/$metadata",
headers: {
"Accept": "application/json"
},
success: function (oData) {
console.log("Success", oData);
MessageToast.show("Metadata erfolgreich geladen");
},
error: function (err) {
console.log("Error", err);
MessageBox.error("Fehler beim Laden von Metadata");
}
});
}</code></pre><DIV><DIV><SPAN><BR />Problem<BR /><BR />testproject1 </SPAN><SPAN>in AJAX-URL is my app-ID from manifest.</SPAN></DIV><DIV><SPAN>Case 1: <BR />When Calling <BR /></SPAN></DIV></DIV><pre class="lia-code-sample language-javascript"><code>url: "/testproject1/backend/application/api/v1/documenthub/$metadata"</code></pre><P><SPAN>I get 404<BR /><BR /></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TimurKalynovskyi_1-1774352244766.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/388315i27B056D2F74D3B09/image-size/large?v=v2&px=999" role="button" title="TimurKalynovskyi_1-1774352244766.png" alt="TimurKalynovskyi_1-1774352244766.png" /></span></P><P>Case 2:<BR />When Calling</P><pre class="lia-code-sample language-javascript"><code>url: "/backend/application/api/v1/documenthub/$metadata"</code></pre><P>I get 500</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TimurKalynovskyi_2-1774352396564.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/388317i03A693F9E0DDFD0F/image-size/large?v=v2&px=999" role="button" title="TimurKalynovskyi_2-1774352396564.png" alt="TimurKalynovskyi_2-1774352396564.png" /></span></P><P>Console log shows:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TimurKalynovskyi_3-1774352467600.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/388319i9C4B5BFE9C1AD2DC/image-size/large?v=v2&px=999" role="button" title="TimurKalynovskyi_3-1774352467600.png" alt="TimurKalynovskyi_3-1774352467600.png" /></span></P><P>Additional Info:<BR />- Destination "Check Connection" works in BTP<BR />- Backend works in Postman with OAuth2<BR />- Problem occurs only in BAS local preview</P><P>I have already watched some posts and questions on similar problems, but they didn't help me solve my problem.</P><P>I would be grateful if someone could help me.<BR /><BR />Timur</P><P><BR /><BR /></P>2026-03-24T13:36:11.535000+01:00https://community.sap.com/t5/technology-q-a/element-with-types-abap-dats-and-abap-dec-optional-in-abstract-cds-entity/qaq-p/14358965element with types abap.dats and abap.dec optional in abstract cds entity2026-03-26T14:50:34.355000+01:00sebastian_wilhelm1https://community.sap.com/t5/user/viewprofilepage/user-id/607202<P>Hi experts,</P><P>I have on SAP-HANA an abstract entity for a popup. </P><P>define root abstract entity zi_salesdash_mass_change</P><pre class="lia-code-sample language-abap"><code>@EndUserText.label: 'Popup für Massenänderung'
@Metadata.allowExtensions: true
define root abstract entity zi_salesdash_mass_change {
@EndUserText.label : 'Versandbedingungen'
@Consumption.valueHelpDefinition: [{ entity: { name: 'I_ShippingCondition', element: 'ShippingCondition' } }]
ShippingCondition : abap.char(2);
@EndUserText.label : 'Wunschmenge'
OrderQuantity : abap.dec(15,3);
@EndUserText.label : 'Lieferdatum'
DeliveryDate : abap.dats;
}</code></pre><P>All three elements should be optional. But when I press the Confirm button on the popup I get an error message (The property 'OrderQuantity' at offset '86' has an invalid value 'null'.) for OrderQuantity and DeliveryDate (same value null message for DeliveryDate) when I don't enter a value.</P><P>Anyone knows how to solve this problem?</P><P>Best regards, Sebastian</P>2026-03-26T14:50:34.355000+01:00https://community.sap.com/t5/technology-q-a/newly-generated-rap-artifacts-not-working-btp-trial/qaq-p/14359289Newly generated RAP artifacts not working [BTP-Trial]2026-03-27T00:00:21.544000+01:00joaofariiahttps://community.sap.com/t5/user/viewprofilepage/user-id/822181<P>I have always created new RAP applications in BTP Trial from a database table using the <STRONG>"Generate ABAP Repository Objects..."</STRONG> feature. However, in the past few days, after generating the application, I am no longer able to preview it. The error "Could not open app. Please try again later." appears every time I try to run it. Am I missing something? The metadata extension and behavior definitions are ok as far as I know.</P><pre class="lia-code-sample language-abap"><code>@EndUserText.label : 'Users Table'
@AbapCatalog.enhancement.category : #NOT_EXTENSIBLE
@AbapCatalog.tableCategory : #TRANSPARENT
@AbapCatalog.deliveryClass : #A
@AbapCatalog.dataMaintenance : #RESTRICTED
define table zjp_users {
key mandt : abap.clnt not null;
key userid : sysuuid_x16 not null;
username : abap.char(20);
role : abap.char(20);
created_by : abp_creation_user;
created_at : abp_creation_tstmpl;
local_last_changed_by : abp_locinst_lastchange_user;
local_last_change_at : abp_locinst_lastchange_tstmpl;
last_changed_by : abp_lastchange_user;
last_changed_at : abp_lastchange_tstmpl;
}</code></pre><P> </P>2026-03-27T00:00:21.544000+01:00https://community.sap.com/t5/technology-q-a/creating-production-order-component-line-items-via-api/qaq-p/14359929Creating Production Order Component Line Items via API2026-03-27T15:17:25.730000+01:00Yash_Rudrakshahttps://community.sap.com/t5/user/viewprofilepage/user-id/1970930<P>Hello Expert,</P><P>We are currently working on a Custom Application Developed using the RAP (RESTful ABAP Programming) model in SAP S/4HANA Public Cloud, where Batch wise line items are being managed.</P><P>As part of our requirement, we are using the A_ProductionOrderComponent_4 API to update values in the CO02 Production Order screen. However, this API does not fully meet our needs.</P><P>At present, when using the PATCH method, we are only able to modify existing line items and are unable to create new ones.</P><P>Our requirement is to create new line items in the Production Order Component along with the corresponding batch details. We would like to understand if there is any POST method or appropriate API available to support this functionality. Alternatively, we would appreciate any recommendations for a suitable approach to achieve this requirement.</P><P>Thank you,</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Production order Component line Item" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/389812i649F2280D0521B9A/image-size/large?v=v2&px=999" role="button" title="Production Order.png" alt="Production order Component line Item" /><span class="lia-inline-image-caption" onclick="event.preventDefault();">Production order Component line Item</span></span></P>2026-03-27T15:17:25.730000+01:00https://community.sap.com/t5/technology-q-a/feature-instance-not-working-in-multi-select-list-report/qaq-p/14360341Feature Instance not working in multi select list report2026-03-28T10:59:08.775000+01:00UI5_DEV1https://community.sap.com/t5/user/viewprofilepage/user-id/1487023<P>Hello, </P><P>i have the following problem. In my RAP application i have some buttons with feature instance control. In my frontend i get the right settings for each button. (OdataV2)</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UI5_DEV1_0-1774691492984.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/390058iBE8CE600E85C0DF4/image-size/medium?v=v2&px=400" role="button" title="UI5_DEV1_0-1774691492984.png" alt="UI5_DEV1_0-1774691492984.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UI5_DEV1_2-1774691539965.png" style="width: 428px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/390061iF494D1ED6323A91B/image-dimensions/428x42?v=v2" width="428" height="42" role="button" title="UI5_DEV1_2-1774691539965.png" alt="UI5_DEV1_2-1774691539965.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UI5_DEV1_3-1774691549026.png" style="width: 429px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/390062iC975533AF812AB7E/image-dimensions/429x45?v=v2" width="429" height="45" role="button" title="UI5_DEV1_3-1774691549026.png" alt="UI5_DEV1_3-1774691549026.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UI5_DEV1_1-1774691525588.png" style="width: 430px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/390060i6CF74DCBFFDBE655/image-dimensions/430x72?v=v2" width="430" height="72" role="button" title="UI5_DEV1_1-1774691525588.png" alt="UI5_DEV1_1-1774691525588.png" /></span></P><P>Now when i select both lines in the table i would expect that all buttons are disabled. But the button is still enabled even when i select both rows.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UI5_DEV1_4-1774691707581.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/390067iFD6C0A9C509CA904/image-size/medium?v=v2&px=400" role="button" title="UI5_DEV1_4-1774691707581.png" alt="UI5_DEV1_4-1774691707581.png" /></span></P><P>What did I do wrong?</P><P> </P><P> </P><P> </P><P> </P><P> </P>2026-03-28T10:59:08.775000+01:00https://community.sap.com/t5/technology-q-a/how-to-handle-a-post-call-in-rap-using-custom-entity/qaq-p/14361769How to handle a POST call in RAP using custom entity2026-03-30T14:37:16.260000+02:00Sai_Narayanahttps://community.sap.com/t5/user/viewprofilepage/user-id/16246<DIV>I have a requirement where I will receive a payload from an external system and create a notification in SAP.</DIV><DIV> </DIV><DIV>The source payload fields are custom fields. Using these fields, I need to derive all the required data to create the notification in SAP. This also includes implementing necessary validations and error handling.</DIV><DIV> </DIV><DIV>What would be the best approach to handle this scenario in RAP? Should we create a custom entity, an abstract entity, or is there a better recommended approach?</DIV><DIV> </DIV><DIV>In general, we could also create a service in SEGW and handle everything there. However, the goal is to implement this using RAP to stay compliant with a cloud-ready solution.</DIV><DIV> </DIV><DIV>Thanks in advance <span class="lia-unicode-emoji" title=":slightly_smiling_face:">🙂</span></DIV><DIV> </DIV><DIV><a href="https://community.sap.com/t5/c-khhcw49343/ABAP+RESTful+Application+Programming+Model/pd-p/7e44126e-7b27-471d-a379-df205a12b1ff" class="lia-product-mention" data-product="909-1">ABAP RESTful Application Programming Model</a> <a href="https://community.sap.com/t5/c-khhcw49343/ABAP+Development/pd-p/833755570260738661924709785639136" class="lia-product-mention" data-product="314-1">ABAP Development</a> <a href="https://community.sap.com/t5/c-khhcw49343/OData/pd-p/551580658536717501828021060147962" class="lia-product-mention" data-product="323-1">OData</a> </DIV>2026-03-30T14:37:16.260000+02:00https://community.sap.com/t5/technology-q-a/how-to-configure-remote-atc-between-sap-btp-abap-environment-and-on-premise/qaq-p/14362725How to Configure Remote ATC Between SAP BTP ABAP Environment and On‑Premise S/4HANA (Step‑by‑Step)2026-03-31T12:51:34.129000+02:00OmPrakashJhahttps://community.sap.com/t5/user/viewprofilepage/user-id/5102<DIV><H3 id="toc-hId-1922303821"><STRONG>Cloud Connector RFC Mapping – Not Sure Which Settings to Use</STRONG></H3><P>When adding an on‑premise ABAP system in Cloud Connector (Protocol = RFC), I am asked to choose:</P><UL><LI><STRONG>With load balancing (SID + message server)</STRONG></LI><LI><STRONG>Without load balancing (app server + instance number)</STRONG></LI></UL><P>I am unsure which one is correct for Remote ATC, and what the exact host/port values should be.</P><HR /><H3 id="toc-hId-1725790316"><STRONG>Communication System in BTP ABAP Does Not Show RFC Option</STRONG></H3><P>After setting up the Cloud Connector entries, when I create a <STRONG>Communication System</STRONG> in the BTP ABAP Environment, the <STRONG>RFC outbound service is missing</STRONG>, and I cannot create the RFC destination required for Remote ATC.</P><HR /><H3 id="toc-hId-1529276811"><STRONG>Object Providers Do Not Appear in Custom Code Migration App</STRONG></H3><P>In the <STRONG>Custom Code Analysis Project</STRONG> setup screen,<BR />“<STRONG>Object Provider to Remote System</STRONG>” shows <STRONG>No data available</STRONG>, meaning I cannot continue the Remote ATC configuration.</P><H3 id="toc-hId-1332763306"><STRONG>What Is the Correct End‑to‑End Setup?</STRONG></H3><P>I am following SAP’s Remote ATC documentation (Cloud Connector + Communication System + Object Provider), but there seems to be missing prerequisites or configuration steps.</P><HR /><H3 id="toc-hId-1136249801"><STRONG>Can someone guide me with the correct end‑to‑end steps?</STRONG></H3><P>Specifically:</P><UL><LI>Which RFC configuration should be used in Cloud Connector (load balancing or not)?</LI><LI>What are the correct message server / app server details for S/4HANA?</LI><LI>How to ensure the Communication System in BTP ABAP recognizes the RFC connection?</LI><LI>How to make Object Providers appear under ATC Administration → Setup?</LI></UL><P>Any screenshots, step-by-step instructions, or clarifications from someone who has successfully configured Remote ATC would be greatly appreciated.</P><P>I tried to follow few SAP blogs but they are very old to follow up.</P><P>Thank you!</P><P> </P><P> </P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OmPrakashJha_0-1774953155533.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/391551iA3B7E0A869272BE8/image-size/medium?v=v2&px=400" role="button" title="OmPrakashJha_0-1774953155533.png" alt="OmPrakashJha_0-1774953155533.png" /></span><P> </P><P> </P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OmPrakashJha_1-1774953667495.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/391554i20A58ADC6CE7F3D9/image-size/medium?v=v2&px=400" role="button" title="OmPrakashJha_1-1774953667495.png" alt="OmPrakashJha_1-1774953667495.png" /></span><P> </P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OmPrakashJha_2-1774954204637.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/391555i000825A659750161/image-size/medium?v=v2&px=400" role="button" title="OmPrakashJha_2-1774954204637.png" alt="OmPrakashJha_2-1774954204637.png" /></span><P> </P><P> </P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OmPrakashJha_3-1774954234323.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/391556iD8BA2193A216C52C/image-size/medium?v=v2&px=400" role="button" title="OmPrakashJha_3-1774954234323.png" alt="OmPrakashJha_3-1774954234323.png" /></span><P> </P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OmPrakashJha_1-1774954394727.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/391559iAABEAA095C8E3194/image-size/medium?v=v2&px=400" role="button" title="OmPrakashJha_1-1774954394727.png" alt="OmPrakashJha_1-1774954394727.png" /></span><P> </P><P> </P></DIV>2026-03-31T12:51:34.129000+02:00https://community.sap.com/t5/technology-q-a/how-to-configure-remote-atc-between-sap-btp-abap-environment-and-on-premise/qaq-p/14363719How to Configure Remote ATC Between SAP BTP ABAP Environment and On‑Premise S/4HANA (Step‑by‑Step)?2026-04-01T15:59:54.680000+02:00OmPrakashJhahttps://community.sap.com/t5/user/viewprofilepage/user-id/5102<H3 id="toc-hId-1922333585"><STRONG>* Main issue is that I am not able to find " Object provider for remote system" under custom code analysis tile.</STRONG></H3><H3 id="toc-hId-1922303821" id="toc-hId-1725820080"><STRONG>Cloud Connector RFC Mapping – Not Sure Which Settings to Use</STRONG></H3><P>When adding an on‑premise ABAP system in Cloud Connector (Protocol = RFC), I am asked to choose:</P><UL><LI><STRONG>With load balancing (SID + message server)</STRONG></LI><LI><STRONG>Without load balancing (app server + instance number)</STRONG></LI></UL><P>I am unsure which one is correct for Remote ATC, and what the exact host/port values should be.</P><HR /><H3 id="toc-hId-1725790316" id="toc-hId-1529306575"><STRONG>Communication System in BTP ABAP Does Not Show RFC Option</STRONG></H3><P>After setting up the Cloud Connector entries, when I create a<SPAN> </SPAN><STRONG>Communication System</STRONG><SPAN> </SPAN>in the BTP ABAP Environment, the<SPAN> </SPAN><STRONG>RFC outbound service is missing</STRONG>, and I cannot create the RFC destination required for Remote ATC.</P><HR /><H3 id="toc-hId-1529276811" id="toc-hId-1332793070"><STRONG>Object Providers Do Not Appear in Custom Code Migration App</STRONG></H3><P>In the<SPAN> </SPAN><STRONG>Custom Code Analysis Project</STRONG><SPAN> </SPAN>setup screen,<BR />“<STRONG>Object Provider to Remote System</STRONG>” shows<SPAN> </SPAN><STRONG>No data available</STRONG>, meaning I cannot continue the Remote ATC configuration.</P><H3 id="toc-hId-1332763306" id="toc-hId-1136279565"><STRONG>What Is the Correct End‑to‑End Setup?</STRONG></H3><P>I am following SAP’s Remote ATC documentation (Cloud Connector + Communication System + Object Provider), but there seems to be missing prerequisites or configuration steps.</P><HR /><H3 id="toc-hId-1136249801" id="toc-hId-939766060"><STRONG>Can someone guide me with the correct end‑to‑end steps?</STRONG></H3><P>Specifically:</P><UL><LI>Which RFC configuration should be used in Cloud Connector (load balancing or not)?</LI><LI>What are the correct message server / app server details for S/4HANA?</LI><LI>How to ensure the Communication System in BTP ABAP recognizes the RFC connection?</LI><LI>How to make Object Providers appear under ATC Administration → Setup?</LI></UL><P>Any screenshots, step-by-step instructions, or clarifications from someone who has successfully configured Remote ATC would be greatly appreciated.</P><P>I tried to follow few SAP blogs but they are very old to follow up.</P><P>Thank you!</P><P> </P><P> </P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OmPrakashJha_0-1775051610792.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/392024i642CF5EF27EE329C/image-size/medium?v=v2&px=400" role="button" title="OmPrakashJha_0-1775051610792.png" alt="OmPrakashJha_0-1775051610792.png" /></span></P><P> </P><P> </P><P> </P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OmPrakashJha_1-1775051610789.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/392025i9759F737876D0516/image-size/medium?v=v2&px=400" role="button" title="OmPrakashJha_1-1775051610789.png" alt="OmPrakashJha_1-1775051610789.png" /></span></P><P> </P><P> </P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OmPrakashJha_2-1775051610793.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/392026i95FAFD1C22B58D1A/image-size/medium?v=v2&px=400" role="button" title="OmPrakashJha_2-1775051610793.png" alt="OmPrakashJha_2-1775051610793.png" /></span></P><P> </P><P> </P><P> </P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OmPrakashJha_3-1775051610792.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/392028iB0515914BF9D759C/image-size/medium?v=v2&px=400" role="button" title="OmPrakashJha_3-1775051610792.png" alt="OmPrakashJha_3-1775051610792.png" /></span></P><P> </P><P> </P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OmPrakashJha_4-1775051610793.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/392027i2CE1C204156DCF4B/image-size/medium?v=v2&px=400" role="button" title="OmPrakashJha_4-1775051610793.png" alt="OmPrakashJha_4-1775051610793.png" /></span></P><P><SPAN>I must admit that I’m feeling quite stuck custom code analysis catalog inside Analyze custom code analysis tile , as I can’t find any proper end‑to‑end documentation. The SAP Help Portal only provides fragmented information, and none of the pages explain the full process in a clear, sequential way. Could you please share any link or document where all the steps are described in order? Main blocker is when I go inside the catalog Custom Code Analysis -> Custom code analysis tile -> Create custom code analysis project "Object provider to remote system" is blank.How to get it.</SPAN></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OmPrakashJha_6-1775051865859.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/392030i52C48560F36F1712/image-size/medium?v=v2&px=400" role="button" title="OmPrakashJha_6-1775051865859.png" alt="OmPrakashJha_6-1775051865859.png" /></span></P><P> </P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OmPrakashJha_5-1775051691488.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/392029i48A0667E4E0D9BEB/image-size/medium?v=v2&px=400" role="button" title="OmPrakashJha_5-1775051691488.png" alt="OmPrakashJha_5-1775051691488.png" /></span></P><P> </P>2026-04-01T15:59:54.680000+02:00https://community.sap.com/t5/technology-q-a/abap-odata/qaq-p/14364464ABAP Odata2026-04-02T11:32:51.848000+02:00ankitpurohitaphttps://community.sap.com/t5/user/viewprofilepage/user-id/2291840<P>I have completed my OData API project with GET and POST methods for Student, Fee and Library management. The code is working in SAP Gateway Client but I need help with:</P><P>(1) I am facing CSRF token validation issue when testing POST request in Gateway Client.<BR />(2) How can I make my API globally accessible so automation team consume API.<BR /><BR />i'm using trail server.</P>2026-04-02T11:32:51.848000+02:00https://community.sap.com/t5/sap-learning-q-a/seeking-guidance-on-next-steps-after-sap-abap-cloud-certification/qaq-p/14365845Seeking Guidance on Next Steps After SAP ABAP Cloud Certification2026-04-05T06:59:24.219000+02:00venkatesh_pagillahttps://community.sap.com/t5/user/viewprofilepage/user-id/2292301<P>Hello SAP Community,</P><P>I hope you are doing well.</P><P>I have recently completed my certification as an SAP Certified Associate – Back-End Developer (ABAP Cloud). As a fresher entering the SAP ecosystem, I am eager to build my career in the right direction and align my skills with current industry demand.</P><P>I would greatly appreciate your guidance on the next steps I should take. Specifically, I am looking for suggestions on:</P><UL><LI><P>Which SAP modules or technologies are currently in high demand</P></LI><LI><P>Any recommended courses or certifications to complement ABAP Cloud</P></LI><LI><P>Skills or tools (such as SAP BTP, Fiori, RAP, etc.) that would enhance my profile</P></LI><LI><P>Tips on how to gain practical experience or improve job readiness</P></LI></UL><P>Your advice and insights would be extremely valuable in helping me make informed decisions about my career path.</P><P>Thank you in advance for your support!</P><P>Best regards,<BR />Venkatesh Pagilla </P>2026-04-05T06:59:24.219000+02:00https://community.sap.com/t5/technology-q-a/cds-with-all-classes-implementing-an-interface/qaq-p/14367318CDS with all Classes implementing an Interface2026-04-07T10:05:51.126000+02:00AndreMhttps://community.sap.com/t5/user/viewprofilepage/user-id/2580<P>Hi,</P><P>I'd love to make the following work:</P><P>I want to provide a RAP-CDS-View that shows a list of all Classes (including Sub-Classes) that implement a certain interface. I already have a hierarchy-view in place for the Classes and their Sub-Classes and of course I have a simple view that provides me the Interfaces any Class directly implements - but as Classes inherit all their parent's Interfaces recursively, I cannot find a way to implement this in CDS - while in ABAP SQL there is a syntax for exactly this problem (SELECT HIERARCHY DESCENDANTS).</P><P>Any idea how to solve that? I have already tried to understand what the "DIRECTORY" addition in the DEFINE HIERARCHY syntax does, but the documentation doesn't make any sense to me <span class="lia-unicode-emoji" title=":disappointed_face:">😞</span></P><P>Thanks in advance</P><P>André</P>2026-04-07T10:05:51.126000+02:00https://community.sap.com/t5/technology-q-a/rap-issue-calling-standard-fm-iqs4-add-data-notification-commit-restriction/qaq-p/14368540RAP: Issue Calling Standard FM IQS4_ADD_DATA_NOTIFICATION (COMMIT restriction)2026-04-08T10:54:40.044000+02:00NguyenTanTaihttps://community.sap.com/t5/user/viewprofilepage/user-id/162960<P class=""><SPAN>Hello everyone,</SPAN></P><P class=""><SPAN>I am currently developing a RAP-based Fiori application and have a requirement to update data from a custom table in the UI to a notification using the standard function module IQS4_ADD_DATA_NOTIFICATION.</SPAN></P><P class=""><SPAN>I added a custom button on the UI that retrieves data from the selected line and then calls this function module to perform the update. However, based on RAP architecture, function modules or BAPIs that contain explicit COMMIT WORK or ROLLBACK WORK statements are not allowed. When triggering the action, I encounter a BEHAVIOR_ILLEGAL_STATEMENT dump.<BR /><BR />I am aware of possible approaches such as using a background job or bgPF (background processing framework). However, I am looking for guidance on the most suitable and recommended solution for this specific scenario<BR /></SPAN></P><P class=""><SPAN>Has anyone faced a similar issue or found a suitable workaround for this scenario in RAP?</SPAN></P><P><SPAN>I would appreciate any guidance or best practices.<BR /><BR /></SPAN>Thank you,</P>2026-04-08T10:54:40.044000+02:00https://community.sap.com/t5/technology-q-a/the-execution-checks-whether-call-is-made-within-the-implementation-of/qaq-p/14368923The execution checks whether call is made within the implementation of behavior definition2026-04-08T16:16:23.296000+02:00satellarknightyhttps://community.sap.com/t5/user/viewprofilepage/user-id/1735497<P>Hi everyone.</P><P>I'm developing an app using ABAP RAP.</P><P>Before code refactoring I have put all of the logic in the Behavior Implementation (BI) Class. There is a part of a method that contains the following:</P><pre class="lia-code-sample language-abap"><code>MODIFY ENTITIES OF my_entity_def IN LOCAL MODE
ENTITY MyEntity
CREATE BY \_Assoc
FIELDS ( PrimaryKeyOfMyEntity AFieldOfTheAssoc)
AUTO FILL CID
WITH VALUE #( ( %tky = VALUE #( PrimaryKeyOfMyEntity = lv_key )
%target = VALUE #( ( PrimaryKeyOfMyEntity = lv_key
AFieldOfTheAssoc = lv_some_value) ) ) ).</code></pre><P> Since this piece of code was still in the BI Class, I had no warnings.</P><P>But now that class got too long, and refactoring was required. I have to move this piece of code to another class. And then call it from the BI class. The app still works the same as before, but now I get the following warning on the LOCAL word:</P><P>The execution checks whether call is made within the implementation of behavior definition ''my_entity_def".</P><P>I would like to know the correct way to handle this warning. Thank you all for your help!</P><P>EDIT:</P><P>When using autocomplete in place of IN LOCAL MODE, I get:</P><UL><LI>PRIVILEDGED</LI><LI>or just leave it empty</LI></UL><P>I tried both variants, but both of them show me a new error:</P><P>The field "PrimaryKeyOfMyEntity" of entity "my_entity_def" cannot be modified.</P><P>It's weird how this error happens because I'm not modifying PrimaryKeyOfMyEntity, just using it as the parent of my newly created Assoc Entity.</P><P>It's likely because in the Behavior Definition for the Assoc Entity, I have</P><pre class="lia-code-sample language-abap"><code>define behavior for my_assoc_entity_def alias Assoc
...
{
update;
delete;
association _Parent;
field ( numbering : managed, readonly ) AssocUuid;
field ( readonly ) PrimaryKeyOfMyEntity; //Basically the PK of parent</code></pre><P>But that line has to be there, otherwise there is no connection from the assoc entity to its parents.</P>2026-04-08T16:16:23.296000+02:00https://community.sap.com/t5/technology-q-a/transporting-oauth-scope-for-v4-odata-service-iwfnd-v4-admin/qaq-p/14369262Transporting OAuth Scope for v4 OData service /IWFND/V4_ADMIN2026-04-09T00:38:39.196000+02:00MikeDoylehttps://community.sap.com/t5/user/viewprofilepage/user-id/13892<P>I have created an OData v4 service binding for my RAP service. I can use transaction /IWFND/V4_ADMIN to publish my service and include it in a customizing request. I create the required OAuth scope. When I use transaction SCC1N to copy my transport to another client my service is published there. This is great because it means that my service will be published in downstream systems when the transport is imported.</P><P>My issue is with the OAuth scope. I don't see how to include this in a transport, and when I go to the 2nd client I have to create the OAuth scope again.</P><P>What is the correct procedure? Is there a way to transport the OAuth scope, or will I have to create it in all the downstream systems?</P><P>I have reviewed SAP Help and can't find an answer to this. Ditto with KBAs like 3304204 & <SPAN>3605323. Any assistance much appreciated</SPAN></P><P>S/4HANA Private Cloud 2023 FPS03</P>2026-04-09T00:38:39.196000+02:00