Geocoding

Use

The term geocoding comes from the area of geographical data processing. It describes the process for determining the geographical coordinates (longitude and latitude, altitude) from the address data given. There are various commercial geocoding programs that determine the required data using the address attributes (country, region, postal code, city, street, and so on). It is therefore possible in many ways to enhance the existing data basis of these programs gradually (per country, for example). Within the SAP system, an interface has been created for such geocoding programs that is accessible for applications. Geocoding is a service that is not firmly integrated into the central address management (CAM). Applications that do not use CAM can nevertheless implement geocoding by installing a geocoding program. Specifically in SAP SCM, you have the option of geocoding the locations that have an address, using the PTV eServer geocoding program. For more information, see the PTV eServer for SAP SCM Server 7.0 installation guide on SAP Help Portal at https://help.sap.com

You can use the coordinates that are determined in various applications; for example, in the following applications:

  • Display of business objects on a map, for example a location (localization of a business object on a map using address data)

  • Determination of the distance (distances can be calculated on the earth's surface from the geocoordinates determined; for example, as a first approximation as the crow flies or with the relevant map material on a street basis)

  • Routing (for example, in Transportation Planning, determining a route on a street basis)

  • Regional evaluation (for example, evaluating all customers within a radius of 50km or determining the nearest competitor)

The solution chosen by SAP guarantees a problem-free connection to various geocoding programs. A model has been selected that provides a single interface for SAP applications. In Customizing it is possible to pass on these addresses using the SAP geocoding framework, on a country-specific basis, to various geocoding programs. This function allows various geocoding programs (for example, a special geocoding program for North America, another for Europe) to be used in the system. Depending on the country given in the address, the various geocoding programs are used. The geocoding programs are called by means of an interface defined by SAP. Manufacturers of geocoding programs can be validated for use of this interface.

Features

Geocoding Levels

You use geocoding levels to store geocoordinates for the address of a location on different levels of detail, for example by house number, postal code, or region. Having different levels of detail for the geocoordinates of a location allows you to improve the performance of the distance and duration determination between two locations. This is important if, for example, you have a large number of locations geocoded on a high level of detail thereby making the distance and duration determination a performance critical process. The lower the accuracy level the more locations share the same geocoordinates.

You can define the geocoding strategy that a geocoding level uses as well as which geocoding program to use and which address fields to pass. You define geocoding levels in Customizing (see Customizing activity Define Geocoding Levels).

To ensure a more flexible approach to the determination of distances and durations, you can use the process controller as a flexible framework to create different distance and duration determination strategies so you can connect to external geographical information systems (GIS) that offer different calculations than the straight line distance and the calculation offered by the standard geocoding program. You configure the process controller for the distance and duration determination in Customizing (see Customizing activity Configure Process Controller for Distance and Duration Determination).

Mass Geocoding

If you want to maintain geocoding for multiple locations, you can use the Mass Geocoding report. For more information, see Mass Geocoding.

Process Controller for Geocoding

To ensure a more flexible approach to the determination of geocoordinates, you can use the process controller as a flexible framework to create different geocoding strategies so you can connect to external geographical information systems (GIS) different from the standard geocoding program. This flexibility allows you to use third-party GIS providers if required. You configure the process controller for geocoding in Customizing (see Customizing activity Configure Process Controller for Geocoding).