https://raw.githubusercontent.com/ajmaradiaga/feeds/main/scmt/topics/SAPUI5-qa.xml SAP Community - SAPUI5 2024-05-09T20:01:50.282752+00:00 python-feedgen SAPUI5 Q&A in SAP Community https://community.sap.com/t5/technology-q-a/personalization-for-tables-in-html-container-for-sap-ui5-application/qaq-p/13677947 Personalization for tables in HTML Container for SAP UI5 application 2024-04-22T12:00:07.361000+02:00 santosh51 https://community.sap.com/t5/user/viewprofilepage/user-id/151655 <P>Hi Team</P><P>I have an application with an HTML container and the content for this HTML container comes from the backend.</P><P>The content can have multiple tables and I am able to generate a custom button against each HTML table &amp; handle the personalization at runtime by providing a custom dialog to user for columns selection &amp; based on the selections, I would set/remove the "hidden" class against columns at runtime.</P><P>The problem now is that there could be some actions that could refresh the application. It means the application will fetch &amp; load the HTML data from the backend and the user will have redo the table personalization again.&nbsp;</P><P>Could you help how to persist the user personalization for this scenario?</P><P>I was going through some of the blogs that used iapp-state to achieve similar functionality but they would modify URL to save the iapp-state which I want to avoid as it affects the design of my existing complex application.</P><P>Thanks in advance</P> 2024-04-22T12:00:07.361000+02:00 https://community.sap.com/t5/enterprise-resource-planning-q-a/how-create-a-session-timeout-with-a-countdown-timer-in-sapui5-app-that/qaq-p/13678336 How create a session timeout with a countdown timer in SAPUI5 app that interacts with ABAP backend? 2024-04-22T16:34:29.443000+02:00 mahmood_hammood https://community.sap.com/t5/user/viewprofilepage/user-id/853424 <P>Hallo everyone,</P><P>I need to create a session management in abap, when the user is inactive for two minutes, he will reseive a notification ( see the photo) with countdown timer for example 5 minutes, telling him that he will be forced to logout if in 5 minutes if inactivity continues.</P><P>Have someone an idea, step by step please because I am a beginner.</P><P>&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="logout.png" style="width: 463px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/100042iA320A32B4C235581/image-size/large?v=v2&amp;px=999" role="button" title="logout.png" alt="logout.png" /></span></P><P>&nbsp;</P><P>Thank you.</P> 2024-04-22T16:34:29.443000+02:00 https://community.sap.com/t5/technology-q-a/error-while-hana-cloud-tenant-in-python-on-sap-hana-cloud/qaq-p/13679235 Error while HANA Cloud tenant in Python on SAP HANA Cloud 2024-04-23T11:29:58.136000+02:00 PavanM https://community.sap.com/t5/user/viewprofilepage/user-id/1344 <P>Hi All,</P><P>I am doing the exercise in, the lesson Multi Model - AutoML Introduction which is part of "<SPAN>Guided Experience - Introduction to SAP HANA Cloud".</SPAN></P><P><SPAN>Here I am getting an error when I create a dataframe in the Jupyterlab. The command I've given as per the exercise is&nbsp;</SPAN></P><P>import hana_ml.dataframe as dataframe</P><P>hana_address = 'HANA_TENANT_HOST'<BR />hana_port = 443<BR />hana_user = 'GE86007'<BR />hana_password = 'Ob*******'<BR />hana_encrypt = True #for HANA Cloud</P><P># Establish connection<BR />conn = dataframe.ConnectionContext(address = e3bd540b-325a-4e89-8404-1e17a1a6cbb8.hna0.prod-eu10.hanacloud.ondemand.com<BR />port = 443,<BR />user = GE86007,<BR />password = Obm******,<BR />encrypt = True,<BR />sslValidateCertificate = 'false')</P><P>-&nbsp;<STRONG>When I execute the above command I get an error message that says Invalid Syntax pointing the error at&nbsp;the line</STRONG></P><P><STRONG>conn = dataframe.ConnectionContext(address = e3bd540b-325a-4e89-8404-1e17a1a6cbb8.hna0.prod-eu10.hanacloud.ondemand.com</STRONG></P><P>Because of this error I am not able to proceed further in the exercise to create the data frame.&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="I814150_1-1713864284407.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/100437iE166BC65DDCA7D74/image-size/medium?v=v2&amp;px=400" role="button" title="I814150_1-1713864284407.png" alt="I814150_1-1713864284407.png" /></span></P><P>Please advise how to fix this error.&nbsp;</P><P>Thank you.</P><P>&nbsp;</P><P>&nbsp;</P> 2024-04-23T11:29:58.136000+02:00 https://community.sap.com/t5/technology-q-a/catch-handle-error-upload-method-in-sapui5/qaq-p/13679932 catch/handle error upload() method in SAPUI5 2024-04-23T22:50:08.033000+02:00 UlisesCasal https://community.sap.com/t5/user/viewprofilepage/user-id/1392744 <P>Hi experts,</P><P>im using upload method from class sap.ui.unified.FileUploader. I want to catch/handle the error from FileUploader.upload().</P><P>i need this error becouse upload method never executes handeUploadComplete&nbsp;</P><P>This is the definition of oFileUploader</P><pre class="lia-code-sample language-javascript"><code>var oFileUploader = new FileUploader({ id: "Hello", name: "Hello", tooltip: "something", uploadComplete: [this.handleUploadComplete, this], change: [this.onFileChange, this], width: '100%' });</code></pre><P>&nbsp;</P> 2024-04-23T22:50:08.033000+02:00 https://community.sap.com/t5/technology-q-a/sapui5-uploadset-camera-access-not-working-on-surface/qaq-p/13680485 SAPUI5 UploadSet camera access not working on surface 2024-04-24T10:19:12.631000+02:00 flotxi https://community.sap.com/t5/user/viewprofilepage/user-id/44070 <P>Hello experts,</P><P>we will deliver a new UI5 app to one of our clients using the UploadSet control. In my research I saw that on iPhone and iPad I get a little PopOver to choose if I want to take a picture or access my storage.<BR />On a Desktop device this doesn't work, not even on a Microsoft Surface tablet.</P><P>I need this function as out client is using Surface Tablets and they need to take pictures for uploading.</P><P>Has anyone an idea or solution on this topic?</P><P>Thanks in advance and best regards,</P><P>Florian</P><P>&nbsp;</P> 2024-04-24T10:19:12.631000+02:00 https://community.sap.com/t5/technology-q-a/post-payload-to-cpi-iflow-from-ui5-internal-server-error/qaq-p/13680685 Post payload to CPI iFlow from UI5 - Internal Server Error 2024-04-24T12:20:46.018000+02:00 andreeav https://community.sap.com/t5/user/viewprofilepage/user-id/172085 <P>I need to send a JSON payload to an iFlow, in&nbsp;<STRONG>Postman</STRONG><SPAN>&nbsp;</SPAN>the request is successful (with OAuth2 token retrieval and csrf in header), but the response in<SPAN>&nbsp;</SPAN><STRONG>UI</STRONG><SPAN>&nbsp;</SPAN>is<STRONG>&nbsp;Internal Server Error</STRONG>&nbsp;(the iFlow is also expecting JSON).</P><UL><LI>I am getting csrf token from GET request to CPI instance and pass it in the following POST request to CPI endpoint :</LI></UL><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andreeav_0-1713953748556.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/101042i82B7E6155570761B/image-size/medium?v=v2&amp;px=400" role="button" title="andreeav_0-1713953748556.png" alt="andreeav_0-1713953748556.png" /></span></P><P>&nbsp;</P><UL><LI>The destination configuration is the following and added in<SPAN>&nbsp;</SPAN><STRONG>xs-app.json</STRONG><SPAN>&nbsp;</SPAN>:&nbsp;<span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andreeav_0-1713954109632.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/101058i646A7B240484BA33/image-size/medium?v=v2&amp;px=400" role="button" title="andreeav_0-1713954109632.png" alt="andreeav_0-1713954109632.png" /></span><P>&nbsp;</P></LI></UL><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andreeav_2-1713953748536.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/101041i0D300D73A5B41612/image-size/medium?v=v2&amp;px=400" role="button" title="andreeav_2-1713953748536.png" alt="andreeav_2-1713953748536.png" /></span></P><P>Also<STRONG>&nbsp;curl -v -i cpi.dest&nbsp;</STRONG>returns 500</P><P>* Cpi destination and UI5 app are in different subaccounts.</P><P>- What could be the cause of this?</P> 2024-04-24T12:20:46.018000+02:00 https://community.sap.com/t5/enterprise-resource-planning-q-a/how-create-a-plugin-session-timeout-with-a-countdown-timer-in-sapui5/qaq-p/13680881 How create a plugin session timeout with a countdown timer in SAPUI5 Launchpad with backend server? 2024-04-24T14:27:38.169000+02:00 mahmood_hammood https://community.sap.com/t5/user/viewprofilepage/user-id/853424 <P>Hallo everyone,</P><P>I need to create a plugin session for timeout in the Launchpad, when the user is inactive for two minutes, he will reseive a notification ( see the photo please) with countdown timer for example 5 minutes, telling him that he will be forced to logout if in 5 minutes if inactivity continues.</P><P>The Plugin should appear next to the Search plugin.</P><P>Have someone an idea, step by step please?</P><P>&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="logout.png" style="width: 463px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/101140i00D5271F51057B4A/image-size/large?v=v2&amp;px=999" role="button" title="logout.png" alt="logout.png" /></span></P><P>&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mahmood_hammood_0-1713961591886.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/101144iD3CF287F778B2E88/image-size/medium?v=v2&amp;px=400" role="button" title="mahmood_hammood_0-1713961591886.png" alt="mahmood_hammood_0-1713961591886.png" /></span></P><P>&nbsp;</P><P>Thank you.</P> 2024-04-24T14:27:38.169000+02:00 https://community.sap.com/t5/enterprise-resource-planning-q-a/unable-to-remove-attachment-in-quot-managed-purchase-requsition-quot-apps/qaq-p/13681454 Unable to remove attachment in "Managed Purchase Requsition" Apps in Fiori 2024-04-24T23:50:17.250000+02:00 vinztsl11 https://community.sap.com/t5/user/viewprofilepage/user-id/131060 <P>Hi Experts</P><P>We have an issue where we have attached a document in purchase requisition via Managed Purchase Requisition Apps in Fiori. However, when we try to remove the document, system will indicate it has been deleted but when we go back to the said purchase requisition, the document is still there. Please advice what could be the cause for this.</P><P>Thanks.</P><P>&nbsp;</P><P>&nbsp;</P> 2024-04-24T23:50:17.250000+02:00 https://community.sap.com/t5/technology-q-a/sapui5-planning-calendar-special-dates-but-interval-colors-doesnt-change/qaq-p/13683538 sapui5 planning calendar special dates but interval colors doesnt change 2024-04-26T13:11:36.948000+02:00 DoğukanAYAZ https://community.sap.com/t5/user/viewprofilepage/user-id/1405467 <P>Hello everyone,</P><P>My question about SAPUI5 Planning Calendar. I have special dates entityset.&nbsp;</P><P>&nbsp;</P><DIV><DIV>&lt;PlanningCalendar id="PC1" startDate="{path: 'oModel&gt;/Tarih'}" minDate="{path: 'oModel&gt;/MinTarih'}" rows="{path: 'oModel&gt;/PlanHeader'}" appointmentSelect="onPressPlan" viewKey="Week" viewChange="onViewChange" showEmptyIntervalHeaders="false" intervalSelect="onAddPlan" startDateChange="onStartDateChange" rowHeaderClick="onRowHeaderClick" specialDates="{path: 'oModel&gt;/Holidays', templateShareable: false}" appointmentsVisualization="Filled" stickyHeader="true" showWeekNumbers="true" showDayNamesLine="true" width="100%"&gt;</DIV><DIV>&nbsp;</DIV><DIV>This code block is my planning calendar.</DIV><DIV>&nbsp;</DIV><DIV>And this one is my planning calendar specialDates aggregation.</DIV><DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;</SPAN><SPAN>specialDates</SPAN><SPAN>&gt;</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;</SPAN><SPAN>unified</SPAN><SPAN>:</SPAN><SPAN>DateTypeRange</SPAN> <SPAN>startDate</SPAN><SPAN>=</SPAN><SPAN>"{oModel&gt;Date}"</SPAN> <SPAN>type</SPAN><SPAN>=</SPAN><SPAN>"NonWorking"</SPAN><SPAN>&gt;</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/</SPAN><SPAN>unified</SPAN><SPAN>:</SPAN><SPAN>DateTypeRange</SPAN><SPAN>&gt;</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/</SPAN><SPAN>specialDates</SPAN><SPAN>&gt;</SPAN></DIV><DIV>&nbsp;</DIV><DIV><SPAN>So problem is i catch the special dates but in the screen planning calendar interval color is doesn't change.</SPAN></DIV><DIV><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DoukanAYAZ_1-1714129676265.png" style="width: 758px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/102305i9C31FB1A985F5FEA/image-dimensions/758x163?v=v2" width="758" height="163" role="button" title="DoukanAYAZ_1-1714129676265.png" alt="DoukanAYAZ_1-1714129676265.png" /></span><P>23 April is a special date. And type is nonworking. But 27 and 28 April is weekend and the cells are grey.</P><P>I want all special dates cells to be greyed out like weekends.</P><P>&nbsp;</P><P>Can you experts help me ?</P></DIV></DIV></DIV><P>&nbsp;</P> 2024-04-26T13:11:36.948000+02:00 https://community.sap.com/t5/technology-q-a/ui5-uploadset-403-forbidden-error-for-some-files/qaq-p/13685791 UI5 UploadSet 403 forbidden error for some files 2024-04-29T12:54:19.556000+02:00 eachtime https://community.sap.com/t5/user/viewprofilepage/user-id/15129 <P>Hi experts.<BR /><BR />I use UploadSet control to upload files, however some files return 403 forbidden error I don't know why. Only some files return the error, usually PDFs and PPTs but not all.<BR /><BR />What's stranger is that in some environments it works and others not and for some users and others not.<BR /><BR />What could be the reason for this?<BR /><BR /><BR /></P> 2024-04-29T12:54:19.556000+02:00 https://community.sap.com/t5/technology-q-a/setting-the-backend-odata-service-alias-in-a-btp-destination-possible/qaq-p/13687731 Setting the backend OData Service Alias in a BTP Destination. Possible? 2024-04-30T20:23:14.071000+02:00 BrendanFarthing https://community.sap.com/t5/user/viewprofilepage/user-id/1856 <P>Hi,</P><P>We have a scenario as follows with BTP UI5 apps making OData calls to backend ECC systems:</P><P>BTP Cloud Foundry UI5 App &gt; BTP Destination &gt; SAP Cloud Connector &gt; Gateway Hub &gt; ECC (NW 7.00)</P><P>For a very specific reason we would like to set the Alias assigned to the OData service on the Gateway Hub via the BTP Destination, rather than inside the UI5 app itself, or via other external means. I'm talking about the&nbsp;";o=&lt;ALIAS&gt;" part of the OData URL.</P><P>I am hoping that SAP have some internal option within the SAP BTP Destination service (specifically on Cloud Foundry) which can inject the ";o=&lt;ALIAS&gt;" into the correct place in the OData URL if we specify it in a special Destination Property.</P><P>I have searched high and low and tried various properties like "sap-system-alias" or "sap-system" but they don't work, or were designed to work somewhere else. I have also tried these names and some others as HTTP Headers as a guess, but no luck.</P><P>Anyone have any idea if an 'Alias' Property exists in Cloud Foundry Destinations which can do what I need?</P><P>Note also that we are very experienced with all of this and know every other possible way to handle Aliases on OData calls in relation to BTP, ECC or S/4. But we have one very specific requirement where using a BTP Destination would save us a lot of hassle.</P><P>Thanks in advance,</P><P>Brendan</P><P>&nbsp;</P> 2024-04-30T20:23:14.071000+02:00 https://community.sap.com/t5/technology-q-a/changes-do-not-update-in-fiori-launchpad/qaq-p/13688459 Changes do not update in Fiori Launchpad 2024-05-01T18:28:24.892000+02:00 mahmood_hammood https://community.sap.com/t5/user/viewprofilepage/user-id/853424 <P><SPAN>Hi Experts,</SPAN></P><P>I am trying to add log icon or a text (Log Out) to the shell toolbar next to the search icon as you can see in the photo of FLP.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mahmood_hammood_0-1714579330664.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/104429i04C41AEB21AB9675/image-size/medium?v=v2&amp;px=400" role="button" title="mahmood_hammood_0-1714579330664.png" alt="mahmood_hammood_0-1714579330664.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mahmood_hammood_1-1714580505702.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/104432i4DCF05773618843E/image-size/medium?v=v2&amp;px=400" role="button" title="mahmood_hammood_1-1714580505702.png" alt="mahmood_hammood_1-1714580505702.png" /></span></P><P>&nbsp;</P><P>The issue is: I can not see the changes in Fiori Launchpad. I have tried with&nbsp;</P><P>/UI2/INVALIDATE_CLIENT_CACHES ,, /UI2/INVALIDATE_GLOBAL_CACHES ,,&nbsp;<SPAN>/UI5/APP_INDEX_CALCULATE and /IWFND/CACHE_CLEANUP. /IWBEP/CACHE_CLEANUP ,,&nbsp;/UI2/CHIP_SYNCHRONIZE_CACHE ,,&nbsp;/UI2/DELETE_CACHE_AFTER_IMP ,,&nbsp;&nbsp;/UI5/UPDATE_CACHEBUSTER ,,&nbsp;/UI2/INVALIDATE_GLOBAL_CACHES.</SPAN></P><P><SPAN>SMICM. Goto -&gt; HTTP plugin -&gt; Server cache -&gt; Invalidate Locally and Globally.</SPAN></P><P><SPAN>I also cleared the browser cache.</SPAN></P><P><SPAN>No updates can I see.</SPAN></P><P>&nbsp;</P><P><SPAN>This is my component.js file</SPAN></P><P>&nbsp;</P><pre class="lia-code-sample language-javascript"><code>sap.ui.define([ "sap/ui/core/UIComponent" ], function (UIComponent) { "use strict"; return UIComponent.extend("logoutplugin.Component", { metadata: { manifest: "json" }, init: function () { UIComponent.prototype.init.apply(this, arguments); this._createLaunchpadButton(); }, getRenderer: function () { var oDeferred = new jQuery.Deferred(); this._oShellContainer = jQuery.sap.getObject("sap.ushell.Container"); if (!this._oShellContainer) { oDeferred.reject("Illegal state: shell container not available"); } else { var oRenderer = this._oShellContainer.getRenderer(); if (oRenderer) { oDeferred.resolve(oRenderer); } else { this._onRendererCreated = function (oEvent) { oRenderer = oEvent.getParameter("renderer"); if (oRenderer) { oDeferred.resolve(oRenderer); } else { oDeferred.reject("Illegal state: shell container not available"); } }; this._oShellContainer.attachRendererCreatedEvent(this._onRendererCreated); } } return oDeferred.promise(); }, _createLaunchpadButton: function () { this._getRenderer().fail(function (sErrorMessage) { jQuery.sap.log.error(sErroMessage, undefined, "shellExtended.shellExtend.Component"); }).done(function (oRenderer) { var oButton = new sap.m.Button({ icon: "sap-icon://log", tooltip: "Log Out", press: function () { // } }); oRenderer.getHeaderControl().addContent(oButton, { shift: 3 }); }.bind(this)); } }); });</code></pre><P>&nbsp;</P><P><SPAN>Thank you.</SPAN></P> 2024-05-01T18:28:24.892000+02:00 https://community.sap.com/t5/technology-q-a/how-can-we-use-a-feature-that-comes-with-new-version-in-the-old-version-of/qaq-p/13689271 How can we use a feature that comes with new version, in the old version of the system ? 2024-05-02T11:55:36.975000+02:00 ertugrul https://community.sap.com/t5/user/viewprofilepage/user-id/14687 <P>Hi experts,</P><P>We cannot use a new feature in the sapui5 library in the project because the customer is using an old version?<BR />Is there a solution to this?</P><P>For example, do we have no chance of using the multi barcode reading feature of 1.115 on a system with 1.71? Is the solution to this just an upgrade? Is there a challenging but workaround solution?</P><P>I am sharing a note and blog I found about this. The solution seems to be an upgrade, but I wanted to confirm again.</P><P>Note&nbsp;</P><P><A href="https://me.sap.com/notes/3360855/E" target="_blank" rel="noopener noreferrer">https://me.sap.com/notes/3360855/E</A></P><P>Blog</P><P><A href="https://community.sap.com/t5/technology-blogs-by-members/barcode-scanning-from-sapui5-applications-via-browsers/ba-p/13560133" target="_blank">https://community.sap.com/t5/technology-blogs-by-members/barcode-scanning-from-sapui5-applications-via-browsers/ba-p/13560133</A></P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P> 2024-05-02T11:55:36.975000+02:00 https://community.sap.com/t5/technology-q-a/command-ui5-build-is-giving-an-error-maximum-call-stack-size-exceeded/qaq-p/13689980 Command: ui5 build is giving an error: Maximum call stack size exceeded 2024-05-02T20:47:53.232000+02:00 miroslav_sedlar https://community.sap.com/t5/user/viewprofilepage/user-id/555281 <P>Hello,<BR />a command</P><P>ui5 build --verbose is giving an error:</P><P>Error Message:<BR />Maximum call stack size exceeded</P><P>Stack Trace:<BR />RangeError: Maximum call stack size exceeded<BR />at Stats.set [as atime] (node:internal/fs/utils:469:18)<BR />at Stats.set [as atime] (node:internal/fs/utils:469:18)<BR />at Stats.set [as atime] (node:internal/fs/utils:469:18)<BR />at Stats.set [as atime] (node:internal/fs/utils:469:18)<BR />at Stats.set [as atime] (node:internal/fs/utils:469:18)<BR />at Stats.set [as atime] (node:internal/fs/utils:469:18)<BR />at Stats.set [as atime] (node:internal/fs/utils:469:18)<BR />at Stats.set [as atime] (node:internal/fs/utils:469:18)<BR />at Stats.set [as atime] (node:internal/fs/utils:469:18)<BR />at Stats.set [as atime] (node:internal/fs/utils:469:18)</P><P>I tried reinstalling everything: UI5 tooling, nodejs, npm, I tried downloading an empty UI5 project.. I tested another laptop. Completely the same behavior. The same worked many times. I'm no longer able to build a ui5 project <span class="lia-unicode-emoji" title=":disappointed_face:">😞</span></P> 2024-05-02T20:47:53.232000+02:00 https://community.sap.com/t5/technology-q-a/adaptation-project-add-arbitrary-fields-and-controller-logic/qaq-p/13690617 Adaptation Project: Add arbitrary fields and controller logic 2024-05-03T11:52:01.396000+02:00 martinc_mb https://community.sap.com/t5/user/viewprofilepage/user-id/157888 <P>I want to add additional fields in an adaptation project which are not in the OData model.</P><P>Presumably this means having to add a local (JSON) model for the new custom fields as well.</P><P>(The requirement would be to set a value in the OData model based on the new field).</P><P>Looking through the documentation, I cannot see anything that fits this kind of enhancement (<A href="https://help.sap.com/docs/bas/developing-sap-fiori-app-in-sap-business-application-studio/adapt-ui" target="_blank" rel="noopener noreferrer">Adapt the UI | SAP Help Portal</A>).</P><P>Is there a way, in an adaptation project, to:</P><OL><LI>Add arbitrary/new fields in an adaptation project</LI><LI>Add a JSON model for the new fields' values</LI><LI>Enhance the controller to respond to events from the new fields?</LI></OL><P><a href="https://community.sap.com/t5/c-khhcw49343/SAP+Fiori/pd-p/73554900100700000977" class="lia-product-mention" data-product="18-1">SAP Fiori</a>&nbsp;</P> 2024-05-03T11:52:01.396000+02:00 https://community.sap.com/t5/technology-q-a/i-have-a-enhancement-for-f3302-app/qaq-p/13691917 I have a Enhancement for F3302 App 2024-05-06T00:51:23.803000+02:00 VictoriaCarmona https://community.sap.com/t5/user/viewprofilepage/user-id/734315 <P>Hello Guys,</P><P>I need to make an enhancement for F3302 app&nbsp;<SPAN>Reconcile GR/IR Accounts. &nbsp;I copied a standard CDS&nbsp;<SPAN>FAC_GRIR_RECONCILIATION_SRV and I publish like this.@OData.publish: true define view ZODATA_RECONCILIACION_CDS as my new Odata .</SPAN></SPAN></P><P><SPAN><SPAN>I downloaded the source code F3302 App standard with the SAPUI5 name FIN_GRIR_ALP and upload in BAS.</SPAN></SPAN></P><P>I modified the Manifest.json file the next code:</P><DIV><DIV><SPAN>"resources"</SPAN><SPAN>: </SPAN><SPAN>"resources.json"</SPAN><SPAN>,</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>"dataSources"</SPAN><SPAN>: {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>"mainService"</SPAN><SPAN>: {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>"uri"</SPAN><SPAN>: </SPAN><SPAN>"/sap/opu/odata/sap/ZODATA_RECONCILIACION_CDS/"</SPAN><SPAN>,</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>"type"</SPAN><SPAN>: </SPAN><SPAN>"OData"</SPAN><SPAN>,</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>"settings"</SPAN><SPAN>: {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>"annotations"</SPAN><SPAN>: [</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>"FAC_GRIR_RECONCILIATION_ANNO_MDL"</SPAN><SPAN>,</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>"localAnnotations"</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ],</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>"localUri"</SPAN><SPAN>: </SPAN><SPAN>"localService/metadata.xml"</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; },</SPAN></DIV></DIV><P>I need two things for my enhancement:</P><P>1. add filter&nbsp;'Account' in the App F3302.</P><P>I added this filter in the CDS view.</P><P>I don't know how can I see the filter in the Fiori App?, in the manifest. Json I put the New OData, but the application doesn't call the new OData.&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="v_18010177_1-1714948172861.png" style="width: 792px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/105977i1F7EDCBCBCAE73A2/image-dimensions/792x268?v=v2" width="792" height="268" role="button" title="v_18010177_1-1714948172861.png" alt="v_18010177_1-1714948172861.png" /></span></P><P>go to the terminal with&nbsp;npm run start command, but I see the OData Standard and I don't see the new filter.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="v_18010177_0-1714946716128.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/105976iB5ED8820242102C5/image-size/medium?v=v2&amp;px=400" role="button" title="v_18010177_0-1714946716128.png" alt="v_18010177_0-1714946716128.png" /></span></P><P>I need to call the ZODATA.</P><P>Thanks in advance.</P><P>Best Regards</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P> 2024-05-06T00:51:23.803000+02:00 https://community.sap.com/t5/technology-q-a/aws-sdk-in-ui5-application/qaq-p/13693068 AWS SDK in UI5 Application 2024-05-06T21:11:30.612000+02:00 nepats https://community.sap.com/t5/user/viewprofilepage/user-id/268906 <P>How do I use AWS JavaScript V3 SDK in my UI5 application?</P> 2024-05-06T21:11:30.612000+02:00 https://community.sap.com/t5/technology-q-a/how-to-add-additional-buttons-in-header-section-of-overview-fiori-template/qaq-p/13693440 How to add additional buttons in header section of Overview Fiori template 2024-05-07T07:44:32.805000+02:00 SAPSupport https://community.sap.com/t5/user/viewprofilepage/user-id/121003 <P>We have a requirement where user wants to have additional buttons in header section of Overview Fiori template.</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-05-07T07:44:32.805000+02:00 https://community.sap.com/t5/technology-q-a/syniti-rdg-provides-an-effortless-way-to-create-data-model-extension/qaq-p/13695453 Syniti RDG provides an effortless way to create Data Model extension. 2024-05-08T17:43:20.178000+02:00 HectorHerGar https://community.sap.com/t5/user/viewprofilepage/user-id/1389702 <P><SPAN><A href="https://store.sap.com/dcp/en/product/display-0000059234_live_v1" target="_blank" rel="noopener noreferrer">Syniti Rapid Data Governance (</A><FONT color="#0070f2"><U>RDG)&nbsp; is</U></FONT>&nbsp;an SAP UI5 Cloud-based application that builds on SAP Business Technology Platform to automate MDG customizing and enhancement through standard APIs.  It provides an elegant UI and sensible logic to help users to perform all necessary tasks for a typical SAP MDG implementation.  It can also help to empower the business to maintain a deployed SAP MDG solution without the comprehensive technical background.</SPAN></P><P><SPAN>In SAP Master Data Governance data can be stored in a staging or active area. Extending the data model with custom attributes or tables involves changes to the data structures in both the active and staging areas and defining a mapping between these data structures.</SPAN></P><P><SPAN>T</SPAN><SPAN>raditionally, a user must perform the following steps to assign&nbsp;to do this configuration&nbsp;in SAP MDG System.&nbsp;&nbsp;</SPAN></P><UL><LI><SPAN>Extending active area data model</SPAN></LI><LI><SPAN>Extending staging area data model</SPAN></LI><LI><SPAN>Generating MDG tables </SPAN></LI><LI><SPAN>Defining mapping from Staging to Active area</SPAN></LI><LI><SPAN>Defining mapping from Active to Staging area</SPAN></LI></UL><P><SPAN>RDG provides the solution to extend SMT Mapping with an intuitive, user-friendly, and graphical interface.</SPAN></P><P><SPAN>After a custom attribute is created and activated in either Business Partner or Material data models, an entity table for SMT mapping will be shown if applicable. </SPAN><SPAN>(SMT mapping is not relevant for attributes created under all entities).</SPAN></P><OL><LI><SPAN>After custom attribute is created and activation is complete&nbsp;</SPAN><SPAN>mapping table will be shown.</SPAN><SPAN><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="smt 1.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/107454i42ADA1370C2AAFCE/image-size/medium?v=v2&amp;px=400" role="button" title="smt 1.png" alt="smt 1.png" /></span></SPAN><SPAN><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="smt 2.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/107455iC6DBE51AB0F72C61/image-size/medium?v=v2&amp;px=400" role="button" title="smt 2.png" alt="smt 2.png" /></span></SPAN></LI><LI><SPAN><SPAN><SPAN>Complete the mapping table by selecting a mapping step and structure to extend for each row. Source and Target will automatically populate. Click&nbsp;</SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HectorHerGar_1-1715183346795.png" style="width: 31px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/107597iDCB0DCF76C73C1E4/image-dimensions/31x29?v=v2" width="31" height="29" role="button" title="HectorHerGar_1-1715183346795.png" alt="HectorHerGar_1-1715183346795.png" /></span><SPAN>&nbsp;at the end of each row.<BR /></SPAN><SPAN><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="smt 3.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/107459iE96F23FB6DF1C898/image-size/medium?v=v2&amp;px=400" role="button" title="smt 3.png" alt="smt 3.png" /></span></SPAN></LI><LI><SPAN><SPAN>Click Done. Processing may take some time to complete. Click Refresh&nbsp;</SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HectorHerGar_2-1715183371666.png" style="width: 36px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/107598i36D2DF77346F4C80/image-dimensions/36x37?v=v2" width="36" height="37" role="button" title="HectorHerGar_2-1715183371666.png" alt="HectorHerGar_2-1715183371666.png" /></span><SPAN>&nbsp;when ready and receive success messages. If running the application using a cloud platform, additional notifications will be given to help you track the process</SPAN><SPAN>.&nbsp; &nbsp;</SPAN><SPAN><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="smt 4.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/107461i55C1A4E6A8DEBC04/image-size/medium?v=v2&amp;px=400" role="button" title="smt 4.png" alt="smt 4.png" /></span></SPAN></LI><LI>Extension, transformation and mapping are created correctly</LI></OL><P>&nbsp;&nbsp;<span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="smt 6.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/107462i84DBFC94FFA8606D/image-size/medium?v=v2&amp;px=400" role="button" title="smt 6.png" alt="smt 6.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="smt 7.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/107463i94ED7EF99561CC78/image-size/medium?v=v2&amp;px=400" role="button" title="smt 7.png" alt="smt 7.png" /></span></P><P>&nbsp;</P><P><SPAN><span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="smt 8.png" style="width: 399px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/107466i94BD80784AFD1F2C/image-size/large?v=v2&amp;px=999" role="button" title="smt 8.png" alt="smt 8.png" /></span></SPAN></P><P>&nbsp;</P><P>&nbsp;</P><P><A href="https://store.sap.com/dcp/en/product/display-2001014736_live_v1/syniti-rapid-data-governance" target="_blank" rel="noopener noreferrer"><SPAN>Syniti RDG</SPAN></A><SPAN> is a certified SAP BTP&nbsp;</SPAN><SPAN>solution</SPAN><SPAN>&nbsp;on the </SPAN><A href="https://store.sap.com/dcp/en/" target="_blank" rel="noopener noreferrer"><SPAN>SAP App Store</SPAN></A><SPAN>.</SPAN><SPAN>&nbsp;</SPAN></P><P><SPAN>&nbsp;</SPAN><SPAN>To know more details about the product, check the blog </SPAN><A href="https://blogs.sap.com/2021/02/05/how-partner-add-on-solutions-enhance-saps-master-data-governance/" target="_blank" rel="noopener noreferrer"><SPAN>Partner Add-on Solutions</SPAN></A><SPAN>.</SPAN><SPAN>&nbsp;</SPAN></P><P><SPAN>Your opinions and feedback are highly appreciated, and feel free to post them in the comment section.</SPAN><SPAN>&nbsp;</SPAN></P><P><SPAN>Please follow and read more interesting blogs on </SPAN><A href="https://blogs.sap.com/tags/67837800100800004488/" target="_blank" rel="noopener noreferrer"><SPAN>SAP Master Data Governance | SAP | SAP Blogs</SPAN></A><SPAN>&nbsp;</SPAN></P><P><SPAN>You can also find and post questions about the product here: </SPAN><A href="https://answers.sap.com/tags/67837800100800004488" target="_blank" rel="noopener noreferrer"><SPAN>SAP Master Data Governance Community</SPAN></A><SPAN>&nbsp;</SPAN></P> 2024-05-08T17:43:20.178000+02:00 https://community.sap.com/t5/technology-q-a/controller-replacement-in-fiori-adaptation-project/qaq-p/13696018 Controller Replacement in Fiori Adaptation Project 2024-05-09T09:35:35.807000+02:00 RachitGupta https://community.sap.com/t5/user/viewprofilepage/user-id/161260 <P>Hi Community,<BR /><BR />I am trying to generate an adaptation project to extend the standard Fiori app of GR4POS1 on VS Code, My requirement is to add custom fields in the items table, I am struggling to find a way how to add the custom fields in the model as the standard app relies on local JSON Model in its controller where fields have been added. Is there a way how we can replace&nbsp; standard controller with a custom extended controller in an adaptation project?<BR /><BR />Thanks and Warm Regards,</P><P>Rachit</P> 2024-05-09T09:35:35.807000+02:00