https://raw.githubusercontent.com/ajmaradiaga/feeds/main/scmt/topics/SAP-Fiori-qa.xml SAP Community - SAP Fiori 2024-05-20T20:01:02.752658+00:00 python-feedgen SAP Fiori Q&A in SAP Community https://community.sap.com/t5/technology-q-a/rap-vh-filter-on-child-lvl-based-on-value-from-parent-entity/qaq-p/13679452 RAP: VH filter on child lvl based on value from parent entity 2024-04-23T14:18:56.299000+02:00 pzuchowski https://community.sap.com/t5/user/viewprofilepage/user-id/164020 <P>Hello everyone,</P><P>I have the following problem.</P><P>Our requirement is to build an application where it will be possible to create a group of suppliers for some purchasing organization and then on child level add suppliers to the group.</P><P>On the photo you can see a group created for Purchorg 1000.</P><P>&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pzuchowski_0-1713873526566.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/100514iB0E0A05DF072A63F/image-size/medium?v=v2&amp;px=400" role="button" title="pzuchowski_0-1713873526566.png" alt="pzuchowski_0-1713873526566.png" /></span></P><P>Now i want to add suppliers to the group. For the field supplier i have created a VH. I need to take the value for PurchOrg from parent entity and based on it, display the VH. But it doesn't work. There is no value in the field PurchOrg.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pzuchowski_2-1713874163268.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/100521i380276A5DD05F824/image-size/medium?v=v2&amp;px=400" role="button" title="pzuchowski_2-1713874163268.png" alt="pzuchowski_2-1713874163268.png" /></span></P><P>I tried to do that in 2 ways with additional binding. Based on key field PurchOrg and based on association field. In both cases, it doesnt work.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pzuchowski_3-1713874486073.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/100559i238BA7D6831B616E/image-size/medium?v=v2&amp;px=400" role="button" title="pzuchowski_3-1713874486073.png" alt="pzuchowski_3-1713874486073.png" /></span></P><P>After creation of new entry for supplier, the value for PurchOrg is passed. I think that at the time of creation these values are not filled.&nbsp;</P><P>After creation the value is passed.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pzuchowski_4-1713874624569.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/100561i610973E76B6D8564/image-size/medium?v=v2&amp;px=400" role="button" title="pzuchowski_4-1713874624569.png" alt="pzuchowski_4-1713874624569.png" /></span></P><P>Anyone have an idea how can pass the values from parent entity into vh on the child lvl(entity).</P><P>&nbsp;</P><P>Thanks!</P><P>&nbsp;</P><P>&nbsp;</P><DIV><DIV><P>&nbsp;</P></DIV></DIV><P>&nbsp;</P> 2024-04-23T14:18:56.299000+02:00 https://community.sap.com/t5/technology-q-a/struggling-with-filters-on-select-fiori-app/qaq-p/13681714 Struggling with Filters on Select - Fiori App 2024-04-25T07:59:20.818000+02:00 pghoshroy https://community.sap.com/t5/user/viewprofilepage/user-id/753593 <P>Dear Experts,</P><P>I hope this message finds you well.</P><P>I am currently working on a project that involves two dropdown menus. The first dropdown,<SPAN>&nbsp;</SPAN><STRONG>Box 1</STRONG>, displays a list of manufacturers, such as<SPAN>&nbsp;</SPAN><STRONG>A</STRONG><SPAN>&nbsp;</SPAN>and<SPAN>&nbsp;</SPAN><STRONG>B</STRONG>. The second dropdown,<SPAN>&nbsp;</SPAN><STRONG>Box 2</STRONG>, presents the corresponding models for each manufacturer, for instance,<SPAN>&nbsp;</SPAN><STRONG>A1, A2, A3</STRONG><SPAN>&nbsp;</SPAN>for manufacturer<SPAN>&nbsp;</SPAN><STRONG>A</STRONG>, and<SPAN>&nbsp;</SPAN><STRONG>B1, B2, B3</STRONG><SPAN>&nbsp;</SPAN>for manufacturer<SPAN>&nbsp;</SPAN><STRONG>B</STRONG>.</P><P>Upon initial load,<SPAN>&nbsp;</SPAN><STRONG>Box 1</STRONG><SPAN>&nbsp;</SPAN>defaults to manufacturer<SPAN>&nbsp;</SPAN><STRONG>A</STRONG>, and<SPAN>&nbsp;</SPAN><STRONG>Box 2</STRONG><SPAN>&nbsp;</SPAN>contains all models (<STRONG>A1, A2, A3, B1, B2, B3</STRONG>), with<SPAN>&nbsp;</SPAN><STRONG>A1</STRONG><SPAN>&nbsp;</SPAN>being the pre-selected model.</P><P>My objective is to dynamically filter the options in<SPAN>&nbsp;</SPAN><STRONG>Box 2</STRONG><SPAN>&nbsp;</SPAN>based on the selection made in<SPAN>&nbsp;</SPAN><STRONG>Box 1</STRONG>. I attempted to implement this functionality using the following code snippet, but it was unsuccessful:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pghoshroy_1-1714023958458.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/101486i0A6D4C84024629E0/image-size/large?v=v2&amp;px=999" role="button" title="pghoshroy_1-1714023958458.png" alt="pghoshroy_1-1714023958458.png" /></span></P><P><SPAN>Nevertheless, I managed to achieve the desired outcome by hardcoding the filter value as shown below:</SPAN></P><P><SPAN>items = {<BR />path: '/SprayModelSet',<BR />filters: [{ path: 'SprayMachineMake', operator: 'EQ', value1: 'A' }],<BR />sorter: { path: 'SprayMachineModel' }<BR />};<BR /></SPAN></P><P>This code effectively narrows down the options in<SPAN>&nbsp;</SPAN><STRONG>Box 2</STRONG><SPAN>&nbsp;</SPAN>to<SPAN>&nbsp;</SPAN><STRONG>A1, A2, A3</STRONG>, with<SPAN>&nbsp;</SPAN><STRONG>A1</STRONG><SPAN>&nbsp;</SPAN>as the default selection, while excluding the<SPAN>&nbsp;</SPAN><STRONG>B</STRONG><SPAN>&nbsp;</SPAN>series models.</P><P>However, I am encountering difficulties in making the filter dynamic, such that the selected value from<SPAN>&nbsp;</SPAN><STRONG>Box 1</STRONG><SPAN>&nbsp;</SPAN>is passed as a filter to<SPAN>&nbsp;</SPAN><STRONG>Box 2</STRONG>.</P><P>Could you please provide guidance on how to achieve this dynamic filtering?</P><P>Thank you for your assistance.</P><P>Warm regards,</P><P>Pablo Ghosh Roy</P> 2024-04-25T07:59:20.818000+02:00 https://community.sap.com/t5/technology-q-a/did-this-worked-for-anyone/qaq-p/13686143 Did this worked for anyone.? 2024-04-29T16:47:36.217000+02:00 avinash12 https://community.sap.com/t5/user/viewprofilepage/user-id/510916 <P><a href="https://community.sap.com/t5/user/viewprofilepage/user-id/218033">@ramesh_putta</a>&nbsp;</P> 2024-04-29T16:47:36.217000+02:00 https://community.sap.com/t5/technology-q-a/fiori-elements-internal-navigation/qaq-p/13687564 Fiori Elements Internal Navigation 2024-04-30T17:20:28.845000+02:00 brenda_oalves https://community.sap.com/t5/user/viewprofilepage/user-id/178247 <P>Hello everyone!<BR /><BR />In a Fiori Elements application I'm trying to navigate to an ObjectPage by clicking on the button and I am getting this error in the console.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="brenda_oalves_5-1714489833708.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/104007i8700DB43FCCF3F14/image-size/medium?v=v2&amp;px=400" role="button" title="brenda_oalves_5-1714489833708.png" alt="brenda_oalves_5-1714489833708.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="brenda_oalves_6-1714489895197.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/104008iECF1BDF3CCB2D389/image-size/medium?v=v2&amp;px=400" role="button" title="brenda_oalves_6-1714489895197.png" alt="brenda_oalves_6-1714489895197.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="brenda_oalves_7-1714489921964.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/104009i43DD4E036127422D/image-size/medium?v=v2&amp;px=400" role="button" title="brenda_oalves_7-1714489921964.png" alt="brenda_oalves_7-1714489921964.png" /></span></P><P>Could anyone tell me what I'm doing wrong?</P><P>&nbsp;</P><P>Best regards,<BR />Brenda Alves.</P> 2024-04-30T17:20:28.845000+02:00 https://community.sap.com/t5/technology-q-a/variant-management-sap-ui-fl-variants-variant-not-visible-to-other-users/qaq-p/13688288 Variant management sap.ui.fl.variants variant not visible to other users 2024-05-01T13:43:02.846000+02:00 hatrigt https://community.sap.com/t5/user/viewprofilepage/user-id/579422 <P>I have a sap.ui.table with over 50 columns that requires Variant Management. To achieve this, I utilized sap.ui.fl.variants and successfully implemented the feature to create and view the saved variant. However, I'm not able to find a option to make it visible to others or setting it as the default variant for others.</P><P>P.S. The UI5 application has been deployed in BTP, and I am accessing it through the launchpad.</P> 2024-05-01T13:43:02.846000+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/sap-firori-smart-table/qaq-p/13689802 SAP Firori Smart Table 2024-05-02T17:30:09.322000+02:00 iamnaveen https://community.sap.com/t5/user/viewprofilepage/user-id/153377 <P>Hi Experts,</P><P>&nbsp;</P><P>I've created one smart table. but when I run the application automatically data will be populated based on the Odata which was incorporated with the Fiori application. Don't want to fetch the data automatically. I just need the data when click the go button. I tried&nbsp;<SPAN>enableAutoBinding</SPAN><SPAN>=</SPAN><SPAN>"false" also, But not working for me.</SPAN></P><P><SPAN>Share your suggestion on this.</SPAN></P><P><SPAN>Also attached some codes for your reference.</SPAN></P><P>&nbsp;</P><pre class="lia-code-sample language-markup"><code>&lt;mvc:View xmlns:table="sap.ui.table" xmlns="sap.m" xmlns:core="sap.ui.core" xmlns:mvc="sap.ui.core.mvc" xmlns:smartFilterBar="sap.ui.comp.smartfilterbar" xmlns:smartTable="sap.ui.comp.smarttable" xmlns:html="http://www.w3.org/1999/xhtml" xmlns:app="http://schemas.sap.com/sapui5/extension/sap.ui.core.CustomData/1" controllerName="project1.controller.View1" displayBlock="true" height="100%"&gt; &lt;VBox id='_IDGenVBox1' fitContainer="true"&gt; &lt;smartFilterBar:SmartFilterBar id='smartFilterBar' entitySet="invoiceSet" persistencyKey="SmartFilter_Explored" basicSearchFieldName="DocdtlsNo" enableBasicSearch="true" advancedMode="false" showAllFilters="true" search="onValidation"&gt; &lt;/smartFilterBar:SmartFilterBar&gt; &lt;smartTable:SmartTable id='LineItemsSmartTable' entitySet="invoiceSet" smartFilterId="smartFilterBar" tableType="Table" useTablePersonalisation="false" useVariantManagement="true" persistencyKey="SmartTableAnalytical_Explored" showRowCount="true" header="E-invoice Console" class="sapUiResponsiveContentPadding" enableAutoColumnWidth="true" enableAutoBinding="false" editTogglable="true" app:useSmartToggle="true" busy="false" editable="false" busyIndicatorDelay="1000" initiallyVisibleFields="docno"&gt; &lt;smartTable:layoutData&gt; &lt;FlexItemData id='_IDGenFlexItemData2' growFactor="1" baseSize="0%"/&gt; &lt;/smartTable:layoutData&gt; &lt;smartTable:customToolbar&gt; &lt;OverflowToolbar id="_IDGenOverflowToolbar1" design="Transparent"&gt; &lt;ToolbarSpacer id="_IDGenToolbarSpacer1"/&gt; &lt;Button id="_IDGenButton1" text="Reprocess" type="Emphasized" press="onReprocess" icon="sap-icon://refresh" /&gt; &lt;Button id="_IDGenButton2" text="Generate" type="Success" press="onGenerate" icon="sap-icon://status-completed"/&gt; &lt;Button id="_IDGenButton3" text="Cancel" type="Negative" press="onCancel" icon="sap-icon://cancel"/&gt; &lt;/OverflowToolbar&gt; &lt;/smartTable:customToolbar&gt; &lt;table:Table id="_IDGenTable1" rows="{/invoiceSet}"&gt; &lt;table:columns&gt; &lt;table:Column id="_IDGenColumn1" width="3.5em"&gt; &lt;Label id="_IDGenLabel1" text="Status"&gt;&lt;/Label&gt; &lt;table:template&gt; &lt;core:Icon id="icon" src="sap-icon://alert" class="yellowText" height="1.5em"&gt;&lt;/core:Icon&gt; &lt;/table:template&gt; &lt;/table:Column&gt; &lt;table:Column id="_IDGenColumn2" width="5.371em"&gt; &lt;Label id="_IDGenLabel2" text="Description"&gt;&lt;/Label&gt; &lt;table:template&gt; &lt;Text id="_IDGenText1" text="Ready" class="yellowText" /&gt; &lt;/table:template&gt; &lt;/table:Column&gt; &lt;/table:columns&gt; &lt;/table:Table&gt; &lt;/smartTable:SmartTable&gt; &lt;/VBox&gt; &lt;/mvc:View&gt; </code></pre><P>&nbsp;</P> 2024-05-02T17:30:09.322000+02:00 https://community.sap.com/t5/technology-q-a/blank-page-when-accessing-fiori-applications-on-btp/qaq-p/13690184 Blank page when accessing Fiori applications on BTP 2024-05-03T05:36:37.106000+02:00 FabioDagostin1 https://community.sap.com/t5/user/viewprofilepage/user-id/1423000 <P><SPAN>Hello.<BR /></SPAN><SPAN>We are having a problem accessing Fiori's apps that were 'exposed' in a BTP workzone.&nbsp;&nbsp;&nbsp;</SPAN></P><P>It happens when accessing any application. It doesn't show any error messages, just the screen is blank.</P><P>All "identity provider" and "content federation" settings have already been reviewed.</P><P>Does anyone have any suggestions?</P><P>&nbsp;</P> 2024-05-03T05:36:37.106000+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/enterprise-resource-planning-q-a/advanced-financial-closing-in-sap-ecc/qaq-p/13691154 Advanced Financial Closing in SAP ECC 2024-05-03T19:57:32.873000+02:00 janernst https://community.sap.com/t5/user/viewprofilepage/user-id/140323 <P>Hello everyone,<BR />I am currently evaluating the Advanced Financial Closing. According to the SAP information, it should be possible to connect the Advanced Financial Closing to SAP ECC (see OSS <A href="https://me.sap.com/notes/2873915" target="_blank" rel="noopener noreferrer">https://me.sap.com/notes/2873915</A>).</P><P>As part of a PreSales case, I came across the fact that there is no possibility to store the task type “transaction code” in the business transactions, but only the task types “Fiori app application” and “job”.</P><P>Is it a mandatory requirement to have the Fiori interface installed for the backend system in order to use Advanced Financial Closing?</P><P>Thank you very much for your feedback.</P> 2024-05-03T19:57:32.873000+02:00 https://community.sap.com/t5/technology-q-a/sap-fiori-apps-in-btp-how-to-handle-output-files-from-fiori-pdf/qaq-p/13691190 SAP Fiori Apps in BTP - How to Handle Output Files from Fiori (PDF) 2024-05-03T20:58:34.390000+02:00 shane_kelly2 https://community.sap.com/t5/user/viewprofilepage/user-id/209273 <P>We are developing our first fiori app - in BTP.&nbsp; &nbsp; This app creates purchase orders and sales orders in our ECC system.&nbsp; &nbsp; When the purchase/sales order is saved in SAP it generates a PDF output confirmation that we send to our customer and supplier by email.</P><P>Additionally we would like our fiori app to autosave these files to a shared network drive that is accessible from our ECC PRD server.&nbsp;</P><P>Does anyone have any information or resources or experience building Fiori apps in BTP and how do you handle outputs from that system (whether they are PDF or Excel or any other format)?<BR /><BR />I posted this question a couple of weeks ago to the Technology community (<A href="https://community.sap.com/t5/technology-q-a/btp-apps-amp-saving-outputs-to-local-network-storage/qaq-p/13673743" target="_blank">https://community.sap.com/t5/technology-q-a/btp-apps-amp-saving-outputs-to-local-network-storage/qaq-p/13673743</A>) but got no response.<BR /><BR />Any feedback or ideas would be appreciated!</P> 2024-05-03T20:58:34.390000+02:00 https://community.sap.com/t5/technology-q-a/changes-are-not-visible-in-the-myinbox-fiori-app-after-extending-it-using/qaq-p/13692587 Changes are not visible in the MyInbox fiori app after extending it using adapation project 2024-05-06T13:43:19.108000+02:00 ajaygupta https://community.sap.com/t5/user/viewprofilepage/user-id/147863 <P>Hello,</P><P>I have the below confuguration in my system:&nbsp;SAP S/4HANA 2023 FPS01 and&nbsp;<SPAN>SAP FIORI FES 2023 FOR S/4HANA.<BR /></SPAN>I want to adapt/extend the UI of the standard Fiori app MyInbox (F0862)<BR />1. After creating an adaptation project in BAS, I tried to extend the view using the existing UI extensions or hooks&nbsp;</P><P>2. This created a fragment under the change folder but the changes are not reflected?<BR /><BR />So can we extend the MyInbox app using Adaptation project in BAS? or we need to do some work around?</P> 2024-05-06T13:43:19.108000+02:00 https://community.sap.com/t5/technology-q-a/change-component-in-mass-maintenance-of-bills-of-material-items/qaq-p/13692690 Change Component in Mass Maintenance of Bills Of Material Items 2024-05-06T14:54:54.230000+02:00 thormadsen https://community.sap.com/t5/user/viewprofilepage/user-id/803179 <P>Hi experts.</P><P>In the app, Mass Maintenance of Bills Of Material Items (F<SPAN>6578), I try to change the component since it is an option in the attribute list. But when simulating or execution I get the following error:&nbsp;</SPAN></P><P><EM>The material does not exist or is not activated / Consistency check when changing BOM item was not successful / BOM Item operation failed</EM></P><P><SPAN>Can it be true that it isn't possible to change a component in a BOM or several BOM's from this app? I have also tried to add additional attributes in combination with the component attribute such as item category, quantity, unit of measure etc. without any luck.&nbsp;</SPAN></P><P>I know we can replace components from the&nbsp;<SPAN class="">Material Where-Used List in BOMs app, but it could be great to do it from here if other attributes need to be changed as well.</SPAN></P> 2024-05-06T14:54:54.230000+02:00 https://community.sap.com/t5/supply-chain-management-q-a/how-to-make-product-type-group-mandatory-in-creating-pr/qaq-p/13692785 How to make product type group mandatory in creating PR? 2024-05-06T16:08:19.596000+02:00 ubaid-ur-rehman https://community.sap.com/t5/user/viewprofilepage/user-id/1346536 <P>Hello Expert,</P><P>Is there any way we can mandatory the Product type group in PR. As of now we need to select the product type for services and goods procurement. But we want that it will be select for both type of procurement automatically. Also note that we are not using services as material Instead we create services PR on short Text. Or any suggestion related to this.</P><P>Thanks</P> 2024-05-06T16:08:19.596000+02:00 https://community.sap.com/t5/technology-q-a/we-need-help-knowing-how-to-edit-and-improve-an-odata-service-in-sap-cloud/qaq-p/13694312 We need help knowing how to edit and improve an odata service in SAP Cloud. 2024-05-07T23:32:16.046000+02:00 SAPSupport https://community.sap.com/t5/user/viewprofilepage/user-id/121003 <P>How to modify and enhance odata services?</P><P>we need to add the below changes on odata service:</P><UL><LI>order by column</LI><LI>Group by column</LI><LI>Add the sum and columns for each group.</LI></UL><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-07T23:32:16.046000+02:00 https://community.sap.com/t5/technology-q-a/ui5-build-error-when-deploying-to-sapui5-abap-repo/qaq-p/13701199 UI5 Build Error when deploying to SAPUI5 ABAP Repo 2024-05-14T19:10:05.103000+02:00 fxy https://community.sap.com/t5/user/viewprofilepage/user-id/1413483 <P><SPAN>I have deployed this application several times before but this time, when deploying the app using the same means, I am getting the following error which is preventing me from deploying:<BR /><BR />12:50:07 (DIBuild) npm ERR! code ENOTFOUND</SPAN><BR /><SPAN>npm ERR! syscall getaddrinfo</SPAN><BR /><SPAN>npm ERR! errno ENOTFOUND</SPAN><BR /><SPAN>npm ERR! network request to <A href="https://npm.sap.com/@sap/ui5-builder-webide-extension/-/ui5-builder-webide-extension-1.0.5.tgz" target="_blank" rel="noopener noreferrer">https://npm.sap.com/@sap/ui5-builder-webide-extension/-/ui5-builder-webide-extension-1.0.5.tgz</A> failed, reason: getaddrinfo ENOTFOUND npm.sap.com</SPAN><BR /><SPAN>npm ERR! network This is a problem related to network connectivity.</SPAN><BR /><SPAN>npm ERR! network In most cases you are behind a proxy or have bad network settings.</SPAN><BR /><SPAN>npm ERR! network </SPAN><BR /><SPAN>npm ERR! network If you are behind a proxy, please make sure that the</SPAN><BR /><SPAN>npm ERR! network 'proxy' config is set properly. See: 'npm help config'</SPAN></P><P>What can I do to resolve this?</P> 2024-05-14T19:10:05.103000+02:00 https://community.sap.com/t5/technology-q-a/table-header-cell-coloring-in-sap-ui-table/qaq-p/13702348 Table Header Cell coloring in sap.ui.table 2024-05-15T14:53:15.178000+02:00 harimpm https://community.sap.com/t5/user/viewprofilepage/user-id/733504 <P>Hello All</P><P>Our UI5 version is 1.71.55</P><P>The requirement is to color the cell of headers. We have multi headers (2 headers). For 1st level header, need to color the cell with different colors. Tried with different options and still color is not reflecting.&nbsp;</P><P>Gave class name directly in Label; but only Label background changes but not the complete cell.</P><P>Tried with Vertical Layout option; but again it's full-cell coloring didn't work; also second level header was missing.</P><P>Any ideas?</P><DIV><DIV><SPAN>&lt;tab:Column</SPAN> <SPAN>id</SPAN><SPAN>=</SPAN><SPAN>"id_colexMatCompType"</SPAN> <SPAN>filterProperty</SPAN><SPAN>=</SPAN><SPAN>"exMatCompType"</SPAN> <SPAN>width</SPAN><SPAN>=</SPAN><SPAN>"7rem"</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>headerSpan</SPAN><SPAN>=</SPAN><SPAN>"5"</SPAN><SPAN>&gt;</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>&lt;tab:multiLabels&gt;</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>&lt;Label</SPAN> <SPAN>id</SPAN><SPAN>=</SPAN><SPAN>"_IDexMatCompType1"</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>text</SPAN><SPAN>=</SPAN><SPAN>"Exact Composition based on starting materials"</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>textAlign</SPAN><SPAN>=</SPAN><SPAN>"Center"</SPAN> <SPAN>width</SPAN><SPAN>=</SPAN><SPAN>"100%"</SPAN> <SPAN>class</SPAN><SPAN>=</SPAN><SPAN>"tableHeaderWrap"</SPAN> <SPAN>/&gt;</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>&lt;Label</SPAN> <SPAN>id</SPAN><SPAN>=</SPAN><SPAN>"id_labelexMatCompType"</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>text</SPAN><SPAN>=</SPAN><SPAN>"{/#composition/exMatCompType/@sap:label}"</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>tooltip</SPAN><SPAN>=</SPAN><SPAN>"{/#composition/exMatCompType/@sap:label}"</SPAN> <SPAN>/&gt;</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>&lt;/tab:multiLabels&gt;</SPAN></DIV></DIV> 2024-05-15T14:53:15.178000+02:00 https://community.sap.com/t5/technology-q-a/dynamic-trend-calculation-for-kpi-in-analytical-cds-view/qaq-p/13703248 Dynamic Trend Calculation for KPI in Analytical CDS View 2024-05-16T10:31:37.036000+02:00 tobias_grimm_ksg https://community.sap.com/t5/user/viewprofilepage/user-id/875503 <P>I use an Analytical CDS View (Query) to get the Average Delivery Delay of Sales Order Items as an KPI in my SAPUI5 application.&nbsp;The value is calculated in the CDS view:</P><pre class="lia-code-sample language-abap"><code>@AnalyticsDetails.query.decimals: 3 @AnalyticsDetails.query.formula: 'NDIV0( $projection.TotDelivToReqdDelivDelayInDays / $projection.NumberOfIncomingSlsOrderItems )' cast(1 as avg_deliv_to_reqd_deliv_delay) as AvgDelivToReqdDelivDelayInDays</code></pre><P>I created a DataPoint for this field:&nbsp;</P><pre class="lia-code-sample language-markup"><code>&lt;Annotation Term="UI.DataPoint" Qualifier="DataPointDurchschnittLieferverzug"&gt; &lt;Record Type="UI.DataPointType"&gt; &lt;PropertyValue Property="Title" String="someTitle" /&gt; &lt;PropertyValue Property="Description" String="someDesc" /&gt; &lt;PropertyValue Property="Value" Path="AvgDelivToCmtdDelivDelayInDays" /&gt; ... &lt;PropertyValue Property="TrendCalculation"&gt; &lt;Record Type="UI.TrendCalculationType"&gt; &lt;PropertyValue Property="ReferenceValue" Path="ReferenceField" /&gt; &lt;PropertyValue Property="UpDifference" Decimal="3" /&gt; &lt;PropertyValue Property="StrongUpDifference" Decimal="10" /&gt; &lt;PropertyValue Property="DownDifference" Decimal="-3" /&gt; &lt;PropertyValue Property="StrongDownDifference" Decimal="-10" /&gt; &lt;/Record&gt; &lt;/PropertyValue&gt; &lt;/Record&gt; &lt;/Annotation&gt;</code></pre><P>I would like to show a trend indicator for my KPI. Lets say, I want to use the average value of the past 7 days as a reference and get a trend (up/down) from that. I know its possible to get a reference value from another field or set a static value for the ReferenceValue property.</P><P>My question is, is it possible to calculate the reference value in the query view based on a time span?&nbsp;<BR />All tutorials regarding trend calculation of KPIs I found online always assume you have a reference value already present as a field in your view. But in this case, the KPI value that I need a reference for is calculated in the same view...</P><P>Would it be possible to get the reference value from a different view instead of a field of the same entity?&nbsp;</P> 2024-05-16T10:31:37.036000+02:00 https://community.sap.com/t5/technology-q-a/sapui5-embeddable-workzone-knowledge-base-widget-errors/qaq-p/13703260 SAPUI5 Embeddable WorkZone Knowledge Base Widget Errors 2024-05-16T10:35:22.820000+02:00 kishore_ms12 https://community.sap.com/t5/user/viewprofilepage/user-id/827669 <P>Hello Team,</P><P>We have a requirement to build a knowledge base widget and use it on an SAP UI5 Application. Made the required changes as per the <A href="https://help.sap.com/docs/build-work-zone-advanced-edition/sap-build-work-zone-advanced-edition/sapui5-embeddable-knowledge-base-widget?q=%22knowledge%20base%22" target="_blank" rel="noopener noreferrer">documentation link.</A></P><P>However, we encountered a couple of issues that are hindering the completion of the integration process. Here are the details of the issues:</P><OL><LI><STRONG><STRONG><U>CORS Issue:&nbsp;</U></STRONG></STRONG></LI></OL><P>The application is deployed on the SAP BTP HTML Repository. while generating a single-use token, we encountered a CORS issue despite configuring the deployed HTML application in SAP BTP trusted domains. The error message indicates that it is a CORS error. Please suggest where changes are needed to resolve the CORS issue.</P><P>Below are the code changes regarding single-use token generation.</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><pre class="lia-code-sample language-javascript"><code>Component.js jQuery.ajax({ url: " https://XXXX.xxx-1.dws.workzone.ondemand.com/v1/single_use_tokens", type: "POST", beforeSend: function(xhr) { xhr.setRequestHeader("Authorization", "Bearer XXXXXXXXXXXXXXXXXX"); }, success: function(data) { // Parse the XML response var parser = new DOMParser(); var xmlDoc = parser.parseFromString(data, "text/xml"); // Get the single_use_token element var singleUseTokenElement = xmlDoc.getElementsByTagName("single_use_token")[0]; // Get the value of the id attribute var tokenId = singleUseTokenElement.getAttribute("id"); console.log("Token ID 0" + tokenId); // Set the token ID value to the data object }, error: function(xhr, status, error) { // Handle error console.error("Error occurred while fetching single use token:", error); }, });&lt;ol&gt;&lt;li&gt;&lt;strong&gt;&lt;u&gt;Failed to Load the Widget: When attempting to load the widget, the error message suggests that there was a script load error while trying to load 'jam/widget/wzKBWidget.js' from the specified URL. Here's the detailed error message:&lt;li-code lang="bash"&gt;Failed to load component for container container - ModuleError: failed to load 'jam/widget/wzKBWidget.js' from https://XXXXXXX.X1.dws.workzone.ondemand.com/widget/jamWidget/wzKBWidget.js: script load error ModuleError: failed to load 'jam/widget/wzKBWidget.js' from https://XXXXXX.xxx-1.dws.workzone.ondemand.com/widget/jamWidget/wzKBWidget.js: script load error&lt;p&gt;Below are the code changes regarding DWS Knowledge Base Widget as per the documentatio&lt;/p&gt;&lt;p&gt;a. &lt;strong&gt;&lt;u&gt;Component.js&lt;strong&gt; (As per the Properties DWSInstance Option): Single use token is hard coded which is generated through rest postman.&lt;li-code lang="javascript"&gt;// Set up the data model var oData = { DWSInstance: { uri: " https://XXXXXXXXX.xxx-1.dws.workzone.ondemand.com/", singleUseToken: "Xxxxxxxxxxxxxx", }, }; var oModel = new sap.ui.model.json.JSONModel(oData); this.setModel(oModel);</code></pre><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P><STRONG><U>2. Failed to Load the Widget:</U></STRONG></P><P>When attempting to load the widget, the error message suggests that there was a script load error while trying to load 'jam/widget/wzKBWidget.js' from the specified URL. Here's the detailed error message:</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><pre class="lia-code-sample language-bash"><code>Failed to load component for container container - ModuleError: failed to load 'jam/widget/wzKBWidget.js' from https://XXXX.eu10-1.dws.workzone.ondemand.com/widget/jamWidget/wzKBWidget.js: script load error ModuleError: failed to load 'jam/widget/wzKBWidget.js' from https://XXXXX.eu10-1.dws.workzone.ondemand.com/widget/jamWidget/wzKBWidget.js: script load error</code></pre><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>Below are the code changes regarding DWS Knowledge Base Widget as per the documentation.&nbsp;</P><P>&nbsp; &nbsp; &nbsp; &nbsp;a. <STRONG><U>Component.js</U></STRONG><STRONG> (As per the Properties DWSInstance Option):&nbsp;</STRONG>Single use token is hard coded which is generated through rest postman.</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><pre class="lia-code-sample language-javascript"><code>// Set up the data model var oData = { DWSInstance: { uri: " https://XXXXXXX.eu10-1.dws.workzone.ondemand.com/", singleUseToken: "Xxxxxxxxxxxxxx", }, }; var oModel = new sap.ui.model.json.JSONModel(oData); this.setModel(oModel);</code></pre><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp; &nbsp; &nbsp; &nbsp;<STRONG>b.<U> index.html (As per the STEP 2 Documentation):</U></STRONG></P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><pre class="lia-code-sample language-javascript"><code>&lt;script id="sap-ui-bootstrap" src="https://sapui5.hana.ondemand.com/1.115.1/resources/sap-ui-core.js" data-sap-ui-theme="sap_horizon" data-sap-ui-resourceroots='{ "sap.m.sample.OverflowToolbarFooter": "./", "app": "./", "jam.widget": " https://XXXXXXX.xxxx-1.dws.workzone.ondemand.com/widget/jamWidget" }' data-sap-ui-compatVersion="edge" data-sap-ui-async="true" data-sap-ui-frameOptions="trusted" data-sap-ui-oninit="module:sap/ui/core/ComponentSupport"&gt; &lt;/script&gt;</code></pre><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp; &nbsp; &nbsp;c.&nbsp;<STRONG><U> WzKBWidget.view.xml<STRONG> (As per the STEP 3 Documentation):</STRONG></U></STRONG></P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><pre class="lia-code-sample language-javascript"><code>&lt;!-- Add the library to project resource roots --&gt; &lt;jamWidget:wzKBWidget id="wzKBWidget" DWSInstance="{/DWSInstance}" widgetWidth="auto" widgetHeight="600px" pageSize="10" defaultColumns="title,group"&gt; &lt;Button id="_IDGenButton1" text="Attach" press="handleAttach" /&gt; &lt;/jamWidget:wzKBWidget&gt;</code></pre><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>Although we made the changes as per the documentation, we still face the errors above, please suggest what we should do further to overcome this.</P><P>Thanks</P><P>Kishore</P><P>&nbsp;</P> 2024-05-16T10:35:22.820000+02:00