https://raw.githubusercontent.com/ajmaradiaga/feeds/main/scmt/topics/Cloud-Connector-blog-posts.xml SAP Community - Cloud Connector 2024-05-20T11:10:28.913415+00:00 python-feedgen Cloud Connector blog posts in SAP Community https://community.sap.com/t5/technology-blogs-by-members/connection-between-sap-datasphere-and-sap-successfactors-hxm-suite-using/ba-p/13573394 Connection between SAP Datasphere and SAP SuccessFactors HXM Suite using OData, OAuth2 and SAML Bearer on Cloud 2023-08-03T13:22:38+02:00 ashwani1 https://community.sap.com/t5/user/viewprofilepage/user-id/219292 This blog will assist you in setting up the connection between SAP Datasphere and SAP SuccessFactors HXM Suite using OData, Authentication type OAuth2 and Grant type SAML Bearer on cloud.<BR /> <BR /> Before getting into the specifics, let's look at some technical terms.<BR /> <BR /> <STRONG>OAuth 2.0:</STRONG> OAuth 2.0, which stands for “Open Authorization”, is a standard designed to allow a website or application to access resources hosted by other web apps on behalf of a user.<BR /> <BR /> <STRONG>OData</STRONG>: The Open Data Protocol (OData) is a standardized protocol for creating and consuming data APIs. The SAP SuccessFactors HXM Suite OData API is a Web Service API feature based on the OData protocol. It's intended to enable access to SAP SuccessFactors data in the system.<BR /> <BR /> <STRONG>SAML 2.0</STRONG>: The Security Assertion Markup Language (SAML) version 2.0 provides a standards-based mechanism for Single Sign-On (SSO). It is needed for integrating an enterprise’s existing single sign-on (SSO) with third-party (cloud based) service providers. The two main components of a SAML 2.0 landscape are an identity provider and a service provider. The service provider is a system entity that provide a set of Web applications with a common session management, identity management, and trust management. The identity provider is a system entity that manages identity information for principals and provides authentication services to other trusted service providers. In other words, the service providers outsource the job of authenticating the user to the identity provider. The identity provider maintains the list of service providers where the user is logged in and passes on logout requests to those service providers.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/a.jpg" /></P><BR /> Here, the following connection type and grant type have been used for making connections.<BR /> <BR /> Connection Type: SAP SuccessFactors<BR /> <BR /> Authentication Type: OAuth 2.0<BR /> <BR /> OAuth Grant Type: SAML Bearer<BR /> <BR /> SAML Assertion: There are two options True and False, here I will explain you both the options. However if you use option “FALSE” you will get the below warning message in the connection, although your connection will be successfully established.<IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/1aa.jpg" /><BR /> <H3 id="toc-hId-1093008126"><STRONG>Section 1: How to generate X.509 certificate, API Key, Private Key and Download/Upload SuccessFactors url into Datasphere?</STRONG></H3><BR /> The first step is to create an&nbsp;<STRONG>X.509 certificate</STRONG> from SuccessFactors and store the private key; you will need to utilize this private key later on when setting up a connection in the Datasphere. And register your client application so that you can authenticate API users using OAuth2. After you register an application, you’ll get an exclusive API key for your application to access SAP SuccessFactors OData APIs.<BR /> <BR /> So, let’s start creating&nbsp;<STRONG>X.509 certificate</STRONG>.<BR /> <BR /> <STRONG>Step 1:</STRONG>&nbsp;Login into your SAP SuccessFactors url instance as administrator and then search for&nbsp;<STRONG>oauth2</STRONG>&nbsp;and create a new OAuth2 Client in “<STRONG>Manage OAuth2 Client Applications</STRONG>” section.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/1b.jpg" /></P><BR /> After opening page, Click on <STRONG>Register Client Application</STRONG><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/2.jpg" /></P><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/3.jpg" /></P><BR /> If you need help filling out the information above, see the SAP help portal below.<BR /> <BR /> <A href="https://help.sap.com/docs/SAP_SUCCESSFACTORS_PLATFORM/d599f15995d348a1b45ba5603e2aba9b/6b3c741483de47b290d075d798163bc1.html" target="_blank" rel="noopener noreferrer">https://help.sap.com/docs/SAP_SUCCESSFACTORS_PLATFORM/d599f15995d348a1b45ba5603e2aba9b/6b3c741483de47b290d075d798163bc1.html</A><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/4.jpg" /></P><BR /> After filling above details, click on <STRONG>Generate X.509 Certificate</STRONG><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/5.jpg" /></P><BR /> If you need help filling out the information above, see the SAP help portal below.<BR /> <BR /> <A href="https://help.sap.com/docs/SAP_SUCCESSFACTORS_PLATFORM/d599f15995d348a1b45ba5603e2aba9b/13f815208a0f4452acc0977f55d395fd.html" target="_blank" rel="noopener noreferrer">https://help.sap.com/docs/SAP_SUCCESSFACTORS_PLATFORM/d599f15995d348a1b45ba5603e2aba9b/13f815208a0f4452acc0977f55d395fd.html</A><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/6.jpg" /></P><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/7-1.jpg" /></P><BR /> After filling above details, click <STRONG>Generate</STRONG>.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/8-1.jpg" /></P><BR /> Here you must click on <STRONG>Download</STRONG> and save the certificate.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/8a.jpg" height="56" width="362" /></P><BR /> And then click <STRONG>Register</STRONG><BR /> <BR /> Your entry will be created as shown on the page.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/9-1.jpg" /></P><BR /> After this, you just click on <STRONG>View</STRONG> and take a note of <STRONG>API Key</STRONG> this will require you to while creating the connection.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/10-1.jpg" /></P><BR /> From the above API Key and Private Key (In the downloaded certificate), you can create the connection using option <STRONG>SAML Assertion: FALSE</STRONG>, The section on creating connections below will explain how to do so using these keys.<BR /> <BR /> <STRONG>Note:</STRONG> In the downloaded certificate.pem there will be two part (Private Key &amp; Public Key), so you need to copy and paste (from private key) only the enclosed string without the beginning and ending lines (-----BEGIN ENCRYPTED PRIVATE KEY----- -----END ENCRYPTED PRIVATE KEY-----), otherwise an error occurs.<BR /> <BR /> <STRONG>Caution:</STRONG> The private key must be kept secure under all circumstances. Do not share the private key with others. If you lose the private key, you must create a new certificate.<BR /> <BR /> Certificate.pem looks like as below.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/13-1.jpg" height="384" width="435" /></P><BR /> &nbsp;<BR /> <BR /> <STRONG>Step 2:</STRONG> In this case will use when <STRONG>SAML Assertion: TRUE. </STRONG>Follow the complete process as mentioned in <STRONG>step 1</STRONG> and note down the private key. Here I will generate the other key without having to expose your private key to the internet.<BR /> <BR /> <STRONG>Generating a SAML Assertion: </STRONG>Generate a Security Assertion Markup Language (SAML) assertion for requesting an OAuth token. This topic explains how to generate a SAML assertion using the offline tool provided by&nbsp;SAP SuccessFactors.<BR /> <BR /> <STRONG>Prerequisites</STRONG><BR /> <BR /> You’ve registered your application in&nbsp;Manage OAuth2 Client Applications in the SAP SuccessFactors&nbsp;and obtained the API key and Private key for the application.<BR /> <BR /> <STRONG>Why Deprecation ?</STRONG><BR /> <BR /> Warning message when you use <STRONG>SAML Assertion: FALSE </STRONG>as shown below<STRONG>.</STRONG><BR /> <BR /> <IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/1aa.jpg" /><BR /> <BR /> The&nbsp;/oauth/idp&nbsp;API was provided for API users to generate SAML assertions for authentication. However, this method is considered unsafe because it requires users to pass private keys through an API call. Therefore, we're deprecating this API and encouraging to choose secure ways to generate SAML assertions.<BR /> <BR /> <STRONG>Caution:</STRONG> Do not use the&nbsp;/oauth/idp&nbsp;API to generate SAML assertions. This approach is unsecure and has been deprecated.<BR /> <BR /> <STRONG>Solution: </STRONG>For complete process follow the S-Note <STRONG>3031657</STRONG> - How to generate SAML assertion using SAP-provided offline tool – SuccessFactors.<BR /> <BR /> <A href="https://help.sap.com/docs/SAP_SUCCESSFACTORS_PLATFORM/d599f15995d348a1b45ba5603e2aba9b/4e27e8f6ae2748ab9f23228dd6a31b06.html" target="_blank" rel="noopener noreferrer">https://help.sap.com/docs/SAP_SUCCESSFACTORS_PLATFORM/d599f15995d348a1b45ba5603e2aba9b/4e27e8f6ae2748ab9f23228dd6a31b06.html</A><BR /> <BR /> <STRONG>&nbsp;</STRONG><BR /> <BR /> <STRONG>Step 3:</STRONG> The third step would be download the url certificate from the SuccessFactors and upload the certificate into Datasphere.<BR /> <BR /> You can refer the SAP S-Note and blog for this activity.<BR /> <BR /> <STRONG>3138841</STRONG> - Error when using Remote tables in SAP Datasphere<BR /> <BR /> In Blog: Goto the section <STRONG>Download Certificate</STRONG><BR /> <BR /> <A href="https://blogs.sap.com/2023/04/20/connecting-sap-successfactors-and-sap-datasphere/" target="_blank" rel="noopener noreferrer">https://blogs.sap.com/2023/04/20/connecting-sap-successfactors-and-sap-datasphere/</A><BR /> <BR /> <HR /><BR /> <BR /> &nbsp;<BR /> <H3 id="toc-hId-896494621"><STRONG>Section 2: How to create connections in Success Factors?</STRONG></H3><BR /> Let’s create the connection with option <STRONG>SAML Assertion: TRUE or FALSE</STRONG><BR /> <BR /> <STRONG>Step 1: With Option SAML Assertion: FALSE</STRONG><BR /> <BR /> Login into Datasphere -&gt; <STRONG>Connections</STRONG> -&gt; Search for <STRONG>Success Factors -&gt;</STRONG><STRONG> Local Connections -&gt;</STRONG><STRONG>&nbsp;Create</STRONG><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/11A.jpg" /></P><BR /> <SPAN style="text-decoration: underline"><STRONG>Connection Information&nbsp;</STRONG></SPAN><BR /> <STRONG>Business Name:</STRONG>&nbsp; You can give generic name as you like.<BR /> <BR /> <STRONG>Technical Name:&nbsp;</STRONG>You can give generic name as you like, later you will not be able to change.<BR /> <BR /> <STRONG>Description:</STRONG> You can mention about connection details here.<BR /> <BR /> <SPAN style="text-decoration: underline"><STRONG>Connection Details&nbsp;</STRONG></SPAN><BR /> <STRONG>URL:</STRONG>&nbsp; Enter the OData service provider URL of the SAP SuccessFactors service that you want to access.<BR /> <STRONG>Version:&nbsp;</STRONG>Displays the OData version used to implement the SAP SuccessFactors OData service.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><STRONG><SPAN style="text-decoration: underline">Authentication</SPAN>&nbsp;</STRONG><BR /> <STRONG>Authentication Type</STRONG><STRONG>:</STRONG>&nbsp;OAuth 2.0</P><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/12-1.jpg" /></P><BR /> <SPAN style="text-decoration: underline"><STRONG>OAuth 2.0</STRONG></SPAN><BR /> <BR /> <STRONG>Provide SAML Assertion</STRONG>: FALSE<BR /> <BR /> <STRONG>OAuth Token Endpoint</STRONG>: Enter the Token endpoint to use to request an access token:&nbsp;&lt;SAP SuccessFactors API Server&gt;/oauth/token.<BR /> <BR /> <STRONG>OAuth Scope:</STRONG> Optional.<BR /> <BR /> <STRONG>OAuth API Endpoint</STRONG>: Enter the API endpoint:&nbsp;&lt;SAP SuccessFactors API Server&gt;/oauth/idp.<BR /> <BR /> <STRONG>OAuth User ID:</STRONG> This user ID should be existed in your SuccessFactors portal.<BR /> <BR /> <STRONG>OAuth Company ID: </STRONG>Enter the SAP SuccessFactors company ID.<BR /> <BR /> <STRONG>Note: </STRONG>SAP SuccessFactors API Server you can find List of SAP SuccessFactors API Servers &amp; URL from below s-note and link.<BR /> <BR /> <STRONG>2089448</STRONG> - SuccessFactors Datacenter Name, Location, Production Login URL, Production Domain Name, External mail Server details and External mail Server IPs<BR /> <BR /> <A href="https://help.sap.com/docs/SAP_SUCCESSFACTORS_PLATFORM/d599f15995d348a1b45ba5603e2aba9b/af2b8d5437494b12be88fe374eba75b6.html" target="_blank" rel="noopener noreferrer">https://help.sap.com/docs/SAP_SUCCESSFACTORS_PLATFORM/d599f15995d348a1b45ba5603e2aba9b/af2b8d5437494b12be88fe374eba75b6.html</A><BR /> <BR /> <STRONG>&nbsp;</STRONG><BR /> <BR /> <SPAN style="text-decoration: underline"><STRONG>Credentials (OAuth 2.0)</STRONG></SPAN><BR /> <BR /> <STRONG>Client ID:</STRONG> API Key (Which was generated while X.509 certificate as explained in Section 1 &amp; Step 1)<BR /> <BR /> <STRONG>Client Secret:</STRONG> Private Key (Which was generated while X.509 certificate as explained in Section 1 &amp; Step 1)<BR /> <BR /> <STRONG>Click on Save</STRONG><BR /> <BR /> <STRONG>Now test the connection.</STRONG><BR /> <BR /> Select <STRONG>Business Name</STRONG> or<STRONG> Connection Name</STRONG> and click on <STRONG>Validate</STRONG>. You will see the below success message.<BR /> <P style="text-align: center"><SPAN style="color: #339966">Connection</SPAN></P><BR /> <P style="text-align: center"><SPAN style="color: #339966">“<STRONG>Business Name</STRONG>” is valid.</SPAN></P><BR /> <P style="text-align: center"><SPAN style="color: #339966">- Data flows are enabled.</SPAN></P><BR /> <P style="text-align: center"><SPAN style="color: #339966">- Remote tables are enabled.</SPAN></P><BR /> &nbsp;<BR /> <BR /> <STRONG>Step 2: With Option SAML Assertion: TRUE</STRONG><BR /> <BR /> Login into Datasphere -&gt; <STRONG>Connections</STRONG> -&gt; Search for <STRONG>Success Factors -&gt;</STRONG><STRONG> Local Connections -&gt;</STRONG><STRONG>&nbsp;Create</STRONG><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/15-1.jpg" /></P><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/16-1.jpg" /></P><BR /> <SPAN style="text-decoration: underline"><STRONG>OAuth 2.0</STRONG></SPAN><BR /> <BR /> <STRONG>Provide SAML Assertion</STRONG>: TRUE<BR /> <BR /> <STRONG>OAuth Token Endpoint</STRONG>: Enter the Token endpoint to use to request an access token:&nbsp;&lt;SAP SuccessFactors API Server&gt;/oauth/token.<BR /> <BR /> <STRONG>OAuth Scope:</STRONG> Optional.<BR /> <BR /> <STRONG>OAuth Company ID: </STRONG>Enter the SAP SuccessFactors company ID.<BR /> <BR /> <SPAN style="text-decoration: underline"><STRONG>Credentials (OAuth 2.0)</STRONG></SPAN><BR /> <BR /> <STRONG>Client ID:</STRONG> API Key (Which was generated while X.509 certificate as explained in Section 1 &amp; Step 1)<BR /> <BR /> <STRONG>SAML Assertion:</STRONG> Private Key (Which was generated while X.509 certificate as explained in Section 1 &amp; <STRONG>Step 2</STRONG>)<BR /> <BR /> <STRONG>Now test the connection.</STRONG><BR /> <BR /> Select <STRONG>Business Name or Connection Name</STRONG>&nbsp;and click on <STRONG>Validate</STRONG>. You will see the below success message.<BR /> <P style="text-align: center"><SPAN style="color: #339966">Connection</SPAN></P><BR /> <P style="text-align: center"><SPAN style="color: #339966">“<STRONG>Business Name</STRONG>” is valid.</SPAN></P><BR /> <P style="text-align: center"><SPAN style="color: #339966">- Data flows are enabled.</SPAN></P><BR /> <P style="text-align: center"><SPAN style="color: #339966">- Remote tables are enabled.</SPAN></P><BR /> <BR /> <BR /> <HR /><BR /> <BR /> &nbsp;<BR /> <H3 id="toc-hId-699981116"><STRONG>Summary</STRONG>:</H3><BR /> In the above <STRONG>Section 1</STRONG> we have completed following points.<BR /> <OL><BR /> <LI>X.509 Certificate</LI><BR /> <LI>Generated API Key</LI><BR /> <LI>Generated Private Key</LI><BR /> <LI>Downloaded/Uploaded the url certificate</LI><BR /> </OL><BR /> &nbsp;<BR /> <BR /> In the <STRONG>Section 2</STRONG> we have completed how to build a connection using <STRONG>OAuth 2.0 and SAML Assertion: TRUE and FALSE.</STRONG><BR /> <BR /> <HR /><BR /> <BR /> &nbsp;<BR /> <H3 id="toc-hId-503467611"><STRONG>Troubleshooting: </STRONG></H3><BR /> <STRONG>Error 1:</STRONG> If you are getting below error message.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/17_Error.jpg" /></P><BR /> <STRONG>Resolution</STRONG>:<BR /> <BR /> - Make sure that you are using the Private key generated from the OAuth key in SF, and not the public key that it's the one displaying in the OAuth Key config. The private key is only shared once, which is when you create the OAuth Key initially.<BR /> <BR /> - Make sure no extra spaces are included when you add the private key in the Data Sphere system.<BR /> <BR /> <STRONG>&nbsp;</STRONG><BR /> <BR /> <STRONG>Error 2: </STRONG><BR /> <BR /> <STRONG>Connection</STRONG> "Business Name" couldn’t be established. - Data flows can't be used because of errors in the connection. - Replication flows are not supported. - Remote tables can't be used because of errors in the connection.<BR /> <BR /> <STRONG>Data Flows</STRONG>: Cause: Invalid odata connection! Getting odata metadata failed because of Excpetion: org.apache.olingo.client.core.http.OAuth2Exception: Failed to fetch OAuth2 token! Token endpoint response HTTP/1.1 400 {"errorHttpCode":"400","errorMessage":"Invalid SAML assertion. For the correct SAML assertion format, see <A href="https://help.sap.com/docs/SAP_SUCCESSFACTORS_PLATFORM/d599f15995d348a1b45ba5603e2aba9b/4e27e8f6ae2748ab9f23228dd6a31b06.html" target="_blank" rel="noopener noreferrer">https://help.sap.com/docs/SAP_SUCCESSFACTORS_PLATFORM/d599f15995d348a1b45ba5603e2aba9b/4e27e8f6ae2748ab9f23228dd6a31b06.html</A>."} Code:1500010<BR /> <STRONG>Remote Tables</STRONG>: Unable to connect remote source: Failed to fetch OAuth2 access token: 'HttpClient.request: OAuth2 request failed with error:<BR /> Response HTTP code: 400<BR /> Response HTTP body: {"errorHttpCode":"400","errorMessage":"<STRONG><U>Invalid SAML assertion</U></STRONG>. For the correct SAML assertion format, see <A href="https://help.sap.com/docs/SAP_SUCCESSFACTORS_PLATFORM/d599f15995d348a1b45ba5603e2aba9b/4e27e8f6ae2748ab9f23228dd6a31b06.html" target="_blank" rel="noopener noreferrer">https://help.sap.com/docs/SAP_SUCCESSFACTORS_PLATFORM/d599f15995d348a1b45ba5603e2aba9b/4e27e8f6ae2748ab9f23228dd6a31b06.html</A>."}', Code: 5921, SQL State: HY000<BR /> <BR /> Correlation ID: 08e0739b-cbdc-415a-5b32-2d90e5950b49<BR /> <BR /> <STRONG>Resolution</STRONG>: &nbsp;Follow the below link <A href="https://help.sap.com/docs/SAP_SUCCESSFACTORS_PLATFORM/d599f15995d348a1b45ba5603e2aba9b/4e27e8f6ae2748ab9f23228dd6a31b06.html" target="_blank" rel="noopener noreferrer">https://help.sap.com/docs/SAP_SUCCESSFACTORS_PLATFORM/d599f15995d348a1b45ba5603e2aba9b/4e27e8f6ae2748ab9f23228dd6a31b06.html</A><BR /> <BR /> &nbsp;<BR /> <BR /> <STRONG>Error 3: </STRONG><BR /> <BR /> Connection "<STRONG>Business Name or Connection_Name</STRONG>" is valid, but not all features are available.<BR /> <BR /> - Data flows are enabled.<BR /> <BR /> - Remote tables can't be used because of errors in the connection.<BR /> <BR /> Remote Tables: Unable to connect remote source: SSL requested, but no trust store configured, Code: 5921, SQL State: HY000<BR /> <BR /> &nbsp;<BR /> <BR /> <STRONG>Resolution</STRONG>: &nbsp;Follow the S-Note: 3138841 - Error when using Remote tables in SAP Datasphere<BR /> <BR /> <HR /><BR /> <BR /> &nbsp;<BR /> <H3 id="toc-hId-306954106"><STRONG>References Link &amp; S-Notes: </STRONG></H3><BR /> <STRONG>SAP SuccessFactors Connections: </STRONG><A href="https://help.sap.com/docs/SAP_DATASPHERE/be5967d099974c69b77f4549425ca4c0/39df02030d4b411487bacecf9afea4e8.html?q=successfactors%20connectivity" target="_blank" rel="noopener noreferrer">https://help.sap.com/docs/SAP_DATASPHERE/be5967d099974c69b77f4549425ca4c0/39df02030d4b411487bacecf9afea4e8.html?q=successfactors%20connectivity</A><BR /> <BR /> <STRONG>3138841</STRONG> - Error when using Remote tables in SAP Datasphere<BR /> <BR /> <STRONG>3031657</STRONG> - How to generate SAML assertion using SAP-provided offline tool – SuccessFactors<BR /> <BR /> <STRONG>2850646</STRONG> - How to register for OAuth 2.0 authentication - SuccessFactors Integrations<BR /> <BR /> <STRONG>2613670</STRONG> - What are the available APIs for SuccessFactors?<BR /> <BR /> <STRONG>2533915</STRONG> - SAP SuccessFactors SSL Certificate Renewal Schedule and Public Certificate Repository<BR /> <BR /> <STRONG>2203741</STRONG> - How to download an SAP SuccessFactors or API SSL Certificate<BR /> <BR /> ----------------------------<BR /> <BR /> Thanks for reading this article! Your feedback and suggestions are welcome. 2023-08-03T13:22:38+02:00 https://community.sap.com/t5/technology-blogs-by-sap/next-release-of-the-cloud-connector-is-available-2-16-0/ba-p/13575684 Next release of the Cloud Connector is available: 2.16.0 2023-08-07T12:43:38+02:00 MarcoErtel https://community.sap.com/t5/user/viewprofilepage/user-id/6305 We again have released a new version of the cloud connector with interesting new features. A lot happened under the hood to ensure the highest security levels but that is not all.<BR /> <BR /> Let me start with the installation (which of course can be found <A href="https://tools.hana.ondemand.com/#cloud" target="_blank" rel="nofollow noopener noreferrer">here</A>) where we've added two more platforms to give you more flexibility for selecting the best platform:<BR /> <UL><BR /> <LI>Oracle Linux 9</LI><BR /> <LI>macOS aarch64 (native support of the M1/M2 processors)</LI><BR /> </UL><BR /> If you are using an ABAP System in the cloud and need more security for classic RFC endpoints, you should check the new feature to use SNC:<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/SNC.png" /></P><BR /> More about that can be found in the <A href="https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/configure-service-channel-for-rfc" target="_blank" rel="noopener noreferrer">documentation</A>.<BR /> <BR /> Not for all users but at least for some it might be helpful that you're able to change now the login procedure from user and password to a client certificate. This works also for the REST APIs. But here we have to say that (in the version 2.16) we unfortunately have the restriction to setups without a shadow instance. This will of course change in the future. If you still want to use it or at least try it out find more <A href="https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/logon-to-cloud-connector-via-client-certificate" target="_blank" rel="noopener noreferrer">here</A>.<BR /> <BR /> On the logging and monitoring we’ve worked on two features:<BR /> <UL><BR /> <LI>getting more insights for TCP and TCP SSL connections as you now see them also in the Back-end connections and in the usage statistics.</LI><BR /> <LI>adding a csv export to the Audit Log to give you more transparency which modifications on the cloud connector setup had been done:</LI><BR /> </UL><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/audit.png" /></P><BR /> Additionally, under the hood we've updated lots of libraries to the most recent versions, cleaned up features which are no longer needed and improved the performance of the login procedure for some installations.<BR /> <BR /> Therefore: don't wait and update your Cloud Connector as soon as possible (and have a look at the official <A href="https://help.sap.com/whats-new/cf0cb2cb149647329b5d02aa96303f56?Component=Connectivity&amp;locale=en-US&amp;version=Cloud" target="_blank" rel="noopener noreferrer">release notes</A>)! 2023-08-07T12:43:38+02:00 https://community.sap.com/t5/technology-blogs-by-members/exposing-on-premise-s-4-apps-to-sap-build-work-zone-a-step-by-step-guide/ba-p/13575777 Exposing On-Premise S/4 Apps to SAP Build Work Zone: A Step-by-Step Guide 2023-08-15T21:57:22+02:00 lohith789 https://community.sap.com/t5/user/viewprofilepage/user-id/871487 Introduction<BR /> <BR /> This blog post is your guide to seamlessly exposing Fiori apps from your on-premise system within the dynamic environment of SAP Build Work Zone, leveraging the power of SAP Business Technology Platform (BTP).<BR /> <BR /> <STRONG>SAP Build Work Zone:</STRONG><BR /> <BR /> SAP Build Work Zone enables business users to create and customize business sites intuitively. By providing secure, centralized access to SAP and non-SAP applications, processes, and data on various devices, it enhances productivity and engagement. The inclusion of interactive workspaces, guided experiences, and knowledge sharing further optimizes team efficiency.<BR /> <BR /> Key capabilities:<BR /> <UL><BR /> <LI>Provide a central access to multiple cloud &amp; on-premise systems</LI><BR /> <LI>Flexible page builder Integrate custom apps and UI cards</LI><BR /> <LI>Access multiple pages via navigation menu</LI><BR /> <LI>Customizations and extensions (e.g. branding, translation, shell plug-ins, domains URL)</LI><BR /> </UL><BR /> <H3 id="toc-hId-1093071493">Prerequisite:</H3><BR /> <UL><BR /> <LI>Access to S/4 Hana On-premise system</LI><BR /> <LI>Active SAP Build Work Zone service within a SAP BTP subaccount</LI><BR /> </UL><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/Picture1-25.png" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic">SAP Build work zone service in SAP BTP</P><BR /> <BR /> <UL><BR /> <LI>Creating secured tunnel between your SAP BTP subaccount and on premise SAP system using cloud connector.<IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/Untitled-2.png" /></LI><BR /> <LI>SAP system is connected to the cloud connector, allowing you to selectively expose backend resources.<BR /> <IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/Untitled-4.png" /></LI><BR /> <LI>Make sure your Cloud connector is connected to your SAP BTP Subaccount.<IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/ss.jpg" /></LI><BR /> </UL><BR /> Lets Begin,<BR /> <OL><BR /> <LI><STRONG>Creating Destinations in SAP BTP:</STRONG>&nbsp; Go to SAP BTP sub account where your application instance is running and select destination under connectivity and create destination as shown in the screenshot below.(Append the service details "<STRONG>/sap/bc/ui2/cdm3/entities</STRONG>" after including the virtual host and port details in the URL.)<IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/Screenshot-2023-08-13-100446-1.jpg" />Clone the above destination with additional properties as mentioned below and call this as runtime destination. Its recommended to use technical user with proper authorization. More information on Design time and runtime destination along with authorization details can be found <A href="https://help.sap.com/docs/CIAS%20FES%202020/ecb81b5bfce440ca8e7e7c9ad58fcf3a/68a94ee6019a48b4b9e496c60fe4b048.html" target="_blank" rel="noopener noreferrer">here.</A></LI><BR /> <LI><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/Screenshot-2023-08-13-103722.jpg" /><STRONG>Exposing Roles in the On-Premise System:</STRONG> Log in to your on-premise system and execute the transaction code <STRONG>/UI2/CDM3_EXP_SCOPE</STRONG>. Here, you can select and expose the roles that you intend to make accessible. Ensure that the applications within these roles are activated and organized within Groups/Spaces and Catalogs. <IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/Screenshot-2023-08-13-104635.jpg" /></LI><BR /> <LI><STRONG>Configuring SAP Build Work Zone</STRONG>: Now, go back to your SAP BTP account and launch SAP Build work zone Application.<BR /> <IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/Screenshot-2023-08-13-105351.jpg" /></LI><BR /> <LI>Once you are logged in, Go to Channel Manager to add the content provider details.<IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/Screenshot-2023-08-13-105455.jpg" /></LI><BR /> <LI>Add the destination details which were created in BTP and create content provider<BR /> <IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/Screenshot-2023-08-13-110726.jpg" /><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/Screenshot-2023-08-13-110858.jpg" /></LI><BR /> <LI>Navigate to the Content Manager section and select the content explorer. Select the content channel you established in the previous step (SS4). Upon clicking this channel, you will witness the content exposed from your on-premise system in step 2. Select the roles associated with the content and proceed to add them.<BR /> <IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/Screenshot-2023-08-13-111147.jpg" /><BR /> <IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/Screenshot-2023-08-13-111727.jpg" /><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/Screenshot-2023-08-13-111625.jpg" /></LI><BR /> <LI><STRONG>Role Assignment in BTP Subaccount: </STRONG>Once the above step is completed, Go back to BTP subaccount and roles added in the above step will be available in role collection of BTP to add for the user who will be consuming this content.<IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/Screenshot-2023-08-13-112100.jpg" /></LI><BR /> <LI><STRONG>Configuring and Launching the Site</STRONG>: Navigate back to SAP Build work zone and create the site in site directory, once created, Go into the settings and select the option to edit. Access the assign items section and add the content, subsequently saving your configurations. Now, return to the site directory, where you can launch the site, granting access to the apps.<BR /> <IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/Screenshot-2023-08-13-112449.jpg" />Launching site as highlighted below<BR /> <IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/Screenshot-2023-08-13-113414.jpg" /></LI><BR /> <LI>And there you have it! With everything set up, you can now access the apps directly from your On-Premise system.<IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/Screenshot-2023-08-13-113310.jpg" /></LI><BR /> </OL><BR /> &nbsp;<BR /> <BR /> In Conclusion:<BR /> <BR /> SAP Build Work Zone not only facilitates the consumption of Fiori apps but also serves as a conduit for connecting diverse SAP and non-SAP applications. This synergy creates a unified entry point for all applications, bolstering efficiency and collaboration across your organizational landscape. By following the outlined steps, you're poised to harness the potential of SAP Build Work Zone in amalgamating your on-premise Fiori apps seamlessly. 2023-08-15T21:57:22+02:00 https://community.sap.com/t5/technology-blogs-by-sap/certificate-based-authentication-in-the-sap-cloud-connector/ba-p/13572596 Certificate-based authentication in the SAP Cloud Connector 2023-08-29T21:21:37+02:00 bpasynkov https://community.sap.com/t5/user/viewprofilepage/user-id/1847 <H1 id="toc-hId-834814821">Introduction</H1><BR /> Hello SAP Community,<BR /> <BR /> As this is my first SAP-blog, I would like to briefly introduce the main idea and my goal for the next post, as it will be the same for all future ones.<BR /> <BR /> Without a huge technical background in network or PKI areas, sometimes my comments may seem too obvious for someone. However, my main idea was to save your time configuring new (or relatively new, or too complex that they always look like a new one) features. Let's assume you could save one or two <S>days</S> hours trying to figure out why your newly configured scenario doesn't work, so you could spend these couple of hours enjoying your cup of coffee with colleagues. Sounds good, right?<BR /> <BR /> I have only one wish from my side. Please, in case of mistakes, missed details, or, oh no, mistakes, feel free to point them out in the comments. Otherwise, let's get started!<BR /> <H1 id="toc-hId-638301316">Feature overview</H1><BR /> Just a couple of weeks ago, a new SAP Cloud Connector release was introduced by SAP: <A href="https://blogs.sap.com/?p=1818734?source=email-global-notification-bp-new-in-tag-followed" target="_blank" rel="noopener noreferrer">Next release of the Cloud Connector is available: 2.16.0 | SAP Blogs</A>. One of the main features is the option to configure certificate-based authentication for the Cloud Connector administrator: <A href="https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/logon-to-cloud-connector-via-client-certificate" target="_blank" rel="noopener noreferrer">Logon to the Cloud Connector via Client Certificate | SAP Help Portal</A>.<BR /> <UL><BR /> <LI>From an end user perspective, I liked this feature for the possibility of being smoothly authenticated with no need to remember another password.</LI><BR /> <LI>As a security specialist, I'm more than happy that my users won't need to keep their another user/password pair on a sticker under their keyboard.</LI><BR /> </UL><BR /> <H1 id="toc-hId-441787811">How-to steps</H1><BR /> <STRONG>1. Change the Admin name.</STRONG><BR /> <BR /> Let's briefly summarize the idea of the Cloud Connector's user management approach. Here, you have two options to store your users:<BR /> <OL><BR /> <LI>Local store</LI><BR /> <LI>LDAP</LI><BR /> </OL><BR /> If you have LDAP configured, it means you have an excellent understanding of user maintenance already. Our main goal here is to make it possible for the Cloud Connector to map username from the client certificate to the actual user from the Cloud Connector user store. By default, the Cloud Connector admin has the name <STRONG>Administrator</STRONG>. If you have the option to create and sign the certificate with this name by your corporate Certificate Authority (CA), you may leave it as it is. Otherwise, you could change it by clicking on the <EM>Edit</EM> button. I will switch it to my <STRONG>I-user</STRONG>.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/2023-08-28_10-16-05.png" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic">Local User Store and default authentication method: User/Password</P><BR /> After this Cloud Connector will ask you to be restarted. Type your new username and password on the login screen and continue with the next steps.<BR /> <BR /> <STRONG>2. Find your correct Root CA certificate.</STRONG><BR /> <BR /> Now it's necessary to understand the basic certificate rule. You will always have a similar certificate chain:<BR /> <OL><BR /> <LI>Root CA certificate</LI><BR /> <LI>Intermediary's certificate (optional)</LI><BR /> <LI>Your client certificate (<STRONG>I-user</STRONG> in my case)</LI><BR /> </OL><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/2023-08-28_11-14-35.png" height="346" width="307" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic">Usual certificates chain</P><BR /> For certificate-based authentication, the Cloud Connector will ask you for your client certificate, which is stored in your local OS store and provided by your browser. To check the certificate's validity, the Cloud Connector needs the Root CA certificate that was used to sign (or issue) your client certificate. So, you can simply ask your corporate CA to provide you with the Root certificate or copy it to a DER file via the <EM>View Certificate</EM> button.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/2023-08-28_10-23-12.png" height="294" width="300" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic">Saving the Root CA certificate</P><BR /> <STRONG>3. Choose the required user mapping rule.</STRONG><BR /> <BR /> For now, you need to have the following prerequisites:<BR /> <UL><BR /> <LI>Configured User Name in the User Store, which should be equal to the corresponding certificate field</LI><BR /> <LI>Root CA certificate (X.509) from your Certificate Authority</LI><BR /> <LI>Client certificate signed by the root CA certificate</LI><BR /> </UL><BR /> <STRONG>3.1</STRONG> To enable certificate-based authentication, click on the <EM>Switch to...</EM> button. The Edit Authentication window will appear.<BR /> <BR /> <STRONG>3.2</STRONG> Choose the required certificate field from your client certificate, which allows the Cloud Connector to perform user mapping based on the value:<BR /> <UL><BR /> <LI>In my case, it's <STRONG>CN = I-user</STRONG> from the certificate is equal to the User Name from the certificate store.</LI><BR /> </UL><BR /> <STRONG>3.3</STRONG>&nbsp;Import <STRONG>the Root CA X.509-certificate</STRONG> in the Authentication Allowlist:<BR /> <P style="overflow: hidden;margin-bottom: 0px">&nbsp;<IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/2023-08-28_10-24-00.png" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic">Edit Authentication</P><BR /> After all the described steps, your <SPAN id="__title6-inner" dir="auto"><EM>User Administration</EM> and&nbsp;</SPAN><EM>Authentication</EM> parts should look like:<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/2023-08-28_10-26-07.png" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic">Final configuration</P><BR /> Now, all client certificates of the end users signed by this particular Root CA certificate will be accepted by the Cloud Connector. If the user with the corresponding field (CN in my case) is found and mapped, such an end user will be successfully authenticated based on their certificate.<BR /> <BR /> <STRONG>4. Restart everything and enjoy the smooth authentication.</STRONG><BR /> <BR /> If everything has been configured correctly, after the restart, you will get a pop-up to choose a required client certificate.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/08/2023-08-28_11-35-10.png" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic">Select a certificate for authentication</P><BR /> …and you are authenticated (hopefully). Well done!<BR /> <H1 id="toc-hId-245274306">Conclusion</H1><BR /> Instead of a conclusion.<BR /> <BR /> It may happen that, for some reason, your certificate-based authentication will not work due to an incorrectly configured certificate chain or allowlist or whatever, and you won't be able to log into the Cloud Connector administrator console. In that case, just open the console and run the bat-file <EM>useBasicAuthentication.bat</EM> (the Cloud Connector installation folder) to reset the authentication method to user/password again.<BR /> <BR /> I hope this short guide was helpful, and I will be glad to know if it could save a couple of hours for some of you. 2023-08-29T21:21:37+02:00 https://community.sap.com/t5/technology-blogs-by-members/integration-of-sap-ci-btp-is-with-ibm-mq-through-amqp/ba-p/13575417 Integration of SAP CI(BTP IS) with IBM MQ through AMQP 2023-09-02T08:22:17+02:00 FarooqAhmed https://community.sap.com/t5/user/viewprofilepage/user-id/146868 Integration of SAP CI(BTP IS) with IBM MQ through AMQP<BR /> <BR /> <STRONG>&nbsp;</STRONG><BR /> <BR /> <STRONG>Introduction</STRONG><BR /> <BR /> <STRONG>What is IBM MQ?</STRONG><BR /> <BR /> IBM MQ is a family of message-oriented middleware products that IBM launched in December 1993. It was originally called MQSeries, and was renamed WebSphere MQ in 2002 to join the suite of WebSphere products. In April 2014, it was renamed IBM MQ. &nbsp;IBM MQ&nbsp;supports the exchange of information between applications, systems, services and files by sending and receiving message data via messaging queues. This simplifies the creation and maintenance of business applications.<BR /> <BR /> <STRONG>What is SAP CI(BTP-IS)?</STRONG><BR /> <BR /> Cloud Integration(BTP-IS) is a set of services and tools provided by SAP on its cloud-based Business Technology Platform (BTP) to enable integration between different systems, applications, and data sources. The key benefit of CI(BTP IS) is that it enables organizations to quickly and easily integrate their systems, data, and applications without the need for extensive coding or custom development. This helps to streamline business processes, reduce costs, and improve operational efficiency.<BR /> <BR /> <STRONG>How IBM MQ can be integrated?</STRONG><BR /> <BR /> IBM MQ&nbsp;provides the&nbsp;<EM>messaging</EM>&nbsp;and&nbsp;<EM>queuing</EM>&nbsp;capabilities across multiple modes of operation:&nbsp;<EM>point-to-point</EM>&nbsp;;&nbsp;<EM>publish/subscribe</EM>. IBM MQ has the Queue Managers(QM) in which different types of queues will be created. The QM can be connected directly or using client channel definition table or using a intermediate queue manager. All these will be associated with the channels which provides the in and out movement of the data from the Queues. Along with Queues we can have Topics also which can work with pub-sub approach. Rest APIS, JMS and MFTs can also be leveraged with the IBM MQ package installation.<BR /> <BR /> <STRONG>How CI integrates with IBM MQ?</STRONG><BR /> <BR /> The integration between CI and IBM MQ can be best done using the AMQP 1.0 protocol. There are 7.5,8.0,9.0,9.1,9.2,9.3 versions of IBM MQ installations available in the market today. Out of which only 9.2 and above versions can support the integration between CI and IBM MQ.<BR /> <BR /> The Queues on IBM MQ can be connected from CI and the Topics which can be published can also be subscribed from CI using AMQP protocol.<BR /> <BR /> <EM>Note: Among the possible integrations with IBM MQ, Message Queues Integration using the AMQP protocol will be explained in detail.</EM><BR /> <BR /> <STRONG>Integration of SAP CI(BTP IS) with IBM MQ through AMQP</STRONG><BR /> <BR /> <STRONG>Prerequisites:</STRONG><BR /> <OL><BR /> <LI>Any IBM MQ server with version 9.2 and above. For Demo purpose using the trial IBM MQ from&nbsp;<A href="https://www.ibm.biz/ibmmqtrial" target="_blank" rel="nofollow noopener noreferrer">https://www.ibm.biz/ibmmqtrial</A>.</LI><BR /> <LI>SAP Cloud Connector with required roles to connect IS tenant and IBM MQ</LI><BR /> <LI>SAP BTP IS Tenant Access with required CI roles.</LI><BR /> </OL><BR /> <STRONG>Step-1: Install the IBM MQ 9.2 from the downloaded setup file</STRONG><BR /> <BR /> <STRONG>&nbsp;</STRONG>Select all the features and install them along with the MQ Explorer<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/09/1.jpg" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic">IBM MQ Setup File</P><BR /> Once installed successfully open the IBM MQ Explorer which should open as below<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/09/2-1.jpg" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic">IBM MQ Explorer</P><BR /> <STRONG>Step-2: Create the new Queue Manager (QM1)under the left side Queue Managers Pane</STRONG><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/09/3.jpg" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic">Queue Manager</P><BR /> <STRONG>Step-3: Create the new Queue (Q2) under the left side Queue Managers (QM1)</STRONG><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/09/4.jpg" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic">New Queue in the Queue Manager</P><BR /> <STRONG>Step-4: Create the new AMQP channel under the left side Queue Manager (QM1)</STRONG><BR /> <BR /> While Creating the AMQP channel provide the port as 5672 and start the channel. There will be a default AMQP channel which comes along with the installation stop it and use our configured AMQP channel. This is for the reason of handling the queues explicitly.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/09/5.jpg" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic">AMQP Channel</P><BR /> <STRONG>Step-5: Configure the Virtual Mapping to IBM MQ Internal System in Cloud Connector</STRONG><BR /> <BR /> Make sure the cloud connector is already connected successfully to the SAP BTP subaccount.<BR /> <BR /> The backend type should be “NON-SAP System” and the protocol should be “TCP” only<BR /> <BR /> Use the same port (5672) in system mapping which was given in the AMQP channel in IBM MQ and internal host on which the IBM MQ is installed and remaining virtual details as required.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/09/6.jpg" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic">Cloud Connector Virtual Mapping</P><BR /> Check the result of the reachable status on the internal host and port<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/09/7.jpg" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic">Test the Virtual Mapping</P><BR /> <STRONG>Step-6: Test the connectivity from SAP Integration Suite to Cloud Connector.</STRONG><BR /> <BR /> The location ID (TESTCC) is the same name which was given during the connection between cloud connector and SAP BTP subaccount.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/09/8.jpg" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic">Cloud Connector Connectivity Test from IS</P><BR /> <STRONG>Step-7: Test the connectivity from SAP Integration Suite to IBM MQ through AMQP</STRONG><BR /> <BR /> The virtual host and virtual port which was given during system mapping in cloud connector should be used along with the same location id.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/09/9.jpg" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic">AMQP Connectivity Test from IS</P><BR /> <STRONG>Step-8: Deploy the SASL username/password of IBM MQ in IS Security Material</STRONG><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/09/10.jpg" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic">SASL Credentials Deployed in Security Material</P><BR /> <STRONG>Step-9: Create an IFLOW to send the message to the IBM MQ queue using AMQP channel</STRONG><BR /> <BR /> Provide the virtual host and port details along with the Location ID as tested earlier.<BR /> <BR /> The credential name should be from the deployed security material.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/09/11.jpg" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic">To IBM MQ Through AMQP</P><BR /> Provide the destination type as Queue and use the same queue (Q2) created in IBM MQ<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/09/12.jpg" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic">Destination and Queue Details</P><BR /> For testing purpose providing the sample message in the Content Modifier as below.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/09/13.jpg" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic">Content Modifier with Message Body</P><BR /> <STRONG>Step-10: Create an IFLOW to read the message from the IBM MQ queue using AMQP channel</STRONG><BR /> <BR /> Provide the virtual host and port details along with the Location ID as tested earlier.<BR /> <BR /> The credential name should be from the deployed security material.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/09/14.jpg" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic">From IBM MQ through AMQP</P><BR /> For testing purpose storing the payload read from IBM MQ queue (Q2) using groovy script<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/09/15.jpg" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic">Queue Details to be processed</P><BR /> <STRONG>Monitoring the Messages in CI</STRONG><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/09/16.jpg" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic">CI Monitoring Dashboard</P><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/09/17.jpg" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic">Payload read from IBM MQ Queue</P><BR /> <STRONG>Monitoring the Messages in IBM MQ</STRONG><BR /> <BR /> <STRONG>Before Execution:</STRONG><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/09/18.jpg" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic">Before Execution with 0 read and write status</P><BR /> <STRONG>After Execution:</STRONG><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/09/19.jpg" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic">After Execution with 1 received and 1 sent status</P><BR /> <STRONG>Conclusion:</STRONG><BR /> <BR /> AMQP which is used mostly for Event Broker topics pub-sub can also be used for the exchanging of &nbsp;messaging queues data which provides a tight integration between CI and IBM MQ.<BR /> <BR /> At the time of migration from PI/PO to Integration Suite when the requirement to transfer the JMS scenarios connecting to IBM MQ should be done on CI then this blog provides the detail steps of initial configurations.<BR /> <BR /> If the data in the IBM MQ &nbsp;TOPICS to be stored and retrieved then similar configurations to be done considering the pub-sub approach of the Topics using AMQP protocol itself.<BR /> <BR /> <EM>Disclaimer:</EM><BR /> <BR /> This article is only for informational purpose that CI can be integrated with the IBM MQ also.<BR /> <BR /> Only an integration of one method has been shown as an example but no limitations in any perspective. 2023-09-02T08:22:17+02:00 https://community.sap.com/t5/enterprise-resource-planning-blogs-by-sap/sap-remote-access-connectivity-sap-rac-a-cost-effective-and-flexible/ba-p/13574877 SAP Remote Access Connectivity (SAP RAC): A Cost-Effective and Flexible Solution which simplifies seamless SAP Integration 2023-09-05T16:44:19+02:00 amitkumargajpal https://community.sap.com/t5/user/viewprofilepage/user-id/784994 <H1 id="toc-hId-834877225"><STRONG>Discover a World of Possibilities with SAP RAC!</STRONG></H1><BR /> <H2 id="toc-hId-767446439"><STRONG>Overview:</STRONG></H2><BR /> SAP RAC is primarily designed for Partners, offering them immediate entry to an expansive collection of SAP-maintained systems through a cloud-based service hosted on IaaS, liberating them from concerns related to system administration.<BR /> <BR /> With SAP RAC, you can say goodbye to complex system setups and costly investments in specialized expertise. SAP RAC revolutionizes the way you access SAP solutions by providing you with the agility to jump-start your integration projects, seamlessly integrating your applications with SAP solutions through open &amp; released SAP APIs and achieving certification from SAP.<BR /> <BR /> Choose from the latest offerings, including SAP S/4HANA and more. The SAP S/4HANA Fully Activated appliance, for instance, equips businesses with a wide range of features and capabilities. These include preconfigured end-to-end business scenarios, best practices, prebuilt master data, sample transactional data, preconfigured reporting and analytics, and guided configuration accelerators. Moreover, the appliance incorporates tools and templates to support data migration and integration with other systems.<BR /> <BR /> SAP BTP’s integration prowess makes it essential for offering on-premise SAP systems, as it allows businesses to seamlessly interlink on-premise systems with cloud-based counterparts.<BR /> <H2 id="toc-hId-570932934"><STRONG>Partner-Centric Innovation:<BR /> Rapid Adoption and Certification with Plug and Play Access</STRONG></H2><BR /> <H3 id="toc-hId-503502148"><STRONG>RAC Subscription Offers</STRONG></H3><BR /> <UL><BR /> <LI>Empowering Success: Explore the Latest S/4HANA Version (with Fully Activated Appliance and Sample Data).</LI><BR /> <LI>Seamless Operations: Enjoy Administration Support, Backup, and Peace of Mind.</LI><BR /> <LI>Enhance Connectivity: Seamlessly Integrate with Your SAP Systems.</LI><BR /> <LI>Integration Excellence: SAP BTP's Contribution to On-Premise SAP Systems.</LI><BR /> </UL><BR /> <H3 id="toc-hId-306988643"><STRONG>Shedding Traditional On-Premise Troubles</STRONG></H3><BR /> <UL><BR /> <LI>A Stressful Endeavor: Wrestling with Infrastructure and Software Installation.</LI><BR /> <LI>Strained IT Budgets and Crumbling Administration Support: A Double Blow.</LI><BR /> <LI>License Management Woes.</LI><BR /> <LI>Test Data Setup Nightmare: When Plans Collide with Reality.</LI><BR /> </UL><BR /> <H2 id="toc-hId--18607581"><STRONG>Key Benefits of SAP RAC</STRONG></H2><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/09/Key-Benefits-of-SAP-RAC.png" /></P><BR /> <BR /> <H2 id="toc-hId--215121086"><STRONG>A Glimpse at the Two SAP Environment Options from RAC</STRONG></H2><BR /> <H3 id="toc-hId--282551872"><STRONG>Shared Environment</STRONG></H3><BR /> A shared environment is a cost-effective way to access SAP systems. Multiple RAC subscribers can access the same system concurrently, which can save you money on hardware and software costs. Shared environments are also a good way to collaborate with partners on SAP projects. This could save them time and money, and it could also help to ensure that the integration is successful.<BR /> <H3 id="toc-hId--479065377"><STRONG>Dedicated Environment</STRONG></H3><BR /> A dedicated environment is ideal for partners who need to customize SAP systems to a significant extent or who require 24/7 access to a system. Dedicated environments offers the flexibility to configure the system specific to the needs and to have full control over the environment.<BR /> <BR /> <STRONG>&nbsp;</STRONG><BR /> <H2 id="toc-hId--804661601"><STRONG>SAP RAC Subscription: Pricing &amp; Extensive Offerings</STRONG></H2><BR /> <H3 id="toc-hId--947323756"><STRONG>Tailored SAP RAC Subscriptions and Pricing Options:</STRONG></H3><BR /> SAP RAC offers a varied range of subscription options to meet the unique needs of different partners. Whether you need a shared environment for integration testing or a dedicated environment for development and extensive customization, SAP RAC has a solution that can help you achieve your business goals.<BR /> <H2 id="toc-hId--850434254"><STRONG>SAP RAC Subscriptions</STRONG></H2><BR /> SAP RAC offers a variety of subscription variants to meet your specific needs.<BR /> <H3 id="toc-hId--1340350766"><STRONG>SAP Standard RAC Subscription:</STRONG></H3><BR /> The Standard SAP RAC subscription comes in 3 variants to cater to the diverse needs of the partners:<BR /> <OL><BR /> <LI><STRONG>SAP RAC Basic:</STRONG> This variant provides one user access to a system shared with multiple partners for a subscription term of one year or two years. The subscription renews automatically at the end of the term, if not cancelled.</LI><BR /> <LI><STRONG>SAP RAC:</STRONG> The standard variant of SAP RAC provides two users access to two systems shared with other partners for a subscription term of 3 months, one year, or two years. The one-year and 2-year subscriptions renew automatically at the end of the term, if not canceled.</LI><BR /> <LI><STRONG>SAP RAC Advanced:</STRONG> The advanced variant of SAP RAC provides up to three users access to three systems shared with other partners, for a subscription term of 3 months, one year, or two years. The one-year and two-year subscriptions renew automatically at the end of the term, if not canceled.</LI><BR /> </OL><BR /> Partners accessing the shared system will have controlled privileges, complemented by purposefully designated roles that facilitate the smooth execution of SAP system integration scenarios and completion of SAP ICC certifications.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/09/SAR-RAC-ShareSystem-Subscription2.png" /></P><BR /> <BR /> <H3 id="toc-hId--1536864271"><STRONG>SAP RAC Premium Subscription</STRONG></H3><BR /> <STRONG>The premium subscription includes 2 variants:</STRONG><BR /> <OL><BR /> <LI><STRONG> SAP RAC Premium:</STRONG></LI><BR /> </OL><BR /> The SAP RAC Premium variant offers a dedicated and meticulously managed SAP environment, catering to exceptional remote testing and landscape support. This option is particularly suitable for software vendors requiring extensive system customizations that might not be feasible in a shared environment. The Premium variant of SAP RAC grants up to ten users access to a dedicated system for subscription terms of 6 months or one year. Subscription renewal is required explicitly at the end of the term. The subscribed system is available for use 24 hours a day, making it well-suited for distributed teams.<BR /> <OL start="2"><BR /> <LI><STRONG> SAP RAC Premium Flexi:</STRONG></LI><BR /> </OL><BR /> The SAP RAC Premium Flexi variant provides a dedicated SAP environment without additional application or database support. It's an excellent choice for extensive customizations that may not be practical within a shared environment. Similar to the Premium variant, the Premium Flexi option grants up to ten users access to a dedicated system for subscription terms of 6 months or one year. Subscription renewal is necessary at the end of each term. The Premium Flexi system is designed for use 12 hours a day, as chosen by the partner at the start of the subscription. It's ideal for co-located teams.<BR /> <BR /> Additionally, technical support is available as an add-on for the SAP RAC Premium Flexi variant.<BR /> Please contact the SAP RAC team for more details about the support, which covers various tasks such as availability monitoring, troubleshooting, kernel upgrades, patch management, backups, networking, infrastructure lifecycle activities, and capacity planning.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/09/RAC-Preimum-Pricing-Final-.png" /></P><BR /> To inquire about the availability and fee for systems with non-HANA DB, or for longer SAP RAC Subscriptions, please contact the RAC team or write to <STRONG><A href="mailto:rac-support@sap.com" target="_blank" rel="nofollow noopener noreferrer">SAP RAC Support.</A></STRONG><BR /> <H3 id="toc-hId--1733377776"><STRONG>Pricing</STRONG></H3><BR /> The pricing for SAP RAC subscriptions is based on the subscription variant, the number of systems, and the level of support.<BR /> <H3 id="toc-hId--1929891281"><STRONG>Choosing the Right Subscription Model</STRONG></H3><BR /> The best subscription model for your business will depend on your specific needs. If you need a shared environment to collaborate with partners, then a standard subscription variant may be the best option for you. If you need to customize SAP systems to a significant extent or require 24/7 access to a system, then a premium subscription variant may be the best option for you.<BR /> <BR /> It is strongly advised that partners discuss their proposed usage with SAP ICC for the respective RAC variant prior to the subscription.<BR /> <H3 id="toc-hId--2126404786"><STRONG>Popular Use Cases</STRONG></H3><BR /> <UL><BR /> <LI>Integrate partner applications through SAP Integration Suite, from SAP BTP, with SAP systems as backend utilizing the APIs released by SAP.</LI><BR /> <LI>Integrate partner applications using&nbsp;Java or .Net connectors with SAP solutions utilizing the released APIs.</LI><BR /> <LI>Develop custom add-ons in-stack with SAP solutions for creating own function modules, reports, transactions, user exits, or own remote APIs.</LI><BR /> <LI>Utilize pre-loaded data for testing or create own data or customize the system settings or develop config settings.</LI><BR /> </UL><BR /> <H3 id="toc-hId-1972049005"><STRONG>Optimize Your Benefits through Enhanced Technical Assistance</STRONG></H3><BR /> Technical support is also available as an add-on for the SAP RAC Premium Flexi variant. You can contact the SAP RAC team for details to cover various tasks including availability monitoring, troubleshooting, kernel upgrades, patch management, backups, networking, infrastructure lifecycle activities, and capacity planning. Contact the SAP RAC team for more details.<BR /> <H3 id="toc-hId-1775535500"><STRONG>A Thoughtful Approach to Your Needs</STRONG></H3><BR /> We understand that every partner’s requirement is different, and we offer a variety of subscription variants to meet them. Whether you need a shared environment for integration testing or a dedicated environment for extensive customization, SAP RAC has a solution that can help you achieve your business goals.<BR /> <H3 id="toc-hId-1579021995"><A href="https://www.sap.com/documents/2023/08/e63f8d04-887e-0010-bca6-c68f7e60039b.html" target="_blank" rel="noopener noreferrer"><STRONG>Contact Us Today</STRONG></A></H3><BR /> If you're looking for a powerful and flexible way to access SAP solutions, then SAP RAC is the perfect solution for you. Contact us today to learn more about how SAP RAC can help you achieve your business goals. For further information or inquiries, please reach out to the SAP ICC at <A href="mailto:rac-support@sap.com" target="_blank" rel="nofollow noopener noreferrer">rac-support@sap.com</A>.<BR /> <BR /> I hope you found this blog post helpful. Please like and share if you did. I'd love to hear your feedback in the comments below.<BR /> <BR /> Thank you. 2023-09-05T16:44:19+02:00 https://community.sap.com/t5/technology-blogs-by-sap/setup-sap-s-4hana-on-premise-and-sap-business-application-studio-bas/ba-p/13572590 Setup SAP S/4HANA On Premise and SAP Business Application Studio (BAS) 2023-10-24T10:31:11+02:00 JonasGermann https://community.sap.com/t5/user/viewprofilepage/user-id/152150 Recently I had some discussions about the SAP Business Application Studio (BAS) and SAP S/4HANA On Premise. Therefore, I have compiled all the sources we looked at during the discussions into one blog post here. This blog post is interesting for you if you are using Web IDE now, and you are thinking about to switch to the SAP BAS. This blog post is also interesting if you have a hybrid IT landscape, i.e. a mixture of cloud and on premise solutions. In this example, you have a S/4HANA On Premise and want to use the SAP BTP to develop Fiori Apps or a SAPUI5 App.<BR /> <BR /> First things first. What is the SAP Application Studio? The SAP Business Application Studio (the next generation of SAP Web IDE) is a powerful and modern development environment, tailored for efficient development of business applications for the Intelligent Enterprise. Available as a cloud service, it provides developers a desktop-like experience like market leading IDEs, while accelerating time-to-market with high-productivity development tools such as wizards and templates, graphical editors, quick deployment, and more. --&gt; <A href="https://discovery-center.cloud.sap/serviceCatalog/business-application-studio?region=all" target="_blank" rel="nofollow noopener noreferrer">Link</A> to the Discovery Center<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/10/BAS-1.png" /></P><BR /> Deep dive into the functions of the SAP BAS --&gt; <A href="https://blogs.sap.com/2020/07/14/sap-business-application-studio-info-blog/" target="_blank" rel="noopener noreferrer">SAP Business Application Studio – Info Blog I</A> &amp; <A href="https://blogs.sap.com/2021/01/26/sap-business-application-studio-info-blog-ii/" target="_blank" rel="noopener noreferrer">SAP Business Application Studio- Info Blog II</A><BR /> <BR /> What is the difference between SAP BAS and Web IDE? --&gt; <A href="https://blogs.sap.com/2021/02/09/sap-business-application-studio-and-sap-web-ide-full-stack/" target="_blank" rel="noopener noreferrer">Link</A><BR /> <BR /> A very important fact:<BR /> <BR /> SAP BAS is available on the Cloud Foundry environment on SAP BTP<BR /> <BR /> SAP Web IDE is available on the Neo environment on SAP BTP and the Neo environment will be sunset on December 31 2028 --&gt; <A href="https://blogs.sap.com/2023/06/14/farewell-neo-sap-btp-multi-cloud-environment-the-deployment-environment-of-choice/" target="_blank" rel="noopener noreferrer">Link</A>.<BR /> <BR /> That’s why we also talked about how to migrate SAP Fiori projects from Web IDE to SAP BAS --&gt; <A href="https://blogs.sap.com/2022/01/06/migrate-sap-fiori-projects-from-sap-web-ide-to-sap-business-application-studio/" target="_blank" rel="noopener noreferrer">Link</A><BR /> <BR /> How to Migrate an SAP Web IDE Project to SAP Business Application Studio --&gt; <A href="https://www.youtube.com/watch?v=K_turonL1Hs&amp;ab_channel=SAPPRESS" target="_blank" rel="nofollow noopener noreferrer">Link</A> to a video<BR /> <BR /> If you want to use a S/4HANA On Premise and the SAP BAS, the connection between the two solutions is as follows:<BR /> <BR /> S/4HANA On Premise Backend -&gt;SAP Cloud Connector -&gt;Cloud Destination in the SAP BTP Cockpit -&gt; BAS CAP Project -&gt; External Service -&gt;Service Entity -&gt; Fiori App or MDK App to consume the services -&gt;deploy to Cloud Foundry<BR /> <BR /> Now we will look in more detail at the implementation of the individual points of the connection.<BR /> <BR /> Consume SAP S/4HANA or SAP S/4HANA Cloud Events Using SAP Business Application Studio --&gt; <A href="https://www.youtube.com/watch?app=desktop&amp;v=vR78mU0flx8" target="_blank" rel="nofollow noopener noreferrer">Link</A><BR /> <BR /> Connecting to SAP S/4HANA (On Premise) --&gt; <A href="https://help.sap.com/docs/PLM_CP/fd39efd120a74b37a1acca61d63bacaf/1d655f0c0b8e4b5993b53881c0a202a5.html" target="_blank" rel="noopener noreferrer">Instructions</A><BR /> <BR /> SAP Cloud Connector --&gt; <A href="https://blogs.sap.com/2022/02/03/cloud-connector-explained-in-simple-terms/" target="_blank" rel="noopener noreferrer">Here is an explanation</A> of the Cloud Connector. You need the Cloud Connector to connect a On Premise solution with the SAP BTP. The Cloud connector is providing a secure tunnel between the two environments.<BR /> <BR /> How to connect On Premise SAP to BTP using SAP Cloud Connector. This is a guide on how to install the Cloud Connector and connect the On Premise environment and SAP BTP. --&gt; <A href="https://blogs.sap.com/2022/07/18/how-to-connect-on-premise-sap-to-btp-using-sap-cloud-connector/" target="_blank" rel="noopener noreferrer">Link</A><BR /> <BR /> If you want to consume Remote Function Calls (RFC --&gt; <A href="https://help.sap.com/saphelp_gbt10/helpdata/EN/48/88068ad9134076e10000000a42189d/content.htm?no_cache=true" target="_blank" rel="noopener noreferrer">Documentation</A>) here is <A href="https://blogs.sap.com/2020/05/07/configure-cloud-connector-for-rfc-connection-from-cloud-to-on-premise/" target="_blank" rel="noopener noreferrer">a guide</A> on how to set up your SAP Cloud Connector.<BR /> <BR /> Link to a developer mission on how to create a destination in the SAP BTP cockpit --&gt; <A href="https://developers.sap.com/tutorials/cp-cf-create-destination.html" target="_blank" rel="noopener noreferrer">Link</A><BR /> <BR /> You never developed a SAPUI5 Web App on Cloud Foundry? <A href="https://developers.sap.com/mission.sapui5-cf-first.html" target="_blank" rel="noopener noreferrer">Here is a guide</A> for you <span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:">😊</span> Along the way, you also learn how to use the BTP and the SAP Build Work Zone.<BR /> <BR /> You want to develop a MDK app (Mobile Development Kit) --&gt; <A href="https://developers.sap.com/mission.mobile-dev-kit-get-started.html" target="_blank" rel="noopener noreferrer">Link</A><BR /> <BR /> &nbsp;<BR /> <BR /> Additional informations:<BR /> <BR /> Of course, you want to work in a team on a BAS project, so you must share it. Git is here the best option you have. A guide: <A href="https://learning.sap.com/learning-journey/develop-full-stack-applications-using-productivity-tools-in-sap-business-application-studio/sharing-the-project-via-git_e6a41d5d-68af-4e5f-ab08-e524002d6855" target="_blank" rel="noopener noreferrer">Sharing the Project via Git</A><BR /> <BR /> A lot of persons want to use (existing) CDS views. When it comes to Core Data Services (CDS) views and the SAP BAS:<BR /> <BR /> SAP Developer Mission --&gt; <A href="https://developers.sap.com/tutorials/hana-cloud-cap-calc-view.html#ef165989-0ade-4ec3-8d6d-44acc1e9d067" target="_blank" rel="noopener noreferrer">Create Calculation View and Expose via CAP (SAP HANA Cloud)</A><BR /> <BR /> Deploy End to End FIORI Consuming CDS Views from ADT(On-Premise) using BTP ( Business Application Studio). --&gt; <A href="https://blogs.sap.com/2023/02/28/deploy-end-to-end-fiori-consuming-cds-views-from-adton-premise-using-btp-business-application-studio./" target="_blank" rel="noopener noreferrer">Link</A><BR /> <BR /> When it comes to Core Data Services (CDS) views and SAP ABAP you can use the ABAP environment on the SAP BTP:<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/10/ABAP-2-1.png" /></P><BR /> <A href="https://discovery-center.cloud.sap/serviceCatalog/abap-environment?region=all" target="_blank" rel="nofollow noopener noreferrer">Link</A> to the Discovery Center for a explanation about the ABAP environment.<BR /> <BR /> Here you have a very recent presentation where where you see how to build a Fiori app on the SAP BTP with the ABAP environment. --&gt; <A href="https://www.youtube.com/watch?v=2i0AtjbGTTU&amp;ab_channel=SAPDevelopers" target="_blank" rel="nofollow noopener noreferrer">SAP BTP ABAP Environment – How to Build a Multitenancy SaaS Application</A><BR /> <BR /> For more insights feel free to join the <A href="https://community.sap.com/topics/business-application-studio" target="_blank">SAP Business Application Studio Community</A><BR /> <BR /> I would like to take this moment to thank all my colleagues for the great blog posts and SAP missions they created.<BR /> <BR /> &nbsp; 2023-10-24T10:31:11+02:00 https://community.sap.com/t5/sap-learning-blog-posts/how-can-i-connect-sap-btp-applications-and-on-premise-systems-using-the/ba-p/298931 How can I connect SAP BTP applications and on-premise systems using the Cloud Connector? 2023-10-30T11:40:40.522000+01:00 Margit_Wagner https://community.sap.com/t5/user/viewprofilepage/user-id/491 <P>You can build the skills you need, for free and at your own pace with our Digital Learning Journey.&nbsp;<BR />on&nbsp;&nbsp;our&nbsp;<A title="SAP Learning Site&nbsp;" href="https://learning.sap.com/learning-journey" target="_blank" rel="noopener noreferrer">SAP Learning Site</A></P><DIV><P>I recommend to access our&nbsp;<SPAN><A title="Connecting SAP BTP and On-Premise Systems using the Cloud Connector learning journey" href="https://learning.sap.com/learning-journey/connecting-sap-btp-and-on-premise-systems-using-the-cloud-connector" target="_blank" rel="noopener noreferrer">Connecting SAP BTP and On-Premise Systems using the Cloud Connector learning journey</A></SPAN></P><DIV><P><STRONG>Overview<BR /></STRONG><SPAN>In this Learning Journey, you will learn how to connect SAP BTP applications and on-premise systems using the Cloud Connector.</SPAN></P><P><STRONG>Learning objectives<BR /></STRONG>After completing this Learning Journey, you will be able to install, configure, and securely operate the Cloud Connector.&nbsp;</P><P>In the context of this Learning Journey, you will first gain an <STRONG>overview of the key features of the Cloud Connector.</STRONG> Afterwards, you will d<STRONG>iscover installation and initial configuration</STRONG>. You will continue to be presented with an e<STRONG>xemplary use case.</STRONG> Moreover, you will l<STRONG>earn how to monitor the Cloud Connector</STRONG> and <STRONG>how to set up a High Availability environment using a shadow instance</STRONG>.&nbsp;</P><P><STRONG>Prerequisites</STRONG></P><UL><LI><SPAN>Knowledge of SAP BTP or</SPAN><SPAN>&nbsp;</SPAN><A class="" title="Discovering SAP Business Technology Platform" href="https://learning.sap.com/learning-journey/discover-sap-business-technology-platform" target="_blank" rel="noopener noreferrer">Discovering SAP Business Technology Platform</A><SPAN>&nbsp;</SPAN></LI></UL><P>&nbsp;</P><DIV><P><SPAN>I hope this is helpful</SPAN></P><DIV><P class=""><STRONG>Please ask a question related&nbsp;to the digital learning journey in the&nbsp;<A title="Q&amp;A area" href="https://groups.community.sap.com/t5/sap-learning/gh-p/learning" target="_blank" rel="noopener noreferrer">Q&amp;A area</A></STRONG></P><P class=""><SPAN>Our SAP Learning Experts will get back to you as soon as possible!&nbsp;We are here to support you.</SPAN></P><DIV><DIV><DIV><P><SPAN>We appreciate your feedback and we will make sure to continue sharing interesting topics.</SPAN></P><P><SPAN>Kind regards<BR />Margit</SPAN></P></DIV></DIV></DIV></DIV></DIV></DIV></DIV> 2023-10-30T11:40:40.522000+01:00 https://community.sap.com/t5/technology-blogs-by-sap/connectivity-between-sap-business-application-studio-and-xs-advanced/ba-p/13574015 Connectivity between SAP Business Application Studio and XS Advanced 2023-11-02T16:18:00+01:00 Sushil01 https://community.sap.com/t5/user/viewprofilepage/user-id/160869 <H2 id="toc-hId-963952068"><STRONG>Introduction:</STRONG></H2><P><BR />In this blog post, we will walk through the process of establishing a connection between the SAP Business Application Studio, a powerful cloud service, and the on-premise backend systems. This setup will allow you to develop, test, and deploy applications seamlessly, leveraging the best of both cloud and on-premise capabilities.<BR /><BR />Before we dive into the steps, it's important to ensure you have a few things in place.</P><H2 id="toc-hId-767438563"><STRONG>Pre-requisites:</STRONG></H2><P><BR /><BR /></P><OL><OL><LI><A href="https://help.sap.com/docs/SAP_HANA_PLATFORM?task=implement_task" target="_blank" rel="noopener noreferrer"><STRONG>SAP HANA Platform</STRONG></A>:&nbsp; You should have an instance of the SAP HANA Platform already set up and available in your on-premise environment.</LI><LI><A href="https://help.sap.com/docs/SAP_HANA_PLATFORM/4505d0bdaf4948449b7f7379d24d0f0d/1547c14105be409ebfc3a9e9634a7188.html" target="_blank" rel="noopener noreferrer"><STRONG>SAP HANA Extended Application Services Advanced (XS Advanced)</STRONG></A><SPAN>: The XS Advanced platform should be set up and ready to go. This is crucial for developing and deploying web applications on the SAP HANA Platform.</SPAN></LI><LI><A href="https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/installation" target="_blank" rel="noopener noreferrer"><STRONG>Cloud Connector</STRONG>:</A><SPAN> The Cloud Connector should be installed. This software acts as a link between your on-premise systems and the cloud services.</SPAN></LI><LI><A href="https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/cloud-connector" target="_blank" rel="noopener noreferrer"><STRONG>Familiarity with Cloud Connector Setup</STRONG></A><SPAN>: While we will cover the basic setup, it's crucial to have a basic understanding of setting up the Cloud Connector.</SPAN></LI><LI><STRONG>Connection to SAP BTP Sub account in Cloud Connector</STRONG><SPAN>: Ensure you're connected to your SAP Business Technology Platform (BTP) Sub account through the Cloud Connector. This connection is essential for linking your cloud and on-premise services.</SPAN></LI></OL></OL><P>Now that we have the prerequisites covered, let's dive into the step-by-step process of setting up the connectivity.<BR /><BR />To expose on-premise backend systems, we need to collect the endpoints for those systems.</P><H2 id="toc-hId-570925058"><STRONG>Here's a breakdown of the required endpoints:</STRONG></H2><OL><OL><LI><STRONG>XS advanced controller</STRONG> (controllerEndpoint): This endpoint is needed to connect to the XS advanced controller. You can find the endpoint URL by using the command "<A href="https://blogs.sap.com/wp-content/uploads/2023/10/endpoints1.png" target="_blank" rel="noopener noreferrer">xs -v</A>" in your command line interface.</LI><LI><STRONG>XS advanced User Account and Authentication (XSUAA)</STRONG><SPAN> (authorizationEndpoint): The XSUAA endpoint is necessary for user account and authentication purposes. You can obtain the endpoint URL using the same "</SPAN><A href="https://blogs.sap.com/wp-content/uploads/2023/10/endpoints1.png" target="_blank" rel="noopener noreferrer">xs -v</A><SPAN>" command.</SPAN></LI><LI><STRONG>SAP HANA cockpit</STRONG><SPAN> (hana-cockpit) service: The endpoint URL for the SAP HANA cockpit service is also required. You can find this URL using the "</SPAN><A href="https://blogs.sap.com/wp-content/uploads/2023/10/endpoints1.png" target="_blank" rel="noopener noreferrer">xs -v</A><SPAN>" command.</SPAN></LI><LI><STRONG>The Multitarget Application(MTA) Archive deployer service</STRONG><SPAN> (deploy-service): The endpoint URL for the MTA deployer service is needed as well. You can obtain this URL by using the "</SPAN><A href="https://blogs.sap.com/wp-content/uploads/2023/10/endpoints1.png" target="_blank" rel="noopener noreferrer">xs -v</A><SPAN>" command.</SPAN></LI><LI><STRONG>SAP HANA run-time-tools service</STRONG><SPAN> (hrtt-service): To find the endpoint URL for the SAP HANA run-time-tools service, you can use the command "</SPAN><A href="https://blogs.sap.com/wp-content/uploads/2023/10/endpoints2.png" target="_blank" rel="noopener noreferrer">xs app hrtt-service</A><SPAN>".</SPAN></LI><LI><STRONG>The SID and instance number of the SAP HANA database</STRONG><SPAN> that is mapped to XS advanced: To find the SID and instance number, use the command "</SPAN><A href="https://blogs.sap.com/wp-content/uploads/2023/10/endpoints3.png" target="_blank" rel="noopener noreferrer">xs tenant-databases</A><SPAN>" and copy the value of the sql-port. The second and third digits of the port number represent the instance number.</SPAN></LI></OL></OL><P>In case of doubt, refer to the following screenshots:</P><P>&nbsp;</P><P><IMG src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/10/endpoints1.png" border="0" /></P><P>&nbsp;</P><P><SPAN>Collect endpoints for controllerEndpoint, authorizationEndpoint, hana-cockpit, and deploy-service</SPAN></P><P>&nbsp;</P><P><IMG src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/10/endpoints2.png" border="0" /></P><P>&nbsp;</P><P><SPAN>Collect endpoints for hrtt-service</SPAN></P><P>&nbsp;</P><P><IMG src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/10/endpoints3.png" border="0" /></P><P>&nbsp;</P><P><SPAN>Collect endpoints SAP HANA SID and sql-port</SPAN></P><P><BR /><BR /></P><H2 id="toc-hId-374411553">Cloud Connector</H2><P><BR />The Cloud Connector is a vital tool that allows the SAP Business Technology Platform (BTP) to connect with XS Advanced and the underlying on-premise system(s). The Cloud Connector can be installed and set up on any host that can access the system hosting the backend system.<BR /><BR /><SPAN>To connect SAP BTP to XS Advanced, it's important to know the default HOST and HTTP/TCP ports:</SPAN><BR /><BR />For SAP HANA (both the system database and the default tenant database), the required TCP port range is 3&lt;HANA_INST_#&gt;13 - 3&lt;HANA_INST_#&gt;17. For instance, if the instance number of the SAP HANA database is "00", the range would be 30013 - 30017.<BR /><BR /><STRONG>Note: In this blog, we'll use 06 as the instance number. This might be different for you.</STRONG><BR /><BR />For additional tenant databases, three ports per tenant are required, with the range being 3&lt;HANA_INST_#&gt;40 - 3&lt;HANA_INST_#&gt;42.</P><H3 id="toc-hId-306980767">Configuring SAP Cloud Connector</H3><P><BR /><BR /></P><UL><UL><LI>Connect your BTP Sub-account(see the screenshot)<IMG src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/10/connect_btp_subaccount.png" border="0" /></LI></UL></UL><P>&nbsp;</P><UL><UL><LI>Click on Cloud To On-Premise to expose your backend systems(or services)</LI></UL></UL><P>&nbsp;</P><UL><UL><LI>For all backend systems except SAP HANA, expose a new system by clicking the + icon and providing the following details:<BR /><BR /><OL><OL><LI>Back-end Type: <A href="https://blogs.sap.com/wp-content/uploads/2023/10/Screenshot-2023-10-26-at-15.07.20.png" target="_blank" rel="noopener noreferrer">Other SAP System</A></LI><LI>Protocol: <A href="https://blogs.sap.com/wp-content/uploads/2023/10/Screenshot-2023-10-26-at-15.07.30-1.png" target="_blank" rel="noopener noreferrer">HTTPS</A></LI><LI>Internal Host: <A href="https://blogs.sap.com/wp-content/uploads/2023/10/Screenshot-2023-10-26-at-15.08.17-1.png" target="_blank" rel="noopener noreferrer">endpoint without port</A><SPAN> (we collected these in the beginning)</SPAN></LI><LI>Internal Port: <A href="https://blogs.sap.com/wp-content/uploads/2023/10/Screenshot-2023-10-26-at-15.08.17-1.png" target="_blank" rel="noopener noreferrer">port</A></LI><LI>Virtual Host: <A href="https://blogs.sap.com/wp-content/uploads/2023/10/Screenshot-2023-10-26-at-15.08.34-1.png" target="_blank" rel="noopener noreferrer">choose same as internal host name</A><SPAN>(you'll need this later)</SPAN></LI><LI>Virtual Port: <A href="https://blogs.sap.com/wp-content/uploads/2023/10/Screenshot-2023-10-26-at-15.08.34-1.png" target="_blank" rel="noopener noreferrer">choose same as internal port</A><SPAN>(you'll need this later)</SPAN></LI><LI>Principal Type: <A href="https://blogs.sap.com/wp-content/uploads/2023/10/Screenshot-2023-10-26-at-15.08.41-1.png" target="_blank" rel="noopener noreferrer">None</A></LI><LI>Host In Request Header: <A href="https://blogs.sap.com/wp-content/uploads/2023/10/Screenshot-2023-10-26-at-15.08.50-1.png" target="_blank" rel="noopener noreferrer">Use Virtual Host</A></LI><LI>Description: <A href="https://blogs.sap.com/wp-content/uploads/2023/10/Screenshot-2023-10-26-at-15.09.38-1.png" target="_blank" rel="noopener noreferrer">Provide a description, it is optional</A></LI><LI><A href="https://blogs.sap.com/wp-content/uploads/2023/10/Screenshot-2023-10-26-at-15.09.53-1.png" target="_blank" rel="noopener noreferrer">Check Internal Host</A></LI><LI>Click Finish. (<STRONG>Check if the system is reachable. The value of column Check Result will be "Reachable" if a host is reachable from your cloud connector. If not, then contact the System Administrator)</STRONG></LI></OL></OL></LI></UL></UL><P>In case of doubt, refer to the following screenshots:</P><P>&nbsp;</P><P><IMG src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/10/Screenshot-2023-10-26-at-15.07.20.png" border="0" /></P><P>&nbsp;</P><P><SPAN>Choose Back-end Type</SPAN></P><P>&nbsp;</P><P><IMG src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/10/Screenshot-2023-10-26-at-15.07.30-1.png" border="0" /></P><P>&nbsp;</P><P><SPAN>Choose Protocol</SPAN></P><P>&nbsp;</P><P><IMG src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/10/Screenshot-2023-10-26-at-15.08.17-1.png" border="0" /></P><P>&nbsp;</P><P><SPAN>Choose Internal Host and Internal Port</SPAN></P><P>&nbsp;</P><P><IMG src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/10/Screenshot-2023-10-26-at-15.08.34-1.png" border="0" /></P><P>&nbsp;</P><P><SPAN>Choose Virtual Host and Virtual Port</SPAN></P><P>&nbsp;</P><P><IMG src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/10/Screenshot-2023-10-26-at-15.08.41-1.png" border="0" /></P><P>&nbsp;</P><P><SPAN>Choose Principal Type</SPAN></P><P>&nbsp;</P><P><IMG src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/10/Screenshot-2023-10-26-at-15.08.50-1.png" border="0" /></P><P>&nbsp;</P><P><SPAN>Choose Host In Request Header</SPAN></P><P>&nbsp;</P><P><IMG src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/10/Screenshot-2023-10-26-at-15.09.38-1.png" border="0" /></P><P>&nbsp;</P><P><SPAN>Provide optional description</SPAN></P><P>&nbsp;</P><P><IMG src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/10/Screenshot-2023-10-26-at-15.09.53-1.png" border="0" /></P><P>&nbsp;</P><P><SPAN>Check Internal Host</SPAN></P><P>&nbsp;</P><P><IMG src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/10/Screenshot-2023-10-26-at-15.11.16.png" border="0" /></P><P><BR />After exposing the systems, add resources for each system<BR /><BR /></P><UL><UL><LI>Add Resource<BR /><BR /><OL><OL><LI>Click on the internal hostname field</LI><LI>Click the "+" icon in resources section</LI><LI>Choose values as shown in the screenshot below</LI></OL></OL></LI></UL></UL><UL><UL><LI>&nbsp;</LI></UL></UL><P><IMG src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/10/Screenshot-2023-10-26-at-15.23.36.png" border="0" /></P><P>&nbsp;</P><UL><UL><LI>For SAP HANA, click the + icon and provide the following details<BR /><BR /><OL><OL><LI>Back-end Type: SAP HANA</LI><LI>Protocol: TCP SSL(or TCP depending on your SAP HANA installation)</LI><LI>Internal Host: endpoint without port (you fetched these in the beginning)</LI><LI>Internal Port: sql-port</LI><LI>Virtual Host: choose any valid virtual host name(You may choose any unused host name, we'll need this later)</LI><LI>Virtual Port: choose any valid virtual port(You may choose any unused port, you'll need this later)</LI><LI>Principal Type: None</LI><LI>Host In Request Header: Use Virtual Host</LI><LI>Description: Provide a description, it is optional</LI><LI>Check Internal Host</LI><LI>Click Finish</LI></OL></OL></LI></UL></UL><UL><UL><LI>For SAP HANA, click the + icon and provide the following details<BR /><BR /><OL><OL><LI>Back-end Type: SAP HANA</LI><LI>Protocol: TCP SSL(or TCP depending on your SAP HANA installation)</LI><LI>Internal Host: endpoint without port (you fetched these in the beginning)</LI><LI>Internal Port: sql-port</LI><LI>Virtual Host: <STRONG>Non-FQDN, e.g. my</STRONG><SPAN>(You may choose any unused host name, we'll need this later)</SPAN></LI><LI>Virtual Port: same port chosen in the previous step</LI><LI>Principal Type: None</LI><LI>Host In Request Header: Use Virtual Host</LI><LI>Description: Provide a description, it is optional</LI><LI>Check Internal Host</LI><LI>Click Finish</LI></OL></OL></LI></UL></UL><P>Your exposed systems list should be like the list in the screenshot below:</P><P><IMG src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/10/Screenshot-2023-10-26-at-15.31.10.png" border="0" /></P><P>&nbsp;</P><P><SPAN>Exposed Systems list in Cloud connector</SPAN></P><P><BR />If all the systems are reachable then you're good to go for the next step i.e. destinations configuration in your SAP BTP Sub-account<BR /><BR />&nbsp;</P><H2 id="toc-hId--18615457">SAP BTP Destinations</H2><OL><OL><LI>Login to SAP BTP</LI><LI>Navigate to your sub-account</LI><LI>Click Connectivity &gt; Destinations</LI></OL></OL><P><BR /><BR /></P><P><IMG src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/10/subaccount.png" border="0" /></P><P>&nbsp;</P><P><SPAN>Select Destinations in SAP BTP Sub-account</SPAN></P><P><BR /><BR /></P><H3 id="toc-hId--86046243">Create XS Controller Destination</H3><P><BR />Click <A href="https://blogs.sap.com/wp-content/uploads/2023/10/create-destination.png" target="_blank" rel="noopener noreferrer">Create Destination</A> and fill in the following values:<BR /><BR /></P><OL><OL><LI>Name: SAP_XS_Advanced_Runtime</LI><LI>Type: HTTP</LI><LI>Description: Optional text</LI><LI>URL: <A href="http://my.acme.com" target="_self" rel="nofollow noopener noreferrer">http://&lt;virtual-</A><SPAN><A href="http://my.acme.com" target="_self" rel="nofollow noopener noreferrer">host-for-controller-endpoint&gt;:&lt;virtual port&gt;</A>. Example: </SPAN><A href="http://my.acme.com:30630" target="test_blank" rel="nofollow noopener noreferrer">http://my.acme.com:30630</A></LI><LI>Proxy Type: OnPremise</LI><LI>Authentication: NoAuthentication</LI><LI>For additional properties, click "New Property Button" and choose the following key values</LI></OL></OL><UL><UL><LI>HTML5.DynamicDestination : True</LI></UL></UL><UL><UL><LI>WebIDEEnabled : True</LI></UL></UL><UL><UL><LI>XsApiEndpoint : http\://&lt;virtual host for controller endpoint&gt;\:&lt;virtual port&gt;. Example: <SPAN><STRONG>http\://my.acme.com\:30630</STRONG></SPAN></LI></UL></UL><P style=" padding-left : 60px; ">8. Click Save button</P><P><IMG src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/10/create-destination.png" border="0" /></P><P>&nbsp;</P><P><SPAN>Create Destination</SPAN></P><P><IMG src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/10/controller.png" border="0" /></P><P>&nbsp;</P><P><SPAN>XS Controller Destination</SPAN></P><P>&nbsp;</P><H3 id="toc-hId--282559748">Create XSUAA Destination</H3><P><BR />Click <A href="https://blogs.sap.com/wp-content/uploads/2023/10/create-destination.png" target="_blank" rel="noopener noreferrer">Create Destination</A> and fill in the following values:<BR /><BR /></P><OL><OL><LI>Name: SAP_XS_Advanced_UAA</LI><LI>Type: HTTP</LI><LI>Description: Optional text</LI><LI>URL: <A href="http://my.acme.com" target="_self" rel="nofollow noopener noreferrer">http://&lt;virtual</A><SPAN><A href="http://my.acme.com" target="_self" rel="nofollow noopener noreferrer"> host for controller endpoint&gt;:&lt;virtual port&gt;</A>. Example: </SPAN><A href="http://my.acme.com:30632" target="test_blank" rel="nofollow noopener noreferrer">http://my.acme.com:30632</A></LI><LI>Proxy Type: OnPremise</LI><LI>Authentication: NoAuthentication</LI><LI>For additional properties, click "New Property Button" and choose the following key values</LI></OL></OL><UL><UL><LI>HTML5.DynamicDestination : True</LI></UL></UL><UL><UL><LI>WebIDEEnabled : True</LI></UL></UL><UL><UL><LI>WebIDEUsage : xsuaa</LI></UL></UL><UL><UL><LI>XsApiEndpoint : http\://&lt;virtual host for controller endpoint&gt;\:&lt;virtual port&gt;. Example: <SPAN><STRONG>http\://my.acme.com\:30630</STRONG></SPAN></LI></UL></UL><P style=" padding-left : 60px; ">8. Click Save button</P><P style=" padding-left : 60px; ">9. Check connection. If the connection fails, then recheck the provided values or contact your System Administrator</P><P><BR /><BR /></P><P><IMG src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/10/xsuaa.png" border="0" /></P><P>&nbsp;</P><P><SPAN>XSUAA Destination</SPAN></P><H3 id="toc-hId--479073253">Create HRTT Destination</H3><P><BR />Click <A href="https://blogs.sap.com/wp-content/uploads/2023/10/create-destination.png" target="_blank" rel="noopener noreferrer">Create Destination</A> and fill in the following values:<BR /><BR /></P><OL><OL><LI>Name: SAP_XS_Advanced_HRTT_Service</LI><LI>Type: HTTP</LI><LI>Description: Optional text</LI><LI>URL: <A href="http://&lt;virtual" target="test_blank" rel="nofollow noopener noreferrer">http://&lt;virtual</A><SPAN> host for controller endpoint&gt;:&lt;virtual port&gt;. Example: </SPAN><A href="http://my.acme.com:51064" target="test_blank" rel="nofollow noopener noreferrer">http://my.acme.com:51064</A></LI><LI>Proxy Type: OnPremise</LI><LI>Authentication: NoAuthentication</LI><LI>For additional properties, click "New Property Button" and choose the following key values</LI></OL></OL><UL><UL><LI>HTML5.DynamicDestination : True</LI></UL></UL><UL><UL><LI>WebIDEEnabled : True</LI></UL></UL><UL><UL><LI>WebIDEUsage : xs_hrtt</LI></UL></UL><UL><UL><LI>XsApiEndpoint : http\://&lt;virtual host for controller endpoint&gt;\:&lt;virtual port&gt;. Example: <SPAN><STRONG>http\://my.acme.com\:30630</STRONG></SPAN></LI></UL></UL><P style=" padding-left : 60px; ">8. Click Save button</P><P style=" padding-left : 60px; ">9. Check connection. If the connection fails, then recheck the provided values or contact your System Administrator</P><P>&nbsp;</P><P><IMG src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/10/hrtt.png" border="0" /></P><P>&nbsp;</P><P>HRTT Destination</P><H3 id="toc-hId--675586758">Create XS Deployer Destination</H3><P><BR />Click <A href="https://blogs.sap.com/wp-content/uploads/2023/10/create-destination.png" target="_blank" rel="noopener noreferrer">Create Destination</A> and fill in the following values:<BR /><BR /></P><OL><OL><LI>Name: SAP_XS_Advanced_Deploy_Service</LI><LI>Type: HTTP</LI><LI>Description: Optional text</LI><LI>URL: <A href="http://my.acme.com" target="_self" rel="nofollow noopener noreferrer">http://&lt;virtual</A><SPAN><A href="http://my.acme.com" target="_self" rel="nofollow noopener noreferrer"> host for controller endpoint&gt;:&lt;virtual port&gt;</A>. Example: </SPAN><A href="http://my.acme.com:51041" target="test_blank" rel="nofollow noopener noreferrer">http://my.acme.com:51041</A></LI><LI>Proxy Type: OnPremise</LI><LI>Authentication: NoAuthentication</LI><LI>For additional properties, click "New Property Button" and choose the following key values</LI></OL></OL><UL><UL><LI>HTML5.DynamicDestination : True</LI></UL></UL><UL><UL><LI>WebIDEEnabled : True</LI></UL></UL><UL><UL><LI>WebIDESystem : True</LI></UL></UL><UL><UL><LI>XsApiEndpoint : http\://&lt;virtual host for controller endpoint&gt;\:&lt;virtual port&gt;. Example: <SPAN><STRONG>http\://my.acme.com\:30630</STRONG></SPAN></LI></UL></UL><P style=" padding-left : 60px; ">8. Click Save button</P><P style=" padding-left : 60px; ">9. Check connection. If the connection fails, then recheck the provided values or contact your System Administrator</P><P>&nbsp;</P><P><IMG src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/10/deployer.png" border="0" /></P><P>&nbsp;</P><P><SPAN>XS Deployer Destination</SPAN></P><H3 id="toc-hId--947331632">Create SAP HANA Cockpit Destination</H3><P><BR />Click <A href="https://blogs.sap.com/wp-content/uploads/2023/10/create-destination.png" target="_blank" rel="noopener noreferrer">Create Destination</A> and fill in the following values:<BR /><BR /></P><OL><OL><LI>Name: SAP_XS_Advanced_HANA_Cockpit</LI><LI>Type: HTTP</LI><LI>Description: Optional text</LI><LI>URL: <A href="http://my.acme.com" target="_self" rel="nofollow noopener noreferrer">http://&lt;virtual</A><SPAN><A href="http://my.acme.com" target="_self" rel="nofollow noopener noreferrer"> host for controller endpoint&gt;:&lt;virtual port&gt;</A>. Example: </SPAN><A href="http://my.acme.com:51041" target="test_blank" rel="nofollow noopener noreferrer">http://my.acme.com:51041</A></LI><LI>Proxy Type: OnPremise</LI><LI>Authentication: NoAuthentication</LI><LI>For additional properties, click "New Property Button" and choose the following key values</LI></OL></OL><UL><UL><LI>HTML5.DynamicDestination : True</LI></UL></UL><UL><UL><LI>WebIDEUsage : xs_cpt</LI></UL></UL><UL><UL><LI>WebIDEEnabled : True</LI></UL></UL><UL><UL><LI>XsApiEndpoint : http\://&lt;virtual host for controller endpoint&gt;\:&lt;virtual port&gt;. Example: <SPAN><STRONG>http\://my.acme.com\:30630</STRONG></SPAN></LI></UL></UL><P style=" padding-left : 60px; "><BR />8. Click Save button</P><P style=" padding-left : 60px; ">9. Check connection. If the connection fails, then recheck the provided values or contact your System Administrator</P><P><IMG src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/10/cockpit.png" border="0" /></P><P>&nbsp;</P><P><SPAN>SAP HANA Cockpit Destination</SPAN></P><H3 id="toc-hId--1143845137">Create HANA Database Destination</H3><P><BR />Click <A href="https://blogs.sap.com/wp-content/uploads/2023/10/create-destination.png" target="_blank" rel="noopener noreferrer">Create Destination</A> and fill in the following values:<BR /><BR /></P><OL><OL><LI>Name: SAP_HANA_Database</LI><LI>Type: HTTP</LI><LI>Description: Optional text</LI><LI>URL: <A href="http://my.acme.com" target="_self" rel="nofollow noopener noreferrer">http://&lt;virtual</A><SPAN><A href="http://my.acme.com" target="_self" rel="nofollow noopener noreferrer"> host for controller endpoint&gt;:&lt;virtual port&gt;</A>. Example: </SPAN><A href="http://my:30615" target="test_blank" rel="nofollow noopener noreferrer">http://my:30615</A></LI><LI>Proxy Type: OnPremise</LI><LI>Authentication: NoAuthentication</LI><LI>For additional properties, click "New Property Button" and choose the following key values</LI></OL></OL><UL><UL><LI>HTML5.DynamicDestination : True</LI></UL></UL><UL><UL><LI>WebIDEEnabled : True</LI></UL></UL><UL><UL><LI>WebIDEUsage: xs_hdb</LI></UL></UL><P style=" padding-left : 60px; ">8. Click Save button</P><P style=" padding-left : 60px; ">9. Check connection. If the connection fails, then recheck the provided values or contact your System Administrator</P><P><BR /><BR /></P><P><IMG src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/10/sap-hana.png" border="0" /></P><P>&nbsp;</P><P><SPAN>SAP HANA Database Destination</SPAN></P><P><BR />If the connection is successful for all the added destinations, that is the indication of successful connectivity setup for communication between SAP Business Application Studio and XS Advanced System.</P><P>SAP Cloud Connector System Mappings configuration and SAP BTP Destination generation can be automatically handled using this&nbsp;<STRONG><A class="" href="https://github.com/SAP-samples/btp-cloud-connector-setup-automation" target="_blank" rel="noopener nofollow noreferrer">btp-cloud-connector-setup-automation</A>&nbsp;</STRONG>generator. You may read this <A href="https://community.sap.com/t5/technology-blogs-by-sap/automating-sap-btp-cloud-connector-setup-with-yeoman-generator/ba-p/13642040" target="_self">blog</A> to know more about it.</P><P><STRONG>Should you want to run an application in&nbsp;SAP Business Application Studio that connects to your on-premise SAP HANA Platform Database, then you must pass the proxy credentials to your database connection.</STRONG><BR />Proxy credentials depend on the "<EM>Location ID</EM>" in the SAP Cloud Connector. The credentials will be as follows:</P><P>&nbsp;</P><P>&nbsp;</P><pre class="lia-code-sample language-json"><code>"proxy_host": "127.0.0.1", //always same "proxy_port": "20004", // always same "proxy_userid": "", // always empty string "proxy_password": "" // if location ID is set in SAP Cloud Connector then base64 of the location ID else empty string</code></pre><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>You may now set up a Development Space in SAP Business Application Studio <A href="https://help.sap.com/docs/SAP_HANA_PLATFORM/cf8b4c5847374960a68b55cb86eae013/6697174ae98d434d9f622b7765336fd7.html" target="_blank" rel="noopener noreferrer">[Documentation]</A>.<BR /><BR />Detailed documentation about the setup is available <A href="https://help.sap.com/docs/SAP_HANA_PLATFORM/cf8b4c5847374960a68b55cb86eae013/d1e4372023054dc8a92dac8118ee0088.html" target="_blank" rel="noopener noreferrer">here</A>.</P> 2023-11-02T16:18:00+01:00 https://community.sap.com/t5/technology-blogs-by-sap/connect-sap-hana-on-premise-to-sap-hana-cloud-and-database-with-cloud/ba-p/13578580 Connect SAP HANA On-Premise to SAP HANA Cloud and Database with Cloud Connector 2023-11-10T16:13:34+01:00 Sushil01 https://community.sap.com/t5/user/viewprofilepage/user-id/160869 <H2 id="toc-hId-964076249">Introduction</H2><BR /> Welcome to our blog where we will dive into the world of Connectivity between SAP HANA On-Premise and SAP HANA Cloud and Database . If you're navigating the journey of transitioning from an on-premise database to a cloud-based solution, this tutorial is tailored for you. We'll explore how to connect an SAP HANA on-premise database to an SAP HANA Cloud database using SAP BTP Connectivity, and this connectivity is crucial if you want to set up data replication.<BR /> <BR /> The method we will discuss involves setting up the cloud connector on your on-premise database. The cloud connector is a robust tool that allows you to establish a connection with a remote source, without the necessity of installing and configuring the Data Provisioning Agent, making it an optimal choice for those seeking to quickly replicate data to an SAP HANA Cloud database.<BR /> <BR /> Throughout this tutorial, we will guide you step by step on how to:<BR /> <OL><BR /> <LI>Enable the cloud connector for your SAP HANA Cloud database.</LI><BR /> <LI>Install and configure the cloud connector.</LI><BR /> </OL><BR /> By the end of this blog post, you'll be equipped with the knowledge and skills to set up and manage a seamless connection between your SAP HANA databases on-premise and in the cloud. Let's get started on this exciting journey!<BR /> <H2 id="toc-hId-767562744">Cloud Connector</H2><BR /> The Cloud Connector is a pivotal component designed for on-premise systems, acting as a bridging link between SAP Business Technology Platform (BTP) applications &amp; services and on-premise systems. It provides a streamlined path to connect and expose specific portions of an on-premise landscape without the need to reveal the entire on-premise infrastructure. This ensures a layer of security and confidentiality while maintaining operational efficiency and connectivity.<BR /> <BR /> The Cloud Connector comes with a high degree of control, enabling you to manage your connections in a more refined manner. It is equipped with a number of useful features specifically designed for business-critical scenarios. One of its key features includes the ability to recover broken connections automatically. This is crucial in maintaining business continuity, reducing downtime, and ensuring that your operations are running smoothly. It also provides a high-availability setup, ensuring that your system stays operational and accessible, thereby minimizing disruptions to your business operations.<BR /> <BR /> There are several advantages to using the Cloud Connector. For starters, its installation and configuration are straightforward and hassle-free. One of the key benefits it offers is that it eliminates the need to configure an on-premise firewall to allow access to an on-premise system. This not only simplifies the setup process but also reduces the potential security risks associated with opening firewall ports.<BR /> <BR /> By simplifying the process of connecting your on-premise databases with SAP HANA Cloud and other SAP BTP applications, the Cloud Connector effectively bridges the gap between your on-premise and cloud-based operations. With its advanced features and easy-to-use interface, it provides a robust and secure solution for managing and optimizing your database connections.<BR /> <BR /> In summary, the Cloud Connector is not just a mere link between your on-premise systems and SAP BTP, but a comprehensive tool that offers you control, flexibility, and security, all while simplifying your operations.<BR /> <H2 id="toc-hId-571049239">Enable the cloud connector for SAP HANA Cloud, SAP HANA database</H2><BR /> You can enable the cloud connector either during provisioning or editing an existing instance. Click on “Provisioning” or “Edit instance” below the title of this step. Here we'll discuss "edit an existing instance"<BR /> <BR /> First, you need to enable SAP BTP Connectivity in the SAP HANA Cloud, SAP HANA database you want to connect to an on-premise database.<BR /> <DIV data-system-type="Edit instance"><BR /> <DIV><BR /> <OL><BR /> <LI>Open&nbsp;<STRONG>SAP BTP cockpit</STRONG>&nbsp;and enter your (trial) account.</LI><BR /> <LI>Enter your Global Account, Subaccount, and then space.</LI><BR /> <LI>Navigate to the tile of the instance you want to connect to an SAP HANA on-premise database.</LI><BR /> <LI>Click on&nbsp;<STRONG>Actions</STRONG> in the bottom right corner of the tile.</LI><BR /> <LI>Select&nbsp;<STRONG>Open in SAP HANA Cloud Central to monitor landscape</STRONG>, which will then open in a new tab. <IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/Screenshot-2023-11-07-at-15.28.18.png" /></LI><BR /> <LI>There, click on the three dots in the Actions column on the right side of the screen</LI><BR /> <LI>Select&nbsp;<STRONG>Manage Configuration</STRONG>.<IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/Screenshot-2023-11-07-at-15.33.47.png" /></LI><BR /> <LI>Click <STRONG>Edit. <IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/Screenshot-2023-11-07-at-15.34.44.png" /></STRONG></LI><BR /> <LI>In the wizard that opens, scroll down to the section Connections.</LI><BR /> <LI>For this instance, the cloud connector is now enabled, and it is ready to be used. <IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/Screenshot-2023-11-07-at-15.35.59.png" /></LI><BR /> <LI>And, click Save button</LI><BR /> </OL><BR /> Now that you've activated the cloud connector, it's time to proceed with its installation and configuration.<BR /> <H2 id="toc-hId-374535734">Install the cloud connector</H2><BR /> You can access the cloud connector for download at <A href="https://tools.hana.ondemand.com/#cloud" target="_blank" rel="nofollow noopener noreferrer">this location</A>. Ensure you review the system prerequisites for varying operating systems and further setup suggestions as provided in the technical guide available <A href="https://help.sap.com/viewer/cca91383641e40ffbe03bdc78f00f681/LATEST/en-US/57ae3d62f63440f7952e57bfcef948d3.html" target="_blank" rel="noopener noreferrer">here</A>.<BR /> <BR /> After the cloud connector has been downloaded and installed successfully, use a web browser to manage it.<BR /> <BR /> 1. Navigate to <A href="https://hostname:8443" target="test_blank" rel="nofollow noopener noreferrer">https://hostname:8443</A> on your web browser.<BR /> <BR /> 2. Take note, <STRONG>8443</STRONG> is the default port designated during the installation process. If the cloud connector was installed on a machine other than your local one, you will need to input its hostname in place of the default port.<BR /> <BR /> 3. At the login prompt that appears, use the following format to input your details:<BR /> <EM>Administrator</EM> / <EM>manage</EM> (case sensitive) for &lt;User Name&gt; / &lt;Password&gt;<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/Screenshot-2023-11-07-at-19.54.26.png" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic;font-family: 'SAPRegular', 'Helvetica Neue', Arial, sans-serif">Cloud connector login page</P><BR /> <STRONG>Remember that you will be required to modify the password at your initial login.</STRONG><BR /> <BR /> </DIV><BR /> <H2 id="toc-hId-178022229">Configure SAP BTP Subaccount</H2><BR /> Within the administration interface of the Cloud Connector, you'll note at the screen's top that functionality will not commence until a subaccount is specified. This step is crucial as it aligns the Cloud Connector with the respective subaccount where your desired SAP HANA Cloud or SAP HANA database instance is situated.<BR /> <OL><BR /> <LI>Click the <STRONG>Add Subaccount</STRONG> Button and it will open the form for you. <IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/Screenshot-2023-11-07-at-19.57.38.png" /></LI><BR /> <LI>Click the value help icon for <STRONG>Region</STRONG> and select the <STRONG>region</STRONG> of the subaccount. <IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/Screenshot-2023-11-07-at-19.58.36.png" /></LI><BR /> <LI>In the field&nbsp;<STRONG>Subaccount</STRONG>, you need to enter the&nbsp;<STRONG>subaccount ID</STRONG>. To acquire it, access the SAP BTP cockpit and locate your subaccount. <IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/subaccount.png" /></LI><BR /> <LI>Copy the subaccount ID and enter it in the field <STRONG>Subaccount</STRONG> in the cloud connector.</LI><BR /> <LI>Provide an optional display name.</LI><BR /> <LI>Sign into the SAP BTP Cockpit using the subaccount's credentials. Note: If your subaccount is not based on Cloud Foundry, the steps will differ slightly. In this case, you will need to provide the technical Subaccount name, as well as the subaccount username and password.</LI><BR /> <LI>If desired, you can input a location ID. This will be necessary if you plan to establish a remote source.</LI><BR /> <LI>To finalize your changes, click on the Save button located in the top right corner of your screen.<IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/Screenshot-2023-11-07-at-20.05.26.png" /></LI><BR /> </OL><BR /> <H2 id="toc-hId--18491276">Expose your on-premise SAP HANA system</H2><BR /> <H4 id="toc-hId-43160657">Click on Cloud To On-Premise to expose your backend systems(or services). Then click the + icon and provide the following details</H4><BR /> <OL><BR /> <LI>Back-end Type: SAP HANA<IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/Screenshot-2023-11-07-at-20.08.49.png" /></LI><BR /> <LI>Protocol: TCP SSL(or TCP depending on your SAP HANA installation)<IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/Screenshot-2023-11-07-at-20.09.02.png" /></LI><BR /> <LI>Internal Host: endpoint without port <IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/Screenshot-2023-11-07-at-20.09.31.png" /></LI><BR /> <LI>Internal Port: Your SAP HANA sql-port</LI><BR /> <LI>Virtual Host: choose any valid virtual host name<IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/Screenshot-2023-11-07-at-20.10.32.png" /></LI><BR /> <LI>Virtual Port: choose any valid virtual port</LI><BR /> <LI>Description: Provide a description, it is optional</LI><BR /> <LI>Check Internal Host</LI><BR /> <LI>Click Finish</LI><BR /> </OL><BR /> For additional information on setting up the cloud connector, kindly consult the <A href="https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/cloud-connector" target="_blank" rel="noopener noreferrer">technical manual</A>.<BR /> <BR /> To expand your knowledge about the cloud connector, consider visiting <A href="https://blogs.sap.com/2021/01/21/spotlight-sap-hana-cloud-and-the-sap-cloud-connector-scc/" target="_blank" rel="noopener noreferrer">this community blog</A>.<BR /> <BR /> </DIV> 2023-11-10T16:13:34+01:00 https://community.sap.com/t5/technology-blogs-by-sap/it-has-never-been-easier-connecting-cloud-apps-to-internet-and-on-premises/ba-p/13578208 It has never been easier! Connecting cloud apps to Internet and on-premises systems using SAP BTP Connectivity 2023-11-14T21:29:59+01:00 ManolV https://community.sap.com/t5/user/viewprofilepage/user-id/181738 It is a common scenario that cloud applications need to connect to remote systems to fulfil the business goals of their creators and those of their end users. This is essential for enterprise applications, which are generally complex and consume data from and/or push data to a variety of sources or destinations – systems that are directly accessible, systems hosted in <A href="https://en.wikipedia.org/wiki/Cloud_computing" target="_blank" rel="nofollow noopener noreferrer">public or private cloud</A>, or such that are hosted in the&nbsp;<A href="https://en.wikipedia.org/wiki/On-premises_software" target="_blank" rel="nofollow noopener noreferrer">customer premises</A>. This use case is called hybrid connectivity.<BR /> <BR /> Sounds complex, right?! With this blog post, I show you that it has never been easier to solve this problem. Let’s get started and see how&nbsp;<A href="https://help.sap.com/docs/connectivity" target="_blank" rel="noopener noreferrer">SAP BTP Connectivity</A>&nbsp;can help with this challenge, more specifically, in <A href="https://help.sap.com/docs/BTP/65de2977205c403bbc107264b8eccf4b/d1abd18556f24fb091d081b2e3454b8b.html" target="_blank" rel="noopener noreferrer">SAP BTP Kyma environment</A>.<BR /> <H2 id="toc-hId-964073126">Prerequisites</H2><BR /> Well, complex things cannot be made simple without proper preparation work. Therefore, I need to setup the environment. For the purposes of this blog post, I don’t get into details on how each step is done, if interested, you can follow the links:<BR /> <OL><BR /> <LI>Setup the cloud environment:<BR /> <OL><BR /> <LI>Create a <A href="https://help.sap.com/docs/BTP/65de2977205c403bbc107264b8eccf4b/144e1733d0d64d58a7176e817fa6aeb3.html" target="_blank" rel="noopener noreferrer">SAP BTP subaccount</A> - the <A href="https://en.wikipedia.org/wiki/Platform_as_a_service" target="_blank" rel="nofollow noopener noreferrer">PaaS</A> context in the domain of <A href="https://help.sap.com/docs/BTP/65de2977205c403bbc107264b8eccf4b/6a2c1ab5a31b4ed9a2ce17a5329e1dd8.html" target="_blank" rel="noopener noreferrer">SAP BTP</A>, i.e., an account enabled to instantiate cloud application development environments, create and manage service instances, etc.</LI><BR /> <LI>Enable <A href="https://help.sap.com/docs/BTP/65de2977205c403bbc107264b8eccf4b/d1abd18556f24fb091d081b2e3454b8b.html" target="_blank" rel="noopener noreferrer">Kyma environment</A> - the cloud-native application hosting environment<BR /> <OL><BR /> <LI>Enable <A href="https://help.sap.com/docs/BTP/65de2977205c403bbc107264b8eccf4b/0c035010a9d64cc8a02d872829c7fa75.html" target="_blank" rel="noopener noreferrer">Connectivity Proxy</A> for cloud to premise technical connectivity, an <A href="https://help.sap.com/docs/BTP/65de2977205c403bbc107264b8eccf4b/0c035010a9d64cc8a02d872829c7fa75.html" target="_blank" rel="noopener noreferrer">integrated component in Kyma environment</A></LI><BR /> <LI>Enable <A href="https://help.sap.com/docs/CP_CONNECTIVITY/cca91383641e40ffbe03bdc78f00f681/1700cfe070704d2e80aa76de1033a6c4.html" target="_blank" rel="noopener noreferrer">Transparent Proxy</A> for unified, virtually transparent technical connectivity to any destination or data source, an <A href="https://help.sap.com/docs/BTP/65de2977205c403bbc107264b8eccf4b/1b548e9ad4744b978b8b595288b0cb5c.html" target="_blank" rel="noopener noreferrer">integrated module in Kyma environment</A></LI><BR /> </OL><BR /> </LI><BR /> </OL><BR /> </LI><BR /> <LI>Setup the local environment<BR /> <OL><BR /> <LI>Install <A href="https://kubernetes.io/docs/reference/kubectl/" target="_blank" rel="nofollow noopener noreferrer">Kubectl</A> - the command line interface for <A href="https://help.sap.com/docs/BTP/65de2977205c403bbc107264b8eccf4b/3e25944e491049b2aeec68c562a5ee48.html" target="_blank" rel="noopener noreferrer">connecting to and interacting with the Kyma instance</A></LI><BR /> <LI>Install <A href="https://help.sap.com/docs/CP_CONNECTIVITY/cca91383641e40ffbe03bdc78f00f681/e6c7616abb5710148cfcf3e75d96d596.html" target="_blank" rel="noopener noreferrer">Cloud Connector</A> for <A href="https://help.sap.com/docs/CP_CONNECTIVITY/cca91383641e40ffbe03bdc78f00f681/f42fe4471d6a4a5fb09b7f3bb83c66a4.html" target="_blank" rel="noopener noreferrer">controlled and secure exposure concrete systems or resources</A>, hosted in a <A href="https://en.wikipedia.org/wiki/Virtual_private_cloud" target="_blank" rel="nofollow noopener noreferrer">VPC</A> on <A href="https://en.wikipedia.org/wiki/Hyperscale_computing" target="_blank" rel="nofollow noopener noreferrer">Hyperscalers</A> or <A href="https://en.wikipedia.org/wiki/On-premises_software" target="_blank" rel="nofollow noopener noreferrer">on-premises</A> - in my case, on my PC.</LI><BR /> </OL><BR /> </LI><BR /> <LI>For each scenario use case, <A href="https://help.sap.com/docs/CP_CONNECTIVITY/cca91383641e40ffbe03bdc78f00f681/84e45e071c7646c88027fffc6a7bb787.html" target="_blank" rel="noopener noreferrer">create the relevant destinations in SAP Destination service</A> using <A href="https://help.sap.com/docs/BTP/65de2977205c403bbc107264b8eccf4b/4e750660b72e4fd6b2485ffb0b3cbdca.html" target="_blank" rel="noopener noreferrer">SAP BTP cockpit</A>.</LI><BR /> </OL><BR /> <H2 id="toc-hId-767559621">Overview of the scenario</H2><BR /> Image: <EM>Scenario Schematic Overview</EM><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/uc-tp-kyma-blog-scenario-schematic-overview.png" /></P><BR /> This solution diagram depicts the high-level architecture and layout of the SAP BTP tools, software components, services listed above in the <STRONG>Prerequisites</STRONG> section. The focus on the scenario is on the <STRONG>Application</STRONG> side. The rest is depicted for completeness and better end-to-end understanding.<BR /> <BR /> In this blog, I showcase how I can connect my cloud application to the following <STRONG>target systems</STRONG>. I start with the <STRONG>trivial</STRONG> and then continue with the more <STRONG>advanced</STRONG> use cases:<BR /> <OL><BR /> <LI><STRONG><EM>Google</EM></STRONG> - direct connectivity <SPAN style="text-decoration: underline">without</SPAN> using any of the SAP BTP Connectivity software and services</LI><BR /> <LI><STRONG><EM>Google via destination</EM></STRONG> - direct connectivity <SPAN style="text-decoration: underline">with</SPAN> usage of SAP BTP Connectivity software and services</LI><BR /> <LI><STRONG><EM>Google via destination and Cloud Connector</EM></STRONG> - indirect cloud to premise connectivity - in my setup Google is directly accessible via my local Cloud Connector<BR /> <UL><BR /> <LI><EM><SPAN style="text-decoration: underline">Note</SPAN></EM>: this use case is presented only for the purpose of showcase and ease the perception of the reader, it is not expected to be done in production</LI><BR /> </UL><BR /> </LI><BR /> <LI><STRONG><A href="https://help.sap.com/docs/btp/sap-business-technology-platform/access-sap-authorization-and-trust-management-service-apis" target="_blank" rel="noopener noreferrer">SAP Authorization and Trust Management Service (XSUAA)</A> via destination</STRONG> - OAuth based REST API</LI><BR /> <LI><STRONG><EM>An HTTP system hosted on-premises</EM></STRONG> <EM><STRONG>via destination and Cloud Connector </STRONG></EM>- indirect cloud to premise connectivity</LI><BR /> <LI><STRONG><EM>An HTTPS system hosted on-premises</EM> <EM>via destination and Cloud Connector </EM></STRONG>- indirect cloud to premise connectivity with <A href="https://help.sap.com/docs/CP_CONNECTIVITY/cca91383641e40ffbe03bdc78f00f681/c84d4d0b12d34890b334998185f49e88.html" target="_blank" rel="noopener noreferrer">Principal Propagation</A> enabled, i.e., end-to-end secure user context propagation, a.k.a <A href="https://en.wikipedia.org/wiki/Single_sign-on" target="_blank" rel="nofollow noopener noreferrer">Single Sign On (SSO)</A>.</LI><BR /> </OL><BR /> I pick those systems to showcase what I claimed in the begging of this blog - <STRONG>It has never been easier!</STRONG><BR /> <BR /> <SPAN style="text-decoration: underline">Note</SPAN>: For the creation of the destination pointing to XSUAA in step 4 of the scenario, I followed these two simple steps in <A href="https://help.sap.com/docs/BTP/65de2977205c403bbc107264b8eccf4b/4e750660b72e4fd6b2485ffb0b3cbdca.html" target="_blank" rel="noopener noreferrer">BTP cockpit</A>:<BR /> <OL><BR /> <LI><A href="https://help.sap.com/docs/BTP/65de2977205c403bbc107264b8eccf4b/8221b7434d8e484fab5ec5d219b7bf64.html" target="_blank" rel="noopener noreferrer">Create a service instance</A> of <A href="https://help.sap.com/docs/BTP/65de2977205c403bbc107264b8eccf4b/ebc9113a520e495ea5fb759b9a7929f2.html" target="_blank" rel="noopener noreferrer">service "xsuaa", plan "apiaccess"</A></LI><BR /> <LI><A href="https://help.sap.com/docs/CP_CONNECTIVITY/cca91383641e40ffbe03bdc78f00f681/685f383cebb54c009b2fac633b32c90f.html" target="_blank" rel="noopener noreferrer">Create a destination pointing to the service instance via destinations UI</A> - just a few clicks job!</LI><BR /> </OL><BR /> <H2 id="toc-hId-571046116">Configure the scenario</H2><BR /> To get the scenario in action, at first I need to configure the target systems as technical connection configurations, a.k.a. destinations. In this way I control to which systems the application has access to and can switch the used technical authentication and authorisation mechanisms on the fly – changing the destination attributes without affecting the experience of the end user, and without affecting the lifecycle of the application.<BR /> <H3 id="toc-hId-503615330">Expose the on-premises system to the cloud</H3><BR /> For the destinations pointing to systems hosted in the customer premises (points 5 and 6 of the scenario overview), I need to securely expose those to the cloud.<BR /> <BR /> You guessed it, for this I configure the respective <A href="https://help.sap.com/docs/CP_CONNECTIVITY/cca91383641e40ffbe03bdc78f00f681/f42fe4471d6a4a5fb09b7f3bb83c66a4.html" target="_blank" rel="noopener noreferrer">Access Controls</A> in my <A href="https://help.sap.com/docs/CP_CONNECTIVITY/cca91383641e40ffbe03bdc78f00f681/e6c7616abb5710148cfcf3e75d96d596.html" target="_blank" rel="noopener noreferrer">SAP Cloud Connector</A>:<BR /> <BR /> Image: <EM>Access Control entries in Cloud Connector</EM><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/scc-access-controls-1.png" /></P><BR /> In this example, the two systems hosted in the on-premises are simple HTTP and HTTPS servers:<BR /> <UL><BR /> <LI>System #1:<STRONG><EM> localhost:8000</EM></STRONG> - serves <EM>HTTP</EM>, returns status code: <STRONG><EM>200&nbsp;</EM></STRONG>with the received HTTP request line as a message.</LI><BR /> </UL><BR /> <UL><BR /> <LI>System #2:<STRONG><EM> localhost:9000</EM></STRONG> - serves <EM>HTTP<STRONG>S</STRONG></EM>, returns status code: <EM><STRONG>200</STRONG></EM> with the received HTTP request line as a message, and&nbsp;the subject common name (CN) of the received <SPAN style="font-size: 1rem">X.509 client certificate as part of the HTTP request - the user context propagated from the cloud, achieving Single Sign-On (SSO).</SPAN></LI><BR /> </UL><BR /> <H3 id="toc-hId-307101825">Manage the technical connection configurations</H3><BR /> One of the best practices for cloud-native applications is to externalise any configuration and avoid coupling it with the lifecycle of the application, e.g. via hard-coding it. I use <A href="https://help.sap.com/docs/CP_CONNECTIVITY/cca91383641e40ffbe03bdc78f00f681/7e306250e08340f89d6c103e28840f30.html" target="_blank" rel="noopener noreferrer">Destination service</A>&nbsp;for&nbsp;<A href="https://help.sap.com/docs/CP_CONNECTIVITY/cca91383641e40ffbe03bdc78f00f681/84e45e071c7646c88027fffc6a7bb787.html" target="_blank" rel="noopener noreferrer">managing the technical connection configurations (a.k.a. destinations)</A>, as guided by the Golden Path defined in&nbsp;<A href="https://cap.cloud.sap/docs/about/" target="_blank" rel="nofollow noopener noreferrer">Cloud Application Programming</A>&nbsp;model of&nbsp;<A href="https://help.sap.com/docs/BTP/65de2977205c403bbc107264b8eccf4b/6a2c1ab5a31b4ed9a2ce17a5329e1dd8.html" target="_blank" rel="noopener noreferrer">SAP BTP</A>.<BR /> <BR /> In the context of my&nbsp;<A href="https://help.sap.com/docs/BTP/65de2977205c403bbc107264b8eccf4b/144e1733d0d64d58a7176e817fa6aeb3.html" target="_blank" rel="noopener noreferrer">SAP BTP subaccount</A>, I create the following destinations, pointing to the variety of systems I’ll connect my cloud app workload running in my Kyma instance.<BR /> <BR /> Image: <EM>Destinations in BTP cockpit</EM><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/BTP-cockpit-destinations.png" /></P><BR /> <BR /> <H3 id="toc-hId-110588320">Expose the destinations in the Kyma instance</H3><BR /> To allow an application to consume the defined destinations, I declaratively expose only those I'm interested in, and are specific for this particular use case. For this, I <A href="https://help.sap.com/docs/CP_CONNECTIVITY/cca91383641e40ffbe03bdc78f00f681/c5257cf110bf4b7b9054eab74ededff4.html" target="_blank" rel="noopener noreferrer">create specific Destination Custom Resources</A>, a <A href="https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/" target="_blank" rel="nofollow noopener noreferrer">common practice for cloud-native applications based on Kubernetes</A>. In Kyma environment, I can do this either via <A href="https://kyma-project.io/#/01-overview/ui/README?id=kyma-dashboard" target="_blank" rel="nofollow noopener noreferrer">Kyma Dashboard</A>, or via command-line using <A href="https://kubernetes.io/docs/reference/kubectl/" target="_blank" rel="nofollow noopener noreferrer">Kubectl</A>.<BR /> <BR /> Image: <EM>Creation of a Destination CR in Kyma Dashboard</EM><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/DestinationCRs-create-CR.png" /></P><BR /> Shortly after the&nbsp;<A href="https://help.sap.com/docs/CP_CONNECTIVITY/cca91383641e40ffbe03bdc78f00f681/c5257cf110bf4b7b9054eab74ededff4.html" target="_blank" rel="noopener noreferrer">Destination CR</A>&nbsp;is created,&nbsp;<A href="https://help.sap.com/docs/CP_CONNECTIVITY/cca91383641e40ffbe03bdc78f00f681/acc64ada71e34f98867f16fbcc471b5e.html" target="_blank" rel="noopener noreferrer">Transparent Proxy</A>&nbsp;process it and updates the status of the Destination CR with a message that the technical connectivity is successfully configured, and this destination is ready to be consumed.<BR /> <BR /> Image: <EM>Status of a Destination CR in Kyma Dashboard</EM><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/DestinationCR-ConfigurationSuccessful.png" /></P><BR /> Using the same approach, I expose all the destinations required specifically for this use case.<BR /> <BR /> Image: <EM>Destination CRs in Kyma&nbsp;</EM><I>Dashboard</I><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/DestinationCRs.png" /></P><BR /> It's all set now, let's play with the application.<BR /> <H2 id="toc-hId--215007904">Scenario in action: Connect the application to the remote systems</H2><BR /> As described in the status message of the&nbsp;<A href="https://help.sap.com/docs/CP_CONNECTIVITY/cca91383641e40ffbe03bdc78f00f681/c5257cf110bf4b7b9054eab74ededff4.html" target="_blank" rel="noopener noreferrer">Destination CR</A>, the&nbsp;<A href="https://help.sap.com/docs/CP_CONNECTIVITY/cca91383641e40ffbe03bdc78f00f681/acc64ada71e34f98867f16fbcc471b5e.html" target="_blank" rel="noopener noreferrer">Transparent Proxy</A>&nbsp;exposed the referenced <STRONG>destination</STRONG> via the specified name in the form of <STRONG>locally accessible host</STRONG>, leveraging the concept of&nbsp;<A href="https://kubernetes.io/docs/concepts/services-networking/service/" target="_blank" rel="nofollow noopener noreferrer">Kubernetes Service</A>.<BR /> <BR /> As a result, it’s&nbsp;<EM>trivial</EM>&nbsp;for the application to connect to those local hosts, and this is the only task needed to be performed. It’s that easy!<BR /> <BR /> For simplicity and versatility reasons, my application is represented by a local terminal attached to a container running in a&nbsp;<A href="https://kubernetes.io/docs/concepts/workloads/pods/" target="_blank" rel="nofollow noopener noreferrer">Kubernetes Pod</A>&nbsp;in the Kyma Instance. Then I use&nbsp;<A href="https://en.wikipedia.org/wiki/CURL" target="_blank" rel="nofollow noopener noreferrer">cURL</A>&nbsp;command-line tool for executing HTTP requests towards the target systems.<BR /> <BR /> How it’s done? Once connected to the Kyma instance via Kubectl, I run a sample&nbsp;<A href="https://hub.docker.com/r/curlimages/curl" target="_blank" rel="nofollow noopener noreferrer">cURL image</A>&nbsp;as a&nbsp;<A href="https://kubernetes.io/docs/concepts/workloads/pods/" target="_blank" rel="nofollow noopener noreferrer">Kuberenetes Pod</A>&nbsp;and open a terminal session via the following command:<BR /> <PRE class="language-abap"><CODE>kubectl run mycurlpod -n sap-transp-proxy-system --image=curlimages/curl -i --tty -- sh</CODE></PRE><BR /> &nbsp;<BR /> <H3 id="toc-hId--282438690">Executing request to Google:</H3><BR /> This is a trivial direct invocation of the public web page of Google:<BR /> <PRE class="language-abap"><CODE>~ $ curl <A href="https://community.sap.com/www.google.com" target="test_blank" rel="nofollow noopener noreferrer">www.google.com</A> -v<BR /> * Trying 142.250.179.164:80...<BR /> * Connected to <A href="https://community.sap.com/www.google.com" target="test_blank" rel="nofollow noopener noreferrer">www.google.com</A> (142.250.179.164) port 80<BR /> &gt; GET / HTTP/1.1<BR /> &gt; Host: <A href="https://community.sap.com/www.google.com" target="test_blank" rel="nofollow noopener noreferrer">www.google.com</A><BR /> &gt; User-Agent: curl/8.4.0<BR /> &gt; Accept: */*<BR /> &gt; <BR /> &lt; HTTP/1.1 200 OK<BR /> ...<BR /> &lt; <BR /> &lt;!doctype html&gt;&lt;html...&lt;title&gt;Google&lt;/title&gt;&lt;script...</CODE></PRE><BR /> <H3 id="toc-hId--478952195">Executing request to Google via destination:</H3><BR /> This is an example reaching the same public web page of Google, but this time via <EM>destination</EM>, locally exposed and served by Transparent Proxy, and centrally managed via Destination service:<BR /> <PRE class="language-abap"><CODE>~ $ curl google -v<BR /> * Trying 10.111.255.220:80...<BR /> * Connected to google (10.111.255.220) port 80<BR /> &gt; GET / HTTP/1.1<BR /> &gt; Host: google<BR /> &gt; User-Agent: curl/8.4.0<BR /> &gt; Accept: */*<BR /> &gt; <BR /> &lt; HTTP/1.1 200 OK<BR /> ...<BR /> &lt; <BR /> &lt;!doctype html&gt;&lt;html...&lt;title&gt;Google&lt;/title&gt;&lt;script...</CODE></PRE><BR /> <H3 id="toc-hId--675465700">Executing request to Google via destination via Cloud Connector:</H3><BR /> This is an example of reaching the same public web page of Google via&nbsp;<EM>destination</EM>, locally exposed and served by Transparent Proxy, Connectivity Proxy, and centrally managed via Destination service. The destination is configured to point to an on-premises system, exposed to the cloud via Cloud Connector:<BR /> <PRE class="language-abap"><CODE>~ $ curl mypremisegoogle -v<BR /> * Trying 10.111.159.5:80...<BR /> * Connected to mypremisegoogle (10.111.159.5) port 80<BR /> &gt; GET / HTTP/1.1<BR /> &gt; Host: mypremisegoogle<BR /> &gt; User-Agent: curl/8.4.0<BR /> &gt; Accept: */*<BR /> &gt; <BR /> &lt; HTTP/1.1 200 OK<BR /> ...<BR /> &lt; <BR /> &lt;!doctype html&gt;&lt;html...&lt;title&gt;Google&lt;/title&gt;&lt;script...</CODE></PRE><BR /> <H3 id="toc-hId--947210574">Executing request to XSUAA API via destination:</H3><BR /> This is an example for <A href="https://api.sap.com/api/AuthorizationAPI/resource/Applications" target="_blank" rel="noopener noreferrer">getting the registered service instances of the current subaccount</A> via <EM>destination</EM>, locally exposed and served by Transparent Proxy, and centrally managed via Destination service.<BR /> <PRE class="language-abap"><CODE>~ $ curl xsuaa-api/sap/rest/authorization/v2/apps -v<BR /> * Trying 10.106.192.162:80...<BR /> * Connected to xsuaa-api (10.106.192.162) port 80<BR /> &gt; GET /sap/rest/authorization/v2/apps HTTP/1.1<BR /> &gt; Host: xsuaa-api<BR /> &gt; User-Agent: curl/8.4.0<BR /> &gt; Accept: */*<BR /> &gt; <BR /> &lt; HTTP/1.1 200 OK<BR /> &lt; cache-control: no-cache, no-store, max-age=0, must-revalidate<BR /> &lt; content-length: 10621<BR /> ...<BR /> &lt; <BR /> [{"appid":"app123!b13","serviceinstanceid":"15442f82-7d82-11ee-b26d-ab53f17d39a5","planId":"HWEgt9/213f90b0+/7d82-11ee=","planName":"broker"...</CODE></PRE><BR /> <H3 id="toc-hId--1143724079">Executing request to an on-premises HTTP server via destination via Cloud Connector:</H3><BR /> This is an example of connecting to a simple on-premises HTTP server via <EM>destination</EM>, locally exposed and served by Transparent Proxy, Connectivity Proxy, and centrally managed via Destination service. The destination is configured to point to an on-premises system, exposed to the cloud via Cloud Connector:<BR /> <PRE class="language-abap"><CODE>~ $ curl mypremserver/test-path -v<BR /> * Trying 10.110.23.19:80...<BR /> * Connected to mypremserver (10.110.23.19) port 80<BR /> &gt; GET /test-path HTTP/1.1<BR /> &gt; Host: mypremserver<BR /> &gt; User-Agent: curl/8.4.0<BR /> &gt; Accept: */*<BR /> &gt; <BR /> &lt; HTTP/1.1 200 OK<BR /> ...<BR /> &lt; <BR /> Response generated by HTTP server: <BR /> GET /test-path HTTP/1.1<BR /> </CODE></PRE><BR /> <H3 id="toc-hId--1340237584">Executing request to an on-premises HTTPS server via destination via Cloud Connector with Single Sign-On enabled:</H3><BR /> This is an example of connecting to an on-premises HTTPS server via <EM>destination</EM>, locally exposed and served by Transparent Proxy, Connectivity Proxy, and centrally managed via Destination service. The HTTPS server requires the cloud user identity to be propagated. The destination is configured with PrincipalPropagation as authentication type, and to point to an on-premises system, exposed to the cloud via Cloud Connector:<BR /> <PRE class="language-abap"><CODE>~ $ curl myppserver -H 'Authorization: Bearer eyJhbGciOiJSUzI1Ni...bwKMpAGKbhECqvkyibC7Q' -v<BR /> * Trying 10.105.101.106:80...<BR /> * Connected to myppserver (10.105.101.106) port 80<BR /> &gt; GET / HTTP/1.1<BR /> &gt; Host: myppserver<BR /> &gt; User-Agent: curl/8.4.0<BR /> &gt; Accept: */*<BR /> &gt; Authorization: Bearer yJhbGciOiJSUzI1Ni...bwKMpAGKbhECqvkyibC7Q<BR /> &gt; <BR /> &lt; HTTP/1.1 200 OK<BR /> &lt; server: envoy<BR /> &lt; date: Tue, 07 Nov 2023 15:17:47 GMT<BR /> &lt; content-type: text/plain; charset=utf-8<BR /> &lt; content-length: 1956<BR /> &lt; x-envoy-upstream-service-time: 657<BR /> &lt; <BR /> &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<BR /> Response generated by HTTPS server: <BR /> GET / HTTP/1.1<BR /> =========<BR /> Received X.509 client certificate with Subject: &lt;Name(CN=manol.valchev@sap.com)&gt;</CODE></PRE><BR /> <H2 id="toc-hId--1243348082">Summary</H2><BR /> As you can see,&nbsp;<STRONG>it’s that simple!</STRONG>&nbsp;No matter of the type and hosting location of the target system, from the application development perspective the user experience is the same –&nbsp;<STRONG><EM>simple, unified, virtually transparent</EM></STRONG>, and the technical complexity is handled by the usage of software components and services part of&nbsp;<A href="https://help.sap.com/docs/CP_CONNECTIVITY/cca91383641e40ffbe03bdc78f00f681/e54cc8fbbb571014beb5caaf6aa31280.html" target="_blank" rel="noopener noreferrer"><STRONG>SAP BTP Connectivity</STRONG></A>&nbsp;product portfolio:<BR /> <UL><BR /> <LI><A href="https://help.sap.com/docs/CP_CONNECTIVITY/cca91383641e40ffbe03bdc78f00f681/7e306250e08340f89d6c103e28840f30.html" target="_blank" rel="noopener noreferrer"><STRONG>Destination service</STRONG></A> for <A href="https://help.sap.com/docs/CP_CONNECTIVITY/cca91383641e40ffbe03bdc78f00f681/84e45e071c7646c88027fffc6a7bb787.html" target="_blank" rel="noopener noreferrer">managing the technical connection configurations (a.k.a. destinations)</A></LI><BR /> <LI><A href="https://help.sap.com/docs/CP_CONNECTIVITY/cca91383641e40ffbe03bdc78f00f681/1700cfe070704d2e80aa76de1033a6c4.html" target="_blank" rel="noopener noreferrer"><STRONG>Transparent Proxy</STRONG></A> for unified, virtually transparent technical connectivity to any destination or data source, an <A href="https://help.sap.com/docs/BTP/65de2977205c403bbc107264b8eccf4b/1b548e9ad4744b978b8b595288b0cb5c.html" target="_blank" rel="noopener noreferrer">integrated module in Kyma environment</A>, also <A href="https://hub.docker.com/u/sapse" target="_blank" rel="nofollow noopener noreferrer">available in Docker Hub</A>.</LI><BR /> <LI><A href="https://help.sap.com/docs/BTP/65de2977205c403bbc107264b8eccf4b/0c035010a9d64cc8a02d872829c7fa75.html" target="_blank" rel="noopener noreferrer"><STRONG>Connectivity Proxy</STRONG></A> for cloud to premise technical connectivity, an <A href="https://help.sap.com/docs/BTP/65de2977205c403bbc107264b8eccf4b/0c035010a9d64cc8a02d872829c7fa75.html" target="_blank" rel="noopener noreferrer">integrated component in Kyma environment</A>, also <A href="https://hub.docker.com/u/sapse" target="_blank" rel="nofollow noopener noreferrer">available in Docker Hub</A>.</LI><BR /> <LI><A href="https://help.sap.com/docs/CP_CONNECTIVITY/cca91383641e40ffbe03bdc78f00f681/e6c7616abb5710148cfcf3e75d96d596.html" target="_blank" rel="noopener noreferrer"><STRONG>Cloud Connector</STRONG></A> for <A href="https://help.sap.com/docs/CP_CONNECTIVITY/cca91383641e40ffbe03bdc78f00f681/f42fe4471d6a4a5fb09b7f3bb83c66a4.html" target="_blank" rel="noopener noreferrer">controlled and secure exposure concrete systems or resources</A>, hosted in a <A href="https://en.wikipedia.org/wiki/Virtual_private_cloud" target="_blank" rel="nofollow noopener noreferrer">VPC</A> on <A href="https://en.wikipedia.org/wiki/Hyperscale_computing" target="_blank" rel="nofollow noopener noreferrer">Hyperscalers</A> or <A href="https://en.wikipedia.org/wiki/On-premises_software" target="_blank" rel="nofollow noopener noreferrer">on-premises</A>.</LI><BR /> <LI><STRONG><A href="https://help.sap.com/docs/CP_CONNECTIVITY/cca91383641e40ffbe03bdc78f00f681/e54cc8fbbb571014beb5caaf6aa31280.html" target="_blank" rel="noopener noreferrer">Connectivity service</A></STRONG> as the backbone for the multitude of <A href="https://help.sap.com/docs/BTP/65de2977205c403bbc107264b8eccf4b/0c035010a9d64cc8a02d872829c7fa75.html" target="_blank" rel="noopener noreferrer">Connectivity Proxy</A> and <A href="https://help.sap.com/docs/CP_CONNECTIVITY/cca91383641e40ffbe03bdc78f00f681/e6c7616abb5710148cfcf3e75d96d596.html" target="_blank" rel="noopener noreferrer">Cloud Connector</A> instances serving thousands of <A href="https://help.sap.com/docs/BTP/65de2977205c403bbc107264b8eccf4b/6a2c1ab5a31b4ed9a2ce17a5329e1dd8.html" target="_blank" rel="noopener noreferrer">SAP BTP</A> customers</LI><BR /> </UL><BR /> Тhis simple yet powerful approach enables <STRONG>application developers</STRONG> to <STRONG>focus more on their business goals</STRONG> and <STRONG>delegate the technical complexity</STRONG> to <STRONG><A href="https://help.sap.com/docs/CP_CONNECTIVITY/cca91383641e40ffbe03bdc78f00f681/e54cc8fbbb571014beb5caaf6aa31280.html" target="_blank" rel="noopener noreferrer">SAP BTP Connectivity</A></STRONG>, and at the same time the application administrators can manage the outbound technical connections (via destinations) without affecting the lifecycle and availability of the application itself.<BR /> <BR /> Stay tuned and subscribe to <A href="https://help.sap.com/whats-new/cf0cb2cb149647329b5d02aa96303f56?Component=Connectivity" target="_blank" rel="noopener noreferrer">What's New for SAP BTP Connectivity</A> page. 2023-11-14T21:29:59+01:00 https://community.sap.com/t5/technology-blogs-by-members/utilizing-sap-cloud-sdk-for-javascript-in-a-btp-proxy-app-for-non-web-apps/ba-p/13572792 Utilizing SAP Cloud SDK for JavaScript in a BTP Proxy App for non-Web-Apps to access onpremise SAP Systems 2023-12-31T03:44:52+01:00 WRoeckelein https://community.sap.com/t5/user/viewprofilepage/user-id/3438 <H1 id="toc-hId-834816739">Introduction</H1><BR /> Oftern there is a need for Apps running outside of the corporate network to access SAP onpremise systems. Using a Proxy App running in the BTP (Business Technology Platform) Cloud Foundry Environment utilizing the SAP Cloud Connector is a well known pattern for such requirements.<BR /> <BR /> However using the destination and connectivity service to get access to the tunnel to the onpremise systems is not trivial and is best done with the help of libraries.The approuter (cf. <A href="https://www.npmjs.com/package/@sap/approuter)" target="test_blank" rel="nofollow noopener noreferrer">https://www.npmjs.com/package/@sap/approuter)</A> is a well known and proven solution for this. However approuter is aimed at web applications. Using it for eg native applicatios is a bit troublesome.<BR /> <BR /> Since March 2019 there is also the SAP Cloud SDK for JavaScript (in the beginning known as the SAP S/4HANA Cloud SDK for JavaScript and also going by SAP Cloud SDK for Node.js) available. The http-client of this SDK completly handles the interaction with the destination and connectivity service, you just have to provide the destination name (please check out other features of this SDK, there is a lot of other useful stuff there!). This blog intends to give you some guidance for using this SDK for this porpose.<BR /> <H1 id="toc-hId-638303234">Basics</H1><BR /> The SDK is availabe in the public npm repository. Add the line<BR /> <PRE class="language-javascript"><CODE>"@sap-cloud-sdk/http-client": "^3.9.0",</CODE></PRE><BR /> <DIV><BR /> <DIV>to the dependencies section in your package.json. Use at least version 3.9.0 to avoid being hit by the xssec security vulnerability (cf. <A href="https://me.sap.com/notes/3411067" target="_blank" rel="noopener noreferrer">Security Note 3411067</A>).</DIV><BR /> <DIV></DIV><BR /> <DIV>In your JavaScript file to be run add</DIV><BR /> <DIV><BR /> <PRE class="language-javascript"><CODE>const httpclient = require('@sap-cloud-sdk/http-client');​</CODE></PRE><BR /> The object thus obtained follows the&nbsp;<A href="https://axios-http.com/" target="_blank" rel="noopener noreferrer nofollow">axios HTTP client</A> API with an added first object parameter (second parameter is compatible to RawAxiosRequestConfig), eg to make a POST call to an onpremise destination use this code<BR /> <BR /> </DIV><BR /> <DIV><BR /> <PRE class="language-javascript"><CODE>await httpclient.executeHttpRequest(<BR /> {<BR /> destinationName: 'MYDESTINATION'<BR /> },<BR /> { <BR /> method: 'POST',<BR /> url: "/sap/opu/odata/sap/ZMY_SERV_SRV/MyEntitySet",<BR /> headers: {<BR /> "Content-Type":"application/json; charset=utf-8",<BR /> "Accept":"application/json"<BR /> },<BR /> data: body<BR /> }<BR /> ).then(response =&gt; {<BR /> // use eg response.status and response.data <BR /> }).catch(err =&gt; {<BR /> // use eg err.code or message<BR /> });​</CODE></PRE><BR /> (Note: All code examples in this blog are just examples, do not use in your productive code, eg consider adding logging and a more robust coding)<BR /> <BR /> CSRF handling is done by default.<BR /> <BR /> </DIV><BR /> <H1 id="toc-hId-441789729">Proxy with Basic Authentication</H1><BR /> </DIV><BR /> <DIV>For a first simple proxy example we will use Basic Authentication from Outside and also Basic Authentication to the onpremise system. The latter is an easy brainer: Just use Basic Authentication as Authentication Type when defining the destination in the BTP cockpit:</DIV><BR /> <DIV></DIV><BR /> <DIV><BR /> <DIV><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/12/2023-12-30_22h51_36.png" /></DIV><BR /> <DIV>(Do yourself a favor and pay attention to the warning in the picture!)</DIV><BR /> <DIV>With such a destination you need merely give the destinationName in the example above.</DIV><BR /> </DIV><BR /> <DIV></DIV><BR /> <DIV>In the mta.yaml define the depencies to the destination and connectivity service:</DIV><BR /> <DIV><BR /> <PRE class="language-javascript"><CODE>...<BR /> modules:<BR /> - name: myproxy<BR /> type: nodejs<BR /> requires:<BR /> - name: myproxy-destination-service<BR /> parameters:<BR /> content-target: true<BR /> - name: myproxy-connectivity-service<BR /> parameters:<BR /> health-check-type: process<BR /> ...<BR /> resources:<BR /> - name: myproxy-destination-service<BR /> type: org.cloudfoundry.managed-service<BR /> parameters:<BR /> config:<BR /> version: 1.0.0<BR /> service: destination<BR /> service-name: myproxy-destination-service<BR /> service-plan: lite<BR /> - name: myproxy-connectivity-service<BR /> type: org.cloudfoundry.managed-service<BR /> parameters:<BR /> service: connectivity<BR /> service-plan: lite<BR /> </CODE></PRE><BR /> Health check is set to process because otherwise health check uses an unauthenticated HTTP access to / which won't work with our basic authentication requirement and thus would give constant app restarts.<BR /> <BR /> </DIV><BR /> <DIV><BR /> <DIV></DIV><BR /> <DIV>For the proxy function we use express and passport, ie in the package.json</DIV><BR /> <DIV><BR /> <PRE class="language-javascript"><CODE> "express": "^4.17.3",<BR /> "body-parser": "^1.20.2",<BR /> "passport": "^0.6.0",<BR /> "passport-http": "^0.3.0"</CODE></PRE><BR /> Preperation in the JavaScript file<BR /> <PRE class="language-javascript"><CODE>const express = require('express');<BR /> const bodyParser = require('body-parser')<BR /> const passport = require('passport');<BR /> const passportHTTP = require('passport-http');<BR /> <BR /> const auth_env = {login: process.env['AUTH_LOGIN'], password: process.env['AUTH_PASSWORD']};<BR /> const app = express();<BR /> passport.use(new passportHTTP.BasicStrategy(<BR /> function(username, password, done) {<BR /> if (username === auth_env.login &amp;&amp; password === auth_env.password) {<BR /> return done(null, username);<BR /> } else {<BR /> return done(null, false);<BR /> }<BR /> }<BR /> ));<BR /> app.use(passport.initialize());<BR /> app.use(passport.authenticate('basic', { session: false }));<BR /> app.use(bodyParser.text({ type: 'application/json' }));<BR /> ...<BR /> app.listen(process.env.PORT || 5000, function () {<BR /> console.log('Proxy app started');<BR /> });</CODE></PRE><BR /> and code for proxying a POST call<BR /> <PRE class="language-javascript"><CODE>app.post('/MyEntitySet', async (req, res) =&gt; {<BR /> if (!req.user) { res.sendStatus(403); return; }<BR /> await httpclient.executeHttpRequest(<BR /> {<BR /> destinationName: 'MY_DESTINATION'<BR /> },<BR /> { <BR /> method: 'POST',<BR /> url: "/sap/opu/odata/sap/ZMY_SERV_SRV/MyEntitySet",<BR /> headers: {<BR /> "Content-Type":"application/json; charset=utf-8",<BR /> "Accept":"application/json"<BR /> },<BR /> data: req.body<BR /> }<BR /> ).then(response =&gt; {<BR /> res.send(response.data);<BR /> }).catch(err =&gt; {<BR /> res.status(500).send('Backend Error');<BR /> }); <BR /> });</CODE></PRE><BR /> (in real life you might want to use wildcards and parse req.url)<BR /> <H1 id="toc-hId-245276224">Proxy with Principal Propagation</H1><BR /> Principal Propagation means the client needs to authenticate the user aka principal against the BTP and obtain tokens which need to be stored securely. When accessing the proxy the token needs to be presented. The token is then forwared to the cloud connector which generates authorization info using the principal for the onpremise system (configuring cloud connector and onpremise systems to achieve this is beyond the scope of this blog).<BR /> <BR /> In this example the native client needs to obtain a JWT token and send it along with request to the proxy. The JWT token will eg be obtained and renewed by utilizing SAML 2.0 and OAuth 2 protocols with the XSUAA service, cf. <A href="https://sap.github.io/cloud-sdk/docs/java/guides/cloud-foundry-xsuaa-service" target="test_blank" rel="nofollow noopener noreferrer">https://sap.github.io/cloud-sdk/docs/java/guides/cloud-foundry-xsuaa-service</A> . The native client should use libraries for this tasks (this is however beyond the scope of this blog). After deploying the proxy app to the BTP go to the deployed app in the BTP cockpit, select "Service Bindings" on the left and click on "Show sensitive data" to obtain the data for the libraries. You need<BR /> <UL><BR /> <LI>token_service_url : Add /oauth/authorize for the SAML 2.0 login endpoint, /oauth/token for the OAuth 2.0 endpoint and /logout.do for the SAML 2.0 logout endpoint</LI><BR /> <LI>clientid and clientsecret for the OAuth 2 protocol</LI><BR /> </UL><BR /> Also go to "Scopes" on the left and use the displayed scope name in the OAuth 2 protocol.<BR /> <BR /> The configuration for xsuaa in the xs-security.json file is needed (add scopes and role-templates as needed):<BR /> <PRE class="language-javascript"><CODE>{<BR /> "scopes": [<BR /> {<BR /> "name": "$XSAPPNAME.access",<BR /> "description": "Access"<BR /> }<BR /> ],<BR /> "role-templates": [<BR /> {<BR /> "name": "Access",<BR /> "default-role-name": "My Proxy Access Authorization",<BR /> "scope-references": [<BR /> "$XSAPPNAME.access"<BR /> ]<BR /> }<BR /> ],<BR /> "oauth2-configuration": {<BR /> "redirect-uris": [<BR /> "http://localhost:9999/success"<BR /> ]<BR /> }<BR /> }</CODE></PRE><BR /> Use Redirect-URIs as needed by the native libraries (can also use different schemes than http oder https as commonly used on mobile OS).<BR /> <BR /> </DIV><BR /> In the mta.yaml there is now a depedency to the xsuaa service (add role-collections as needed):<BR /> <DIV><BR /> <PRE class="language-javascript"><CODE> requires:<BR /> - name: my_proxy-uaa<BR /> ...<BR /> resources:<BR /> - name: my_proxy-uaa<BR /> type: org.cloudfoundry.managed-service<BR /> parameters:<BR /> path: ./xs-security.json<BR /> service-plan: application<BR /> service: xsuaa<BR /> config:<BR /> xsappname: my_proxy-${space}<BR /> tenant-mode: dedicated<BR /> role-collections:<BR /> - name: 'my_proxy-Access-${space}'<BR /> role-template-references:<BR /> - $XSAPPNAME.Access<BR /> </CODE></PRE><BR /> The xsappname and the role collections name thus contains the space name in order to be able to deploy the proxy app to multiple spaces in the same subacount (eg for three-tier development, test, production spaces). In this case the destination need to be defined at app-level in the respective destination service instance instead of subaccount level to have identical named destinations pointing to development, test, production onpremise systems respectivly (destination can't be defined at space level). Assign the role collection to users, either individually or via groups or via IdP configuration.<BR /> <BR /> The destination is defined with Principal Propagation:<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/12/2023-12-31_03h05_31.png" /></P><BR /> In the package.json we need now additional dependencies to xsenv and xssec:<BR /> <PRE class="language-abap"><CODE> "@sap/xsenv": "^4.2.0",<BR /> "@sap/xssec": "^3.6.0",</CODE></PRE><BR /> (Use at least version 3.6.0 of xssec because of mentioned security issue)<BR /> <BR /> In the JavaScript file the preperation now includes verification of the JWT token with the xsuaa service:<BR /> <PRE class="language-javascript"><CODE>const httpclient = require('@sap-cloud-sdk/http-client');<BR /> const express = require('express');<BR /> const bodyParser = require('body-parser')<BR /> const xsenv = require('@sap/xsenv');<BR /> const passport = require('passport');<BR /> const xssec = require('@sap/xssec');<BR /> <BR /> xsenv.loadEnv();<BR /> const app = express();<BR /> const services = xsenv.getServices({ uaa: 'my_proxy-uaa' });<BR /> passport.use(new xssec.JWTStrategy(services.uaa));<BR /> app.use(passport.initialize());<BR /> app.use(passport.authenticate('JWT', { session: false }));<BR /> app.use(bodyParser.text({ type: 'application/json' }));</CODE></PRE><BR /> The code for proxying a call now contains code for checking the scope and for fowarding the JWT token for principal propagation:<BR /> <PRE class="language-javascript"><CODE>app.post('/MyEntitySet', async (req, res) =&gt; {<BR /> if (!req.authInfo.checkLocalScope('access')) {<BR /> return res.status(403).send('Forbidden');<BR /> }<BR /> await httpclient.executeHttpRequest( <BR /> {<BR /> destinationName: 'MY_DESTINATION'<BR /> jwt: req.authInfo.getAppToken()<BR /> },<BR /> { <BR /> method: 'POST',<BR /> url: "/sap/opu/odata/sap/ZMY_SERV_SRV/MyEntitySet",<BR /> headers: {<BR /> "Content-Type":"application/json; charset=utf-8",<BR /> "Accept":"application/json"<BR /> },<BR /> data: req.body<BR /> }<BR /> )</CODE></PRE><BR /> <H1 id="toc-hId-48762719">Conclusion</H1><BR /> The SAP Cloud SDK for JavaScript makes it easy to use onpremise destinations with principal propagation in a BTP proxy app and hides the complexity in dealing with the destination, connectivity and xsuaa service. Happy Coding and have a succesful and peaceful new year!<BR /> <BR /> </DIV><BR /> </DIV> 2023-12-31T03:44:52+01:00 https://community.sap.com/t5/supply-chain-management-blogs-by-members/sap-intelligent-clinical-supply-management-setup-configuration/ba-p/13574610 SAP Intelligent Clinical Supply Management : Setup & Configuration 2024-01-09T10:43:36+01:00 sunildevanda https://community.sap.com/t5/user/viewprofilepage/user-id/139545 <STRONG>Introduction:</STRONG><BR /> <BR /> SAP Intelligent Clinical Supply Management is an advanced solution that helps life sciences companies improve and automate the supply process for clinical trial materials and gain increased visibility into the status of supplies worldwide.<BR /> <BR /> SAP Intelligent Clinical Supply Management&nbsp;allows you to manage the planning, sourcing, manufacturing, distribution, and reconciliation of supplies for clinical studies, and addresses specific blinding and randomization needs.<BR /> <BR /> <STRONG>Prerequisites:</STRONG><BR /> <OL><BR /> <LI>You have set up your global account and subaccount.</LI><BR /> <LI>You are assigned the Administrator role for the global account.</LI><BR /> <LI>SAP Intelligent Clinical Supply Management is properly entitled to your subaccount.</LI><BR /> <LI>Subscribe your subaccount to the service SAP Intelligent Clinical Supply Management. Select the appropriate plan:</LI><BR /> </OL><BR /> <UL><BR /> <LI>The ICSM standard plan is for a production instance.</LI><BR /> <LI>The ICSM preprod plan is for preproduction/staging, such as for dry-running the system.</LI><BR /> </UL><BR /> <OL start="5"><BR /> <LI>Need to install SAP ICSM Add-on in the backend S/4 HANA system</LI><BR /> <LI>Install the Cloud Connector : To connect your application to an on-premise system, you need to have installed and configured the Cloud Connector.</LI><BR /> </OL><BR /> <STRONG>Create an Instance of the Integration Broker:</STRONG><BR /> <BR /> Through an oauth2 authorized channel, the integration service broker facilitates communication between external systems and the SAP Intelligent Clinical Supply Management planning APIs.<BR /> <BR /> SAP ICSM offer six separate subscription plans that can be used to generate tokens with different authorization scopes:<BR /> <TABLE style="height: 389px" width="631"><BR /> <THEAD><BR /> <TR><BR /> <TD style="width: 117.115px"><STRONG>Plan</STRONG></TD><BR /> <TD style="width: 499.885px"><STRONG>Purpose and Scope</STRONG></TD><BR /> </TR><BR /> </THEAD><BR /> <TBODY><BR /> <TR><BR /> <TD style="width: 117.115px">Standard</TD><BR /> <TD style="width: 499.885px">Any kind of integration (has all authorizations for all&nbsp;SAP Intelligent Clinical Supply Management&nbsp;planning APIs)</TD><BR /> </TR><BR /> <TR><BR /> <TD style="width: 117.115px">irt-actuals-api</TD><BR /> <TD style="width: 499.885px">Actuals (IRT) integration (has read/write authorization for IRT Master Data and IRT Actual Visits APIs)</TD><BR /> </TR><BR /> <TR><BR /> <TD style="width: 117.115px">ctms-api</TD><BR /> <TD style="width: 499.885px">Integration with CTMS systems (has read/write authorization for CTMS Update APIs)</TD><BR /> </TR><BR /> <TR><BR /> <TD style="width: 117.115px">study-api</TD><BR /> <TD style="width: 499.885px">Read/Create Study (has read/create authorization for Study APIs)</TD><BR /> </TR><BR /> <TR><BR /> <TD style="width: 117.115px">config-api:</TD><BR /> <TD style="width: 499.885px">Integration of configuration data (has read/write authorization for Configuration Data APIs)</TD><BR /> </TR><BR /> <TR><BR /> <TD style="width: 117.115px">pushtosupply-api</TD><BR /> <TD style="width: 499.885px">Use the Push to Supply Planning API</TD><BR /> </TR><BR /> </TBODY><BR /> </TABLE><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/MicrosoftTeams-image-53.png" /></P><BR /> <STRONG>Create a Service Key:</STRONG><BR /> <BR /> Now we will Create a Service Key for Each Service Instance and note down the below values that will be use when we will create OAuth 2.0 Client-<BR /> <UL><BR /> <LI>Client ID</LI><BR /> <LI>Client secret</LI><BR /> <LI>URL of the authorization endpoint</LI><BR /> </UL><BR /> <STRONG>Activate Application-Specific OData Services: </STRONG><BR /> <BR /> Run transaction Activate and maintain services (/IWFND/MAINT_SERVICE) and add and activate OData services mentioned in the below guide-<BR /> <BR /> <A href="https://help.sap.com/docs/S4_INTELLCLINICSUPPLYMGMT/59b6f170a5cc412fb3bd5e4d4373e58e/6eeb199254394483be3c8d695f7cd05a.html" target="_blank" rel="noopener noreferrer">Activate Application-Specific OData Services | SAP Help Portal</A><BR /> <BR /> <STRONG>Set Up Cloud Integration to Enable Synchronization of Study Data:</STRONG><BR /> <BR /> Now we will setup cloud integration to enable synchronization of study data below are the steps to setup this-<BR /> <OL><BR /> <LI>Create an RFC Destination</LI><BR /> <LI>Create Your OAuth 2.0 Client</LI><BR /> <LI>Configure Connection Parameters</LI><BR /> </OL><BR /> With this procedure, we enable synchronization with SAP Intelligent Clinical Supply Management for planning to retrieve the latest study data.<BR /> <BR /> <STRONG>1.Create an RFC Destination:</STRONG><BR /> <BR /> To connect our system to the OData service used to get study data from SAP Intelligent Clinical Supply Management for planning, you have to create an RFC destination that points towards this OData service.<BR /> <BR /> Maintain the RFC with “core-icsm-provider-gxp.cfapps.eu10-004.hana.ondemand.com” as it for sap hard coded to SAP tenant not our tenant.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/MicrosoftTeams-image-57.png" /></P><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/MicrosoftTeams-image-58.png" /></P><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/MicrosoftTeams-image-59.png" /></P><BR /> Check connection and response should be 404 and it is not an error.<BR /> <BR /> <STRONG>2. Create Your OAuth 2.0 Client:</STRONG><BR /> <BR /> The OAuth 2.0 client is used in combination with the configuration profile&nbsp;/CTCO/OAUTH_CLIENT_PROFILE&nbsp;and an RFC destination to allow access to&nbsp;SAP Intelligent Clinical Supply Management for planning.<BR /> <BR /> Prerequisites:<BR /> <BR /> To create your OAuth. 2.0 Client, you need the following information:<BR /> <UL><BR /> <LI>OAuth Client ID</LI><BR /> <LI>Client secret</LI><BR /> <LI>URL of the authorization endpoint</LI><BR /> </UL><BR /> Procedure:<BR /> <UL><BR /> <LI>Start transaction OA2C_CONFIG and choose Create.</LI><BR /> <LI>Create a new OAuth 2.0 configuration:</LI><BR /> <LI>Enter the OAuth 2.0 profile /CTCO/OAUTH_CLIENT_PROFILE.</LI><BR /> </UL><BR /> Enter other values according to your system setup. Choose any meaningful name for the configuration.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/MicrosoftTeams-image-60-1.png" /></P><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/MicrosoftTeams-image-61.png" /></P><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/MicrosoftTeams-image-62.png" /></P><BR /> &nbsp;<BR /> <BR /> <STRONG>3. Configure Connection Parameters:</STRONG><BR /> <UL><BR /> <LI>In Customizing for SAP Intelligent Clinical Supply Management go to Interfaces Cloud&nbsp; Configure Connection Parameters for Synchronizing Study Master Data.</LI><BR /> <LI>Enter the RFC destination name and the OAuth 2.0 configuration name.</LI><BR /> </UL><BR /> Go to SPRO T-Code =&gt; Configure Connection Parameters for Synchronizing Study Master Data<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/MicrosoftTeams-image-63.png" /></P><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/MicrosoftTeams-image-64.png" /></P><BR /> <STRONG>Configure cloud connector:</STRONG><BR /> <BR /> To connect SAP ICSM application to an on-premise system, we need to install and configure the Cloud Connector.<BR /> <BR /> Add ICSM Subaccount in the cloud connector and add backend S/4 HANA system which you want to connect.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/MicrosoftTeams-image-65.png" /></P><BR /> <STRONG>Create destination on SAP BTP:</STRONG><BR /> <BR /> Hard code the destination on BTP for the ICSM solution setup, with basis configuration. It enable the connection to all SAP S/4HANA services accessed by end users and by technical users, respectively.<BR /> <TABLE><BR /> <THEAD><BR /> <TR><BR /> <TD width="174">SAP S/4 HANA Service</TD><BR /> <TD width="210">Destination</TD><BR /> <TD width="130">Destination URL</TD><BR /> <TD width="109">Authorization Type</TD><BR /> </TR><BR /> </THEAD><BR /> <TBODY><BR /> <TR><BR /> <TD width="174">All services accessed by end users</TD><BR /> <TD width="210"><STRONG>ICSM_S4_API</STRONG></TD><BR /> <TD width="130"><A href="http://&lt;virtual_host&gt;:&lt;virtual_port&gt;" target="test_blank" rel="nofollow noopener noreferrer">http://&lt;virtual_host&gt;:&lt;virtual_port&gt;</A>;</TD><BR /> <TD width="109">Principal propagation</TD><BR /> </TR><BR /> <TR><BR /> <TD width="174">All services accessed by technical users (validation jobs, recalculation jobs, and study API)</TD><BR /> <TD width="210"><STRONG>ICSM_S4_API_BasicAuth</STRONG></TD><BR /> <TD width="130"><A href="http://&lt;virtual_host&gt;:&lt;virtual_port&gt;" target="test_blank" rel="nofollow noopener noreferrer">http://&lt;virtual_host&gt;:&lt;virtual_port&gt;</A>;</TD><BR /> <TD width="109">Basic authentication</TD><BR /> </TR><BR /> </TBODY><BR /> </TABLE><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/MicrosoftTeams-image-66.png" /></P><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/MicrosoftTeams-image-67.png" /></P><BR /> Add additional properties in the destination-<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/MicrosoftTeams-image-68.png" /></P><BR /> The configuration is completed and now we will create users in BTP and assign required roles.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/MicrosoftTeams-image-69.png" /></P><BR /> <STRONG>Data flow in SAP ICSM:</STRONG><BR /> <BR /> Bi-directional dataflow as below –<BR /> <OL><BR /> <LI>S/4 HANA System to ICSM Application (On-premise to cloud)</LI><BR /> <LI>ICSM Application to S/4 HANA System (Cloud to on-premise)</LI><BR /> <LI><STRONG> S/4 HANA to ICSM:</STRONG> In ICSM we will use O-Data services from the on-premise S4HANA System</LI><BR /> <LI><STRONG> ICSM to S/4 HANA:</STRONG> When we create a study in ICSM we can see it in the table “/CTCO/ST_STATUS” in S4HANA on-premise system.</LI><BR /> </OL><BR /> Study Created In ICSM:<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/MicrosoftTeams-image-70.png" /></P><BR /> The study types are pushed to S/4 Hana system we can see in table /CTCO/STUDYT:<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/MicrosoftTeams-image-71.png" /></P><BR /> In this way we can Setup &amp; Configure SAP Intelligent Clinical Supply Management BTP Application. 2024-01-09T10:43:36+01:00 https://community.sap.com/t5/technology-blogs-by-members/sap-cloud-connector-upgrade-and-high-availability-configuration-atr/ba-p/13571987 SAP Cloud Connector Upgrade and High Availability Configuration #ATR 2024-01-09T11:36:57+01:00 AJAYTR_ATR66 https://community.sap.com/t5/user/viewprofilepage/user-id/178188 #ATR blog (4)<BR /> <BR /> Informative Note: Created this blog to provide information on how to upgrade SAP Cloud Connector (SCC) and do High Availability Configuration (Windows)<BR /> <BR /> Prerequisites - Knowledge on SCC Installation.<BR /> <BR /> Cloud connector serves as a link between SAP BTP applications and on-premise systems. Eg: Business users will use SAP BTP BAS Application and fetch ABAP ODATA services to create new Fiori UI5 Apps.<BR /> <BR /> General Knowledge Link: <A href="https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/cloud-connector" target="test_blank" rel="noopener noreferrer">https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/cloud-connector</A>.<BR /> <BR /> <STRONG>Pre-requisites for HA Configuration:</STRONG><BR /> <OL><BR /> <LI>Upgrade Cloud connector to latest version. Although HA supports with different cloud connector version, there can be inconsistencies between primary and secondary SCC due to version mismatch. We won't have much impact technically.</LI><BR /> </OL><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/lkdmglwmgfwefgwegf.png" /></P><BR /> To avoid this scenario, we can update primary cloud connector to latest version before proceeding HA configuration.<BR /> <BR /> Download Link for SAP JVM and Cloud Connector: <A href="https://tools.hana.ondemand.com/#cloud" target="test_blank" rel="nofollow noopener noreferrer">https://tools.hana.ondemand.com/#cloud</A> -&gt; Cloud Connector<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/dvwdfwfe.png" /></P><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/fergergerg.png" /></P><BR /> Current Scenario: Cloud Connector version: 2.13.2. Planned upgrade version: 2.15.2. Post which HA Configuration needs to be done.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/dvwfwef.png" /></P><BR /> 2. Take backup of your cloud connector.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/wefwlkefwef.png" /></P><BR /> 3) Check in browser whether shadow cloud connector VM(shadow) fetches right certificate for your Region (Europe Rot Neo, Frankfurt CF, etc.,.) If you are using proxy, make sure whether Cloud connector ports allowed in proxy. Cloud connector will redirect and fetch right certificate while adding/configuring subaccounts if ports are allowed in proxy.<BR /> <BR /> You can find ports information in below link<BR /> <BR /> <A href="https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/prerequisites" target="test_blank" rel="noopener noreferrer">https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/prerequisites</A>.<BR /> <P style="overflow: hidden;margin-bottom: 0px">&nbsp; &nbsp; <IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/ewgwefwefwf.png" /></P><BR /> &nbsp; &nbsp;If cloud connector fetches wrong certificate, ask security team to unblock SCC Region Ip and disable https inspection for all Ips - port 443.<BR /> <BR /> 4) Telnet and check whether cloud connector ports are reachable or not - In Shadow SCC VM(Windows) - command - telnet IP(port) 443. If it fails, we can't able to add subaccount/HA works but connectivity to subaccount will fail.<BR /> <P style="overflow: hidden;margin-bottom: 0px">Eg: telnet 155.56.210.83 443<IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/sdvwefwefwef.png" /></P><BR /> &nbsp; Also check whether master SCC port accessible from Shadow. If it fails, HA configuration won't work.<BR /> <BR /> Command: telnet masterscchostname 8443<BR /> <BR /> 5) If you want to maintain secure SSL, renew shadow server VM(Windows) certificate with right domain name prior. We can apply certificate(in UI/System) post installation. Make sure to upload same certificate in On-Premises ABAP System - STRUST. This will avoid SSL communication issues post installation.<BR /> <BR /> Below image captured post installation (UI &amp; System Certificate)<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/dvwefgewgeg.png" /></P><BR /> &nbsp;<BR /> <BR /> 6) We might face below error after configuring HA. If Master and Shadow state collapsed and lost, we can simply use reset (button) -&gt; stop SCC then set Master/Shadow state via java.jar command accordingly. Once Master/Shadow role set, start SCC and recover using backup file.<BR /> <BR /> " SWITCH ROLE FAILED IN FIRST ATTEMPT. ROLE EXCHANGE OK BUT CONNECTION CHECK NOT SUCCESSFUL”<BR /> <BR /> <STRONG><EM>&nbsp; java -jar configurator.jar -be master</EM></STRONG><BR /> <BR /> FYI - <A href="https://me.sap.com/notes/0002899832" target="test_blank" rel="noopener noreferrer">https://me.sap.com/notes/0002899832</A> - Detailed Explanation<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/dfgwefgwefwef.png" /></P><BR /> &nbsp;<BR /> <BR /> <STRONG>UPGRADE SCC FROM 2.13.2 to 2.15.2:</STRONG><BR /> <OL><BR /> <LI>Make sure whether you have downloaded updated JVM and set JVM path in JAVA_HOME &amp; PATH Environment variable. It will help SCC to detect SAP JVM files and use for connectivity purposes.</LI><BR /> </OL><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/wefwefwfwef.png" /></P><BR /> &nbsp; &nbsp; &nbsp;2. Stop Cloud Connector before upgrading - Windows Service - SAP Cloud Connector<BR /> <BR /> 3. Uninstall Cloud Connector. PFA - <A href="https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/upgrade" target="test_blank" rel="noopener noreferrer">https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/upgrade</A>.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/fwefwfe.png" /></P><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/dvswvewvve.png" height="223" width="608" /></P><BR /> &nbsp; Retain files so that it will fetch all connected subaccounts automatically. If you want to install upgraded version in any other preferred path, you can install fresh in your preferred path and use backup to recover your account. Make sure to take backup of scc config folder and files for safer side.<BR /> <BR /> 4. Once uninstalled, reinstall cloud connector with latest version (Current scenario - 2.15.2)<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/dsfwfwefwef.png" /></P><BR /> Choose SCC installation path. If you choose old path with retained files, SCC will fetch and connect all subaccounts as well as set whether SCC should act as Master/Shadow Role.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/efwefwef.png" /></P><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/fwefwfewef.png" /></P><BR /> Prefer to use default port 8443<BR /> <BR /> &nbsp;<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/dvergergferg.png" /></P><BR /> Choose SAP JVM path and start Cloud connector.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/efwefwefwfe.png" /></P><BR /> &nbsp;5. Before accessing SCC link, clear browser cache to avoid any unpredictable behavior due to the upgraded UI.<BR /> <BR /> Check upgraded version details in ABOUT.<BR /> <BR /> <A href="https://hostname:8443" target="test_blank" rel="nofollow noopener noreferrer">https://hostname:8443</A><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/sdfwefwef.png" /></P><BR /> &nbsp;<BR /> <BR /> <STRONG>HA CONFIGURATION:</STRONG><BR /> <OL><BR /> <LI>Install Shadow Server -&nbsp; Use same upgrade steps to install Shadow server. Start Shadow Cloud Connector.</LI><BR /> <LI>Initial Configuration: Administrator user and Password 'manage' and set "Shadow" role.</LI><BR /> </OL><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/wevwefwefwef.png" /></P><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/dwfwefwfe.png" /></P><BR /> &nbsp;<BR /> <BR /> Initial Configuration completed.<BR /> <BR /> 3. Replace default UI certificate with your renewed shadow hostname certificate.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/gergerferf.png" /></P><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/efgwefwef.png" /></P><BR /> Restart SCC to reflect newer certificate.<BR /> <BR /> ..................<BR /> <BR /> <STRONG>Note:</STRONG><BR /> <BR /> 1) UI certificate: Certificate matching corresponding CN name needed since UI certificate is server specific. If not updated, SCC link will be unsecure SSL state.<BR /> <BR /> 2) System certificate can be common certificate which used for connecting On-Premises systems. It can be Master/Shadow, but Master server certificate is recommended. You can use same UI certificate as System Certificate.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/dwefwefwef.png" /></P><BR /> .................<BR /> <BR /> 4. Once shadow server installed and configuration completed, Enable high availability in Primary Master SCC.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/qwdqwdwd.png" /></P><BR /> &nbsp;<BR /> <BR /> &nbsp;<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/dsgsefwefwef.png" /></P><BR /> &nbsp; &nbsp;5. Login into shadow SCC and use "Connect" option. Enter Master SCC password.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/vwefwef.png" /></P><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/fwefwefwef.png" /></P><BR /> <P style="overflow: hidden;margin-bottom: 0px">&nbsp; <IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/efwefwefwef.png" /></P><BR /> Check connectivity as well as mirrored subaccounts.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/berergerg.png" /></P><BR /> &nbsp;<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/dfwefwefwef.png" /></P><BR /> &nbsp;<BR /> <BR /> Connection to Master from Shadow successful.<BR /> <BR /> 6. Login into Master and check connectivity.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/egwefwefwef.png" /></P><BR /> &nbsp;<BR /> <BR /> <EM>HA Configuration completed.</EM><BR /> <BR /> &nbsp;<BR /> <BR /> <STRONG>&nbsp;Switch Roles - Takeover:</STRONG><BR /> <P style="overflow: hidden;margin-bottom: 0px">&nbsp; &nbsp; &nbsp;Switch roles and test HA takeover. Also, set automatic takeover delay accordingly.</P><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/sdvvef.png" /></P><BR /> <STRONG>&nbsp;On-Premise Connection Check:</STRONG><BR /> <BR /> Check ABAP System connection as well once takeover done. Make sure to upload both Master/Shadow System Certificate in ABAP STRUST.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/dvwefwefwef.png" /></P><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/dvefwefef.png" /></P><BR /> &nbsp;<BR /> <BR /> <STRONG>Mail Config:</STRONG><BR /> <BR /> You can also set E-Mail Configuration for Alerts - Connectivity loss/timeout, Automatic Takeover,etc.,.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/dvwefwefewf.png" /></P><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/dvwewefwefwef.png" height="463" width="430" /></P><BR /> &nbsp;<BR /> <BR /> <STRONG>&nbsp;INFO:</STRONG><BR /> <BR /> If you are having old SAP SCC version and business SCC downtime not possible, you can download latest SCC for shadow and configure HA directly irrespective of their version mismatch. It might be incompatible but it won't impact much technically. You can switch roles once HA Configured and update old SCC version. This will avoid SCC downtime.<BR /> <BR /> &nbsp;<BR /> <BR /> Thanks for visiting!<BR /> <BR /> &nbsp;<BR /> <BR /> &nbsp; 2024-01-09T11:36:57+01:00 https://community.sap.com/t5/technology-blogs-by-members/sap-btp-for-your-home-lab/ba-p/13593650 SAP BTP for your home lab 2024-02-03T19:21:11.143000+01:00 L_Skorwider https://community.sap.com/t5/user/viewprofilepage/user-id/172246 <P>Some time ago I presented <A href="https://community.sap.com/t5/application-development-blog-posts/your-own-s-4hana-sandbox-at-home/ba-p/13578319" target="_self">how to install an S/4HANA-like system in a home lab</A>. This was met with a lot of interest, so I assume there is demand for testing new technologies and having an environment completely independent of your employer. I know that many consultants are looking for a way to develop, prepare for exams or test new ideas.</P><P>At a time when we are surrounded on all sides by new technologies, platforms, integration opportunities, it is even more important to be able to run tests on a completely isolated environment. One should be aware that many experiments will be abandoned, and it is not always easy to fully clean up the system. Being able to experiment at home has always been invaluable to me, so I encourage everyone to do so.</P><P>And just such a unique opportunity is provided by ABAP Platform Trial, which comes in the form of a Docker container. While it uses your system's resources, you can find that you need a fresh environment at any time. Then you run the container from the image once again and you have a completely fresh system. Fantastic feature!</P><P>However, not everyone is aware that the ABAP Platform Trial image comes with Cloud Connector. This makes it very easy to connect your own SAP sandbox to the Business Technology Platform. If you add to that the ability to create a free trial account on SAP BTP, it gets really exciting.&nbsp;</P><P>Watch a tutorial on how to easily prepare such a setup completely free of charge. And start learning this important technology.</P><P>&nbsp;</P><P><div class="video-embed-center video-embed"><iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fqk_noUl0Zgc%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dqk_noUl0Zgc&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fqk_noUl0Zgc%2Fhqdefault.jpg&amp;key=b0d40caa4f094c68be7c29880b16f56e&amp;type=text%2Fhtml&amp;schema=youtube" width="600" height="337" scrolling="no" title="Connecting SAP BTP to your SAP sandbox" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture;" allowfullscreen="true"></iframe></div></P><P>&nbsp;</P> 2024-02-03T19:21:11.143000+01:00 https://community.sap.com/t5/enterprise-architecture-blog-posts/unleash-the-power-of-real-time-business-insights-with-sap-advanced-event/ba-p/13646287 Unleash the Power of Real-Time Business Insights with SAP Advanced Event Mesh 2024-03-26T03:57:44.968000+01:00 Nallam_97 https://community.sap.com/t5/user/viewprofilepage/user-id/1423382 <P>&nbsp;</P><P><SPAN><STRONG>Unleash the Power of Real-Time Business Insights with SAP Advanced Event Mesh</STRONG></SPAN></P><P><SPAN><BR />In today's ever-changing business landscape, being able to respond quickly is crucial. SAP Business Technology Platform (BTP) lays the groundwork for this agility by providing a comprehensive integration platform. But what if you could harness the power of instant reactions to every customer interaction? That's where SAP Advanced Event Mesh (AEM) comes in - a revolutionary tool that unlocks the true potential of SAP BTP. By utilizing the event-driven architecture championed by SAP BTP, AEM empowers businesses to make real-time, data-driven decisions - a vital capability in today's fast-paced environment.</SPAN></P><P><SPAN>Imagine a world where every customer interaction triggers an immediate response, enabling businesses to make informed choices in real-time. This is the power of SAP Advanced Event Mesh (AEM), a revolutionary tool that transforms how businesses react to events and unlock hidden opportunities&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .</SPAN></P><P style=" text-align: center; "><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Nallam_97_0-1711483863565.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/86952i16E613984B8AA697/image-size/medium?v=v2&amp;px=400" role="button" title="Nallam_97_0-1711483863565.png" alt="Nallam_97_0-1711483863565.png" /></span><SPAN>(Image Source: SAP)</SPAN></P><P style=" text-align: center; ">&nbsp;</P><P><SPAN><STRONG>The Grocery Store Scenario: A Glimpse into the Future of Inventory Management</STRONG></SPAN></P><P><SPAN><BR />Consider a grocery store whe­re every purchase­ instantly triggers an event that is re­layed to a central system. This e­liminates the nee­d for traditional end-of-day reports, allowing for immediate­ insights into:</SPAN></P><UL><LI><SPAN><STRONG>Product popularity:</STRONG> Identify fast-selling items and e­nsure they are always in stock.</SPAN></LI><LI><SPAN><STRONG>Inve­ntory optimization:</STRONG> Replenish stock as soon as it runs low, preve­nting lost sales and customer frustration. </SPAN></LI></UL><P><SPAN>This is just one e­xample of how AEM streamlines busine­ss processes and enable­s proactive decision-making across various industries.</SPAN></P><P><SPAN><STRONG>&nbsp;Ke­y Features of SAP AEM:</STRONG></SPAN></P><UL><LI><SPAN><STRONG>Event-drive­n communication:</STRONG> Respond to events as the­y happen, creating a dynamic and responsive­ system.</SPAN></LI><LI><SPAN><STRONG>Scalability and flexibility:</STRONG> Easily adapt to changing business ne­eds and data volumes. </SPAN></LI><LI><SPAN><STRONG>Unified e­vent management:</STRONG></SPAN><SPAN> Gain ce­ntralized control and visibility over all eve­nts within your SAP landscape. </SPAN></LI><LI><SPAN><STRONG>Seamless inte­gration:</STRONG></SPAN><SPAN> Integrate seamle­ssly with SAP and Non-SAP solutions.<BR /><BR /></SPAN><SPAN><STRONG>Components of SAP AEM:</STRONG></SPAN></LI></UL><P><SPAN><STRONG>&nbsp; &nbsp; &nbsp; &nbsp;Mission Control:</STRONG></SPAN><SPAN> Easily de­ploy and manage event broke­rs, monitor their performance, and visualize­&nbsp; &nbsp; &nbsp; &nbsp;your event-driven archite­cture.</SPAN></P><P><SPAN><STRONG>&nbsp; &nbsp; &nbsp; &nbsp;Event Portal:</STRONG></SPAN><SPAN> Design your e­vent-driven setup using a full se­t of tools, including an overview, designe­r, catalog, and event manager for running e­vents. </SPAN></P><P><SPAN><STRONG>&nbsp; &nbsp; &nbsp; Insights:</STRONG></SPAN><SPAN> Get real-time­ insights into the health and performance­ of your event network, ensuring your applications work well.</SPAN></P><P><SPAN><BR /></SPAN><SPAN><STRONG>&nbsp; &nbsp; &nbsp; Deployment Options:</STRONG> </SPAN></P><P><SPAN><BR />&nbsp; &nbsp; &nbsp; You can choose from diffe­rent deployment options for SAP AEM: </SPAN></P><UL><LI><SPAN><STRONG>Public Re­gions:</STRONG> This allows you to use the infrastructure manage­d by SAP, which is simple and easy to use. </SPAN></LI><LI><SPAN><STRONG>De­dicated Regions:</STRONG></SPAN><SPAN> This gives you more­ control and isolation within a dedicated SAP cloud environme­nt. </SPAN></LI><LI><SPAN><STRONG>Customer-Controlled Regions:</STRONG></SPAN><SPAN> This le­ts you deploy AEM on your own Kubernete­s cluster, giving you ultimate customization and control<BR /><STRONG><BR />&nbsp;Security:</STRONG> </SPAN></LI></UL><P><SPAN>&nbsp; &nbsp; &nbsp; &nbsp;SAP AEM take­s security very seriously at e­very level, with fe­atures like: </SPAN></P><UL><LI><SPAN>Secure­ cloud architecture with various deployme­nt options.</SPAN></LI><LI><SPAN>VPC/VNet isolation for keeping data se­gregated secure­ly.</SPAN></LI><LI><SPAN>Multi-factor authentication and authorization to have comprehe­nsive access control.</SPAN></LI></UL><P>&nbsp;</P> 2024-03-26T03:57:44.968000+01:00 https://community.sap.com/t5/technology-blogs-by-sap/migration-of-sap-hana-on-premise-database-to-sap-hana-cloud/ba-p/13654501 Migration of SAP Hana On-Premise Database to SAP HANA Cloud 2024-04-01T10:15:35.049000+02:00 apoorva_nagaraju https://community.sap.com/t5/user/viewprofilepage/user-id/406235 <P>SAP provides a tool called Self-Service Migration to assist migration to SAP HANA Cloud.</P><P>This tool checks the compatibility of your SAP HANA database with SAP HANA Cloud and identifies which features, database objects, and SQL statements can be migrated seamlessly, and which need to be adapted before use.</P><P>Self-Service Migration tool also includes information about the features that cannot be automatically migrated&nbsp;<SPAN>and offers suggestions about how to adapt your current implementation to work in SAP HANA Cloud where</SPAN> possible.</P><P><STRONG>Pre-requisites</STRONG></P><UL><LI>Supported for SAP HANA Database Revision 53 or greater.</LI><LI>Connectivity Service Entitlement with the service plan “connectivity_proxy” must be enabled for your subaccount using the SAP BTP cockpit.</LI><LI>Create the <A href="https://help.sap.com/docs/hana-cloud/sap-hana-cloud-migration-guide/create-migration-user" target="_blank" rel="noopener noreferrer">migration user</A> in the source HANA database and assign necessary privileges.</LI><LI>Establish a connection to the source database using <A href="https://help.sap.com/docs/hana-cloud/sap-hana-cloud-migration-guide/connect-to-sap-hana-platform-on-premise-database" target="_blank" rel="noopener noreferrer">Cloud Connector</A>.</LI></UL><P><STRONG>Procedure</STRONG></P><P>1. Open SAP HANA Cloud Central, navigate to “Migrations”.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="apoorva_nagaraju_6-1711957784886.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/89033i9FE044606CAA4ABF/image-size/large?v=v2&amp;px=999" role="button" title="apoorva_nagaraju_6-1711957784886.png" alt="apoorva_nagaraju_6-1711957784886.png" /></span></P><P>2.&nbsp;Choose “Create Migration”, specify the migration information, and then “Create”.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="apoorva_nagaraju_7-1711957819088.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/89054iDB6B4EC370E3AC60/image-size/medium?v=v2&amp;px=400" role="button" title="apoorva_nagaraju_7-1711957819088.png" alt="apoorva_nagaraju_7-1711957819088.png" /></span></P><P>3.&nbsp;In the <STRONG>PLAN</STRONG> phase,</P><P>a. Select the source database system that you want to migrate.</P><P>Enter the virtual host and port that you specified in the cloud connector configuration.</P><P>b. Specify the cloud connector details.</P><P>Enable Cloud Connector and specify the Cloud Connector Location ID.</P><P>c. Enter the credentials of the migration user that was created in the tenant database of the source system.</P><P>d. Check Compatibility with SAP HANA Cloud.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="apoorva_nagaraju_8-1711957874277.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/89055i0426A8445A8D4852/image-size/large?v=v2&amp;px=999" role="button" title="apoorva_nagaraju_8-1711957874277.png" alt="apoorva_nagaraju_8-1711957874277.png" /></span>e. Once the Self-Service Migration tool finishes checking your database, it lists any incompatibilities found. The list is grouped by Database Objects and SQL Statements.</P><P>f. It provides information on the compatibility of the database objects and executed statements with SAP HANA Cloud.</P><P>g. Only checks with the severity 'CRITICAL' and 'UNKNOWN' will forbid the migration. Checks with the severity 'ERROR' or below will allow the migration; however, it is possible that some functionality may not work as expected in the target database.</P><P>h. Review and resolve the incompatibilities where possible. Choose Proceed to Preparation Phase.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="apoorva_nagaraju_9-1711957939343.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/89056i2974C7EE84809A7B/image-size/large?v=v2&amp;px=999" role="button" title="apoorva_nagaraju_9-1711957939343.png" alt="apoorva_nagaraju_9-1711957939343.png" /></span></P><P>4.&nbsp;In the <STRONG>PREPARATION</STRONG> phase, you specify what to migrate, where to migrate it to, and which user credentials are required to perform the migration. (XS advanced service instances is not included in this migration)</P><P>a.&nbsp;Specify the credentials of the migration user and choose “Save and Proceed to Select Target”.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="apoorva_nagaraju_10-1711957976362.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/89057iBB30B0B6B505121B/image-size/large?v=v2&amp;px=999" role="button" title="apoorva_nagaraju_10-1711957976362.png" alt="apoorva_nagaraju_10-1711957976362.png" /></span></P><P>b.&nbsp;Choose the target database for the migration. Enter the credentials of the DBADMIN user on the target database and “Proceed to Execution Phase”.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="apoorva_nagaraju_11-1711958003384.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/89058i0767DED03874FB44/image-size/large?v=v2&amp;px=999" role="button" title="apoorva_nagaraju_11-1711958003384.png" alt="apoorva_nagaraju_11-1711958003384.png" /></span></P><P>5.&nbsp;In the <STRONG>EXECUTION</STRONG> phase, choose “Start Migration” to trigger the migration process and monitor progress in the status bars.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="apoorva_nagaraju_12-1711958034773.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/89060iDDE76869D58F1F0C/image-size/large?v=v2&amp;px=999" role="button" title="apoorva_nagaraju_12-1711958034773.png" alt="apoorva_nagaraju_12-1711958034773.png" /></span></P><P>After the migration, a summary is displayed, and you can proceed to the VALIDATION phase.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="apoorva_nagaraju_14-1711958065255.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/89062i9867A35B9866A7FE/image-size/large?v=v2&amp;px=999" role="button" title="apoorva_nagaraju_14-1711958065255.png" alt="apoorva_nagaraju_14-1711958065255.png" /></span></P><P>6.&nbsp;In the <STRONG>VALIDATION </STRONG>phase, the metadata and data of the migrated content are checked for consistency, also the record count of the tables to be migrated can be checked.</P><P>Choose “Proceed to Finalization Phase”.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="apoorva_nagaraju_15-1711958095512.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/89063i24E54FE8D18975A7/image-size/large?v=v2&amp;px=999" role="button" title="apoorva_nagaraju_15-1711958095512.png" alt="apoorva_nagaraju_15-1711958095512.png" /></span></P><P>7.&nbsp;In the <STRONG>FINALIZATION</STRONG> phase, the finalization process removes all artifacts that were temporarily stored by the migration service.</P><P>a. Choose “Deactivate migration user” to disable the DMUSER after the migration in the target SAP HANA database and “Finalize Migration” to complete the migration and start the post-migration clean-up.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="apoorva_nagaraju_16-1711958126138.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/89066iCFE8BF386C9CAAE1/image-size/large?v=v2&amp;px=999" role="button" title="apoorva_nagaraju_16-1711958126138.png" alt="apoorva_nagaraju_16-1711958126138.png" /></span></P><P>b.&nbsp;The SAP HANA database is migrated to SAP HANA Cloud. A summary screen is displayed, containing information about the completed migration, including statistics about the migrated database, migration step durations, and validation statuses.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="apoorva_nagaraju_17-1711958151384.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/89067iA4776AE19C518C5C/image-size/large?v=v2&amp;px=999" role="button" title="apoorva_nagaraju_17-1711958151384.png" alt="apoorva_nagaraju_17-1711958151384.png" /></span></P><P>c.&nbsp;“Clean Up Process” will archive the completed migration. Once the migration is archived, it serves as a reference and cannot be altered. Up to 20 migrations can be archived.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="apoorva_nagaraju_18-1711958187260.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/89069iCD19E2C81C77529D/image-size/large?v=v2&amp;px=999" role="button" title="apoorva_nagaraju_18-1711958187260.png" alt="apoorva_nagaraju_18-1711958187260.png" /></span></P><P><STRONG>Conclusion</STRONG></P><P>In this blog, we have learnt on how to migration&nbsp;SAP Hana On-Premise to SAP HANA Cloud using Self Service Tool.</P> 2024-04-01T10:15:35.049000+02:00 https://community.sap.com/t5/technology-blogs-by-members/consuming-capm-application-s-odata-service-into-sap-fiori-application-in/ba-p/13667392 Consuming CAPM Application's OData service into SAP Fiori Application in Business Application Studio 2024-04-16T12:50:31.978000+02:00 Chetan_Bhatt https://community.sap.com/t5/user/viewprofilepage/user-id/1429690 <P style=" text-align : justify; "><STRONG>OBJECTIVE-:</STRONG></P><P style=" text-align : justify; ">Consuming OData Service of CAPM Application into SAP Fiori Application in Business Application Studio.</P><P style=" text-align : justify; "><STRONG>CAPM (Cloud Application Programming Model)-:</STRONG></P><P style=" text-align : justify; ">It is an open-source framework that uses tools, libraries, and languages to create applications that can be used across multiple SAP products. CAPM is a multi-target application that runs at different times, with the persistence layer running in the HANA DB run time, the server layer running in the Node.js run time, and the UI/UX layer running in the browser run time.</P><P style=" text-align : justify; ">CAPM is one of the approaches to developing cloud applications using the BTP platform. CAPM offers a more structured and seamless framework for data modelling and enhancing integration with services.</P><P style=" text-align : justify; "><STRONG>Advantage of CAPM over other approaches-:</STRONG></P><UL style=" text-align : justify; "><LI>It enables full-stack development in the same environment. (BAS), eliminating the need to switch between different environments for the backend and frontend development.</LI><LI>It offers flexibility in language selection, allowing developers to work with multiple languages according to their needs. BAS provides easy connectivity to required extensions for this purpose.</LI><LI>Seamless integration with git and other applications via APIs facilitating extension or development of the application.</LI><LI>Automatically handling dependencies to a certain extent, reducing frustration, and improving development speed. For example, handling the OData after exposing all entities and making it easier to consume in the UI.</LI></UL><P style=" text-align : justify; "><STRONG>Prerequisites-:</STRONG></P><UL style=" text-align : justify; "><LI>Create a CAPM project.</LI><LI>Log in to Cloud Foundry Credentials.</LI><LI>Ensure the HANA Database is created and running (I Used it for storage and data creation).</LI></UL><P style=" text-align : justify; "><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chetan_Bhatt_0-1712859475702.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/95284iF96BE8EFB182149E/image-size/medium?v=v2&amp;px=400" role="button" title="Chetan_Bhatt_0-1712859475702.png" alt="Chetan_Bhatt_0-1712859475702.png" /></span></P><P style=" text-align : justify; ">&nbsp;</P><P style=" text-align : justify; "><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chetan_Bhatt_1-1712859475728.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/95285iC96312CDDC8F56E6/image-size/medium?v=v2&amp;px=400" role="button" title="Chetan_Bhatt_1-1712859475728.png" alt="Chetan_Bhatt_1-1712859475728.png" /></span></P><P style=" text-align : justify; ">&nbsp;</P><UL style=" text-align : justify; "><LI>Set up a Dev Space.</LI><LI>Create a SAP Build Work Zone instance to act as a Fiori Launchpad for the CAPM Application</LI></UL><P style=" text-align : justify; ">&nbsp;</P><P style=" text-align : justify; "><STRONG>You Have to create a new Destination in BTP (Connectivity -&gt; Destination)-:</STRONG></P><P style=" text-align : justify; ">&nbsp;</P><P style=" text-align : justify; "><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chetan_Bhatt_2-1712859475732.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/95283i2F37A3A4212C375A/image-size/medium?v=v2&amp;px=400" role="button" title="Chetan_Bhatt_2-1712859475732.png" alt="Chetan_Bhatt_2-1712859475732.png" /></span></P><P style=" text-align : justify; ">&nbsp;</P><P style=" text-align : justify; ">This destination will be used for passing system information when creating a Fiori Application.</P><P style=" text-align : justify; ">For the URL, DEPLOY YOUR APPLICATION IN CLOUD FOUNDRY (Cloud Foundry -&gt;Spaces -&gt;Dev (Space Name)-&gt;Your Service (here it is CAPMChetan-srv) and copy Application Routes).</P><P style=" text-align : justify; ">This URL will be shown only when you deploy your CAPM Application in Cloud Foundry-&gt; A new blog will be there to deploy the CAPM Application.</P><P style=" text-align : justify; "><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chetan_Bhatt_3-1712859475740.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/95288i831E1DE5FA2B9750/image-size/medium?v=v2&amp;px=400" role="button" title="Chetan_Bhatt_3-1712859475740.png" alt="Chetan_Bhatt_3-1712859475740.png" /></span></P><P style=" text-align : justify; ">&nbsp;</P><P style=" text-align : justify; ">For Authorization, use the same authorization as created in the package.json -&gt; a new blog will create a security configuration.</P><P style=" text-align : justify; ">&nbsp;</P><P style=" text-align : justify; ">Now that the destination for the service is configured, proceed to create a FIORI APP: -</P><UL style=" text-align : justify; "><LI>Open SAP BAS (Business Application Studio).</LI><LI>Open DEV Space where you want to create a Fiori Application.</LI><LI>Go to File -&gt; New Project From template.</LI><LI>Choose a project from the Template (SAP Fiori Application).</LI></UL><P style=" text-align : justify; "><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chetan_Bhatt_4-1712859475749.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/95287i3F3554B2250D61A3/image-size/medium?v=v2&amp;px=400" role="button" title="Chetan_Bhatt_4-1712859475749.png" alt="Chetan_Bhatt_4-1712859475749.png" /></span></P><P style=" text-align : justify; ">&nbsp;</P><UL style=" text-align : justify; "><LI>Choose any Template of your choice.</LI></UL><P style=" text-align : justify; "><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chetan_Bhatt_5-1712859475756.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/95286iD67EBDD9E6AB118C/image-size/medium?v=v2&amp;px=400" role="button" title="Chetan_Bhatt_5-1712859475756.png" alt="Chetan_Bhatt_5-1712859475756.png" /></span></P><P style=" text-align : justify; ">&nbsp;</P><UL style=" text-align : justify; "><LI>In Data Source choose to connect to a system.</LI></UL><P style=" text-align : justify; "><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chetan_Bhatt_6-1712859475760.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/95290iDCCA5D3A65D7000B/image-size/medium?v=v2&amp;px=400" role="button" title="Chetan_Bhatt_6-1712859475760.png" alt="Chetan_Bhatt_6-1712859475760.png" /></span></P><P style=" text-align : justify; ">&nbsp;</P><P style=" text-align : justify; "><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chetan_Bhatt_7-1712859475765.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/95289i29335856F2EFABAA/image-size/medium?v=v2&amp;px=400" role="button" title="Chetan_Bhatt_7-1712859475765.png" alt="Chetan_Bhatt_7-1712859475765.png" /></span></P><P style=" text-align : justify; ">&nbsp;</P><P style=" text-align : justify; ">&nbsp;</P><UL style=" text-align : justify; "><LI>Specify the Destination created earlier.</LI></UL><P style=" text-align : justify; "><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chetan_Bhatt_8-1712859475769.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/95291i0B4CF5E35759FC40/image-size/medium?v=v2&amp;px=400" role="button" title="Chetan_Bhatt_8-1712859475769.png" alt="Chetan_Bhatt_8-1712859475769.png" /></span></P><P style=" text-align : justify; ">&nbsp;</P><P style=" text-align : justify; ">&nbsp;</P><UL style=" text-align : justify; "><LI>In the service path, specify the service path of the OData service that can be obtained by running the command “cds watch –profile hybrid” in your CAPM Project.</LI></UL><P style=" text-align : justify; "><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chetan_Bhatt_9-1712859475773.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/95292i7F0BC76D1160938D/image-size/medium?v=v2&amp;px=400" role="button" title="Chetan_Bhatt_9-1712859475773.png" alt="Chetan_Bhatt_9-1712859475773.png" /></span></P><P style=" text-align : justify; ">&nbsp;</P><UL style=" text-align : justify; "><LI>Click on next.</LI></UL><P style=" text-align : justify; "><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chetan_Bhatt_10-1712859475781.jpeg" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/95293i7930C75401EC6C12/image-size/medium?v=v2&amp;px=400" role="button" title="Chetan_Bhatt_10-1712859475781.jpeg" alt="Chetan_Bhatt_10-1712859475781.jpeg" /></span></P><P style=" text-align : justify; ">&nbsp;</P><P style=" text-align : justify; ">&nbsp;</P><UL style=" text-align : justify; "><LI>Select any entity from the given list of entities &nbsp;you created in your project.</LI></UL><P style=" text-align : justify; "><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chetan_Bhatt_11-1712859475788.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/95294i28FD073ED8BABEB0/image-size/medium?v=v2&amp;px=400" role="button" title="Chetan_Bhatt_11-1712859475788.png" alt="Chetan_Bhatt_11-1712859475788.png" /></span></P><P style=" text-align : justify; ">&nbsp;</P><UL style=" text-align : justify; "><LI>Customize the project attributes.</LI></UL><P style=" text-align : justify; "><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chetan_Bhatt_12-1712859475796.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/95295i56DC0BF8208D9582/image-size/medium?v=v2&amp;px=400" role="button" title="Chetan_Bhatt_12-1712859475796.png" alt="Chetan_Bhatt_12-1712859475796.png" /></span></P><P style=" text-align : justify; ">&nbsp;</P><UL style=" text-align : justify; "><LI>Choose the target as Cloud Foundry and select the Destination name among the list of destination names (You can go with either Local CAPM Project API and the name of your destination too).</LI></UL><P style=" text-align : justify; ">&nbsp;</P><P style=" text-align : justify; "><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chetan_Bhatt_13-1712859475804.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/95297i448D5B4C126A031A/image-size/medium?v=v2&amp;px=400" role="button" title="Chetan_Bhatt_13-1712859475804.png" alt="Chetan_Bhatt_13-1712859475804.png" /></span></P><P style=" text-align : justify; ">&nbsp;</P><UL style=" text-align : justify; "><LI>Now, your FIORI project is created and is ready to use.</LI></UL><P style=" text-align : justify; "><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chetan_Bhatt_14-1712859475814.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/95296i4C2BAADDC20B1DDD/image-size/medium?v=v2&amp;px=400" role="button" title="Chetan_Bhatt_14-1712859475814.png" alt="Chetan_Bhatt_14-1712859475814.png" /></span></P><P style=" text-align : justify; ">&nbsp;</P><UL style=" text-align : justify; "><LI>Go to run configuration and start the project as usual.</LI></UL><P style=" text-align : justify; "><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chetan_Bhatt_15-1712859475821.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/95298i8507FAEBE3A69EB2/image-size/medium?v=v2&amp;px=400" role="button" title="Chetan_Bhatt_15-1712859475821.png" alt="Chetan_Bhatt_15-1712859475821.png" /></span></P><P style=" text-align : justify; ">&nbsp;</P><UL style=" text-align : justify; "><LI>You can now run this Fiori Application which is the result of an Application created from CAPM.</LI></UL><P style=" text-align : justify; "><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chetan_Bhatt_16-1712859475830.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/95299iEBFF2F273E03EB7A/image-size/medium?v=v2&amp;px=400" role="button" title="Chetan_Bhatt_16-1712859475830.png" alt="Chetan_Bhatt_16-1712859475830.png" /></span></P><P style=" text-align : justify; ">&nbsp;</P><P style=" text-align : justify; ">&nbsp;</P> 2024-04-16T12:50:31.978000+02:00 https://community.sap.com/t5/technology-blogs-by-members/import-data-connection-to-sap-s-4hana-in-sap-analytics-cloud-technical/ba-p/13697364 Import Data Connection to SAP S/4HANA in SAP Analytics Cloud : Technical Configuration 2024-05-10T12:04:30.942000+02:00 Utkarsh_goel123 https://community.sap.com/t5/user/viewprofilepage/user-id/166457 <P>In this blog we’ll discuss complete steps for Import data connection from S/4 hana on-premise system to SAP Analytics Cloud . The Operating system we are using on which S/4 Hana system is installed is SUSE Linux SP 15.</P><P>&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Utkarsh_goel123_26-1715328017346.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/108457i04372F5188423BC5/image-size/large?v=v2&amp;px=999" role="button" title="Utkarsh_goel123_26-1715328017346.png" alt="Utkarsh_goel123_26-1715328017346.png" /></span></P><P>&nbsp;</P><P>&nbsp;</P><P>Here, Our Data source is S/4 Hana from which the SAP Analytics Cloud is connected using the SAP Analytics Cloud Agent and SAP Cloud Connector.</P><P>It is recommended that the Cloud Connector,&nbsp;<SPAN>SAP Analytics Cloud</SPAN>&nbsp;agent, and the SAP Java Connector (JCo) are installed together on a dedicated server, and not a personal computer. This helps to ensure that multiple users can use an import data connection without experiencing slowness or downtime.</P><P>The SAP Analytics Cloud Agent Simple Deployment Kit allows you to quickly get your import data connections working.</P><P>The simple deployment kit is only supported on Windows 64-bit operating systems. If you have a different server, such as Linux, you'll need to install and configure the agent manually.</P><P>If we have windows Environment, then the SAP Analytics Cloud Agent Simple Deployment Kit is preferred. More details can be found in the below link.</P><P><A href="https://help.sap.com/docs/SAP_ANALYTICS_CLOUD/00f68c2e08b941f081002fd3691d86a7/c4751c8f9d0049a68d4202ebfc34ebe7.html" target="_blank" rel="noopener noreferrer">SAP Analytics Cloud Agent Simple Deployment Kit | SAP Help Portal</A></P><P>For Linux Environment we have to install SAP JVM, SAP Cloud Connector, Tomcat Apache server, SAC Agent, Java Connector.</P><P>Below are the steps for Import Data connection for On-premise S/4 HANA systems -</P><OL><LI>SAP JVM 8.1 and JDK installation on the linux server</LI><LI>Install SAP Cloud Connector on the same linux server.</LI><LI>Installing Tomcat Apache server</LI><LI>Installing and configuring Java connector (Jco)in Tomcat .</LI><LI>Installing and configuring SAP Analytics Cloud Agent .</LI><LI>Configuration and Connection steps in SAC portal</LI></OL><H3 id="toc-hId-1123603390">&nbsp;</H3><H3 id="toc-hId-927089885"><STRONG>1. SAP JVM 8.1 installation on the same linux server</STRONG></H3><P>Download the SAP JVM from the below link:</P><P><A href="https://tools.hana.ondemand.com/#cloud" target="_blank" rel="noopener nofollow noreferrer">https://tools.hana.ondemand.com/#cloud</A></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Utkarsh_goel123_27-1715328017356.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/108459i398BCD78CD8AB1B3/image-size/large?v=v2&amp;px=999" role="button" title="Utkarsh_goel123_27-1715328017356.png" alt="Utkarsh_goel123_27-1715328017356.png" /></span></P><P>Download the rpm file compatible for linux 86x64 - <A href="https://tools.hana.ondemand.com/additional/sapjvm-8.1.095-linux-x64.rpm" target="_blank" rel="noopener nofollow noreferrer"><BR />sapjvm-8.1.095-linux-x64.rpm</A>&nbsp;(<A href="https://tools.hana.ondemand.com/additional/sapjvm-8.1.095-linux-x64.rpm.sha1" target="_blank" rel="noopener nofollow noreferrer">sha1</A>)</P><P>Move the file to the server and run the below command to install SAP JVM</P><P>rpm -i &lt;file_name&gt;.rpm</P><P>&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Utkarsh_goel123_28-1715328017360.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/108458i6D388AB613A2FD7F/image-size/large?v=v2&amp;px=999" role="button" title="Utkarsh_goel123_28-1715328017360.png" alt="Utkarsh_goel123_28-1715328017360.png" /></span></P><P>Also it is recommended to install the openjdk packages on SUSE linux .</P><P>Run command ‘zypper install java’</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Utkarsh_goel123_29-1715328017368.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/108466i2C28DBEBC5343ADE/image-size/large?v=v2&amp;px=999" role="button" title="Utkarsh_goel123_29-1715328017368.png" alt="Utkarsh_goel123_29-1715328017368.png" /></span></P><P>&nbsp;</P><P>To check the verison of openjdk installed.</P><P>Run command 'java –version'</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Utkarsh_goel123_30-1715328017370.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/108463i51A9F4314BA743B0/image-size/large?v=v2&amp;px=999" role="button" title="Utkarsh_goel123_30-1715328017370.png" alt="Utkarsh_goel123_30-1715328017370.png" /></span></P><H3 id="toc-hId-730576380"><STRONG>2. Install SAP Cloud Connector on the same linux server.</STRONG></H3><P>To download the SAP Cloud Connector go to the below link :</P><P><A href="https://tools.hana.ondemand.com/#cloud" target="_blank" rel="noopener nofollow noreferrer">https://tools.hana.ondemand.com/#cloud</A></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Utkarsh_goel123_31-1715328017379.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/108467iA8AF031804F52E2A/image-size/large?v=v2&amp;px=999" role="button" title="Utkarsh_goel123_31-1715328017379.png" alt="Utkarsh_goel123_31-1715328017379.png" /></span></P><P>&nbsp;</P><P>Download the zip file for Linux x86_64 Architechture and move the downloaded file to the server.</P><P>Now, unzip the file and install the rpm package for cloud connector as below.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Utkarsh_goel123_32-1715328017381.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/108471i59685BA67E5A6062/image-size/large?v=v2&amp;px=999" role="button" title="Utkarsh_goel123_32-1715328017381.png" alt="Utkarsh_goel123_32-1715328017381.png" /></span></P><P>Cloud connector is installed now.</P><P>To open the SCC, enter: https://&lt;hostname&gt;:8443 in a browser, where the &lt;hostname&gt; is the hostname of the machine on which the connector is installed, and the port number is the one configured during installation. The default port number is 8443</P><P>By default Login Credentials are :</P><P>Username : Administrator</P><P>Password : manage</P><P>After the fist login , It prompts you to change password for the Administrator User.</P><H6 id="toc-hId-921311032">Now Add the SAC subaccount to the cloud connector:</H6><P>&nbsp;Click on “Add subaccount” and enter the details SAC subaccount , which you can find on SAP Analytics Cloud.</P><P>To find the Subaccount details of SAP Analytics Cloud :</P><P>You must use a System Owner account to perform the following steps. If you don't know who the system owner is, log on to&nbsp;<SPAN>SAP Analytics Cloud</SPAN>&nbsp;and from the side navigation, choose&nbsp;<SPAN><STRONG>&nbsp;Security</STRONG></SPAN><SPAN>&nbsp;&gt;&nbsp;</SPAN><SPAN><STRONG>Users</STRONG></SPAN>.&nbsp;</P><P>&nbsp;</P><UL><LI>Log on to&nbsp;SAP Analytics Cloud.</LI><LI>From the side navigation, choose&nbsp;<STRONG>System</STRONG>&nbsp;&nbsp;<STRONG>&gt;&nbsp;Administration</STRONG>.</LI><LI>Switch to the&nbsp;<STRONG>Data Source Configuration</STRONG>&nbsp;tab.</LI></UL><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Utkarsh_goel123_35-1715328017388.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/108478iCB8E7FB44A866FA4/image-size/large?v=v2&amp;px=999" role="button" title="Utkarsh_goel123_35-1715328017388.png" alt="Utkarsh_goel123_35-1715328017388.png" /></span></P><P>&nbsp;</P><H3 id="toc-hId-337549370">3.<STRONG>Installing Tomcat&nbsp; Apache Server : </STRONG></H3><P>&nbsp;</P><UL><LI>Create a directory named tomcat in the /opt folder:</LI><LI>Go to the Apache Tomcat 8 Download page by clicking this&nbsp;<A title="link" href="https://tomcat.apache.org/download-80.cgi" target="_blank" rel="noopener nofollow noreferrer">https://tomcat.apache.org/download-80.cgi</A>&nbsp; Place your cursor under 8.5.65 Binary Distributions, right-click on the tar file and select the copy link address from the menu that appears (as shown in the picture below). At the time of writing, Tomcat 8 is the most recent edition, but you are free to use whatever version is most current.</LI></UL><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Utkarsh_goel123_36-1715328017391.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/108475iFBC4D04DAB84F3D1/image-size/medium?v=v2&amp;px=400" role="button" title="Utkarsh_goel123_36-1715328017391.png" alt="Utkarsh_goel123_36-1715328017391.png" /></span></P><UL><LI>Download the file from wget</LI></UL><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Utkarsh_goel123_37-1715328017392.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/108476iCF815F783BA5FAD0/image-size/large?v=v2&amp;px=999" role="button" title="Utkarsh_goel123_37-1715328017392.png" alt="Utkarsh_goel123_37-1715328017392.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Utkarsh_goel123_38-1715328017397.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/108482i296DAF30D2E5D3CF/image-size/large?v=v2&amp;px=999" role="button" title="Utkarsh_goel123_38-1715328017397.png" alt="Utkarsh_goel123_38-1715328017397.png" /></span></P><UL><LI>Extract the tar.gz file</LI></UL><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Utkarsh_goel123_39-1715328017400.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/108483i2C58DD63B1A721BE/image-size/large?v=v2&amp;px=999" role="button" title="Utkarsh_goel123_39-1715328017400.png" alt="Utkarsh_goel123_39-1715328017400.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Utkarsh_goel123_40-1715328017402.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/108481iB2C9E5E6C7F9A6FD/image-size/large?v=v2&amp;px=999" role="button" title="Utkarsh_goel123_40-1715328017402.png" alt="Utkarsh_goel123_40-1715328017402.png" /></span></P><UL><LI>Starting Tomcat apache server</LI></UL><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Utkarsh_goel123_41-1715328017407.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/108488i44A22E817C1E26AB/image-size/large?v=v2&amp;px=999" role="button" title="Utkarsh_goel123_41-1715328017407.png" alt="Utkarsh_goel123_41-1715328017407.png" /></span></P><P>&nbsp;</P><H3 id="toc-hId-141035865"><STRONG>4.Installing and configuring Java connector (Jco)in Tomcat .</STRONG></H3><P>&nbsp;</P><UL><LI>Download SAP Java connector from SAP support portal -&gt; Software downloads</LI></UL><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Utkarsh_goel123_42-1715328017408.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/108487i088448E388E29408/image-size/large?v=v2&amp;px=999" role="button" title="Utkarsh_goel123_42-1715328017408.png" alt="Utkarsh_goel123_42-1715328017408.png" /></span></P><UL><LI>On a Linux server, put the&nbsp;sapjco3.jar&nbsp;and&nbsp;libsapjco3.so&nbsp;in the&nbsp;lib&nbsp;folder of Apache Tomcat.</LI></UL><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Utkarsh_goel123_43-1715328017420.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/108489i72B35E60F944ED22/image-size/large?v=v2&amp;px=999" role="button" title="Utkarsh_goel123_43-1715328017420.png" alt="Utkarsh_goel123_43-1715328017420.png" /></span></P><P>&nbsp;</P><H3 id="toc-hId--55477640"><STRONG>5. Installing and configuring SAP Analytics Cloud Agent .</STRONG></H3><P>&nbsp;</P><P>It is recommended, but not mandatory, that the Cloud Connector,&nbsp;<SPAN>SAP Analytics Cloud</SPAN>&nbsp;agent, and the SAP JCO are installed together on a dedicated server, and not a personal computer. This helps to ensure that multiple users can use an import data connection without experiencing slowness or downtime.</P><P>Modifying the Cloud Connector’s embedded web application and deploying the agent to it is not supported.</P><UL><LI><SPAN>Download the&nbsp;SAP Analytics Cloud&nbsp;agent from the SAP Support Portal.</SPAN></LI></UL><P>The agent is available on the&nbsp;<A href="https://launchpad.support.sap.com/#/softwarecenter" target="_blank" rel="noopener noreferrer">SAP Software Downloads</A>&nbsp;page. Expand&nbsp;<SPAN><STRONG>By Category</STRONG></SPAN>, select&nbsp;<SPAN><STRONG>SAP Cloud Solutions</STRONG></SPAN><SPAN>&nbsp;&gt;&nbsp;<STRONG>SAP ANALYTICS CLOUD CONN</STRONG>&nbsp;&gt; <STRONG>SAP ANALYTICS CLOUD CONN 1.0</STRONG>&nbsp;&gt;&nbsp;<STRONG>SAP ANALYTICS CLOUD AGENT 1.0</STRONG></SPAN>&nbsp;and download the latest version.</P><UL><LI><SPAN>Unzip the downloaded file and rename the&nbsp;</SPAN><SPAN>WAR</SPAN><SPAN>&nbsp;file to&nbsp;</SPAN><SPAN>C4A_AGENT.war</SPAN><SPAN>.</SPAN></LI><LI><SPAN>Extract the package and copy the file&nbsp;</SPAN><SPAN>C4A_AGENT.war</SPAN><SPAN>&nbsp;to your Tomcat&nbsp;</SPAN><SPAN>webapps</SPAN><SPAN>&nbsp;directory.</SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Utkarsh_goel123_44-1715328017443.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/108495i79829B6D2DD05368/image-size/large?v=v2&amp;px=999" role="button" title="Utkarsh_goel123_44-1715328017443.png" alt="Utkarsh_goel123_44-1715328017443.png" /></span></LI></UL><P>The agent will automatically deploy when Tomcat is restarted.&nbsp;</P><UL><LI><SPAN>Create a user for the&nbsp;SAP Analytics Cloud&nbsp;agent and assign the&nbsp;</SPAN>Services<SPAN>&nbsp;role to the user.</SPAN></LI></UL><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Utkarsh_goel123_45-1715328017453.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/108494i4B301691F87B4890/image-size/large?v=v2&amp;px=999" role="button" title="Utkarsh_goel123_45-1715328017453.png" alt="Utkarsh_goel123_45-1715328017453.png" /></span></P><P>&nbsp;</P><UL><LI>The user credentials will be needed later for setting up the connection to&nbsp;<SPAN>SAP Analytics Cloud</SPAN>.</LI></UL><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Utkarsh_goel123_46-1715328017454.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/108493iE22515C3982ABCB0/image-size/large?v=v2&amp;px=999" role="button" title="Utkarsh_goel123_46-1715328017454.png" alt="Utkarsh_goel123_46-1715328017454.png" /></span></P><P>&nbsp;</P><UL><LI><SPAN>Restart the Tomcat application server for the settings to take effect.</SPAN></LI><LI><SPAN>Test if the installation was successful, by opening the following URL in your browser:&nbsp;</SPAN><SPAN>http://</SPAN>&lt;Host&gt;<SPAN>:</SPAN>&lt;Port&gt;<SPAN>/C4A_AGENT/deploymentInfo</SPAN></LI></UL><P>The version of the&nbsp;<SPAN>SAP Analytics Cloud</SPAN>&nbsp;agent installed is displayed.</P><P>&nbsp;</P><H3 id="toc-hId--251991145"><STRONG>6. Configuration and Connection steps in SAC portal</STRONG></H3><P>&nbsp;</P><UL><LI>Add the Data source in System &gt; Administration &gt; on-premise data sources</LI></UL><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Utkarsh_goel123_47-1715328017463.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/108499i0B612F42A9660FB0/image-size/large?v=v2&amp;px=999" role="button" title="Utkarsh_goel123_47-1715328017463.png" alt="Utkarsh_goel123_47-1715328017463.png" /></span></P><P>&nbsp;</P><UL><LI>Check connection configuration , It should be green.</LI></UL><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Utkarsh_goel123_48-1715328017470.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/108500i0DBF023DFAAAF316/image-size/large?v=v2&amp;px=999" role="button" title="Utkarsh_goel123_48-1715328017470.png" alt="Utkarsh_goel123_48-1715328017470.png" /></span></P><P>&nbsp;</P><UL><LI>From the side navigation, choose&nbsp;<P>&nbsp;</P><STRONG>Connections &gt;&nbsp;</STRONG>&nbsp;<STRONG>(Add Connection)</STRONG>.</LI></UL><P>The&nbsp;<STRONG>Select a data source</STRONG>&nbsp;dialog will appear.</P><UL><LI>Expand&nbsp;<STRONG>Acquire Data</STRONG>&nbsp;and select&nbsp;<STRONG>SAP S/4HANA</STRONG>.</LI><LI>In the&nbsp;<STRONG>New SAP S/4HANA Connection</STRONG>&nbsp;dialog, do the following:</LI></UL><OL><OL><LI>In the&nbsp;<STRONG>Connection Information</STRONG>&nbsp;section, add a&nbsp;<STRONG>Connection Name</STRONG>&nbsp;and&nbsp;<STRONG>Description</STRONG>.</LI><LI>If you are connecting to an&nbsp;SAP S/4HANA&nbsp;on-premise system, select&nbsp;<STRONG>Connect to an On-Premise OData service</STRONG>, and then select the&nbsp;<STRONG>Location</STRONG>&nbsp;of your Cloud Connector from the list.</LI><LI>Enter the&nbsp;<STRONG>Data Service URL</STRONG>&nbsp;published during your configuration</LI></OL></OL><UL><LI>Select the authentication type.</LI><LI>Enter the&nbsp;<STRONG>User Name</STRONG>&nbsp;and&nbsp;<STRONG>Password</STRONG>&nbsp;of the user you want to import data from.</LI><LI>Choose&nbsp;<STRONG>Create</STRONG>.</LI></UL><P>The new connection is added to the list of connections on the&nbsp;<STRONG>Connections</STRONG>&nbsp;screen.</P><P>&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Utkarsh_goel123_51-1715328017474.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/108502iF36599FE6D0E2DC9/image-size/medium?v=v2&amp;px=400" role="button" title="Utkarsh_goel123_51-1715328017474.png" alt="Utkarsh_goel123_51-1715328017474.png" /></span></P><H4 id="toc-hId--319421931">Conclusion :</H4><P>Import Data Connection to S/4Hana on-premise system in SAP Analytics Cloud has been established successfully.</P><P>&nbsp;</P> 2024-05-10T12:04:30.942000+02:00 https://community.sap.com/t5/technology-blogs-by-sap/new-release-available-sap-cloud-connector-2-17-0/ba-p/13697681 New Release Available: SAP Cloud Connector 2.17.0 2024-05-10T14:33:54.505000+02:00 MarcoErtel https://community.sap.com/t5/user/viewprofilepage/user-id/6305 <P>We are happy to announce that the fresh version of the SAP Cloud Connector is now available for <SPAN><A href="https://tools.hana.ondemand.com/#cloud" target="_blank" rel="noopener nofollow noreferrer">download</A></SPAN>. It is (as usual) packed with a host of new features and improvements. From bug fixes to enhancements, we've worked diligently to deliver an updated connector that addresses critical issues while also enhancing usability and functionality, which you can find more detailed in the <SPAN><A href="https://help.sap.com/whats-new/cf0cb2cb149647329b5d02aa96303f56?Component=Connectivity&amp;locale=en-US&amp;version=Cloud&amp;Software_Lifecycle=General%20Availability&amp;Valid_as_Of=2024-05-01%3A2024-05-03" target="_blank" rel="noopener noreferrer">release notes</A></SPAN>.<SPAN><BR /></SPAN>Moving onto enhancements, we've made changes to the underlying architecture and features of the Cloud Connector. One of the major changes is the switch from JavaWeb 3.x runtime on Tomcat 8.5 to JavaWeb 4.x, which operates on Tomcat 9. This new runtime container facilitates better performance and stability.<SPAN><BR /></SPAN>In addition, Cloud Connector 2.17 now supports the use of SapMachine 21 as Java runtime. This change can provide increased efficiency and flexibility for your operations.<SPAN><BR /></SPAN>One of the significant enhancements in this release is the addition of support for up to 3 LDAP servers for authentication.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarcoErtel_0-1715343899539.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/108662i99117DCC49CE8FA5/image-size/medium?v=v2&amp;px=400" role="button" title="MarcoErtel_0-1715343899539.png" alt="MarcoErtel_0-1715343899539.png" /></span></P><P>This feature is essential for setups where the user base is spread across multiple LDAP user stores or multiple user bases in a single LDAP user store (find more in the <SPAN><A href="https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/use-ldap-for-authentication?version=Cloud" target="_blank" rel="noopener noreferrer">documentation</A></SPAN>).<BR />We've also introduced the option to configure a separate port for the HA-related communication between the master and shadow instances.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarcoErtel_1-1715343899540.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/108661i432E39BA1A67206C/image-size/medium?v=v2&amp;px=400" role="button" title="MarcoErtel_1-1715343899540.png" alt="MarcoErtel_1-1715343899540.png" /></span></P><P>This new feature enables you to use HA in conjunction with certificate-based authentication to overcome the limitation from 2.16 (find more <SPAN><A href="https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/install-failover-instance-for-high-availability?version=Cloud" target="_blank" rel="noopener noreferrer">here</A></SPAN>)<SPAN><BR /></SPAN>Additional hardware monitoring REST APIs have been provided for disk and CPU status, allowing for more comprehensive system insights. Plus, you can now use the hardware monitor on the shadow instance as well.<SPAN><BR /></SPAN>To improve your operations, we’ve introduced for the access control settings a creation timestamp, providing more detailed and useful information for your operations:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarcoErtel_2-1715343899541.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/108660i2C75337A93E41BD6/image-size/medium?v=v2&amp;px=400" role="button" title="MarcoErtel_2-1715343899541.png" alt="MarcoErtel_2-1715343899541.png" /></span></P><P>Finally, we've improved the Cloud Connector UI by adding a session expiration progress bar. This new addition helps you keep track of your active session and alerts you when you need to log in again.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarcoErtel_3-1715343899542.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/108663i3AADF3B061835890/image-size/medium?v=v2&amp;px=400" role="button" title="MarcoErtel_3-1715343899542.png" alt="MarcoErtel_3-1715343899542.png" /></span></P><P>In summary, with this release, we've not only ensured the highest security levels but also worked on improving the overall user experience and functionality. Don't hesitate to upgrade your Cloud Connector to version 2.17.0 today (by downloading it from <SPAN><A href="https://tools.hana.ondemand.com/#cloud" target="_blank" rel="noopener nofollow noreferrer">here</A></SPAN>) and explore these new features and improvements. For more detailed information, make sure to check out the <SPAN><A href="https://help.sap.com/whats-new/cf0cb2cb149647329b5d02aa96303f56?Component=Connectivity&amp;locale=en-US&amp;version=Cloud&amp;Software_Lifecycle=General%20Availability&amp;Valid_as_Of=2024-05-01%3A2024-05-03" target="_blank" rel="noopener noreferrer">official release notes</A></SPAN>. Enjoy the enhanced performance and functionality of the new SAP Cloud Connector!Happy Connecting!</P> 2024-05-10T14:33:54.505000+02:00