https://raw.githubusercontent.com/ajmaradiaga/feeds/main/scmt/topics/SAP-Cloud-SDK-qa.xml SAP Community - SAP Cloud SDK 2026-02-26T00:12:26.534668+00:00 python-feedgen SAP Cloud SDK Q&A in SAP Community https://community.sap.com/t5/technology-q-a/how-to-fetch-destination-using-destination-service-and-ias/qaq-p/14111594 How to fetch destination using Destination Service and IAS? 2025-05-26T13:34:04.926000+02:00 DavidGheorghe https://community.sap.com/t5/user/viewprofilepage/user-id/2072926 <P>The application I am working on uses only IAS and after switching to IAS from XSUAA the destinations can not be fetched anymore due to Destination Service which needs an XSUAA service binding. SAP Cloud SDK provides these methods:</P><UL><LI><EM>getDestination</EM></LI><LI><EM>executeHttpRequest</EM></LI><LI><DIV><DIV><EM>useOrFetchDestination</EM></DIV></DIV></LI></UL><P>The problem is that these methods tries to fetch the destination from the Destination Service, which does not work without XSUAA.</P><P>Project technologies: CAP, NodeJS, TypeScript, SAP Cloud SDK dependency, SAP BTP.</P><P>What are some possible solutions for this issue?</P> 2025-05-26T13:34:04.926000+02:00 https://community.sap.com/t5/crm-and-cx-q-a/create-custom-tab-with-a-singlenotehistorycomponent/qaq-p/14125104 create custom tab with a singlenotehistorycomponent 2025-06-11T12:10:54.425000+02:00 itaKraus https://community.sap.com/t5/user/viewprofilepage/user-id/1461053 <P>&nbsp;</P><P>Hi</P><P>I want to create a new tab in the Account Customer object<BR />and it will contain the EC of SINGL NOTE HISTORY<BR />in a similar way to the standard NOTE tab of the system</P><P>I created an EC<BR />and added the standard SAP notes component to it<BR />and I linked the EC to the customer object</P><P>But what happened was that a notes tab was created but without the option to add new notes or edit them</P><P>I can't do anything on my screen</P><P>Can you try to help me solve the problem</P><P>Do you have a blog to guide me through the steps for the process I requested</P><P>&nbsp;</P> 2025-06-11T12:10:54.425000+02:00 https://community.sap.com/t5/technology-q-a/sap-cap-502-quot-error-during-request-to-remote-service-read-econnreset/qaq-p/14142585 SAP CAP : 502 "Error during request to remote service: read ECONNRESET" 2025-07-02T13:05:29.723000+02:00 AakashN24 https://community.sap.com/t5/user/viewprofilepage/user-id/44956 <P>Hi,</P><P>I am developing SAP CAP application, node.js, trying to connect to external S4 onPrem service which is accessed via the cloud connector.</P><P>I am trying to reach S4 OData service from CAP Application locally in Business Application Studio via SAP Cloud Connector.</P><P>To connect to the destination and other services we are using the “cds bind -2” command, which created the .cdsrc-private.json file.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt=".cdsrc.jpg" style="width: 485px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/281736iD2235BDFAA2FFD25/image-dimensions/485x387?v=v2" width="485" height="387" role="button" title=".cdsrc.jpg" alt=".cdsrc.jpg" /></span></P><P>I am able to connect to the different BTP instances like the destination, authorization and connectivity instances, when i run the app using&nbsp;</P><P>cds watch --profile hybrid</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="console1.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/281737i15464359EE47790A/image-size/large?v=v2&amp;px=999" role="button" title="console1.png" alt="console1.png" /></span></P><P>But when i'm trying to access any of the entities within the S4 OData service facing the following error,</P><P>{"error":{"code":"502","message":"Error during request to remote service: read ECONNRESET"}}</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AakashN24_0-1751453547753.png" style="width: 652px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/281739iDB22D9D715C8A500/image-dimensions/652x178?v=v2" width="652" height="178" role="button" title="AakashN24_0-1751453547753.png" alt="AakashN24_0-1751453547753.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AakashN24_1-1751453599642.png" style="width: 698px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/281747i75E3D45474ECA560/image-dimensions/698x100?v=v2" width="698" height="100" role="button" title="AakashN24_1-1751453599642.png" alt="AakashN24_1-1751453599642.png" /></span></P><P><SPAN>Has anyone faced this issue, please suggest an appropriate solution for this.</SPAN></P><P><SPAN>Also when the applicaiton is deployed to BTP,&nbsp; the S4 odata services are accessiable via destination and the application is working as expected,</SPAN></P><P><SPAN>i want run the application locally for development phase, hence need your help,</SPAN></P><P><SPAN>Regards,</SPAN></P><P><SPAN>Aakash</SPAN></P> 2025-07-02T13:05:29.723000+02:00 https://community.sap.com/t5/technology-q-a/s-4-hana-extensibility-service-instance/qaq-p/14147189 S/4 Hana Extensibility Service Instance 2025-07-08T14:05:05.661000+02:00 Dipto_Arafat https://community.sap.com/t5/user/viewprofilepage/user-id/2134306 <P>I have an application on SAP BTP. The application has few service bindings. For example : application-x has eleven bindings. Ten of them are of type s4-hana-cloud and one of them is xsuaa. I do understand that why we have binded xsuaa but I don't understand the use case of s4-hana-cloud bindings.&nbsp;</P><P>Why do we need instance of&nbsp;s4-hana-cloud ?&nbsp;Also, I want to learn side by side extension development. Is there a good tutorial that outlines step by step guide? I want to use Cloud SDK for typescript code generation and then call some API from SAP Business Acclerator Hub. I understand few things. For example : Downloading edmx, then use cloud SDK to generate code and use that code on my service, creating destination. But I don't know how to put all these together.&nbsp;<BR /><BR />Help me with this. Thanks. Any paid course or resource is also highly appreciated. If you have question , then don't hesitate to ask.</P> 2025-07-08T14:05:05.661000+02:00 https://community.sap.com/t5/technology-q-a/problem-adding-a-participant-to-a-call-list-in-sdk-absl/qaq-p/14159599 Problem adding a Participant to a Call List in SDK ABSL 2025-07-23T02:25:43.048000+02:00 pablo_daniel https://community.sap.com/t5/user/viewprofilepage/user-id/191274 <P>Hi!</P><P>I´m facing an issue trying to add Participants to a Call List in SDK.</P><P>I followed the examples in the Repository Explorer.</P><PRE>// add participant optional if(! instCallList.Participant.IsSet()){ elCallListParticipant.ParticipantNodeUUID = "61DF62F457E84C8EBD769EEA5A01CD46"; elCallListParticipant.CallState = "1"; elCallListParticipant.CallStatus = "1"; elCallListParticipant.SourceParticipant = "2"; //Prospect instCallList.Participant.Create(elCallListParticipant); } </PRE><P>But it is not working as expected. Because the node participant doesn´t have a method Create().</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pablo_daniel_0-1753229983288.png" style="width: 713px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/290023i54692CB480DF7001/image-dimensions/713x209?v=v2" width="713" height="209" role="button" title="pablo_daniel_0-1753229983288.png" alt="pablo_daniel_0-1753229983288.png" /></span></P><P>Also, I have tried with the method AddParticipants.</P><P>instCallList.AddParticipants();</P><P>But, there is no way to add the customerUUID in the method.</P><P>Thanks in advance.</P><P>Regards, Pablo.</P><P><a href="https://community.sap.com/t5/c-khhcw49343/C4C+Extensibility/pd-p/522899869556788325823974243317861" class="lia-product-mention" data-product="924-1">C4C Extensibility</a>&nbsp;</P><P><a href="https://community.sap.com/t5/c-khhcw49343/SAP+Cloud+for+Customer+core+applications/pd-p/67837800100800004276" class="lia-product-mention" data-product="812-1">SAP Cloud for Customer core applications</a>&nbsp;</P><P><a href="https://community.sap.com/t5/c-khhcw49343/SAP+Cloud+SDK/pd-p/73555000100800000895" class="lia-product-mention" data-product="484-1">SAP Cloud SDK</a>&nbsp;</P> 2025-07-23T02:25:43.048000+02:00 https://community.sap.com/t5/technology-q-a/privilege-error-when-calling-business-rules-api-from-cap-service-via-job/qaq-p/14190324 Privilege Error When Calling Business Rules API from CAP Service via Job Scheduler 2025-08-25T03:13:36.886000+02:00 sandeepmalhotra https://community.sap.com/t5/user/viewprofilepage/user-id/14746 <P>Hello Everyone,</P><P>I am encountering a privilege-related error when attempting to integrate and call Business Rules from a CAP (Cloud Application Programming) service, which is itself triggered by the Job Scheduling service in SAP BTP. The setup involves multiple destinations using OAuth 2.0 Client Credentials grant type for authentication. Below is a step-by-step breakdown of the architecture, configuration, and the exact error observed. I have verified the configurations multiple times, but the issue persists,</P><P><STRONG><U>Overall Architecture and Flow:</U></STRONG></P><UL><LI><STRONG>Job Scheduling Service</STRONG>: This service is configured to periodically trigger a CAP service endpoint. The call from Job Scheduler to CAP is made via a Destination in SAP BTP.<UL><LI>Destination Type: OAuth 2.0 Client Credentials.</LI><LI>Purpose: To securely invoke the CAP service without user interaction.</LI></UL></LI><LI><STRONG>CAP Service</STRONG>: A custom Node.js-based CAP application deployed in SAP BTP Cloud Foundry. Within the CAP service logic (specifically in a handler or action), we make an outbound call to the Business Rules API provided by SAP Build Process Automation.<UL><LI>The Business Rules are created and deployed in a specific test environment within SAP Build Process Automation.</LI><LI>The CAP service uses another Destination to call the Business Rules Runtime API.<UL><LI>Destination Type: OAuth 2.0 Client Credentials.</LI><LI>Credentials: Client ID and Client Secret are sourced directly from the Service Key of the SAP Build Process Automation service instance in our BTP subaccount.</LI></UL></LI></UL></LI><LI><STRONG>Business Rules in SAP Build Process Automation</STRONG>:<UL><LI>Rules are defined in a test environment (e.g., "Test_ENV").</LI><LI>API Endpoint: We are calling the standard Business Rules Runtime API (e.g., bpa_host_name<SPAN>/<STRONG>public/rule/runtime/rest/v2/rule-services?environmentId=test</STRONG></SPAN>).</LI></UL></LI><LI>The entire flow is designed for backend-to-backend communication, hence using Client Credentials for both destinations to avoid user-based authentication.</LI></UL><P>Sample Code to call&nbsp;</P><pre class="lia-code-sample language-javascript"><code> const destination: any = await getDestination(params); // Check if authTokens exist (populated by SAP Cloud SDK) if (!destination.authTokens || destination.authTokens.length === 0) { throw new Error("No auth token found in destination"); } let response: HttpResponse; if (destination) { const bodyData = { RuleServiceId: ruleServiceId, Vocabulary: [context], }; const url = WORKFLOW.URL.RULESERVICE + "?environmentId=" + env; response = await executeHttpRequest(destination, { method: HTTPMETHOD.POST, url: url, data: bodyData, headers: { "x-api-key": API_KEY, // or your key value directly "Content-Type": "application/json", }, });</code></pre><P>My xs-security.json&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sandeepmalhotra_0-1756084284180.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/304425i6C2CD30DDB591A7E/image-size/medium?v=v2&amp;px=400" role="button" title="sandeepmalhotra_0-1756084284180.png" alt="sandeepmalhotra_0-1756084284180.png" /></span></P><P>&nbsp;</P><P>Kindly let me know what config I shall do to get it working</P><P>Thanks for your support</P><P>Best Regards,</P><P>Sandeep</P><H4 id="toc-hId-1996835374">&nbsp;</H4> 2025-08-25T03:13:36.886000+02:00 https://community.sap.com/t5/technology-q-a/cap-node-js-odata-v2-batch-request-using-sap-cloud-sdk-how-to-capture-all/qaq-p/14195566 CAP (Node.js) OData V2 Batch Request using SAP Cloud SDK – How to capture all errors in a changeset? 2025-08-27T21:11:13.512000+02:00 valentincadart https://community.sap.com/t5/user/viewprofilepage/user-id/786198 <P>Hi everyone,</P><P>I’m working on a use case where I need to send a batch of update/create/delete requests from a SAP CAP (Node.js) backend to an SAP S/4HANA system. I'm using the SAP Cloud SDK and the Business Accelerator Hub to build and send the OData V2&nbsp;(using odata-v2-adapter) batch requests.</P><P>Here’s what I’ve achieved so far:</P><UL><LI>I’m able to send multiple requests (update/create/delete) within a single batch.</LI><LI>To ensure transactional behavior, I wrap all these requests into one changeset.</LI><LI>This works well from a transactional standpoint: if any request fails, nothing is committed in S/4.</LI></UL><P>However, here’s the problem, when one request inside the changeset fails, only a single error is returned, and the rest of the requests are not processed. This behavior is expected according to OData V2 specs and SAP Cloud SDK documentation:</P><UL><LI>“The body of a ChangeSet response is either a response for all the successfully processed change request within the ChangeSet [...] or a single response indicating a failure of the entire ChangeSet.” (<A href="https://www.odata.org/documentation/odata-version-2-0/batch-processing/" target="_self" rel="nofollow noopener noreferrer">OData V2</A>)</LI><LI>“If the execution of any request within a changeset fails, the whole changeset will be reflected as an error in the response.” (<A href="https://sap.github.io/cloud-sdk/docs/js/features/odata/v2-client#changeset" target="_self" rel="nofollow noopener noreferrer">SAP Cloud SDK</A><SPAN>)</SPAN></LI></UL><P>What I tried:</P><UL><LI>Splitting requests into multiple changesets (one per request) within the same batch allows me to retrieve individual errors, but I lose transactional integrity, some changes are committed while others fail.</LI><LI>I also explored the continueOnError option from the odata-v2-adapter, but it only applies between multiple changesets, not within a single changeset. So, again, it doesn’t help with my use case. (<A href="https://community.sap.com/t5/technology-q-a/cap-on-node-js-odata-v2-batch-collecting-req-errors-issue-only-one-of/qaq-p/12779313" target="_self">SAP Community Q&amp;A</A>)</LI></UL><P>What I’m looking for:</P><UL><LI>Is there any way (official or workaround) to get detailed errors for all requests without sacrificing atomicity?</LI><LI>Alternatively, is there a way to simulate or validate a batch in a “check” or “test” mode, without actually executing it in the S/4HANA backend, just to detect all potential errors?</LI><LI>Or is the recommended approach, as suggested by CAP documentation, to implement strong input validation before triggering the batch, to ensure that it will succeed?</LI></UL><P>Any insights, ideas, or shared experiences would be greatly appreciated!</P><P>Thanks in advance!</P> 2025-08-27T21:11:13.512000+02:00 https://community.sap.com/t5/crm-and-cx-q-a/pdi-production-solution-is-not-loading-in-quot-visual-studio-2022-quot/qaq-p/14211025 PDI - Production Solution is not loading in "Visual Studio 2022" version 2025-09-08T16:37:56.171000+02:00 GajulaChandra https://community.sap.com/t5/user/viewprofilepage/user-id/2037769 <P><SPAN>Hi,</SPAN></P><P><SPAN>We are facing a sever issue - PDI - Production Solution is not loading in Solution Explorer in "Visual Studio 2022" version. PFA. But Solution is loading successfully in DEV and TEST environments. Issue with PRODUCTION TENANT only.</SPAN></P><P>&nbsp;</P><P><SPAN>Please do the needful at the earliest.</SPAN></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GajulaChandra_1-1757342076821.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/311167iE3B166B7646F0586/image-size/medium?v=v2&amp;px=400" role="button" title="GajulaChandra_1-1757342076821.png" alt="GajulaChandra_1-1757342076821.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GajulaChandra_2-1757342181222.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/311168iD123716578A68DA8/image-size/medium?v=v2&amp;px=400" role="button" title="GajulaChandra_2-1757342181222.png" alt="GajulaChandra_2-1757342181222.png" /></span></P><P>&nbsp;</P><P><SPAN>Rgs, </SPAN></P><P><SPAN>Chandra</SPAN></P> 2025-09-08T16:37:56.171000+02:00 https://community.sap.com/t5/technology-q-a/ui-selectionvariant-how-to-reference-login-user-in-filter/qaq-p/14213826 UI.SelectionVariant how to reference login user in filter 2025-09-11T02:09:01.048000+02:00 YOJAN https://community.sap.com/t5/user/viewprofilepage/user-id/1740926 <P>Hello community,</P><P>in cds I would like to show a list of records created by login user.</P><P>I have tried but this is not recognized.&nbsp; This works but it is static. (<SPAN>Low &nbsp; &nbsp; : 'user01',)</SPAN><BR /><SPAN>Low &nbsp; &nbsp; : '{$currentUser/id}',</SPAN><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</SPAN></P><P><SPAN>If anyone has a suggestion it is more than welcome.</SPAN></P><P>&nbsp;</P><DIV><DIV><SPAN>&nbsp;</SPAN><SPAN>UI.SelectionVariant</SPAN> <SPAN>#variant1</SPAN> <SPAN>:</SPAN><SPAN> {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>Text</SPAN><SPAN> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</SPAN><SPAN>:</SPAN> <SPAN>'My own certificates'</SPAN><SPAN>,</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>SelectOptions</SPAN><SPAN> &nbsp; </SPAN><SPAN>:</SPAN><SPAN> [ </SPAN><SPAN>//Filtering of entity sets &nbsp;</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>PropertyName</SPAN><SPAN> &nbsp; &nbsp;</SPAN><SPAN>:</SPAN> <SPAN>createdBy</SPAN><SPAN>,</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>Ranges</SPAN><SPAN> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</SPAN><SPAN>:</SPAN><SPAN> [</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>Sign</SPAN><SPAN> &nbsp; &nbsp;</SPAN><SPAN>:</SPAN> <SPAN>#I</SPAN><SPAN>, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>Option</SPAN><SPAN> &nbsp;</SPAN><SPAN>:</SPAN> <SPAN>#EQ</SPAN><SPAN>,</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>Low &nbsp; &nbsp; : '{$currentUser/id}',</SPAN><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; },</SPAN></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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; ],</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; },</SPAN></DIV></DIV> 2025-09-11T02:09:01.048000+02:00 https://community.sap.com/t5/technology-q-a/sort-does-not-work-in-ui-presentationvariant/qaq-p/14213840 sort does not work in UI.PresentationVariant 2025-09-11T03:07:17.850000+02:00 YOJAN https://community.sap.com/t5/user/viewprofilepage/user-id/1740926 <P>Hello community,</P><P>I would like to sort the list based on createdAt.</P><P>Bellow is part of&nbsp; manifest and part of annotation.cds. No matter what I try I can not make list to be sorted.</P><P>API does no include sort either.</P><P>Any clue will help a lot. Thanks!</P><P>&nbsp;</P><P>&nbsp;</P><DIV><DIV><SPAN>views"</SPAN><SPAN>: {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>"paths"</SPAN><SPAN>: [</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>"key"</SPAN><SPAN>: </SPAN><SPAN>"tab1"</SPAN><SPAN>,</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>"annotationPath"</SPAN><SPAN>: </SPAN><SPAN>"com.sap.vocabularies.UI.v1.SelectionVariant#variant1"</SPAN><SPAN>,</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>"presentationVariant"</SPAN><SPAN>: </SPAN><SPAN>"com.sap.vocabularies.UI.v1.PresentationVariant#SortByCreatedAt"</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; },</SPAN></DIV><DIV>....</DIV><DIV><DIV><DIV><SPAN>UI.PresentationVariant</SPAN> <SPAN>#SortByCreatedAt</SPAN><SPAN>:</SPAN><SPAN> {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>SortOrder</SPAN><SPAN> &nbsp; &nbsp; &nbsp; </SPAN><SPAN>:</SPAN><SPAN> [ </SPAN><SPAN>//Default sort order</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>Property</SPAN><SPAN> &nbsp; &nbsp;</SPAN><SPAN>:</SPAN> <SPAN>createdAt</SPAN><SPAN>,</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>Descending</SPAN><SPAN> &nbsp;</SPAN><SPAN>:</SPAN> <SPAN>true</SPAN><SPAN>,</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; },</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; ], &nbsp; &nbsp; &nbsp; &nbsp;</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>Visualizations</SPAN><SPAN> &nbsp;</SPAN><SPAN>:</SPAN><SPAN> [</SPAN><SPAN>'@UI.LineItem'</SPAN><SPAN>],</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; },</SPAN></DIV></DIV></DIV></DIV><P>&nbsp;</P> 2025-09-11T03:07:17.850000+02:00 https://community.sap.com/t5/technology-q-a/error-while-connecting-to-destination-from-cap/qaq-p/14219300 error while connecting to destination from cap 2025-09-17T04:18:57.182000+02:00 YOJAN https://community.sap.com/t5/user/viewprofilepage/user-id/1740926 <P>Hello,</P><P>1. I have a destination service and it is bound to my app in btp cloud foundry.</P><P>2.- I have this setting in package.json</P><DIV><DIV><SPAN>&nbsp;</SPAN><SPAN>"requires"</SPAN><SPAN>: {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; </SPAN><SPAN>"apiget1"</SPAN><SPAN>: {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>"kind"</SPAN><SPAN>: </SPAN><SPAN>"rest"</SPAN><SPAN>,</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>"credentials"</SPAN><SPAN> :{</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>"destination"</SPAN><SPAN>: </SPAN><SPAN>"apiget1"</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; }</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; }</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; }</SPAN></DIV><DIV><SPAN><SPAN>3.- When I run,<BR /></SPAN></SPAN><DIV><DIV><SPAN>const</SPAN> <SPAN>externalApi1</SPAN> <SPAN>=</SPAN> <SPAN>await</SPAN> <SPAN>cds</SPAN><SPAN>.</SPAN><SPAN>connect</SPAN><SPAN>.</SPAN><SPAN>to</SPAN><SPAN>(</SPAN><SPAN>'apiget1'</SPAN><SPAN>);</SPAN></DIV><DIV><DIV><DIV><SPAN>&nbsp;</SPAN><SPAN>var</SPAN> <SPAN>result</SPAN> <SPAN>=</SPAN> <SPAN>await</SPAN> <SPAN>externalApi1</SPAN><SPAN>.</SPAN><SPAN>run</SPAN><SPAN>({</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>method</SPAN><SPAN>:</SPAN> <SPAN>'GET'</SPAN><SPAN>,</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>path</SPAN><SPAN>:</SPAN> <SPAN>''</SPAN><SPAN>, &nbsp; </SPAN><SPAN>// relative path to destination base URL</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>headers</SPAN><SPAN>:</SPAN><SPAN> {</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN>'Content-Type'</SPAN><SPAN>:</SPAN> <SPAN>'application/json'</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</SPAN></DIV><DIV><SPAN>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }); &nbsp; &nbsp; </SPAN></DIV><DIV><SPAN>function in azure is never called.</SPAN></DIV></DIV></DIV></DIV></DIV></DIV><P>&nbsp;</P> 2025-09-17T04:18:57.182000+02:00 https://community.sap.com/t5/technology-q-a/sap-s-4-hana-multiple-api-call-in-one-transaction/qaq-p/14229748 SAP S/4 Hana : Multiple API Call In One Transaction 2025-09-28T14:30:45.751000+02:00 Dipto_Arafat https://community.sap.com/t5/user/viewprofilepage/user-id/2134306 <P>Hi,</P><P>I’m developing a CAP application using Node.js. I’m consuming remote APIs from SAP S/4HANA Cloud (public edition)—for example, reading Business Partners and creating Sales Orders. At one point, I need to call multiple APIs to perform updates and deletions in sequence. What happens if one of these calls fails midway? How can I roll back everything I’ve done? Is there a good way to handle this?<BR /><BR />Thanks.&nbsp;</P> 2025-09-28T14:30:45.751000+02:00 https://community.sap.com/t5/technology-q-a/sap-build-process-automation-reading-excel-data-from-sharepoint-using/qaq-p/14261295 SAP Build Process Automation reading Excel data from Sharepoint using Microsoft 365 Cloud SDK 2025-11-05T14:23:57.634000+01:00 ola_an_c https://community.sap.com/t5/user/viewprofilepage/user-id/2074048 <P>I am building an automation in SAP Build Process Automation that should automatically read data from an Excel file stored in SharePoint. I used this tutorial:&nbsp;<A href="https://developers.sap.com/tutorials/spa-office-integration-agent..html" target="_blank" rel="noopener noreferrer">https://developers.sap.com/tutorials/spa-office-integration-agent..html</A></P><P>Previously, I used the “Get Remote File Information” activity, where I could directly provide the file URL to specify the exact Excel file in SharePoint.</P><P>Now, I want to modify my process so that it automatically retrieves the most recently added Excel file from the same SharePoint location (instead of using a fixed link), so I tried to replace “Get Remote File Information” with “Get Recent Files”.</P><P>However, the “Get Recent Files” activity does not have a field for entering a SharePoint URL or folder path, so I am not sure how to define the correct source location from which the automation should fetch the file. I also don't know how to adjust properly the new parameters, didn't see any tutorials on the Internet regarding this..</P> 2025-11-05T14:23:57.634000+01:00 https://community.sap.com/t5/technology-q-a/upgrading-server/qaq-p/14264740 Upgrading server 2025-11-10T19:46:07.432000+01:00 srivignesh1998 https://community.sap.com/t5/user/viewprofilepage/user-id/1313158 <P>Does Crystal Reports Runtime 13.0.2000.0 Supports Windows Server 2019 and Windows Server 2022</P> 2025-11-10T19:46:07.432000+01:00 https://community.sap.com/t5/technology-q-a/oauth2technicaluserpropagation-in-javascript/qaq-p/14282670 Oauth2TechnicalUserPropagation in javascript 2025-12-03T09:23:25.510000+01:00 avanee https://community.sap.com/t5/user/viewprofilepage/user-id/2268866 <P>Hello everyone, I wanted to know what kind of configuration is needed to make an HTTP call with http/axios from SAP BTP CAP in NodeJS/javascript to an on-Premise system? I've tried with the Cloud SDK, but it does not support the&nbsp;Oauth2TechnicalUserPropagation&nbsp; in the destination for HTTP calls (executeHttpRequest fails because of this).</P><P>I've tried making an axios call with the "<CODE><SPAN class="">SAP-Connectivity-Technical-Authentication</SPAN></CODE>" header, with proxy credentials that I can get from the destination, but that does not seem to work. So I wanted to know what was the full configuration needed to make a call with this setup to On-Premise system.&nbsp;</P> 2025-12-03T09:23:25.510000+01:00 https://community.sap.com/t5/technology-q-a/how-to-retrieve-approvers-for-a-custom-bo-approval-process-reporting-pdf/qaq-p/14283888 How to Retrieve Approvers for a Custom BO Approval Process (Reporting + PDF Output)? 2025-12-04T13:24:23.226000+01:00 Anna_Bondarenko51 https://community.sap.com/t5/user/viewprofilepage/user-id/831444 <P>We are using the <STRONG>standard Approval Process</STRONG> for a <STRONG>Custom Business Object</STRONG> in SAP Cloud for Customer, and we need to retrieve <STRONG>approver information</STRONG> (current approver and full approval chain) for <STRONG>analytics/KPIs</STRONG> and for <STRONG>Outputs (PDF Summary)</STRONG>. Standard data sources and SDK functions work only for standard objects, so we cannot access any approval-task details for our custom BO. Has anyone managed to extract this information?</P><P>There is plenty of documentation and examples on how to configure an approval process for a custom BO — step definitions, conditions, screens, etc. However, once the approval process is activated, we immediately face two major functional gaps:</P><P><STRONG>1) Reporting / Analytics&nbsp;</STRONG></P><P>We need to display who is the <STRONG>current approver</STRONG> of a custom document.<BR />Normally, for standard objects, this can be done by joining with the data source <STRONG>“Approval Task Details” (BTMAPPV01)</STRONG>. But SAP Support confirmed in our case that this data source <STRONG>contains approval tasks only for standard BOs</STRONG>. So there is no standard reporting option for custom objects, and we need some SDK-based solution — but we cannot find any.</P><P><STRONG>2) Approvers for PDF Form</STRONG></P><P>We also need the <STRONG>full approval chain</STRONG> or at least the <STRONG>current approver</STRONG> to show it on the PDF form of the custom document.<BR />Unfortunately, SDK methods that work with standard objects do not work here. For example, <STRONG>GetCurrentStepApproval.Info()</STRONG> on a custom BO results in a <STRONG>system dump (HTTP 500)</STRONG>.</P><P>Has anyone implemented a requirement where approver details must be retrieved for a <STRONG>custom Business Object</STRONG>? How did you access approval-task or approver information — via SDK, a custom service, or another supported method?</P><P>Any experience or suggestions would be extremely helpful. Thanks!</P> 2025-12-04T13:24:23.226000+01:00 https://community.sap.com/t5/technology-q-a/sap-cloud-sdk-alternatives-for-osgi-applications/qaq-p/14286749 SAP cloud SDK alternatives for OSGi applications 2025-12-09T10:36:20.698000+01:00 parsec https://community.sap.com/t5/user/viewprofilepage/user-id/1513228 <P>Dear team,</P><P>We have an OSGi application which we want to enable with capability to discover Internet and OnPremise systems using destination service and all this heavy loading we tried using SAP cloud SDK.<BR />The approach works just fine Spring apps but with OSGi appications the application is not getting up due to some conflicting spring deps. and other beans issue post inclusion of Spring cloud dependencies mainly below ones:</P><P>` &lt;dependency&gt;<BR />&lt;groupId&gt;com.sap.cloud.sdk.cloudplatform&lt;/groupId&gt;<BR />&lt;artifactId&gt;cloudplatform-connectivity&lt;/artifactId&gt;<BR />&lt;/dependency&gt;</P><P>&lt;dependency&gt;<BR />&lt;groupId&gt;com.sap.cloud.sdk.cloudplatform&lt;/groupId&gt;<BR />&lt;artifactId&gt;connectivity-destination-service&lt;/artifactId&gt;<BR />&lt;/dependency&gt;</P><P>&lt;dependency&gt;<BR />&lt;groupId&gt;com.sap.cloud.sdk.cloudplatform&lt;/groupId&gt;<BR />&lt;artifactId&gt;connectivity-apache-httpclient5&lt;/artifactId&gt;<BR />&lt;/dependency&gt;<BR />`</P><P>Can you please suggest an alternative as we dont want to handle each and every authentication and connectivity service connection and just want to reuse what already exists.</P><P>Thanks in advance.<BR />Nilesh</P> 2025-12-09T10:36:20.698000+01:00 https://community.sap.com/t5/technology-q-a/sap-ui5-control-for-ai-assisted-easy-filter/qaq-p/14303930 sap ui5 control for AI-assisted easy filter 2026-01-08T17:21:45.509000+01:00 syedimran https://community.sap.com/t5/user/viewprofilepage/user-id/507128 <P>Hello Experts,</P><P>Is there any control or any way we can <SPAN>AI-assisted easy filter</SPAN> in my SAP CAP project.</P><P><A href="https://discovery-center.cloud.sap/ai-feature/96cf54f4-566b-4428-916c-1e6231f0fdb2/" target="_blank" rel="nofollow noopener noreferrer">SAP Discovery Center AI Feature - SAP S/4HANA Cloud Public Edition, easy filter</A></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="syedimran_0-1767889040465.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/359521iA841E7AE902A57E1/image-size/medium/is-moderation-mode/true?v=v2&amp;px=400" role="button" title="syedimran_0-1767889040465.png" alt="syedimran_0-1767889040465.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="syedimran_1-1767889067277.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/359523iD959223C214CEE88/image-size/medium/is-moderation-mode/true?v=v2&amp;px=400" role="button" title="syedimran_1-1767889067277.png" alt="syedimran_1-1767889067277.png" /></span></P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P> 2026-01-08T17:21:45.509000+01:00 https://community.sap.com/t5/technology-q-a/install-cloud-application-studio-sdk-requires-ms-visual-studio-2022-version/qaq-p/14304646 Install cloud application studio(SDK) requires MS visual studio 2022 version 2026-01-09T15:51:36.472000+01:00 anindyapapai https://community.sap.com/t5/user/viewprofilepage/user-id/2270685 <P>As per the below link to install SDK after August 2025, you will be required to download Microsoft Visual Studio 2022 (Professional or Enterprise edition) to continue using the Studio.&nbsp;</P><P><U><A title="https://help.sap.com/docs/sap_cloud_applications_studio/cbcebe3cfb1647a8b0322c18dbb0b481/d5278bebf61f4018b7468d669ea3a231.html" href="https://help.sap.com/docs/SAP_CLOUD_APPLICATIONS_STUDIO/cbcebe3cfb1647a8b0322c18dbb0b481/d5278bebf61f4018b7468d669ea3a231.html" target="_blank" rel="noopener noreferrer">https://help.sap.com/docs/SAP_CLOUD_APPLICATIONS_STUDIO/cbcebe3cfb1647a8b0322c18dbb0b481/d5278bebf6…</A></U></P><P>But when we are going to purchase MS visual studio then 2022 version is not offering. It's showing only Latest version 2026, seems that will not work for SDK.&nbsp;</P><P>Please suggest how to purchase and which version to purchase?</P><P>Need help to purchase the link of Microsoft Visual Studio 2022.</P> 2026-01-09T15:51:36.472000+01:00 https://community.sap.com/t5/technology-q-a/sap-ui5-control-for-ai-assisted-easy-filter/qaq-p/14306957 sap ui5 control for AI-assisted easy filter 2026-01-14T00:13:53.714000+01:00 syedimran https://community.sap.com/t5/user/viewprofilepage/user-id/507128 <P>Hello Experts,</P><P>Is there any control or any way we can<SPAN>&nbsp;</SPAN><SPAN>AI-assisted easy filter</SPAN><SPAN>&nbsp;</SPAN>in my SAP CAP project.</P><P><A href="https://discovery-center.cloud.sap/ai-feature/96cf54f4-566b-4428-916c-1e6231f0fdb2/" target="_blank" rel="nofollow noopener noreferrer">SAP Discovery Center AI Feature - SAP S/4HANA Cloud Public Edition, easy filter</A></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="syedimran_2-1768345958136.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/361100i4BCF30A326FA29B9/image-size/medium/is-moderation-mode/true?v=v2&amp;px=400" role="button" title="syedimran_2-1768345958136.png" alt="syedimran_2-1768345958136.png" /></span></P><P>&nbsp;</P><P>&nbsp;</P> 2026-01-14T00:13:53.714000+01:00