Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
Showing results for 
Search instead for 
Did you mean: 
In part one (link) of this 2-article blog post series, we discussed using SAP EPD and integrating with SAP Transportation management to display (the load plan form) directly in the business document and email it to external partners, e.g., carriers, suppliers, or customers. Now, I would like to tackle the usage of SAP HSS Hana Spatial Services for GIS integration, particularly for Geocoding, Distance Duration Determination, Routing, and Map tiles.

The benefits of GIS Integration in Transportation Management are multiple and support even more precise transport planning, optimization, and execution. In the blog post MKS-86 by Markus Zahn, you can find detailed information about GIS Integration for SCE Applications using SAP BTP (Business Technology Platform).

The following steps below should be performed to enable this feature in your project. 

Hana Spatial Services:

A cloud subscription to an SAP HANA Spatial Service instance is required to facilitate the integration of SAP HANA spatial services. A GIS vendor must also be chosen to utilize the necessary GIS services (BYOL: Bring-Your-Own-License) or consume these services under an SAP OEM contract. Transportation Management will then access these GIS services through SAP HANA spatial services. The preferred GIS vendor must supply the required account credentials that must be included when using the services. These parameters can be maintained during HSS connection setup. Once the account has been created, an RFC authentication and destination must be configured between S/4HANA TM and the BTP. Further details about the RFC setup can be found in note 2751622 - Setup Guide for SAP HANA Spatial Services in SCE Applications.

SAP HSS integration to SCE applications

To set up the service, the customer needs a subaccount in the BTP (SAP Business Technology Platform), where a new instance will be created. Further details can be found in SAP HANA Spatial Services Onboarding Guide.

Subaccount for SAP HSS APIs


To improve the optimization of driving routes in Transportation Management. Including accuracy in exact latitude and longitude coordinates helps reduce travel costs and uncertainties while boosting efficiencies. Maintaining geocoding can be done for one or with mass processing for several locations objects.

Geocoding details at the location level

Distance Duration Determination:

This DDD (Distance Duration Determination) is used for optimizing logistics and supply chain planning through accurate distance and transport duration estimation between several nodes in the network. Hence, the charge calculation used for the freight settlement will also be improved if the carrier bills the shipper based on the distance traveled. 


Using HSS routing helps analyze the transportation network effectively to determine viable paths, routes, and their corresponding reachability. It is employed within the route determination process for each routing strategy, ensuring efficient route selection. The user can also visualize this information in the transportation cockpit. Further details about routing in the MKS – 23 Detailed Routes on Geo-map.

Map tiles:

The transportation cockpit utilizes map tiles to represent the transportation network comprehensively. Each tile contains raw geometric data that delineates various map elements, such as roads, buildings, water bodies, and points of interest. This data is crucial for displaying specific map regions at predefined zoom levels. In the manual planning process in TM, it is possible to select nearby transportation demands utilizing the lasso selection feature of the geo-map. By assigning the selected freight units or transportation demands to a truck resource, the user will get a freight order for execution. 

There are further integration scenarios supported with SAP S/4HANA Transportation Management. Further details on integration scenarios with SAP S/4HANA Transportation Management are in Michael Haase's blog (Integration scenarios with SAP S/4HANA Transportation Management.)

Hopefully, this blog will be helpful to customers and consultants currently on projects and add value to the overall transportation planning and execution.
0 Kudos

Hi Aime Guy Dongmo,

Thanks for the Informative blog!!

We have recently on-boarded HANA Spatial Services and utilized Geo-code & routes of HERE API services from S/4 Embedded TM 2021 (On-prem) and i would say its indeed an easy option with very good performance for big batch of requests!

What are the standard options available to monitor this Interface from S/4 / HSS to understand Utilization & Failures?

( Except Table - /SCMB/GIS_METRICS )

Right now, HSS services shows only transactions but how can we check the number of calls made and their success & failures status.

Is there any alternate options available in standard to avoid storing HERE App Key? - HERE API keys ( Sensitive Information ) should be stored in T-code: /SCTM/PC03 and its concerns our security perspective.





0 Kudos
Hi Mukesh,

Thanks for the feedback; I am happy you found the blog informative, as that was the intention. Regarding our questions, I took some time to double-check, which is why it took me some time to get back to you.

Question 1: Answer: Except for Table - /SCMB/GIS_METRICS, there is no other way to monitor

Question 2: Answer: Based on my project experience, we didn't see it as critical as the information is mostly managed by IT /Basis colleagues; therefore, only a limited number of people with the right authorizations with signed NDAs. However, I shared your opinions and concerns with the Dev colleagues. But there is no commitment on the roadmap, if and when it will be changed. You can also use the influencer channel to make it more official or raise a support ticket.


I hope this helps and Best Regards