Ansicht
Dokumentation

EHFND_LOC_MAP - Configure Integration of Map

EHFND_LOC_MAP - Configure Integration of Map

Fill RESBD Structure from EBP Component Structure   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

In this organizational activity, you can learn about how to enhance the location Web Dynpro to include a map function in the side panel. This enables users to visualize the position of a location on a map.

You can implement the map function by using a third party CHIP to interpret and display the string parameter from the location address.

You have a map provider that is capable of interpreting an address string and displaying it on a map.

The standard system is delivered without an integrated map.

The location provides tagging for the tag name EHFND_LOC_ADDRESS. The address string is built from the address fields entered in a location. If geographical coordinates are specified, they will take priority over the address.

To integrate a map, perform the following steps:

  1. Create a side panel entry for the map in the embedded side panel.
  2. Create a Web Dynpro CHIP that is capable of interpreting an address string and displaying it on a map. In most cases, this will be a URL CHIP (see the example below).
  3. Create an enhancement of the Location Side Panel (Web Dynpro Configuration: EHFND_LOC_OIF_SIDE_PANEL). In this enhancement configuration, integrate the Web Dynpro CHIP that you created for displaying the map. Use the "EHFND_LOC_ADDRESS" tab to enable automatic wiring (tagging); otherwise, the map will not be displayed automatically.

Map providers that offer URL parameters can be integrated as a Web Dynpro URL CHIP.

An example URL would be:

http://your-map-provider/map?address=

The tag will be automatically completed with the current location's corresponding address string.






General Data in Customer Master   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 1949 Date: 20240523 Time: 160434     sap01-206 ( 38 ms )