https://raw.githubusercontent.com/ajmaradiaga/feeds/main/scmt/topics/SAPUI5-qa.xml SAP Community - SAPUI5 2024-09-01T02:02:14.734764+00:00 python-feedgen SAPUI5 Q&A in SAP Community https://community.sap.com/t5/technology-q-a/implement-page-level-security-in-custom-ui5-application/qaq-p/13796841 Implement Page level security in custom UI5 application 2024-08-16T08:51:05.450000+02:00 SAPSupport https://community.sap.com/t5/user/viewprofilepage/user-id/121003 <P>&nbsp;</P><P>Not able to Implement Page level security in custom UI5 application.</P><P>Our&nbsp; custom SAPUI5 application deployed in SAP BTP.</P><P>In our application there are 3 pages, we want to restrict the page access according to the user authorization. Roles are maintained in BTP security.</P><P>&nbsp;</P><BR />------------------------------------------------------------------------------------------------------------------------------------------------<BR /><B>Learn more about the SAP Support user and program <A target="_blank" href="https://community.sap.com/t5/enterprise-resource-planning-blogs-by-sap/maximizing-the-power-of-sap-community-at-product-support/ba-p/13501276">here</A>.</B> 2024-08-16T08:51:05.450000+02:00 https://community.sap.com/t5/technology-q-a/failed-to-load-component-for-container-moduleerror-failed-to-load/qaq-p/13799486 Failed to load component for container - ModuleError: failed to load 2024-08-19T14:57:00.275000+02:00 Prajwal_N https://community.sap.com/t5/user/viewprofilepage/user-id/1399883 <P>Hi all,</P><P>I'm experiencing an issue with loading a component in my SAPUI5 application. The error message I'm seeing is:</P><P>"Failed to load component for container - ModuleError: failed to load 'employeeapplication/SharedBlocks/PersonalDetails.js' from ./SharedBlocks/PersonalDetails.js: script load error"</P><P>My manifest.json file looks like this:</P><DIV><DIV><SPAN>{</SPAN></DIV><DIV><SPAN>&nbsp; "_version": "1.59.0",</SPAN></DIV><DIV><SPAN>&nbsp; "sap.app": {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; "id": "employeeapplication",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; "type": "application",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; "i18n": "i18n/i18n.properties",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; "applicationVersion": {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; "version": "0.0.1"</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; },</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; "title": "{{appTitle}}",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; "description": "{{appDescription}}",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; "resources": "resources.json",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; "sourceTemplate": {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; "id": "@sap/generator-fiori:basic",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; "version": "1.14.1",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; "toolsId": "9e31bfee-31bb-417f-bee7-4d3c1801703c"</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; },</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; "dataSources": {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; "mainService": {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; "uri": "/sap/opu/odata/sap/ZUI_C_PNL/",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; "type": "OData",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; "settings": {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "annotations": [],</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "localUri": "localService/metadata.xml",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "odataVersion": "2.0"</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; }</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; }</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; },</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; "crossNavigation": {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; "inbounds": {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; "zpc_emp-display": {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "semanticObject": "zpc_emp",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "action": "display",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "title": "{{flpTitle}}",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "signature": {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "parameters": {},</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "additionalParameters": "allowed"</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; }</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; }</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; }</SPAN></DIV><DIV><SPAN>&nbsp; },</SPAN></DIV><DIV><SPAN>&nbsp; "sap.ui": {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; "technology": "UI5",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; "icons": {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; "icon": "",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; "favIcon": "",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; "phone": "",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; "phone@2": "",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; "tablet": "",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; "tablet@2": ""</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; },</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; "deviceTypes": {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; "desktop": true,</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; "tablet": true,</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; "phone": true</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; }</SPAN></DIV><DIV><SPAN>&nbsp; },</SPAN></DIV><DIV><SPAN>&nbsp; "sap.ui5": {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; "flexEnabled": true,</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; "dependencies": {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; "minUI5Version": "1.121.6",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; "libs": {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; "sap.m": {},</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; "sap.ui.core": {},</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; "sap.f": {},</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; "sap.suite.ui.generic.template": {},</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; "sap.ui.comp": {},</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; "sap.ui.generic.app": {},</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; "sap.ui.table": {},</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; "sap.ushell": {}</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; }</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; },</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; "contentDensities": {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; "compact": true,</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; "cozy": true</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; },</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; "models": {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; "i18n": {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; "type": "sap.ui.model.resource.ResourceModel",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; "settings": {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "bundleName": "employeeapplication.i18n.i18n"</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; }</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; },</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; "": {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; "dataSource": "mainService",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; "preload": true,</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; "settings": {}</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; }</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; },</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; "resources": {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; "css": [</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "uri": "css/style.css"</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; }</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; ],</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; "js": [</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "uri": "SharedBlocks/PersonalDetails.js"</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; }</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; ]</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; },</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; "blocks": {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; "uri": "SharedBlocks/",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; "blocks": {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; "PersonalDetails": {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "uri": "SharedBlocks/PersonalDetails.js"</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; }</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; }</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; }, &nbsp;</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; "routing": {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; "config": {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; "routerClass": "sap.m.routing.Router",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; "viewType": "XML",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; "async": true,</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; "viewPath": "employeeapplication.view",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; "controlAggregation": "pages",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; "controlId": "app",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; "clearControlAggregation": false</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; }, &nbsp; &nbsp; &nbsp;</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; "routes": [</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "name": "Home",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "pattern": "",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "target": [</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "TargetEmployeeData"</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ]</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; },</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "name": "detail",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "pattern": "product/{Empid}",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "target": [</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Targetpnl"</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ]</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; },</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "name": "create_personal_details",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "pattern": "create",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "target": [</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Targetcreatepnl"</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ]</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; }</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; </SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; ],</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; "targets": {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; "TargetEmployeeData": {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "viewType": "XML",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "transition": "slide",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "clearControlAggregation": false,</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "viewName": "EmployeeData"</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; },</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; "Targetpnl": {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "viewType": "XML",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "transition": "slide",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "clearControlAggregation": false,</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "viewName": "pnl"</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; },</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; "Targetcreatepnl": {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "viewType": "XML",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "transition": "slide",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "clearControlAggregation": false,</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "viewName": "createpnl"</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; }</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp;</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; }</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; },</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; "rootView": {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; "viewName": "employeeapplication.view.App",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; "type": "XML",</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; "async": true,</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; "id": "App"</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; }</SPAN></DIV><DIV><SPAN>&nbsp; },</SPAN></DIV><DIV><SPAN>&nbsp; "sap.cloud": {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; "public": true,</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; "service": "employeeapplication"</SPAN></DIV><DIV><SPAN>&nbsp; } </SPAN></DIV><DIV><SPAN>}</SPAN></DIV><DIV><P><BR />And my PersonalDetails.js file looks like this:</P><P>sap.ui.define([<BR />"sap/ui/core/UIComponent"<BR />], function(UIComponent) {<BR />"use strict";<BR /><BR />return UIComponent.extend("employeeapplication.SharedBlocks.PersonalDetails", {<BR />metadata: {<BR />properties: {<BR />// your properties here<BR />}<BR />},<BR /><BR />init: function() {<BR />// your initialization code here<BR />}<BR />});<BR />});</P><P>&nbsp;</P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Prajwal_N_0-1724071946734.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/154142i366592A7979DE999/image-size/medium?v=v2&amp;px=400" role="button" title="Prajwal_N_0-1724071946734.png" alt="Prajwal_N_0-1724071946734.png" /></span><P>error in console&nbsp; I am facing .</P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Prajwal_N_2-1724072159862.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/154151i9403A9634BA82387/image-size/medium?v=v2&amp;px=400" role="button" title="Prajwal_N_2-1724072159862.png" alt="Prajwal_N_2-1724072159862.png" /></span><P>&nbsp;</P></DIV></DIV> 2024-08-19T14:57:00.275000+02:00 https://community.sap.com/t5/technology-q-a/adding-a-new-field-in-v2-odatamodel-binded-to-a-sap-ui-table-table/qaq-p/13800603 Adding a new field in v2 oDataModel binded to a sap.ui.table.Table / TreeTable in UI5 app. 2024-08-20T12:43:27.833000+02:00 nareshmallya https://community.sap.com/t5/user/viewprofilepage/user-id/885699 <P>Hi Everyone</P><P>I have an oData EntitySet "CUSTOMER_HIER_LIST" directly binded to&nbsp;sap.ui.table.TreeTable using v2 oDataModel and displays the treetable rows using treeAnnotationProperties binding. Now I want to initialize a new field called "IS_SELECTED" for each row. I have a sap.m.CheckBox in each row to which I will bind it. This field is not present in the&nbsp;CUSTOMER_HIERARCHY_LIST entity's metadata. I am not able to use Table.addSelectionRows() as I have a custom requirement for row selection.</P><P>In the 'dataReceived' event of the tree binding, if I try to do like below, then I see the error in the browser console as&nbsp;<FONT color="#FF0000">"Assertion failed: IS_SELECTED is not a valid property path" </FONT><FONT color="#FF0000"><FONT color="#000000">which is true because the field is not present in the entity set.</FONT></FONT></P><P>&nbsp;</P><pre class="lia-code-sample language-javascript"><code>onCustomerListDataRecieved: function(oEvent){ const oTreeTable = this.getView().byId("treeTableId"), aBindingContexts = oTreeTable.getBinding("rows").getContexts(); aBindingContexts.forEach((oRowContext)=&gt;{ //This works because the field is present in entityset this.getModel("odataV2").setProperty("CUST_DESCR", "TEST CUSTOMER", oRowContext); //This does not work as the field is not present in entityset's metdata this.getModel("odataV2").setProperty("IS_SELECTED", false, oRowContext); }); }</code></pre><P>&nbsp;</P><P>I can change the value of an existing field, but then is it even possible to add a new field to v2 oDataModel as above?</P><P>Any suggestions and solutions will be greatly appreciated.&nbsp;<BR /><BR />Thanks,</P><P>Naresh</P><P><BR /><BR /><BR /></P> 2024-08-20T12:43:27.833000+02:00 https://community.sap.com/t5/technology-q-a/first-option-in-radiobuttongroup-is-undefined-when-selected/qaq-p/13801346 First Option in RadioButtonGroup is undefined when selected 2024-08-20T22:47:09.219000+02:00 Joe_ https://community.sap.com/t5/user/viewprofilepage/user-id/1462313 <P>I have a RadioButtonGroup in my form that is bound to my OData model as follows:</P><pre class="lia-code-sample language-markup"><code>&lt;RadioButtonGroup id="OnsiteRemote" columns="4" enabled="true" selectedIndex="{/OnsiteRemote}"&gt; &lt;RadioButton id="idRemote" text="Remote" class="sapUiSmallMarginEnd" /&gt; &lt;RadioButton id="idOnsite" text="Onsite" class="sapUiSmallMarginEnd"/&gt; &lt;RadioButton id="idOnsitePreferred" text="Onsite Preferred" class="sapUiSmallMarginEnd"/&gt; &lt;RadioButton id="idCombination" text="Combination"/&gt; &lt;/RadioButtonGroup&gt;</code></pre><P>If I select the first option, "Remote", and submit the form the field is coming in as undefined. This does not happen if I pick any of the other 3 options and submit, OR if I pick one of the other options first and then go back and select "Remote".&nbsp;</P><P>How can I get it so when selecting Remote it comes through correctly the first time without having to select another option first?</P> 2024-08-20T22:47:09.219000+02:00 https://community.sap.com/t5/technology-q-a/sapui5-framework-files-outdated/qaq-p/13803057 SAPUI5 Framework files outdated 2024-08-22T07:02:41.232000+02:00 AlexNecula https://community.sap.com/t5/user/viewprofilepage/user-id/161235 <P>I have updated the UI5 framework from 1.96.12 to 1.96.32.</P><P>After transporting to the quality system, some files seem outdated, I think there is a cache issue.</P><P>For example, in the date fields, the placeholder is broken:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AlexNecula_0-1724302588664.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/155692iA0B5636B55F6570D/image-size/medium?v=v2&amp;px=400" role="button" title="AlexNecula_0-1724302588664.png" alt="AlexNecula_0-1724302588664.png" /></span></P><P>In the console, we can see that the text isn't found and it was triggered from the line 2592 of DateFormat-dbg.js</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AlexNecula_1-1724302649383.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/155694i46FA23E1FF1CA55E/image-size/medium?v=v2&amp;px=400" role="button" title="AlexNecula_1-1724302649383.png" alt="AlexNecula_1-1724302649383.png" /></span></P><P>However, when I click on it, the file contains only 2424 lines! Therefore, the dbg file is not the same as the original file because some of them are not updated.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AlexNecula_3-1724302722356.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/155697iC82FFA37688BAC16/image-size/medium?v=v2&amp;px=400" role="button" title="AlexNecula_3-1724302722356.png" alt="AlexNecula_3-1724302722356.png" /></span></P><P>Does anyone know how to clear this type of cache, maybe regenerate that timestamp part from the path?</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AlexNecula_4-1724302763495.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/155698iAA12C9C6122EFA7E/image-size/medium?v=v2&amp;px=400" role="button" title="AlexNecula_4-1724302763495.png" alt="AlexNecula_4-1724302763495.png" /></span></P><P>I have tried with the normal cache-clearing programs like&nbsp;/UI2/INVALIDATE_GLOBAL_CACHES, restarting the system, redoing the update manually (so this time without transport) but nothing worked. In the DEV system everything is ok.</P><P>Thanks in advance for your help!</P><P>&nbsp;</P> 2024-08-22T07:02:41.232000+02:00 https://community.sap.com/t5/technology-q-a/sapui5-odatalistbinding-create-duplicates-entries/qaq-p/13803897 SAPUI5 ODataListBinding.create duplicates entries 2024-08-22T16:54:22.879000+02:00 twe_areto https://community.sap.com/t5/user/viewprofilepage/user-id/1618767 <P>Hello everybody,</P><P>I am building an SAPUI5 application based on OData V2 build with SEGW.</P><P>I am facing a weird behavior: In a sap.m.Table my created entries are duplicated after submitting and refreshing.</P><P>The table is defined like this:</P><pre class="lia-code-sample language-markup"><code>&lt;Table id="KeyfToSourceTable" mode="{= ${keyfEdit&gt;/editing} ? 'MultiSelect' : 'None' }" items="{ path: '/MapKeyfSourceSet' }" &gt; &lt;headerToolbar&gt; &lt;OverflowToolbar&gt; &lt;Title text="Table" level="H3" /&gt; &lt;ToolbarSpacer /&gt; &lt;Button icon="sap-icon://add" press=".onDatasourceHelpRequested" visible="{keyfEdit&gt;/editing}" /&gt; &lt;Button icon="sap-icon://delete" press=".onDatasourceDeletePressed" visible="{keyfEdit&gt;/editing}" /&gt; &lt;/OverflowToolbar&gt; &lt;/headerToolbar&gt; &lt;columns&gt; &lt;Column&gt; &lt;Text text="Sourcestxt" /&gt; &lt;/Column&gt; &lt;Column&gt; &lt;Text text="Employeetext" /&gt; &lt;/Column&gt; &lt;Column&gt; &lt;Text text="SbTxtlg" /&gt; &lt;/Column&gt; &lt;/columns&gt; &lt;items&gt; &lt;ColumnListItem vAlign="Middle"&gt; &lt;cells&gt; &lt;ObjectIdentifier title="{Sourcestxt}"/&gt; &lt;Text text="{Employeetext}" /&gt; &lt;Text text="{SbTxtlg}" /&gt; &lt;/cells&gt; &lt;/ColumnListItem&gt; &lt;/items&gt; &lt;/Table&gt;</code></pre><P>It displays entities mapped to my main object. So I filter these at runtime (and sometimes I have to rebind the table):</P><pre class="lia-code-sample language-javascript"><code>var sourceSystemTable = this.byId("KeyfToSourceTable"); var keyfId = this.getView().getBindingContext().getProperty("Keyfid"); var filterArray = [new Filter("Keyfid", FilterOperator.EQ, keyfId)]; sourceSystemTable.bindItems({path:"/MapKeyfSourceSet", template: oldTemplate, filters: new Filter(filterArray, true)})</code></pre><P>The User should be able to edit the main object and the mapping table and just save at the end. But the table should display the new entries, which are not persisted yet. Therefore I use the ODataListBinding.create function like it is discribed <A href="https://ui5.sap.com/sdk#/topic/6c47b2b39db9404582994070ec3d57a2#loio4c4cd99af9b14e08bb72470cc7cabff4" target="_blank" rel="noopener noreferrer">in the documentation</A>:</P><pre class="lia-code-sample language-javascript"><code>this.byId("KeyfToSourceTable").getBinding("items").create(oEntry, { inactive : false, success: function(data) { alert("success createdMapping"); }, error: function(data) { alert("error createdMapping"); } });</code></pre><P>It works as designed, new Entries are shown and not persisted until the user clicks "save" and submitChanges() is called.</P><P>But after a refresh() is called or the Binding of the table is changed, the new entries are duplicated. They are added at the top of the table again. I already looked at the BindingContexts of the items and the binding of the table, the bindings seem absolutly the same.</P><P>Even when I look at a differend main object and the filter doesn't seem to work for these duplicates. They also appear at the top of the table. But looking at the binding and also getting the filterted property, they shouldn't be there. These duplicates don't exists in the backend/data base tables. They also all are not transient, so I am not able to filter them by myself.</P><P>I assume these duplicates are just in the client model.</P><P>I appreciate any help,<BR />Kind regards</P><P>Tobias</P> 2024-08-22T16:54:22.879000+02:00 https://community.sap.com/t5/technology-q-a/sortproperty-and-filterproperty-not-working-but-column-is-visible-in/qaq-p/13804031 sortProperty and filterProperty not working, but column is visible in Columns tab in p13n dialog 2024-08-22T19:21:55.306000+02:00 Siddhesh2 https://community.sap.com/t5/user/viewprofilepage/user-id/1558878 <P>I have the following code in my view.xml =&gt;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><pre class="lia-code-sample language-markup"><code>&lt;table:Column id="TimeBucketCol00" hAlign="End" minWidth="100"&gt; &lt;Label text="{i18n&gt;invoiceDescription}" /&gt; &lt;table:customData&gt; &lt;core:CustomData key="p13nData" value='\{"columnKey": "invoiceDescription", "leadingProperty":"invoiceDescription", "sortProperty": "invoiceDescription", "filterProperty": "invoiceDescription", "type":"string"}'/&gt; &lt;/table:customData&gt; &lt;table:template&gt; &lt;Text text="{invoiceDescription}" wrapping="false"/&gt; &lt;/table:template&gt; &lt;/table:Column&gt;</code></pre><P>&nbsp;</P><P>The metadata =&gt;</P><pre class="lia-code-sample language-abap"><code>&lt;Property Name="invoiceDescription" Type="Edm.String" MaxLength="255"/&gt;</code></pre><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;However once I open the p13n dialog, I don't find the column in my sort/filter tab</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Siddhesh2_0-1724347037160.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/156103i481A56EFCD1BE0EF/image-size/medium?v=v2&amp;px=400" role="button" title="Siddhesh2_0-1724347037160.png" alt="Siddhesh2_0-1724347037160.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Siddhesh2_1-1724347060089.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/156104i1A7397F37AD9F455/image-size/medium?v=v2&amp;px=400" role="button" title="Siddhesh2_1-1724347060089.png" alt="Siddhesh2_1-1724347060089.png" /></span></P><P>&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Siddhesh2_2-1724347077717.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/156105i1D503194CE20ACE7/image-size/medium?v=v2&amp;px=400" role="button" title="Siddhesh2_2-1724347077717.png" alt="Siddhesh2_2-1724347077717.png" /></span></P><P><BR /><BR />Once I remove it from my customData then the filter/sort appears, but then I want to have formatter on that column, which is why I used customData tag.<BR /><BR />Is there a way to -&gt;&nbsp;<BR />1. Add formatter on my backend, which uses CDS annotations<BR />2. Also, if i use customData on a column does it override whatever annotations are given for that column in the backend?<BR />3. What changes should I do in my above code?</P> 2024-08-22T19:21:55.306000+02:00 https://community.sap.com/t5/technology-q-a/datepicker-input-changing-to-unix-epoch/qaq-p/13804099 DatePicker Input Changing to Unix Epoch 2024-08-22T22:09:07.414000+02:00 Joe_ https://community.sap.com/t5/user/viewprofilepage/user-id/1462313 <P>I have a form with DatePicker fields which are bound to fields in my model.</P><pre class="lia-code-sample language-markup"><code>&lt;Label design="Bold" text="From Date" required="true"/&gt; &lt;DatePicker id="FromDate" valueFormat="YYYY-MM-dd" displayFormat="MM-dd-YYYY" value="{/FromDate}"/&gt; &lt;Label design="Bold" text="To Date" required="true"/&gt; &lt;DatePicker id="ToDate" valueFormat="YYYY-MM-dd" displayFormat="MM-dd-YYYY" value="{/ToDate}"/&gt;</code></pre><P>When I submit the form, I can see that the object being sent back has the correct date that was entered:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Joe__1-1724357027494.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/156128i7221FECDFCDB62D3/image-size/medium?v=v2&amp;px=400" role="button" title="Joe__1-1724357027494.png" alt="Joe__1-1724357027494.png" /></span></P><P>However, when this data is received in the Create exit, these values are being converted to Unix Epoch "1970-01-01":</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Joe__2-1724357277425.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/156129iEF4ADBB57144ECF5/image-size/medium?v=v2&amp;px=400" role="button" title="Joe__2-1724357277425.png" alt="Joe__2-1724357277425.png" /></span></P><P>Is there some additional formatting I need to do before they get sent back to prevent this from happening?</P><P>&nbsp;</P> 2024-08-22T22:09:07.414000+02:00 https://community.sap.com/t5/technology-q-a/data-service-license-key/qaq-p/13804856 data service license key 2024-08-23T11:38:00.285000+02:00 mengzhnag https://community.sap.com/t5/user/viewprofilepage/user-id/1168354 <P>when i try to find a license key for data services function, but cannot find the correct product in the drop-list, which product i need to choose and to find the license key for data services, pls kindly advise, thanks a lot.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mengzhnag_0-1724405872454.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/156509i225F2E3BF4CF0D95/image-size/medium?v=v2&amp;px=400" role="button" title="mengzhnag_0-1724405872454.png" alt="mengzhnag_0-1724405872454.png" /></span></P><P>&nbsp;</P> 2024-08-23T11:38:00.285000+02:00 https://community.sap.com/t5/technology-q-a/filtering-on-smart-table-tree-table-works-only-on-level-0/qaq-p/13805712 Filtering on smart table - Tree Table works only on Level 0 2024-08-24T06:00:49.560000+02:00 Siddhesh2 https://community.sap.com/t5/user/viewprofilepage/user-id/1558878 <P>The requirement is to filter a smart table - tree table for 'code' and display the entire parent hierarchy of that node.&nbsp;<BR />We use default personalisation on the smart table, but it works only on level 0.&nbsp;<BR />This is the call being made<BR /><SPAN>GET Category?<STRONG>$filter=level%20eq%200%20and%20(name%20eq%20%27Pulp%27)</STRONG>&amp;$select=code%2cname%2cstatus%2cspend%2clevel%2cparent_code%2cdrillState&amp;$skip=0&amp;$top=110&amp;$inlinecount=allpages<BR /><BR /></SPAN>The filter level 0 is added by default and is only filtering level 0. How do I make it level agnostic and also get its parent node as well. Is there any customisation of the query that can be made?</P> 2024-08-24T06:00:49.560000+02:00 https://community.sap.com/t5/technology-q-a/custom-css-for-component-based-ui-integration-cards/qaq-p/13807621 Custom CSS for component based UI Integration Cards 2024-08-26T18:40:44.693000+02:00 OmriC https://community.sap.com/t5/user/viewprofilepage/user-id/1659020 <P>Hello Experts,</P><P>I'm using UI integration card for my advanced workzone on BTP.</P><P>The&nbsp;UI integration card is component based.</P><P>It works but I can't add custom css.</P><P>In a freestyle UI5 app I'm adding css file, reference it in the manifest and it works.</P><P>I did it for the card project but on runtime I'm getting 404 for the style file.</P><P>Is it possible to add custom css for a component based UI integration card?</P><P>If yes, how?</P><P>Regards,</P><P>Omri<span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CardCustomCSS.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/157795i5CA5157A2F9A1601/image-size/large?v=v2&amp;px=999" role="button" title="CardCustomCSS.png" alt="CardCustomCSS.png" /></span><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Style404.png" style="width: 889px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/157796iF50080141ADE222F/image-size/large?v=v2&amp;px=999" role="button" title="Style404.png" alt="Style404.png" /></span></P> 2024-08-26T18:40:44.693000+02:00 https://community.sap.com/t5/technology-q-a/fiori-migration-to-sapui5-with-bas/qaq-p/13808170 FIORI migration to SAPUI5 with BAS 2024-08-27T09:54:58.510000+02:00 robmamba25 https://community.sap.com/t5/user/viewprofilepage/user-id/866133 <P>FIORI migration to SAPUI5 with BAS</P><P>I am trying to migrate a fiori app to cloud foundry, specifically Purchase requisitions professional which is in this link <A href="https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/#/detail/Apps('F2229')/S14OP" target="_blank" rel="nofollow noopener noreferrer">https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/#/detail/Apps('F2229')/S14OP</A>, but looking at the components it needs I realized that the application points to the components of another application which is this one (sap.ui.s2p.mm.lib.reuse.accounting) <A href="https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/#/detail/Apps('F1643')/S14OP" target="_blank" rel="nofollow noopener noreferrer">https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/#/detail/Apps('F1643')/S14OP</A> and I was able to launch the application, however right now it asks me for other components that I do not see in the Fiori documentation and I do not know how to obtain them which are these (sap.ui.s2p.mm.lib.reuse.text and sap.ui.s2p.mm.lib.reuse.oci) could someone guide me on how to obtain them so I can download and map them correctly in my ui5.yaml so that the application works correctly?</P><P>I appreciate your support in advance</P> 2024-08-27T09:54:58.510000+02:00 https://community.sap.com/t5/technology-q-a/adaptation-project-replace-odata-in-bas/qaq-p/13808687 Adaptation Project Replace Odata In BAS? 2024-08-27T14:01:46.973000+02:00 vcarmona https://community.sap.com/t5/user/viewprofilepage/user-id/882372 <P>Hello <SPAN class="">Everyone</SPAN>&nbsp;</P><P>yesterday, we changed the odata with the option "Replace Odata" but when i change in the adaptation project.</P><P>the application continue look for the firts entity of the standard odata.</P><P>the app is F3302, The entity is&nbsp;<SPAN><SPAN class="">C_GRIRAccountReconciliation.</SPAN></SPAN></P><P>how must to do?</P><P>In the adaptation project there are two options, add or replace the odata, we chose the second option, however it seems that the main entity is always called or there is something missing in SAPUI5 Project.</P><P>thank you for your helping.</P> 2024-08-27T14:01:46.973000+02:00 https://community.sap.com/t5/technology-q-a/would-anyone-know-if-it-is-possible-to-set-a-recruit-date-previous-to-saved/qaq-p/13809085 Would anyone know if it is possible to set a recruit date previous to saved recruit date 2024-08-27T17:48:21.390000+02:00 PC_IWA https://community.sap.com/t5/user/viewprofilepage/user-id/1460259 2024-08-27T17:48:21.390000+02:00 https://community.sap.com/t5/technology-q-a/assistance-needed-connecting-cloud-postgresql-instance-with-capm/qaq-p/13809143 Assistance Needed: Connecting cloud PostgreSQL Instance with CAPM Application 2024-08-27T19:31:30.872000+02:00 adarsh-kmr https://community.sap.com/t5/user/viewprofilepage/user-id/893604 <P>&nbsp;</P><DIV><P><SPAN>Hi Experts,</SPAN></P><P><SPAN>We need some help and guidance as we are currently experiencing an issue connecting cloud PostgreSQL DB instance with our CAP application.</SPAN></P><P><STRONG><SPAN>Background:&nbsp;</SPAN></STRONG>We have successfully created a PostgreSQL instance through our CAPM application. During the deployment process, the instance was generated as expected. However, we are currently facing challenges in establishing a connection between this PostgreSQL instance and our CAPM application.</P><P><STRONG><SPAN>Current Issue:&nbsp;</SPAN></STRONG>Despite following the standard connection procedures, we are unable to connect to the PostgreSQL instance from the CAPM application. This is hindering our ability to utilize the database effectively within our application environment.</P><DIV><P><SPAN>To troubleshoot the issue, we have:</SPAN></P><P>1. Verified the PostgreSQL instance status to ensure it is running.</P><P><SPAN>2. Checked the connection parameters (hostname, port, database name, username, and password).</SPAN></P><DIV><DIV><P><SPAN>If you have any insights or suggestions on how to resolve this issue, we would greatly appreciate your assistance.</SPAN></P><DIV><P><SPAN>Thank you for your attention to this issue. We look forward to your guidance.</SPAN></P><DIV><P><SPAN>Best Regards,</SPAN></P><DIV><P><SPAN>Adarsh</SPAN></P></DIV></DIV></DIV></DIV></DIV></DIV></DIV> 2024-08-27T19:31:30.872000+02:00 https://community.sap.com/t5/technology-q-a/which-website-is-the-best-to-learn-a-sapui5-javascript-language/qaq-p/13809289 Which website is the best to learn a SAPUI5 javascript language? 2024-08-28T00:42:00.103000+02:00 AJeB https://community.sap.com/t5/user/viewprofilepage/user-id/781848 <P>Which website is the best to learn a detailed SAPUI5 javascript language?</P><P>I already check this&nbsp;<A href="https://sapui5.netweaver.ondemand.com/sdk/#/topic/851bde42e4e1410c96abbe402fa9128c" target="_blank" rel="nofollow noopener noreferrer">Step 1: Ready... - Documentation - Demo Kit - SAPUI5 SDK (ondemand.com)</A>&nbsp;but I can't find a detailed documentation of javascript for SAPUI5 it only gives me a sample. syntax and result</P><P>The documentation im looking for is a documentation like ABAP / Java where it explains the purpose of every keyword/syntax&nbsp;</P> 2024-08-28T00:42:00.103000+02:00 https://community.sap.com/t5/technology-q-a/how-to-set-overflow-settings-on-the-personalisation-settings-button-that/qaq-p/13809719 How to set Overflow Settings on the personalisation settings button that smart table provides 2024-08-28T10:51:07.307000+02:00 Siddhesh2 https://community.sap.com/t5/user/viewprofilepage/user-id/1558878 <P>I have my smart table below with given custom buttons added -&gt;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Siddhesh2_0-1724834851498.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/158800i020E7A170E5E49CD/image-size/medium?v=v2&amp;px=400" role="button" title="Siddhesh2_0-1724834851498.png" alt="Siddhesh2_0-1724834851498.png" /></span></P><P><BR /><BR />However, when the midColumnPage is populated by clicking a row the settings button goes into overflow. I can control other custom controls' overflow behaviour but not the settings button that smarttable gives by default. I don't need the Settings button to go into overflow.&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Siddhesh2_1-1724834947759.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/158802i4BF1D9AE4AD0DAFC/image-size/medium?v=v2&amp;px=400" role="button" title="Siddhesh2_1-1724834947759.png" alt="Siddhesh2_1-1724834947759.png" /></span></P><P>&nbsp;</P><P><BR /><BR /></P> 2024-08-28T10:51:07.307000+02:00 https://community.sap.com/t5/technology-q-a/i-cannot-highlight-invoices-to-pay-in-billing-sap-for-me-this-has-always/qaq-p/13810408 I cannot highlight invoices to pay in billing SAP for me. This has always worked. What changed? 2024-08-28T22:05:31.331000+02:00 joe_timmins https://community.sap.com/t5/user/viewprofilepage/user-id/677487 2024-08-28T22:05:31.331000+02:00 https://community.sap.com/t5/technology-q-a/hide-ability-to-create-new-job-req-from-specific-template-but-not-from/qaq-p/13812441 Hide Ability to Create New Job Req From Specific Template But Not From Position Org Chart 2024-08-30T15:58:48.269000+02:00 jlighter1 https://community.sap.com/t5/user/viewprofilepage/user-id/1092717 <P>We would like to be able to remove the ability for a group to be able to create a specific kind of Job Req Template (Job Requisition - Pos Mgmt) from the Recruiting Module. We don't want to inactivate the Template entirely because we want them to be creating these kinds of Reqs from the Position Org Chart, but to only be creating them from the Position Org Chart. Is this possible?</P> 2024-08-30T15:58:48.269000+02:00 https://community.sap.com/t5/technology-q-a/tree-table-not-getting-refreshed-from-javascript/qaq-p/13812540 Tree Table not getting refreshed from Javascript 2024-08-30T18:06:04.779000+02:00 NooruBohra https://community.sap.com/t5/user/viewprofilepage/user-id/142295 <P>Hi,</P><P>I have a Tree Table (sap.ui.table.TreeTable) where there's a column having Input field. Binding is correct and data is displayed perfectly. However, when I change a value in Input and then I have a button to refresh the data again.<BR />DefaultBindingMode is TwoWay.</P><pre class="lia-code-sample language-javascript"><code>var oTreeTable = this.byId("treeTable"); oTreeTable.getBinding("rows").refresh(true);</code></pre><P>For example if I changed a value from "1" to "2" and then I click refresh button then the above code will be executed and it should reset the changes which I made on screen. Which is the "2" should become "1". I'm not if this is correct approach. But the refresh is not happening. There's no error in console and the data is also fetched from backend but it is not updated in frontend.</P><P>Here's my app's screenshot, I have changed the second last row value from "1" to "2". Network logs are also attached&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NooruBohra_0-1725033755086.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/160059i7525388AB55F7335/image-size/medium?v=v2&amp;px=400" role="button" title="NooruBohra_0-1725033755086.png" alt="NooruBohra_0-1725033755086.png" /></span></P><P>Any help is appreciated.</P><P>&nbsp;</P> 2024-08-30T18:06:04.779000+02:00