{"id":7496,"date":"2025-08-19T15:45:20","date_gmt":"2025-08-19T10:15:20","guid":{"rendered":"https:\/\/www.sapewmhelp.com\/?question=what-is-the-use-of-destinations-in-sap-btp"},"modified":"2025-08-19T15:45:20","modified_gmt":"2025-08-19T10:15:20","slug":"what-is-the-use-of-destinations-in-sap-btp","status":"publish","type":"question","link":"https:\/\/www.sapewmhelp.com\/?question=what-is-the-use-of-destinations-in-sap-btp","title":{"rendered":"What is the use of Destinations in SAP BTP"},"content":{"rendered":"<p>Destinations are a way to store and manage the connection details for remote systems or services.<\/p>\n<p><strong>Purpose of Destinations<\/strong><\/p>\n<ul>\n<li>They act like a central connection configuration so that applications don\u2019t need to hardcode system URLs, credentials, or authentication methods.<\/li>\n<li>You define the target system (destination) once, and multiple apps or services can reuse it.<\/li>\n<\/ul>\n<p><strong>Key Uses<\/strong><\/p>\n<ul>\n<li>Connectivity to External Systems<br \/>\nExample: An SAP BTP app needs to call an SAP S\/4HANA system, an SAP SuccessFactors API, or even a third-party REST service.<br \/>\nInstead of storing the URL and credentials in the app, you define a Destination in BTP.<\/li>\n<li>Simplifies Authentication &amp; Security<br \/>\nDestinations support multiple authentication methods (OAuth2, Basic Auth, SAML, Principal Propagation, etc.).<\/li>\n<li>Centralized Configuration<br \/>\nIf an endpoint changes (like a new S\/4HANA system URL), you only update the destination once \u2014 no need to redeploy or change code in all connected apps.<\/li>\n<li>Standardized Access Across Apps<br \/>\nMultiple apps can consume the same destination, ensuring consistency.<\/li>\n<\/ul>\n<p><strong>Example<\/strong><\/p>\n<p>Suppose you have a CAP (Cloud Application Programming) app on BTP that needs data from SAP S\/4HANA:<\/p>\n<ul>\n<li>You create a Destination in the BTP cockpit pointing to your S\/4HANA system (with the URL + OAuth2 credentials).<\/li>\n<li>Your app just calls destination.get(&#8220;S4HANA&#8221;) instead of hardcoding URLs.<\/li>\n<li>If the S\/4HANA system moves to a new URL, you update the destination in cockpit, not in your app code.<\/li>\n<\/ul>\n<p><strong>In short:<\/strong> Destinations in SAP BTP are a secure, centralized way to define and reuse external system connections across apps.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Step by Step Process:<\/strong><\/p>\n<p>Step 1: Log in to SAP BTP Cockpit<\/p>\n<ul>\n<li>Go to <a class=\"decorated-link cursor-pointer\" target=\"_new\">https:\/\/cockpit.btp.cloud.sap<span><\/span><\/a> and log in with your SAP credentials.<\/li>\n<li>Select your <strong>Global Account<\/strong> and then the <strong>Subaccount<\/strong> where you want to create the destination.<\/li>\n<\/ul>\n<p>Step 2: Ensure Entitlements<\/p>\n<ul>\n<li>In your Subaccount, go to Entitlements \u2192 Configure Entitlements.<\/li>\n<li>Make sure Destination and Connectivity services are added.<br \/>(If not, add them using <em>Add Service Plans<\/em>.)<\/li>\n<\/ul>\n<p>Step 3: Create a Destination Service Instance (for runtime use)<\/p>\n<ul>\n<li>Go to Subaccount \u2192 Services \u2192 Instances and Subscriptions.<\/li>\n<li>Click Create \u2192 Instance.<\/li>\n<li>Select Destination as the service.<\/li>\n<li>Choose a plan (usually lite for trial or standard).<\/li>\n<li>Complete the wizard and finish.<\/li>\n<li>Optionally, create a Service Key or bind it to an application.<\/li>\n<\/ul>\n<p>Step 4: Configure a Destination<\/p>\n<ol>\n<li>In your subaccount, navigate to Connectivity \u2192 Destinations.<\/li>\n<li>Click New Destination.<\/li>\n<li>Fill in the required fields:\n<ul>\n<li>Name \u2192 Unique name (used by apps).<\/li>\n<li>Type \u2192 HTTP (most common).<\/li>\n<li>URL \u2192 Target system endpoint (e.g., your SAP S\/4HANA or API URL).<\/li>\n<li>Proxy Type \u2192 <em>Internet<\/em> (for cloud systems) or <em>OnPremise<\/em> (if using SAP Cloud Connector).<\/li>\n<li>Authentication \u2192 Choose method (NoAuth, BasicAuth, OAuth2ClientCredentials, SAML, etc.).<\/li>\n<li>Provide credentials (username\/password, client ID\/secret, or token URL depending on method).<\/li>\n<\/ul>\n<\/li>\n<li>(Optional) Add Additional Properties, e.g.:\n<ul>\n<li><code>WebIDEEnabled<\/code> = true<\/li>\n<li><code>sap-client<\/code> = 100<\/li>\n<li><code>HTML5.DynamicDestination<\/code> = true<\/li>\n<\/ul>\n<\/li>\n<li>Click Save.<\/li>\n<\/ol>\n<p><strong>Step 5: Test the Destination<\/strong><\/p>\n<ul>\n<li>Still in Connectivity \u2192 Destinations, find your destination.<\/li>\n<li>Use the Check Connection button.<\/li>\n<li>If successful, your app can now consume it.<\/li>\n<\/ul>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","question-category":[176],"question_tags":[178,201,280,335,177],"class_list":["post-7496","question","type-question","status-publish","hentry","question-category-sapbtp","question_tags-abap","question_tags-btp","question_tags-cloud","question_tags-destinations","question_tags-sap"],"_links":{"self":[{"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=\/wp\/v2\/question\/7496","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=\/wp\/v2\/question"}],"about":[{"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=\/wp\/v2\/types\/question"}],"author":[{"embeddable":true,"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7496"}],"wp:attachment":[{"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7496"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=%2Fwp%2Fv2%2Fquestion-category&post=7496"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=%2Fwp%2Fv2%2Fquestion_tags&post=7496"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}