https://raw.githubusercontent.com/ajmaradiaga/feeds/main/scmt/topics/SAP-HANA-Cloud-qa.xmlSAP Community - SAP HANA Cloud2024-09-01T02:01:31.922758+00:00python-feedgenSAP HANA Cloud Q&A in SAP Communityhttps://community.sap.com/t5/technology-q-a/warning-message-while-converting-planned-order-to-purchase-requsition/qaq-p/13802095Warning message while converting planned order to purchase requsition2024-08-21T11:33:49.105000+02:00tushar2022https://community.sap.com/t5/user/viewprofilepage/user-id/828413<P>Hello experts,</P><P>I was converting planned order to purchase requsition ,it showing me warning message "Regard the export control protocol!"</P><P>It is YM721 message</P><P>Please provide advice.</P>2024-08-21T11:33:49.105000+02:00https://community.sap.com/t5/technology-q-a/what-are-post-conversion-upgrade-from-ecc-to-s4-hana-pm-amp-cs-module/qaq-p/13803096What are post-conversion/upgrade from ECC to S4 HANA PM & CS module Activities ?2024-08-22T08:01:32.243000+02:00Keyur_N_Shuklahttps://community.sap.com/t5/user/viewprofilepage/user-id/1385163<P>Dear Friends,</P><P>I need your help, if anyone can share with me, what Activities to be taken care post-conversion/upgrade whilst taking up ECC to S/4 HANA 2023 in an Upgrade Project, for Plant Maintenance & Customer Service modules ?</P><P>Need your help as early as possible, please.</P><P>Have a Great Day, everyone...</P><P>Sincere Regards,</P><P>Keyur.</P>2024-08-22T08:01:32.243000+02:00https://community.sap.com/t5/technology-q-a/how-to-drill-down-on-date-while-working-on-live-modelling/qaq-p/13804302How to drill down on date while working on Live Modelling?2024-08-23T06:55:15.134000+02:00Kunal_Ingale_Inhttps://community.sap.com/t5/user/viewprofilepage/user-id/740285<P>I’m currently working on a <STRONG>live modeling</STRONG> exercise where I'm exposing a calculation view that is created in the CAPM application using Business Application Studio. Afterward, I fetched those views in SAP Analytics Cloud where several fields of type Date/DateTime/Timestamp in these views. However, I'm encountering an issue where I cannot utilize the drill-down option of granularity of Year-Quarter-Month in reporting.</P><P>Could you please assist me with this? I’d appreciate any guidance on how to enable drill-down functionality for these fields.</P><P>Thank you for your help!</P>2024-08-23T06:55:15.134000+02:00https://community.sap.com/t5/enterprise-resource-planning-q-a/custom-entity-does-not-display-all-line-items/qaq-p/13804418Custom Entity does not display all line items2024-08-23T08:10:57.823000+02:00Nitin-Chaureyhttps://community.sap.com/t5/user/viewprofilepage/user-id/1490308<P><SPAN>Hi Community,</SPAN></P><P>I have created a custom entity based on Maintenance order <SPAN>i_maintenanceordertp </SPAN>and Operation <SPAN>I_Maintenanceorderoperationtp to get the measuring point based.</SPAN></P><P><SPAN>when i execute the custom entity i get only 20 records i am not able to get all the records in display </SPAN></P><P><SPAN>i have written following code </SPAN></P><DIV><P><SPAN>DATA(</SPAN><SPAN>top</SPAN><SPAN>) = CONV </SPAN><SPAN>i</SPAN><SPAN>( </SPAN><SPAN>io_request</SPAN><SPAN>-></SPAN><SPAN>get_paging</SPAN><SPAN>( )-></SPAN><SPAN>get_page_size</SPAN><SPAN>( ) ).</SPAN></P><P><SPAN>DATA(</SPAN><SPAN>lv_skip</SPAN><SPAN>) = CONV </SPAN><SPAN>i</SPAN><SPAN>( </SPAN><SPAN>io_request</SPAN><SPAN>-></SPAN><SPAN>get_paging</SPAN><SPAN>( )-></SPAN><SPAN>get_offset</SPAN><SPAN>( ) ).</SPAN></P><P><SPAN>DATA(</SPAN><SPAN>lv_max_rec</SPAN><SPAN>) = </SPAN><SPAN>top</SPAN><SPAN> + </SPAN><SPAN>lv_skip</SPAN><SPAN>.</SPAN></P><P> </P><P><SPAN>and using lv_max_rec in my select </SPAN></P><DIV><P><SPAN>SELECT *</SPAN></P><P><SPAN>FROM </SPAN><SPAN>i_maintenanceordertp</SPAN><SPAN> WITH PRIVILEGED ACCESS</SPAN></P><P><SPAN>WHERE (</SPAN><SPAN>lv_conditions</SPAN><SPAN>)</SPAN></P><P><SPAN>ORDER BY </SPAN><SPAN>maintenanceorder</SPAN></P><P><SPAN>INTO TABLE @@DATA</SPAN><SPAN>lt_mo</SPAN><SPAN>) UP TO @</SPAN><SPAN>lv_max_rec</SPAN><SPAN> ROWS. </SPAN><SPAN>" OFFSET <a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1419942">@LV</a>_skip.</SPAN></P></DIV></DIV><P>Please help and guide me at your earliest to get all the rows displayed in the output.</P><P>Thanks for your help and quick guidance. <BR />Nitin </P>2024-08-23T08:10:57.823000+02:00https://community.sap.com/t5/technology-q-a/hana-on-prem-to-hana-cloud-datalake-without-hana-cloud-db/qaq-p/13805337HANA On-Prem to HANA Cloud Datalake without HANA Cloud DB2024-08-23T15:38:43.036000+02:00SAPExplorer1https://community.sap.com/t5/user/viewprofilepage/user-id/1677475<P>We are attempting to import a table from our HANA On-Premise database to HANA Datalake. We have successfully created a Remote Server and can view the tables of the HANA On-Premise database in HANA Datalake using the query CALL sp_remote_tables('remote_server_name'). We can also retrieve the columns of a specific table of HANA On-Premise using the query CALL sp_remote_columns (''). However, we are unable to fetch the table data. Our goal is to create a virtual table in HANA Datalake and directly import the table data from HANA On-Premise, without using HANA Cloud DB as an intermediary. Could someone please assist us in achieving this?"</P>2024-08-23T15:38:43.036000+02:00https://community.sap.com/t5/technology-q-a/re-sap-pi-sensitive-data-interface/qaq-p/13806334/comment-id/4842995#M4842995Re: SAP PI Sensitive data Interface2024-08-25T17:51:56.889000+02:00vibha11https://community.sap.com/t5/user/viewprofilepage/user-id/695925<P>how to achieve same in sap cpi</P><P> </P>2024-08-25T17:51:56.889000+02:00https://community.sap.com/t5/enterprise-resource-planning-q-a/plant-maintenance-amp-customer-service-upgrade-or-conversion-from-ecc-ehp6/qaq-p/13806694Plant Maintenance & Customer Service - upgrade or conversion from ECC EHP6 to S4 HANA 20232024-08-26T07:35:44.662000+02:00Keyur_N_Shuklahttps://community.sap.com/t5/user/viewprofilepage/user-id/1385163<P>Dear Friends,</P><P>I need your quick help, please.</P><P>We are on an upgrade/conversion project, from ECC EHP6 to S4 HANA 2023.</P><P>I need help for - what would be Plant Maintenance & Customer Service activities that needs to be done post upgrade, after upgrade... I mean, any config, etc... post upgrade ?</P><P>I need quick help, please.</P><P>Have a Great Day...</P>2024-08-26T07:35:44.662000+02:00https://community.sap.com/t5/technology-q-a/how-to-get-uuid-of-wbs-element-using-api-in-s4hana-cloud/qaq-p/13806989How to get UUID of WBS element using API in s4hana cloud2024-08-26T10:58:22.188000+02:00ayechanhttps://community.sap.com/t5/user/viewprofilepage/user-id/892376<P>Hi,</P><P>I would like to create Project Demand (Resources) using external Web Service API.</P><P>The API I used is this one.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ayechan_0-1724660699369.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/157497i72E74FCF0D198920/image-size/medium?v=v2&px=400" role="button" title="ayechan_0-1724660699369.png" alt="ayechan_0-1724660699369.png" /></span></P><P>And in this API, one of the mandatory field WBS element is needed to enter as UUID value (ReferencedObjectUUID).</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ayechan_1-1724660833592.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/157499iBEC65918A6FDED38/image-size/medium?v=v2&px=400" role="button" title="ayechan_1-1724660833592.png" alt="ayechan_1-1724660833592.png" /></span></P><P>So, to able to retrieve UUID of WBS element, we will need to use WBS element API and WBS element APIs are depracted.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ayechan_2-1724661281808.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/157500iEB4D60083FCAA821/image-size/medium?v=v2&px=400" role="button" title="ayechan_2-1724661281808.png" alt="ayechan_2-1724661281808.png" /></span></P><P>So, I used Enterprise Project API instead and able to retrieve WBS element UUID of Project Element ID by using /A_EnterpriseProjectElement entity with get method.</P><P> </P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ayechan_4-1724661443093.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/157502iDC50F36DF2B61C7A/image-size/medium?v=v2&px=400" role="button" title="ayechan_4-1724661443093.png" alt="ayechan_4-1724661443093.png" /></span></P><P>But the problem here is that the API can retrieve only UUID of Project Element IDs as WBS element UUID.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ayechan_5-1724661698267.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/157503i676D7AA68279C39D/image-size/medium?v=v2&px=400" role="button" title="ayechan_5-1724661698267.png" alt="ayechan_5-1724661698267.png" /></span></P><P><EM>*Green highlighted one is Parent Project ID and yellow highlighted are Project Element IDs.</EM></P><P>And when I want to choose Parent Project ID (<STRONG>Test260801</STRONG>) as WBS element, the API can only show Parent Project UUID and cannot retrieve UUID of that Parent Project ID as WBS element UUID.</P><P>And when I enter the Parent Project UUID in ReferencedObjectUUID field, "WBS element does not exist" error occurs.</P><P><STRONG>Parent Project UUID</STRONG></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ayechan_6-1724662212220.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/157507i036256C8EEAF1CEE/image-size/medium?v=v2&px=400" role="button" title="ayechan_6-1724662212220.png" alt="ayechan_6-1724662212220.png" /></span></P><P><STRONG>Error</STRONG></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ayechan_7-1724662229017.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/157517iB0A7EA01109DAC96/image-size/medium?v=v2&px=400" role="button" title="ayechan_7-1724662229017.png" alt="ayechan_7-1724662229017.png" /></span></P><P>So, I would like to know that how can I retrieve UUID of Parent Project ID as WBS element UUID using API (or) is there any workaround that is possible to do so?</P><P>If you have any experience (or) idea about this case, could you please kindly answer for me.</P><P> </P><P>Thank you in advance.</P><P>Best Regards,</P><P>Aye Chan</P><P> </P><P> </P>2024-08-26T10:58:22.188000+02:00https://community.sap.com/t5/technology-q-a/password-policy-update-on-sap-netweaver/qaq-p/13808760Password policy update on SAP netweaver2024-08-27T14:45:47.801000+02:00JaspherRiverahttps://community.sap.com/t5/user/viewprofilepage/user-id/1569374<P>Hi all, anyone could answer this. If I apply a new password policy in SAP NetWeaver such as the minimum password length, expiration time, password history size, and maximum idle time, it will have affect in any integrated systems users like those using the CUST_USER_ADMIN_ROLE that access the HANA database, etc?</P><P>Does it force to update their own password?</P><P>Thank you,</P><P>Best regards,</P><P>-Jaspher</P>2024-08-27T14:45:47.801000+02:00https://community.sap.com/t5/technology-q-a/how-to-integrate-hid-fingerprint-reader-in-sap-ui5-fiori-and-cap-in-bas/qaq-p/13809399how to Integrate HID Fingerprint Reader in SAP UI5/Fiori and CAP in BAS2024-08-28T05:48:12.881000+02:00Natalia2https://community.sap.com/t5/user/viewprofilepage/user-id/1448399<P>I am creating a web application with CAP and SAP UI5 using SAP fiori elements in SAP BAS and I need to implement the use of a HID Digital Persona U.are.U® 4500 Fingerprint Reader to capture a person's biometric data (fingerprint).</P><P>I have tried to integrate the use of the Chrome WebApi to connect to the device with the following code:<BR /><BR /></P><pre class="lia-code-sample language-javascript"><code>const filters = [
{
vendorId: 1466,
productId: 10
}
];
const devices = await navigator.usb.requestDevice({ filters: filters }).then(device => {
console.log(device.productName);
console.log(device.manufacturerName);
console.log(device)
var select = device;
return select.open();
}).catch(error => { console.error(error); });</code></pre><P>But when I try to run it, it returns the following:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Natalia2_0-1724815433667.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/158639iE117AE1A4D209A44/image-size/medium?v=v2&px=400" role="button" title="Natalia2_0-1724815433667.png" alt="Natalia2_0-1724815433667.png" /></span></P><P>Does anyone know how I could solve this error?<BR />or perhaps know of any other way to do this?</P><P>The WebApi documentation is as follows:<BR /><A href="https://developer.chrome.com/docs/capabilities/usb?hl=es-419" target="_blank" rel="nofollow noopener noreferrer">https://developer.chrome.com/docs/capabilities/usb?hl=es-419</A></P><P>And documentation on the use of the device on the web<BR /><A href="https://hidglobal.github.io/digitalpersona-authentication/index.html" target="_blank" rel="nofollow noopener noreferrer">https://hidglobal.github.io/digitalpersona-authentication/index.html</A></P><P>However, I have not been able to understand how to integrate this last one into SAP UI5</P><P>Thank you very much for your help!!</P><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> <a href="https://community.sap.com/t5/c-khhcw49343/SAP+Fiori+Elements/pd-p/ed5c1ef6-932f-4c19-b2ba-1be375109ff5" class="lia-product-mention" data-product="21-1">SAP Fiori Elements</a> <a href="https://community.sap.com/t5/c-khhcw49343/SAP+Cloud+Application+Programming+Model/pd-p/9f13aee1-834c-4105-8e43-ee442775e5ce" class="lia-product-mention" data-product="100-1">SAP Cloud Application Programming Model</a> <a href="https://community.sap.com/t5/c-khhcw49343/SAP+Business+Application+Studio/pd-p/67837800100800007077" class="lia-product-mention" data-product="13-1">SAP Business Application Studio</a> <a href="https://community.sap.com/t5/c-khhcw49343/SAP+HANA+Cloud/pd-p/73554900100800002881" class="lia-product-mention" data-product="22-1">SAP HANA Cloud</a> <a href="https://community.sap.com/t5/c-khhcw49343/JavaScript/pd-p/506421944534752500398156104608974" class="lia-product-mention" data-product="321-1">JavaScript</a> #UI5 <a href="https://community.sap.com/t5/c-khhcw49343/SAP+Cloud+Applications+Studio/pd-p/67837800100800006741" class="lia-product-mention" data-product="471-1">SAP Cloud Applications Studio</a> <a href="https://community.sap.com/t5/c-khhcw49343/SAP+Fiori+Client/pd-p/73555000100800000806" class="lia-product-mention" data-product="19-1">SAP Fiori Client</a> <a href="https://community.sap.com/t5/c-khhcw49343/SAP+Fiori+Cloud/pd-p/73554900100800000375" class="lia-product-mention" data-product="20-1">SAP Fiori Cloud</a> <a href="https://community.sap.com/t5/c-khhcw49343/SAP+Business+Technology+Platform/pd-p/73555000100700000172" class="lia-product-mention" data-product="1215-1">SAP Business Technology Platform</a> <a href="https://community.sap.com/t5/c-khhcw49343/SAP+BTP%25252C+Cloud+Foundry+runtime+and+environment/pd-p/73555000100800000287" class="lia-product-mention" data-product="443-1">SAP BTP, Cloud Foundry runtime and environment</a> <a href="https://community.sap.com/t5/c-khhcw49343/HTML5/pd-p/680828266263384213323560113427399" class="lia-product-mention" data-product="318-1">HTML5</a> </P>2024-08-28T05:48:12.881000+02:00https://community.sap.com/t5/technology-q-a/hana-cloud-cockpit-does-not-have-configure-email-button/qaq-p/13809580HANA Cloud - Cockpit does not have 'Configure Email' button2024-08-28T09:35:37.122000+02:00SAPSupporthttps://community.sap.com/t5/user/viewprofilepage/user-id/121003<P>Hi Support,</P><P>Our HANA Cloud cockpit does not have configure email button, thus we can't send email alert automatically. Is DBADMIN missing authorization?</P><P>In the On-Premise HANA system Cockpit, we can see the button on top-right corner.</P><P>Best Regards,</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-28T09:35:37.122000+02:00https://community.sap.com/t5/technology-q-a/sap-cap-fiori-cds-env-fiori-bypass-draft-must-be-enabled-or-the-entity/qaq-p/13809803SAP CAP FIori / cds.env.fiori.bypass_draft` must be enabled or the entity2024-08-28T12:09:39.907000+02:00Paul11https://community.sap.com/t5/user/viewprofilepage/user-id/1437259<P>I am creating a basic Fiori application on SAP BTP, using BAS as a CAP project following this tutorial: <A href="https://sap.to/6050RO5Es" target="_blank" rel="noopener nofollow noreferrer">https://sap.to/6050RO5Es</A></P><P>When I start to test Fiori application I see this error when I try and edit an item (which used to work). Viewing data from HDI is working it's purely update:<BR /><BR /><SPAN>`cds.env.fiori.bypass_draft` must be enabled or the entity must be annotated with `@odata.draft.bypass` to support direct modifications of active instances.</SPAN></P><P><SPAN>Here is my current CDS:<BR /><BR />interactions.cds (within db directory):</SPAN><BR /><EM>namespace app.interactions;</EM></P><DIV><DIV><EM>entity StatusOptions {</EM></DIV><DIV><EM>key code : String(20);</EM></DIV><DIV><EM>name : String(50);</EM></DIV><DIV><EM>}</EM></DIV><BR /><DIV><EM>entity CloseCategoryOptions {</EM></DIV><DIV><EM>key code : String(20);</EM></DIV><DIV><EM>name : String(50);</EM></DIV><DIV><EM>}</EM></DIV><BR /><DIV><EM>entity AnomalyDetection {</EM></DIV><DIV><EM>key id : Integer;</EM></DIV><DIV><EM>company_code : String(10) not null;</EM></DIV><DIV><EM>process_area : String(10) not null;</EM></DIV><DIV><EM>identified_date : Date not null;</EM></DIV><DIV><EM>last_update : Date;</EM></DIV><DIV><EM>assignee : String(50);</EM></DIV><DIV><EM>notes : String(500);</EM></DIV><DIV><EM>close_category : Association to CloseCategoryOptions;</EM></DIV><DIV><EM>}</EM></DIV><DIV> </DIV><DIV>interaction_srv.cds (within srv directory):</DIV><DIV><DIV><EM>using app.interactions from '../db/interactions';</EM></DIV><DIV><EM>service CatalogService {</EM></DIV><DIV><EM><a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1599241">@odata</a>.draft.enabled: true</EM></DIV><DIV><EM>entity AnomalyDetections as projection on interactions.AnomalyDetection;</EM></DIV><DIV><EM>entity StatusOptions as projection on interactions.StatusOptions;</EM></DIV><DIV><EM>entity CloseCategoryOptions as projection on interactions.CloseCategoryOptions;</EM></DIV><DIV><EM>}<BR /><BR /></EM>I tried updating to the below:</DIV><DIV><EM>using app.interactions from '../db/interactions';</EM><P><EM>service CatalogService {</EM><BR /><EM><a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1599241">@odata</a>.draft.enabled: true</EM><BR /><EM><a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1599241">@odata</a>.draft.bypass</EM><BR /><EM>entity AnomalyDetections as projection on interactions.AnomalyDetection;</EM></P><P><EM><a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1599241">@odata</a>.draft.enabled: true</EM><BR /><EM><a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1599241">@odata</a>.draft.bypass</EM><BR /><EM>entity StatusOptions as projection on interactions.StatusOptions;</EM></P><P><EM><a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1599241">@odata</a>.draft.enabled: true</EM><BR /><EM><a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1599241">@odata</a>.draft.bypass</EM><BR /><EM>entity CloseCategoryOptions as projection on interactions.CloseCategoryOptions;</EM><BR /><EM>}</EM><BR /><BR />Which then gave me a new error of even though I have no drafts (it seems going into draft created a draft which blocks it).<BR /><STRONG><SPAN>Error</SPAN></STRONG></P><DIV class=""><DIV class=""><DIV class=""> </DIV></DIV></DIV><DIV class=""><DIV class=""><DIV class=""><DIV class=""><STRONG><SPAN class="">A draft for this entity already exists</SPAN></STRONG></DIV></DIV></DIV></DIV><BR /><BR /><BR />Any help would be much appreciated! </DIV></DIV></DIV><P><BR /><BR /><BR /></P>2024-08-28T12:09:39.907000+02:00https://community.sap.com/t5/supply-chain-management-q-a/material-master-mass-changes-in-s-4-hana-cloud/qaq-p/13810054Material Master - Mass changes in S/4 Hana Cloud2024-08-28T15:08:56.539000+02:00Stimcophttps://community.sap.com/t5/user/viewprofilepage/user-id/1673419<P>Dear all,</P><P>My company plans on installing Master Data Governance next year. However, by the time we get the hand on the module, we'll have to deal with mass changes (no creation, only modification) in Material Master for all type of data in the opened views.</P><P>As such, do you know if S/4 Hana gives us such possiblity (native options) ? Correct me if I'm wrong about the existing options :</P><P>- MM17 still exists in S/4 Hana but requires that <SPAN>that all data for the materials and organizational levels you select should be the same</SPAN></P><P>- Does LTMC gives you the possiblity to do mass changes on all type of data ?</P><P>If you have any other recommendation, I'll be more than happy to read it.</P><P>Yours sincerely,</P>2024-08-28T15:08:56.539000+02:00https://community.sap.com/t5/technology-q-a/how-to-check-database-connectivity-from-os-for-java-system/qaq-p/13810931How to check database connectivity from os for java system?2024-08-29T11:15:55.840000+02:00ravindrapawar1983https://community.sap.com/t5/user/viewprofilepage/user-id/785032<P>r3trans -d this for ABAP systems. What is command for Java system?</P>2024-08-29T11:15:55.840000+02:00https://community.sap.com/t5/enterprise-resource-planning-q-a/reuse-of-calculated-columns-in-cds-view/qaq-p/13811275Reuse of Calculated Columns in CDS-View2024-08-29T15:21:31.467000+02:00ibarbarichttps://community.sap.com/t5/user/viewprofilepage/user-id/830286<P>Hi Experts,</P><P>In thread <A title="Reuse of Calculated Columns in CDS View" href="https://community.sap.com/t5/enterprise-resource-planning-q-a/reuse-of-calculated-columns-in-cds-view/qaq-p/507805" target="_self">Reuse of Calculated Columns in CDS View</A>, a solution was posted:</P><pre class="lia-code-sample language-abap"><code>select
vbeln,
netwr,
mwsbk,
netwr + mwsbk as total,
( netwr + mwsbk ) * 1000 as total1000
from vbrk</code></pre><P>Note that there is redundancy here: the expression "netwr + mwsbk" occurs twice. This is OK for such a simple case. However, my calculated fields are much more complex and I would like to reuse existing expressions (already created calculated fields), as:</P><pre class="lia-code-sample language-abap"><code>select
vbeln,
netwr,
mwsbk,
netwr + mwsbk as total,
total * 1000 as total1000
from vbrk</code></pre><P>I tried:</P><OL><LI>Exactly as above: I got error message "<EM>The column 'total' is unknown"</EM></LI><LI>With prefix <EM>$projection.total: </EM>error message <EM>"Reuse of $projection expression not possible"</EM></LI><LI>I created a second CDS View which reads from the first one, and then I reused the second as association in the first one. I got error message <EM>"Recursive definitions are not supported"</EM> (which makes sense)</LI></OL><P>Are there any ideas?<BR />Thanks!<BR />Igor</P><P> </P>2024-08-29T15:21:31.467000+02:00https://community.sap.com/t5/financial-management-q-a/hana-public-cloud-in-substitution-precondition-field-function-how-we-can/qaq-p/13811954HANA Public Cloud in Substitution ( Precondition field / Function how we can add Assets table )2024-08-30T09:08:24.476000+02:00Jay31https://community.sap.com/t5/user/viewprofilepage/user-id/1608304<P>Hello ,</P><P>We need to create a custom substitution in HANA Public cloud ( App Mange Substitution & Validation ) and business requested to create below logic for substitution.</P><P><STRONG>Precondition ( Field / Function ) </STRONG></P><P><STRONG>ANLB-BUKRS = '1234 AND ( ANLB-AFABE = '09' OR</STRONG><BR /><STRONG>ANLB-AFABE = '90' OR ANLB-AFABE = '91' ) AND</STRONG><BR /><STRONG>SYST-TCODE = 'AS01'</STRONG></P><P><STRONG>Substitution </STRONG></P><P><STRONG>Scrap value Constant = 30 ( Value )</STRONG></P><P>Pls let us know how we can achieve above substitution in HANA Public cloud.</P><P>Thank </P><P>JP </P><P> </P><P> </P><P> </P><P> </P><P> </P>2024-08-30T09:08:24.476000+02:00https://community.sap.com/t5/technology-q-a/sli/qaq-p/13812084SLI2024-08-30T10:53:26.964000+02:00Alekhya_gandhamhttps://community.sap.com/t5/user/viewprofilepage/user-id/1691299<P>Can anyone please tell me how to generate COO and SLI in preference? (inSAP GTS)</P>2024-08-30T10:53:26.964000+02:00https://community.sap.com/t5/enterprise-resource-planning-q-a/validate-material-master-text-mm01/qaq-p/13812146VALIDATE MATERIAL MASTER TEXT MM012024-08-30T11:33:44.921000+02:00praneshti23https://community.sap.com/t5/user/viewprofilepage/user-id/852266<P>HELLO EXPERTS,</P><P>HOW CAN WE VALIDATE OR TO STOP THASYSTEM CAN NOT ALLOW TO MAKE NEW DUPLICATE MATERIAL. WE ARE USING PUBLIC CLOUD AND SYSTEM IS ALLOWING TO MAKE DUPLICATE MATERIAL.<BR /><BR /><BR /></P>2024-08-30T11:33:44.921000+02:00https://community.sap.com/t5/technology-q-a/how-to-transport-migration-cockpit-project-and-objects-from-dev-to-qas-in/qaq-p/13812148How to transport migration cockpit project and objects from Dev to Qas in S4 Hana public cloud.2024-08-30T11:35:24.176000+02:00JPINDhttps://community.sap.com/t5/user/viewprofilepage/user-id/1669939<P>How to transport migration cockpit project and objects from Development to Quality in <STRONG>S4 Hana Public Cloud</STRONG> for file and staging approach.</P><P> </P>2024-08-30T11:35:24.176000+02:00https://community.sap.com/t5/technology-q-a/cap-view-for-entity-not-generated-in-subscribed-tenants/qaq-p/13812483CAP: View for entity not generated in subscribed tenants2024-08-30T17:01:56.381000+02:00christian_authhttps://community.sap.com/t5/user/viewprofilepage/user-id/242789<P>Hello,</P><P>we developed a CAP Java Springboot app deployed to BTP CF space with Hana DB. The app uses multi-tenancy. A tenant is already subscribed to this app in the test space. </P><P>On database layer we already created some time ago a database table "RuleExecutionTechnicalObjectDerivationResults". This database table is visible in the Hana schema of the subscribed tenant. </P><P>We now want to create a new entity in our service.cds file referencing that db table ( the last line is new)</P><pre class="lia-code-sample language-java"><code>using com.sap.apm.rules.eiot as apm from '../db/data-model';
@path: '/RuleExecutionsService/v1'
service RuleExecutionsService @(restrict: [{ grant: 'READ', to: ['Rules_C','Rules_R','Rules_U','Rules_D'] }]){
@readonly entity RuleExecutions as projection on apm.RuleExecutions;
@readonly entity RuleExecutionTechnicalObjects as projection on apm.RuleExecutionTechnicalObjects;
@readonly entity RuleExecutionTechnicalObjectMonitoringResults as projection on apm.RuleExecutionTechnicalObjectMonitoringResults;
@readonly entity RuleExecutionTechnicalObjectDerivationResults as projection on apm.RuleExecutionTechnicalObjectDerivationResults;
}</code></pre><P>We see that in the generated schema-hana.sql file a new create view statement is generated for the new entity: </P><pre class="lia-code-sample language-java"><code>CREATE VIEW RuleExecutionsService_RuleExecutionTechnicalObjectDerivationResults AS SELECT
RuleExecutionTechnicalObjectDerivationResults_0.ID,
RuleExecutionTechnicalObjectDerivationResults_0.technicalObject_ID,
RuleExecutionTechnicalObjectDerivationResults_0.indicator_ssid,
RuleExecutionTechnicalObjectDerivationResults_0.indicator_characteristicsInternalId,
RuleExecutionTechnicalObjectDerivationResults_0.indicator_positionId,
RuleExecutionTechnicalObjectDerivationResults_0.indicator_categoryName,
RuleExecutionTechnicalObjectDerivationResults_0."TIMESTAMP",
RuleExecutionTechnicalObjectDerivationResults_0.value,
RuleExecutionTechnicalObjectDerivationResults_0.error_code,
RuleExecutionTechnicalObjectDerivationResults_0.error_message
FROM com_sap_apm_rules_eiot_RuleExecutionTechnicalObjectDerivationResults AS RuleExecutionTechnicalObjectDerivationResults_0
WITH ASSOCIATIONS (
MANY TO ONE JOIN RuleExecutionsService_RuleExecutionTechnicalObjects AS technicalObject ON (technicalObject.ID = technicalObject_ID)
);</code></pre><P> Our expectation is that when we deploy the app to the CF space the database schemas for all subscribed tenants get automatically updated and this view is available afterwards in those schemas. </P><P>However, this does not happen. </P><P>Question: What do we have to do ensure that the view appears in all Hana schemas of the subscribed tenants?</P><P>=====</P><P><a href="https://community.sap.com/t5/user/viewprofilepage/user-id/163398">@cap</a>-js/asyncapi: 1.0.1<BR /><a href="https://community.sap.com/t5/user/viewprofilepage/user-id/163398">@cap</a>-js/cds-types: 0.2.0<BR /><a href="https://community.sap.com/t5/user/viewprofilepage/user-id/163398">@cap</a>-js/openapi: 1.0.4<BR /><a href="https://community.sap.com/t5/user/viewprofilepage/user-id/163398">@cap</a>-js/sqlite: 1.7.3<BR /><a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1387241">@Sap</a>/cds: 8.0.4<BR /><a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1387241">@Sap</a>/cds-compiler: 5.0.6<BR /><a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1387241">@Sap</a>/cds-dk: 8.0.2<BR /><a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1387241">@Sap</a>/cds-dk (global): 7.9.2<BR /><a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1387241">@Sap</a>/cds-fiori: 1.2.3<BR /><a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1387241">@Sap</a>/cds-foss: 5.0.0<BR /><a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1387241">@Sap</a>/cds-hana: 2.0.0<BR /><a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1387241">@Sap</a>/cds-mtxs: 2.0.3<BR /><a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1387241">@Sap</a>/eslint-plugin-cds: 3.0.4<BR />Node.js: v18.18.2<BR />apm-rules-eiot-cds: 1.0.0<BR />home:<A href="https://github.tools.sap/AssetPerformanceManagement/apm-rules-eiot" target="_blank" rel="nofollow noopener noreferrer"> https://github.tools.sap/AssetPerformanceManagement/apm-rules-eiot</A><BR />CAP Java SDK: 3.0.0<BR />cds4j: 3.0.0<BR />Spring Boot: 3.3.3<BR />Maven: 3.9.5, home: /Users/D038325/Library/apache-maven-3.9.5<BR />Java: 21.0.2, home: /Users/D038325/Library/Java/JavaVirtualMachines/sapmachine-jdk-21.0.2.jdk/Contents/Home<BR />OS: Mac OS X, 14.6.1, arch: x86_64<BR /> </P>2024-08-30T17:01:56.381000+02:00