The following example uses a sample business partner (business object) to demonstrate how to geographically enable any given business object. The use case for the geographical enablement of a business partner includes the ability to display persons and organizations on the map.
Organizations can be represented on the map under a Service Area (Polygon) or Headquarter (Point). On different layers of the map UI, we should be able to see representations of headquarters and service areas. You also have the ability to change the transparency of the layers and toggle them on and off.
For persons, you should be able to see one layer on the map where person with type 001 is represented by a different symbol than person with type 002. You also have the ability to edit the geometry for organizations and persons.
The business object ID (BO ID) for Business Partner is defined as BP
The geo object person is defined as PERSON
Filtering criteria is on Business Partner Category (PARTNERCAT), and the value is 1 (Person). One default geometry context is defined as X (Default Location).
Enterprise search on Person.
Two business layers are defined for geo object Person.
Geo object Organization is defined as ORGN.
Filtering criteria is on Business Partner Category, and the value is 2 (Organization)
Three geometry contexts are defined as follows:
Enterprise search on Organization
Four Business Layers are defined for geo object Organization.
The sample Customizing has been delivered within three switch BC sets under switch BS_GEF_SFWS_1. The three switch BC sets are CA-EPT-GEF_GIS_CONFIG, CA-EPT-GEF_FRW_CONFIG and CA-EPT-GEF_UI_CONFIG. Besides the Customizing, there are some additional sample ABAP implementations that are delivered in the package BS_GEF_SAMPLES and are required by the sample Customizing.
The sample geographical enablement for business partner delivered with Customizing and sample ABAP implementation will not work exactly as described in the example above. Some additional setup and configuration described in the Customizing section of this document is required. Moreover, you can make additional adjustments on the delivered Customizing according to your business data set.
The following sections provide detailed instructions for the additional setup and configuration:
Customizing Activity Configure the Framework