https://raw.githubusercontent.com/ajmaradiaga/feeds/main/scmt/topics/SAP-HANA-Cloud-qa.xml SAP Community - SAP HANA Cloud 2025-04-26T08:01:09.232178+00:00 python-feedgen SAP HANA Cloud Q&A in SAP Community https://community.sap.com/t5/technology-q-a/sap-dbtech-jdbc-383-at-38-invalid-identifier-parameterized-sql-view-usr/qaq-p/14046998 SAP DBTech JDBC: [383] (at 38): invalid identifier: parameterized sql view USR_ATTR_ID without input 2025-03-17T12:19:56.565000+01:00 bilalnisar https://community.sap.com/t5/user/viewprofilepage/user-id/1929490 <DIV><DIV><SPAN>Getting following error on query execution via JDBC<BR /><BR />com.sap.db.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: [383] (at 38): invalid identifier: parameterized sql view USR_ATTR_ID without input arguments: line 1 col 39 (at pos 38)\n\tat com.sap.db.jdbc.exceptions.SQLExceptionSapDB._newInstance(SQLExceptionSapDB.java:209)\n\tat com.sap.db.jdbc.exceptions.SQLExceptionSapDB.newInstance(SQLExceptionSapDB.java:42)\n\tat com.sap.db.jdbc.packet.HReplyPacket._buildExceptionChain(HReplyPacket.java:898)\n\tat com.sap.db.jdbc.packet.HReplyPacket.getSQLExceptionChain(HReplyPacket.java:218)\n\tat com.sap.db.jdbc.packet.HPartInfo.getSQLExceptionChain(HPartInfo.java:39)\n\tat com.sap.db.jdbc.ConnectionSapDB._receive(ConnectionSapDB.java:6105)\n\tat com.sap.db.jdbc.ConnectionSapDB.exchange(ConnectionSapDB.java:2744)\n\tat com.sap.db.jdbc.StatementSapDB._executeDirect(StatementSapDB.java:2257)\n\tat com.sap.db.jdbc.StatementSapDB._execute(StatementSapDB.java:2227)\n\tat com.sap.db.jdbc.StatementSapDB._execute(StatementSapDB.java:2187)\n\tat com.sap.db.jdbc.StatementSapDB._executeQuery(StatementSapDB.java:2141</SPAN></DIV></DIV> 2025-03-17T12:19:56.565000+01:00 https://community.sap.com/t5/enterprise-resource-planning-q-a/business-event-for-transportation-order-freight-order-in-sap-s4-hana/qaq-p/14047224 business event for Transportation order/ Freight order in sap s4 hana 2025-03-17T15:38:46.658000+01:00 vinaykota https://community.sap.com/t5/user/viewprofilepage/user-id/2021958 <P>Hi Everyone,</P><P>I require an event either event mesh or business event to trigger after save event for Freight order creation or updating and once the trigger point is triggered the desired data should be sent to a&nbsp; third party system via logical port or communication system. Let me if anyone has any idea on this.</P> 2025-03-17T15:38:46.658000+01:00 https://community.sap.com/t5/technology-q-a/hana-cloud-x-analytics-cloud-average-and-median-wrong/qaq-p/14048602 HANA Cloud x Analytics cloud: Average and Median (wrong) 2025-03-18T15:54:29.469000+01:00 yannmiquel https://community.sap.com/t5/user/viewprofilepage/user-id/14089 <P>Hello everyone,</P><P>Using HANA Cloud with a <STRONG>live connection</STRONG> to Analytics cloud, the aim is to retrieve the values calculated in HANA (calculation view). Sadly, the values displayed in SAC are not the same as in SQL.</P><P>SAC:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yannmiquel_0-1742309114752.png" style="width: 212px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/239114iBDD3949044D6F2F4/image-dimensions/212x129?v=v2" width="212" height="129" role="button" title="yannmiquel_0-1742309114752.png" alt="yannmiquel_0-1742309114752.png" /></span></P><P>HANA (SQL)</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yannmiquel_1-1742309144755.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/239115i3C273959117119D0/image-size/medium?v=v2&amp;px=400" role="button" title="yannmiquel_1-1742309144755.png" alt="yannmiquel_1-1742309144755.png" /></span></P><H2 id="toc-hId-1705664327">Average</H2><P>One column of the calculation view has a "<STRONG>AVG</STRONG>" aggregation type. Its value in SAC is not the same even if the aggregation type is set to "AVG".</P><H2 id="toc-hId-1509150822">Median</H2><P>Since the live model in SAC does not propose MEDIAN, I try "<STRONG>NONE</STRONG>" as agregation type but it returns 0.</P><H2 id="toc-hId-1312637317">Conclusion</H2><P>I have a feeling that there is no way to retrieve the results calculated in HANA (similar to "delegated" aggregation type). The only foreseen option is to calculate (again) the fields in the model, which is an issue regarding the data governance (since the formula would be defined at two different places).</P><P>Did you face similar issues with these calculations in this context ? How did you solve these ?<BR /><a href="https://community.sap.com/t5/c-khhcw49343/SAP+HANA+Cloud%25252C+SAP+HANA+database/pd-p/ada66f4e-5d7f-4e6d-a599-6b9a78023d84" class="lia-product-mention" data-product="40-1">SAP HANA Cloud, SAP HANA database</a>&nbsp;<a href="https://community.sap.com/t5/c-khhcw49343/SAP+Analytics+Cloud/pd-p/67838200100800006884" class="lia-product-mention" data-product="3-1">SAP Analytics Cloud</a>&nbsp;<a href="https://community.sap.com/t5/c-khhcw49343/SAP+HANA+Live/pd-p/73554900100700001326" class="lia-product-mention" data-product="653-1">SAP HANA Live</a>&nbsp;<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>&nbsp;</P> 2025-03-18T15:54:29.469000+01:00 https://community.sap.com/t5/technology-q-a/hana-upgrade/qaq-p/14059763 HANA upgrade 2025-03-28T09:24:48.857000+01:00 SAPSupport https://community.sap.com/t5/user/viewprofilepage/user-id/121003 <P>Hello Team,</P><P>As part of SAP's continuous maintenance cycles and in accordance with their notification, we upgrade the SAP HANA Cloud Database to the latest available version.&nbsp;</P><P>There are two subaccounts in which we are trying to add the application "SAP HANA CLOUD" under subscription, but there is no "tools" plan.</P><P>Could you please guide us on it.</P><P>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> 2025-03-28T09:24:48.857000+01:00 https://community.sap.com/t5/enterprise-resource-planning-q-a/mass-upload-basic-data-text/qaq-p/14062620 Mass upload basic data text 2025-04-01T05:25:30.083000+02:00 Vera111 https://community.sap.com/t5/user/viewprofilepage/user-id/1945584 <P>Hi!</P><P>Does anyone know how can I mass upload basic text in the notes tab? I tried using MARA_STXL - Basic Data. Text but it can only update notes that is already in but not add new ones.</P> 2025-04-01T05:25:30.083000+02:00 https://community.sap.com/t5/technology-q-a/datasphere-s-task-chain-are-not-triggered-after-recent-updates-on-hana/qaq-p/14063145 Datasphere's task chain are not triggered after recent updates on HANA Cloud 2025-04-01T14:29:30.031000+02:00 albertosimeoni https://community.sap.com/t5/user/viewprofilepage/user-id/829608 <P>Hello,</P><P>in the last week end an update of HANA Cloud under of Datasphere happens, according to this note&nbsp;<A href="https://me.sap.com/notes/3220622/E" target="_blank" rel="noopener noreferrer">https://me.sap.com/notes/3220622/E</A></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="albertosimeoni_1-1743510322292.png" style="width: 604px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/245317i085A5A35566B2FC2/image-dimensions/604x71?v=v2" width="604" height="71" role="button" title="albertosimeoni_1-1743510322292.png" alt="albertosimeoni_1-1743510322292.png" /></span></P><P>We found that in many customers the scheduled task chains are not triggered.</P><P>The error seems random and not related to recent Datasphere upgrades about "scheduling with local timezone".</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="albertosimeoni_2-1743510531964.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/245318iD9CB1026A66F92DB/image-size/large?v=v2&amp;px=999" role="button" title="albertosimeoni_2-1743510531964.png" alt="albertosimeoni_2-1743510531964.png" /></span></P><P>&nbsp;</P><P>Did you experience this?&nbsp;</P><P>are there any SAP notes?</P><P>thanks,</P><P>Alberto</P><P>&nbsp;</P> 2025-04-01T14:29:30.031000+02:00 https://community.sap.com/t5/technology-q-a/re-annotations-with-dynamic-values-to-make-crud-operatio/qaq-p/14064587/comment-id/4909152#M4909152 Re: Annotations with Dynamic values to make CRUD operatio... 2025-04-02T21:34:44.342000+02:00 abdurraufib https://community.sap.com/t5/user/viewprofilepage/user-id/1697929 <P>I found the following example by SAP beneficial: <A href="https://learning.sap.com/learning-journeys/developing-an-sap-fiori-elements-app-based-on-a-cap-odata-v4-service/applying-generic-actions-provided-by-sap-fiori-elements_ee9f52af-318a-4979-a8b5-929c5edebbee" target="_self" rel="noopener noreferrer">Developing an SAP Fiori Elements App Based on a CAP OData V4 Service: Applying Generic Actions Provided by SAP Fiori Elements</A><BR /><BR /><SPAN>For "Capabilities.DeleteRestrictionsType.Deletable"</SPAN>, you need to use a property with a boolean data type, but has an integer value (0 = false, 1 = true).<BR /><BR />For "<SPAN>Capabilities.UpdateRestrictions.</SPAN><SPAN>Updatable", you need to use a&nbsp;property with a boolean data type and has a boolean value.</SPAN></P> 2025-04-02T21:34:44.342000+02:00 https://community.sap.com/t5/technology-q-a/can-i-connect-to-two-different-sap-s4-hana-public-cloud-tenants-in-a-single/qaq-p/14064795 Can i connect to two different sap s4 hana public cloud tenants in a single sap datasphere tenant? 2025-04-03T07:47:31.509000+02:00 Tanumay https://community.sap.com/t5/user/viewprofilepage/user-id/1530106 <P>Hello Experts,</P><P>I am setting up a SAP Datasphere system , right now there are 2 source system(S/4 HANA Public Cloud- Dev &amp; Test). S/4 HANA Prod tenant is not yet live. Now the GO live is planned on first week of May, but the organization needs the reports from SAP DSP on Go Live Week itself. So for testing purpose is it prescribed to connect both the Dev &amp; Test system to SAP DSP and configure 2 different space and import the models in between?</P><P>The Test Tenant has good data which will help to test out the reports?</P><P>&nbsp;</P><P>Thanks in advance.</P><P>Regards,</P><P>Tanumay.</P><P><a href="https://community.sap.com/t5/c-khhcw49343/SAP+Datasphere/pd-p/73555000100800002141" class="lia-product-mention" data-product="16-1">SAP Datasphere</a>&nbsp;<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>&nbsp;</P> 2025-04-03T07:47:31.509000+02:00 https://community.sap.com/t5/enterprise-resource-planning-q-a/how-to-send-quality-notification-to-supplier-via-email-in-s4hana-public/qaq-p/14066975 how to send Quality Notification to supplier Via email in S4hana public cloud by using OPD setup 2025-04-05T09:41:28.631000+02:00 Kalidas_Lande https://community.sap.com/t5/user/viewprofilepage/user-id/1453758 <P>Hi Experts,</P><P>business have requirement to send Q notification to supplier via email by using OPD setup, Email Recipients should pick from supplier master data, instead of default email address. For example, it could be read from a master data address or from a document address. Output Control should use this email address always as TO address. how i can achieve this in S4hana public cloud. your help will really appreciated.&nbsp;</P><P>&nbsp;</P><P>Thanks,</P><P>Kalidas</P> 2025-04-05T09:41:28.631000+02:00 https://community.sap.com/t5/technology-q-a/hana-odbc-test-connection-error/qaq-p/14068801 HANA ODBC Test Connection Error 2025-04-07T21:50:33.009000+02:00 dpolovitola https://community.sap.com/t5/user/viewprofilepage/user-id/163562 <P><STRONG>Hello SAP Community</STRONG>,</P><P>I'm currently trying to establish an ODBC connection to a SAP HANA Cloud database, I need this to connect the data to a Microsoft PowerBI report. However, no matter what I try, the following message appears everytime I try to test the connection:</P><P>"<SPAN><EM>Communication Link Failure:-10709 connection failed (RTE:[89006] system call 'connect' failed, rc=10061, No connection could be made because the target machine actively refused it).</EM>"</SPAN></P><P><SPAN>Please consider the following:</SPAN></P><UL><LI><SPAN>My computer can <STRONG>successfully ping</STRONG> the SAP Hana server I'm trying to connect to, via <EM>cmd</EM>.</SPAN></LI><LI><SPAN>The credentials needed to test the ODBC connection are disregarded, it <STRONG>makes no difference</STRONG> if I use the correct credentials or purposefully wrong ones, the connection will show the same error.</SPAN></LI></UL><P><U><STRONG>#UPDATE 1:</STRONG></U></P><P><SPAN>The original issue was resolved, using<STRONG> telnet</STRONG> instead of <STRONG>ping</STRONG> I managed to identify that the original server I was trying to connect to, wasn't answering correctly. Now using a secondary server which succesfully responds to the telnet command. However, a new issue has shown up, the following error message appears whenever I try to test the connection:</SPAN></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dpolovitola_0-1744123880325.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/248206i162C4D228A21E805/image-size/medium?v=v2&amp;px=400" role="button" title="dpolovitola_0-1744123880325.png" alt="dpolovitola_0-1744123880325.png" /></span></P><P><STRONG>Any help or advice is greatly appreciated.</STRONG></P><P><STRONG>Thanks,</STRONG></P><P><STRONG>Daniel.</STRONG></P><P>&nbsp;</P> 2025-04-07T21:50:33.009000+02:00 https://community.sap.com/t5/technology-q-a/standard-text-in-purchase-order-output-management/qaq-p/14070681 Standard text in purchase order output management. 2025-04-09T08:50:14.540000+02:00 aks778 https://community.sap.com/t5/user/viewprofilepage/user-id/831098 <P>Hi folks,</P><P>My requirment is to add standard text (using maintain standard text app) for both header and item level in Purchase order output management forms. Please let me know how can I pass the standrad text to the form data view and then display it in the adobe form in HANA cloud public edition. <a href="https://community.sap.com/t5/c-khhcw49343/NW+ABAP+Print+and+Output+Management/pd-p/334558737810127171897316045257708" class="lia-product-mention" data-product="1011-1">NW ABAP Print and Output Management</a>&nbsp; <a href="https://community.sap.com/t5/c-khhcw49343/SAP+Forms+service+by+Adobe/pd-p/73555000100800000066" class="lia-product-mention" data-product="629-1">SAP Forms service by Adobe</a>&nbsp;</P> 2025-04-09T08:50:14.540000+02:00 https://community.sap.com/t5/enterprise-resource-planning-q-a/remapping-of-gl-expense-cost-element-dip-profile-events-based-revenue/qaq-p/14075640 Remapping of GL expense cost element - DIP Profile/Events Based Revenue Recognition 2025-04-14T17:32:32.151000+02:00 Theresa https://community.sap.com/t5/user/viewprofilepage/user-id/6920 <P>Good Afternoon</P><P>I've read the blog&nbsp;<A class="" href="https://community.sap.com/t5/enterprise-resource-planning-blogs-by-sap/configuration-of-g-l-accounts-in-event-based-revenue-recognition/ba-p/12823297" target="_blank">Configuration of G/L Accounts in Event-Based Revenue Recognition</A>&nbsp;which has been extremely informative (<SPAN><A href="https://community.sap.com/t5/enterprise-resource-planning-blogs-by-sap/configuration-of-g-l-accounts" target="_blank">https://community.sap.com/t5/enterprise-resource-planning-blogs-by-sap/configuration-of-g-l-accounts</A>)</SPAN></P><P><SPAN>I would like to pose a question,&nbsp; our client would like to move a GL account that has been assigned to a non-billable cost element to a billable cost element. The General Ledger account has been used over time.</SPAN></P><P><SPAN>What would be Best Practice?&nbsp;</SPAN></P> 2025-04-14T17:32:32.151000+02:00 https://community.sap.com/t5/technology-q-a/incorrect-formatting-of-decimals-in-cds-view/qaq-p/14077710 Incorrect formatting of Decimals in CDS View 2025-04-16T13:24:04.979000+02:00 Mowkax https://community.sap.com/t5/user/viewprofilepage/user-id/1499373 <P>Hello SAP Community,<BR /><BR />We are having a Node.js CAP application connected to HANA Cloud DB.<BR /><BR />There is a view that fetches some information from the table, it is exposed as an OData service as per the standard CAP functionality.<BR />We've noticed that after the CDS npm package version was upgraded to version 8 - view attributes with type "<EM>Decimal</EM>" are now returned as Strings and formatted as in the screenshot below:<BR /><STRONG><BR />CDS Version 6.8.4:</STRONG></P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mowkax_2-1744801479743.jpeg" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/251447i50AFB32150EEC956/image-size/medium?v=v2&amp;px=400" role="button" title="Mowkax_2-1744801479743.jpeg" alt="Mowkax_2-1744801479743.jpeg" /></span></STRONG></P><P><STRONG>CDS Version 8.5.0:<BR /></STRONG></P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mowkax_4-1744801939363.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/251454i5266B644C52F9100/image-size/medium?v=v2&amp;px=400" role="button" title="Mowkax_4-1744801939363.png" alt="Mowkax_4-1744801939363.png" /></span></STRONG></P><P>Calling the view directly in the database returns correct results( DECIMAL value).<BR />No changes were done to the view, and no transformations are applied to the returned value, only version of the cds package had changed.<BR /><BR />Has anybody else encountered similar issues? Perhaps this is a side effect of some changes in cds package/ CAP framework?<BR />Any assistance would be appreciated&nbsp;<span class="lia-unicode-emoji" title=":slightly_smiling_face:">🙂</span><BR /><BR />Best regards,<BR />Alex</P><P>&nbsp;</P><P><BR /><BR /><BR /></P> 2025-04-16T13:24:04.979000+02:00 https://community.sap.com/t5/enterprise-resource-planning-q-a/profit-center-substitution-with-fin-acdoc-item-substitution-in-s-4-hana/qaq-p/14079898 Profit center substitution with FIN_ACDOC_ITEM_SUBSTITUTION in s/4 Hana Cloud 2025-04-18T13:18:44.181000+02:00 Rajvardhan_P https://community.sap.com/t5/user/viewprofilepage/user-id/1420976 <P>Hi Experts,</P><P>I'm having trouble with substitution for profit center using FIN_ACDOC_ITEM_SUBSTITUTION as the profit center field is coming as empty .</P><P>if the code it as inital and try to fill value its working but i need to hardcode profit center values for intercompany posting</P><P>like if cc = 5110 and partner cc is 5190 , profit center is '5070' then for cc = 5110 profit center should be '1000'</P><P>please support, I'd greatly appreciate any guidance or insights.</P><P>Thanks</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rajvardhan_P_0-1744974801290.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/252380iB8D6A384039CB84A/image-size/medium?v=v2&amp;px=400" role="button" title="Rajvardhan_P_0-1744974801290.png" alt="Rajvardhan_P_0-1744974801290.png" /></span></P><P>&nbsp;</P> 2025-04-18T13:18:44.181000+02:00 https://community.sap.com/t5/financial-management-q-a/issue-with-passing-multiple-invoice-reference-details-in-dmee/qaq-p/14082218 Issue with Passing Multiple Invoice Reference details in DMEE 2025-04-21T11:43:50.031000+02:00 R_Pooja https://community.sap.com/t5/user/viewprofilepage/user-id/141100 <P>Hi All,</P><P>We have a requirement from Germany to include reference details of supplier invoices in the DMEE. We managed to pass the reference details using the structure field FPAYP-XBLNR. However, the issue arises when the supplier has multiple invoices in the DMEE; it only passes one reference, ignoring the remaining invoice references. We are not ready to make individual payments due to the potential increase in costs. Please suggest a way to get all reference details in one DMEE node.</P><P>&nbsp;</P><P>Thanks</P><P>Naveen Kumar</P> 2025-04-21T11:43:50.031000+02:00 https://community.sap.com/t5/supply-chain-management-q-a/re-route-change-in-sales-order/qaq-p/14083760/comment-id/204215#M204215 Re: Route change in sales order 2025-04-22T18:40:48.856000+02:00 Kamboj https://community.sap.com/t5/user/viewprofilepage/user-id/1800334 <P>Hi&nbsp;<a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1392703">@AAkash1</a>&nbsp;<BR /><BR />Yes in standard, changing the route of a sales order can impact the confirmation dates, because the delivery scheduling uses route-dependent lead times to calculate them.</P><P><STRONG>SAP Standard :</STRONG></P><P>When you change the route on a sales order item, SAP triggers a re-scheduling of the item.<BR /><BR />This happens because the route determines transit time and transportation lead times, which directly affect the delivery and goods issue dates.&nbsp;When you change the route, SAP recalculates these dates using the new route’s parameters. As a result, confirmed schedule lines may change, especially if availability check (ATP) is also active.<BR /><BR /><STRONG>Further below points can be considered for checking</STRONG></P><P><STRONG>ATP Check:</STRONG> If ATP is enabled, the system will run a new availability check after the route is changed. This can lead to a change in confirmation quantity and/or date.</P><P><STRONG>Scheduling Configuration:</STRONG> In customizing (IMG &gt; Sales and Distribution &gt; Basic Functions &gt; Delivery Scheduling and Transportation Scheduling), the system is set to re-trigger scheduling when key fields like route are updated.</P><P><STRONG>User Exit / BADI:</STRONG> In some cases, standard logic might be enhanced or restricted using custom logic so you can check in system if you're not seeing the standard results.</P> 2025-04-22T18:40:48.856000+02:00 https://community.sap.com/t5/enterprise-resource-planning-q-a/sap-hana-store-procedure-issue/qaq-p/14084091 SAP HANA STORE PROCEDURE ISSUE 2025-04-23T08:07:06.553000+02:00 reddyv https://community.sap.com/t5/user/viewprofilepage/user-id/1628180 <P>I have a created an SP but i am unable to fetch the all the data in sp. can anyone guide on this.</P> 2025-04-23T08:07:06.553000+02:00 https://community.sap.com/t5/technology-q-a/rap-application-using-incoming-value-how-to-hide-the-entities-section/qaq-p/14085111 (RAP Application) - Using incoming value how to hide the entities (section) dynamically 2025-04-24T08:12:05.859000+02:00 UdhayakumarV https://community.sap.com/t5/user/viewprofilepage/user-id/1553080 <P><SPAN>Hi Developers,&nbsp;</SPAN><SPAN>&nbsp;</SPAN></P><P><SPAN>&nbsp; &nbsp; My requirement is to conditionally hide sections based on a received value, but unfortunately. The solutions I have found so far are not adequate for my specific needs, and I'm continuing to search for a better solution. &nbsp;</SPAN><SPAN>&nbsp;</SPAN></P><P><SPAN>Help me out to overcome my issue&nbsp;&nbsp;</SPAN><SPAN>&nbsp;</SPAN></P><P><SPAN><STRONG>Given the situation:</STRONG><BR />The system should dynamically manage the visibility of the partner entity during sales order creation, such that when the sales order type is one of 'MAKO', 'RTTC', or 'RTTR', the partner entity will be hidden from Application; conversely, for any other sales order type, the partner entity field must be shown to the user.<BR /></SPAN></P><P><SPAN>Found solutions:&nbsp;&nbsp;</SPAN><SPAN>&nbsp;</SPAN></P><OL><LI><STRONG><SPAN>Using Virtual Element in projection view</SPAN></STRONG><SPAN>&nbsp;</SPAN><SPAN>&nbsp;</SPAN></LI></OL><P><STRONG><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Some of the drawbacks include:</SPAN></STRONG><SPAN>&nbsp;<BR /></SPAN><SPAN>&nbsp;</SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<SPAN>The entity (sections) cannot be hidden based on the incoming values.</SPAN><SPAN>&nbsp;<BR />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Virtual element implementation will call only read the entity data not for modification face.&nbsp;&nbsp;</SPAN></P><P><STRONG><SPAN>&nbsp; &nbsp; &nbsp;2. Control Fields with UI.Hidden Annotation</SPAN></STRONG><SPAN>&nbsp;</SPAN><SPAN>&nbsp;</SPAN></P><UL><LI><SPAN>Define Control Fields: Create control fields in your CDS view entity that determine the visibility of entities or sections.&nbsp;</SPAN><SPAN>&nbsp;</SPAN></LI></UL><UL><LI><SPAN>Bind to UI.Hidden: Use the UI.Hidden annotation and bind it to the control fields. This allows you to dynamically control visibility based on the values of these fields.&nbsp;</SPAN><SPAN>&nbsp;</SPAN></LI></UL><UL><LI><SPAN>Set Values Dynamically: Implement determination logic in your behavior definition to set the control field values based on incoming data.&nbsp;</SPAN><SPAN>&nbsp;</SPAN></LI></UL><P><STRONG><SPAN>Some of the drawbacks include:</SPAN></STRONG><SPAN>&nbsp;</SPAN></P><OL><LI><SPAN>Unnecessarily create a field in CDS views.</SPAN><SPAN>&nbsp;</SPAN></LI><LI><SPAN>Real-time customers won’t accept the dummy fields.&nbsp;</SPAN><SPAN>&nbsp;</SPAN></LI></OL><P><SPAN>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN> <STRONG><SPAN>To illustrate</SPAN></STRONG><SPAN>: &nbsp;</SPAN><SPAN>&nbsp;</SPAN></P><OL><LI><SPAN>Within my application, there are 10 sections, and in each section, I encounter difficulty in creating a field within my CDS view entity. Even though I managed to create 10 fields currently and they function as intended, there is a concern that future issues may arise once the application is handed over to the customer.&nbsp;</SPAN><SPAN>&nbsp;</SPAN></LI><LI><SPAN>Because the customer wants to add another entity (Section) via the RAP Extension and simultaneously conceal a section contingent on a specific field's value, I cannot compel them to introduce an unnecessary placeholder field within their CDS view.&nbsp;&nbsp;</SPAN><SPAN>&nbsp;</SPAN></LI></OL><P><SPAN>&nbsp;</SPAN></P><P><SPAN>Regards,</SPAN><SPAN>&nbsp;</SPAN></P><P><SPAN>Udhaya</SPAN></P><P><SPAN>&nbsp;</SPAN></P> 2025-04-24T08:12:05.859000+02:00 https://community.sap.com/t5/technology-q-a/title-allocation-failed-in-sap-hana-need-to-allow-long-running-query-to/qaq-p/14085773 Title: Allocation failed in SAP HANA: Need to allow long-running query to complete without memory er 2025-04-24T18:22:45.174000+02:00 seyfeddine https://community.sap.com/t5/user/viewprofilepage/user-id/1389080 <P class="">Hello SAP Community,</P><P class="">I’m encountering the following error when executing a <STRONG>stored procedure</STRONG> in SAP HANA Cloud:</P><P class=""><SPAN>line 79 col 11 (at pos 3216): Allocation failed; Reason: booked memory limit reached (SAP Note 3191224</SPAN></P><P class="">&nbsp;</P><P class="">I've already increased:</P><UL><LI><P class="">statement_memory_limit</P></LI><LI><P class="">global_allocation_limit</P></LI></UL><P class="">But the issue persists.</P><H3 id="toc-hId-1838352936">Context:</H3><UL><LI><P class="">The <STRONG>error is caused by a single query inside the procedure</STRONG> that performs a complex join and computation.</P></LI><LI><P class="">The rest of the procedure runs fine — only this one query consumes excessive memory and causes the procedure to fail.</P></LI><LI><P class="">I am not concerned about performance — I just need this query to <STRONG>run successfully even if it takes time</STRONG>.</P></LI></UL><HR /><H3 id="toc-hId-1641839431"><STRONG>My Questions</STRONG>:</H3><OL><LI><P class="">Is there a way to <STRONG>allow long-running queries to continue</STRONG> even if memory usage is high — without the procedure being terminated?</P></LI><LI><P class="">Are there specific <STRONG>settings</STRONG>, <STRONG>resource group configurations</STRONG>, or <STRONG>query-level coding practices</STRONG> that can:</P><UL><LI><P class="">prevent the query from hitting allocation limits, or</P></LI><LI><P class="">make it fail gracefully without rolling back the entire transaction?</P></LI></UL></LI></OL><HR /><H3 id="toc-hId-1445325926">What I’ve tried:</H3><UL><LI><P class="">Increased memory-related settings via SQL and HANA Cockpit</P></LI><LI><P class="">Refactored some logic (batching, temp tables), but this particular query still crashes</P></LI></UL><P class="">Any guidance on how to <STRONG>make HANA more tolerant of memory-intensive operations</STRONG> or tips to isolate and stabilize heavy queries would be greatly appreciated.</P><P class="">Thanks in advance!</P><HR /><P class="">Let me know if you want me to attach <STRONG>code snippets or EXPLAIN PLAN output</STRONG> to this message too.</P> 2025-04-24T18:22:45.174000+02:00 https://community.sap.com/t5/technology-q-a/how-to-copy-hdi-container-with-data-from-production-to-quality-container/qaq-p/14085792 How to copy HDI container with data from production to quality container 2025-04-24T18:48:55.649000+02:00 Pecoros https://community.sap.com/t5/user/viewprofilepage/user-id/71957 <P>Hi,</P><P>We implemented a CAP project with HDI container on Hana Cloud tenant.</P><P>Solution is in production and growing. First refresh of quality HDI container was done successfully by export/import of HDI container, but now the production is bigger than 2GB so this is not possible anymore.</P><P>I've been looking for how to guide blog to refresh quality with production data, but didn't found any alternative.</P><P>The best solution looks to setup replication between cloud databases, but it require to recreate many objects and procedure to trigger this.</P><P>Is there a simpler way to copy inside the same Hana Cloud tenant a full HDI container to an other ? Export/import is limited and useless when you have onlly one Hana Tenant.</P><P>Any hint or feature in this way would be helpfull to ensure good regression testing with current data.</P><P>Regards,</P><P>Pierre</P> 2025-04-24T18:48:55.649000+02:00