Show TOC

InterfacesLocate this document in the navigation structure

Interface IF_GEF_INBOUND_MAP_SERVICE

This interface is responsible for analyzing service requests, which are specific to each individual map provider and is also responsible for providing request contexts in the framework’s internal format.

The interface implements a collection of interfaces:

  • IF_GEF_REQ_CATALOG
  • IF_GEF_REQ_DISPATCH
  • IF_GEF_REQ_EDIT
  • IF_GEF_REQ_METADATA
  • IF_GEF_REQ_QUERY
  • IF_GEF_REQ_QUERY_BO

An instance of IF_GEF_INBOUND_MAP_SERVICE will be created for each request and the framework will keep the instance. A proper base interface will be consumed by the framework and by applications during different stages of the execution.

Methods

Method GET_REQ_OPERATION

Used to get the operation of the current request. A request asks for certain operations such as catalog, service metadata, layer metadata, query, applyEdits, and so on.

Parameter Description
RV_REQ_OPERATION

Operation

Type GEF_REQ_OPERATION

Method GET_BL_ID

Used to get the business layer ID of the current request.

Parameter Description
GET_BL_ID

Business layer ID

Type GEF_BL_ID

Method SET_CREATE_DATA

Used to set the create data to the implementation class of the interface.

Parameter Description
IT_FEATURE

Create data

Type GEFT_FEATURE_OBJECT

Method SET_UPDATE_DATA

Used to set the update data to the implementation class of the interface.

Parameter Description
IT_FEATURE

Update data

Type GEFT_FEATURE_OBJECT

Method SET_DELETE_DATA

Used to set the delete data to the implementation class of the interface.

Parameter Description
IT_FEATURE

Delete data

Type GEFT_FEATURE_OBJECT

Method GET_BUFFER_INSTANCE_ID

Used to get the buffer instance ID.

Parameter Description
RV_INSTANCE_ID

Instance ID

Type GEF_BUFFER_INSTANCE_ID

Method GET_EXTENSION_ID

Used to get the Extension ID of the application.

Parameter Description
RV_EXTENSION_ID

Extension ID

Type GEF_EXTENSION_ID

Method GET_BO_ID

Used to get the Business Object ID.

Parameter Description
RV_BO_ID

Business Object ID

Type GEF_BO_ID

Method GET_GEO_ID

Used to get the Geo ID.

Parameter Description
RV_GEO_ID

Geo ID

Type GEF_GEO_ID

Interface IF_GEF_REQ_ES_BO

This interface is used to provide the request context of an enterprise search and is used by the application side.

Methods

Method GET_MSG_LOG

Used to get the instance of SAP application log object of type GEF.

Parameter Description
RO_LOG

Logger instance

Type CL_GEF_FRW_MSG_LOG

Method GET_FREE_SEARCH_TEXT

Used to get the keyword for enterprise search.

Parameter Description
RV_FREE_SEARCH_TEXT

Free search keyword

Type STRING

Method GET_CONNECTOR_ID

Used to get the geo object specific, enterprise search connector ID from the geo object Customizing activity.

Parameter Description
RV_CONNECTOR_ID

Enterprise search connector ID

Type ESH_E_IF_SEARCH_CONNECTOR_ID

Method GET_REQUEST_ID

Used to get the geo object specific, enterprise search request type ID from the geo object Customizing activity.

Parameter Description
RV_REQUEST_ID

Enterprise search request ID

Type ESH_E_IF_REQUEST_TYPE_ID

Method GET_START_INDEX

Used to get the start index of each run of enterprise search. An enterprise search request might take several runs of execution depending on the geo object Customizing activity.

Parameter Description
RV_START_INDEX

Start index

Type INT4

Method GET_NUMBER_OF_RESULTS

Used to get the number of records returned for an enterprise search from geo object Customizing activity. If it is not maintained on the geo object level, the value on the system level Customizing activity will be used.

Parameter Description
RV_NUMBER_OF_RESULTS

Number of results

Type INT4

Method GET_GEO_ID

Used to get geo object ID for the current request.

Parameter Description
RV_GEO_ID

Geo object ID

Type GEF_GEO_ID

Method GET_GEO_FILTERS

Used to get the filter values for the current request. The application side should take the opportunity to apply the filter to improve performance. The framework will enforce the validation only for data accuracy.

Parameter Description
RT_FILTERS

Filter

Type GEFT_GEO_FILTER

Interface IF_GEF_REQ_QUERY_BO

This interface provides the request context of a regular query (non-enterprise search query) to the application side.

Methods

Method GET_GL_KEY

Used to get the geometry layer key of the current request.

Parameter Description
RS_GL_KEY

Geometry layer key

Type GEFS_GL_KEY_ATTR

Method GET_GDB_OBJECTS

Used to get the geometry objects returned from the SAP HANA GIS database.

Parameter Description
RT_GDB_OBJECTS

Geometry objects

Type GEFT_GDB_GEOM

Method GET_GEO_FILTERS

Used to get the filter values for the current request. The application side should take the opportunity to apply the filter mostly for performance reasons. The framework will enforce the validation only for data accuracy reasons.

Parameter Description
RT_FILTERS

Filter

Type GEFT_GEO_FILTER

Method GET_GBO_STRUCT_DESCR

Used to get the descriptor of the combined structure that consists of both geometry attributes and business attributes from the Customizing of the geo object. The application side needs to enrich the geometry objects with business data and fill this structure.

Parameter Description
RO_DESCRIPTOR

Descriptor

Type CL_ABAP_STRUCTDESCR

Method GET_GBO_TAB_DESCR

Used to get the table descriptor of the combined structure that consists of both geometry attributes and business attributes from the Customizing of the geo object. The application will return the framework of a data reference to such a table.

Parameter Description
RO_DESCRIPTOR

Descriptor

Type CL_ABAP_STRUCTDESCR

Method GET_MSG_LOG

Used to get the instance of SAP application log object (of type GEF).

Parameter Description
RO_LOG

Logger instance

Type CL_GEF_FRW_MSG_LOG

Method GET_DYN_FILTER

Returns the filter in an internal table or SQL Where clause, based on filter type. The supported types are BO filter, Geometry filter, or a combination of both.

Parameter Description
IV_FILTER_TYPE

Required filter, G/B/C: geometry, business or combined filter

Type CHAR1

ET_FILTER

Filter that is in the format of an internal table or range

Type GEFT_RECEDST

EV_FILTER_STR

Filter in WHERE string

Type STRING[CP1]

EV_WHERE_CLAUSE

Original WHERE clause

Type STRING[CP2]

Method GET_BUFFER_INSTANCE_ID

Used to get the buffer instance ID.

Parameter Description
RV_INSTANCE_ID

Instance ID

Type GEF_BUFFER_INSTANCE_ID

Method GET_EXTENSION_ID

Used to get the Extension ID.

Parameter Description
RV_EXTENSION_ID

Extension ID

Type GEF_EXTENSION_ID

Interface IF_GEF_REQ_QUERY

This interface has its own set of methods. In addition, it also implements interfaces IF_GEF_REQ_QUERY_BO and IF_GEF_REQ_ES_BO. It is used by the framework itself. When the framework needs to provide request contexts to applications, this interface is cast to its base interfaces and passed to the application side.

For the methods of interfaces IF_GEF_REQ_QUERY_BO and IF_GEF_REQ_ES_BO, refer to their respective sections.

Methods

Method GET_GDB_PARAMETERS

Used to get the list of parameters relevant to the SAP HANA GIS database.

Parameter Description
RT_PARAMETERS

Parameters relevant to the SAP HANA GIS database

Type TIHTTPNVP

Method GET_GL_KEY

Used to get the geometry layer key of the current request.

Parameter Description
RS_GL_KEY

Geometry layer key of the current request

Type GEFS_GL_KEY_ATTR

Method GET_BL_ID

Used to get the business layer ID of the current request.

Parameter Description
RV_BL_ID

Business layer ID of the current request.

Type GEF_BL_ID

Method GET_BO_ID

Used to get the business object ID of the current request.

Parameter Description
RV_BO_ID

Business object ID of the current request

Type GEF_BO_ID

Method GET_GEO_ID

Used to get the geo object ID of the current request.

Parameter Description
RV_GEO_ID

Geo object ID of the current request.

Type GEF_GEO_ID

Method GET_GEO_CONTEXT_ID

Used to get the geometry context ID of the current request.

Parameter Description
RV_GEO_CONTEXT_ID

Geometry context ID of the current request

Type GEF_GEO_CONTEXT_ID

Method GET_GDB_SRID

Used to get the SRID of the SAP HANA GIS database table for the business object of the current request.

Parameter Description
RV_SRID

SRID of the SAP HANA GIS database table for the business object of the current request.

Type GEF_GDB_SRS_ID

Method GET_REQUESTED_SRID

Used to get the SRID of the current request.

Parameter Description
RV_SRID

SRID of the SAP HANA GIS database table for the business object of the current request.

Type GEF_GDB_SRS_ID

Method GET_GL_GEOMETRY_TYPE

Used to get the geometry type of the current request.

Parameter Description
RV_GEOMETRY_TYPE

Geometry type of the current request.

Type GEF_GEOM_TYPE

Method GET_REQ_GDB_STRUCT

Used to get the structure descriptor and the ABAP components of the SAP HANA GIS database table for the business object of the current request.

Parameter Description
ER_STRUCT_DESCR

Structure descriptor of the SAP HANA GIS database table for the business object of the current request.

Type CL_ABAP_STRUCTDESCR

ET_COMPONENTS

ABAP components of the SAP HANA GIS database table for the business object of the current request.

Type ABAP_COMPONENT_TAB

Method GET_REQ_BL_STRUCT

Used to get the structure descriptor and the ABAP components of the business layer of the current request.

Parameter Description
ER_STRUCT_DESCR

Structure descriptor of the business layer of the current request.

Type CL_ABAP_STRUCTDESCR

ET_COMPONENTS

ABAP components of the business layer of the current request.

Type ABAP_COMPONENT_TAB

Method GET_REQ_COMBINED_STRUCT

Used to get the descriptor and the ABAP components of the combined structure of both geometry data and business data of the current request.

Parameter Description
ER_STRUCT_DESCR

Descriptor of the combined structure of both geometry data and business data of for the current request

Type CL_ABAP_STRUCTDESCR

ET_COMPONENTS

ABAP components of the combined structure of both geometry data and business data of for the current request

Type ABAP_COMPONENT_TAB

Method GET_MAX_RECORD_COUNT

Used to get the maximum number of records for the geo object of the current request.

Parameter Description
RV_MAX_RECORD_COUNT

Maximum record for the geo object of the current request

Type GEF_MAX_COUNT

Method GET_PROPERTY

Used to get the property of the implementation class of the interface. As the attributes of an interface have to be public, which is not always desirable, the interface itself doesn't declare any attributes.

Parameter Description
NAME_KOMP

Property name

Type GEFT_GDB_GEOM

RV_RESULT

Data reference

Type DATA

Method SET_PROPERTY

Used to get property.

Parameter Description
NAME_KOMP

Property name

Type GEFT_GDB_GEOM

RV_RESULT

Data reference

Type DATA

Method SET_GDB_OBJECTS

Used to set geometry objects retrieved from the SAP HANA GIS database to the interface.

Parameter Description
IT_GDB_OBJECTS

Geometry objects

Type GEFT_GDB_GEOM

Method GET_MSG_LOG

Used to get the instance of SAP application logger of object type GEF.

Parameter Description
RO_LOG

Logger instance

Type CL_GEF_FRW_MSG_LOG

Method GET_GEO_FILTERS

Used to get filter values from the Customizing for the geo object of the current request.

Parameter Description
RT_FILTERS

Filter

Type GEFT_GEO_FILTER

Method GET_GEO_SCENARIO_ID

Used to get the scenario ID from the Customizing for the geo object of the current request. A scenario ID indicates how the geometry data and business data are set up in the backend system.

Parameter Description
RV_SCENARIO_ID

Scenario ID

Type GEF_GEO_SCENARIO_ID

Method GET_RETURN_GEOMETRY_FLAG

Used to get the flag indicating where geometry is required for the current request.

Parameter Description
IV_RETURN_GEOMETRY

Geometry required indicator

Type ABAP_BOOL

Method IS_CROSS_GEOMETRY_TYPE_SEARCH

Used to get the flag indicating where the current request is a cross geometry type search. A cross geometry type search is one where multiple geometry types are required, if they exist. It isn't consumed by map layers.

Parameter Description
ABAP_BOOL

Cross geometry type search indicator

Type ABAP_BOOL

Method GET_GBO_OBJECTS

Used to get the list of objects, each of which consists of both geometry data and business data for the current request.

Parameter Description
RR_GBO_OBJECTS

Data reference to table of objects

Type DATA

Method SET_GBO_OBJECTS

Used to set the list of objects, each of which consists of both geometry data and business data for the current request to be consumed later during the execution.

Parameter Description
IR_GBO_OBJECTS

Data reference to table of objects.

Type DATA

Method GET_RESPONSE_FORMAT

Used to get the requested response format.

Parameter Description
RV_FORMAT

Response format

Type GEF_RESPONSE_FORMAT

Interface IF_GEF_REQ_METADATA

This interface is used by the framework to get the contexts of a metadata request.

Methods

Method GET_BL_ID

Used to get the business layer ID of the current request.

Parameter Description
GEF_BL_ID

Business layer

Type GEF_BL_ID

Method GET_GL_KEY

Used to get the geometry layer key of the current request.

Parameter Description
RS_GL_KEY

Geometry layer key.

Type GEFS_GL_KEY_ATTR

Method GET_SERVICE_TYPE

Used to get the service type of the current request. A GIS-specific implementation can choose to support feature service, map service, catalog service, and so on.

Parameter Description
RV_SERVICE_TYPE

Service type

Type GEF_SERVICE_TYPE

Method GET_SERVICE_HOST

Used to get the service host of the current request.

Parameter Description
RV_SERVICE_HOST

Service host

Type STRING

Method GET_SERVICE_SCHEME

Used to get the service scheme of the current request.

Parameter Description
RV_SERVICE_SCHEME

Service scheme

Type STRING

Method GET_MSG_LOG

Used to get the instance of SAP application logger of object type GEF.

Parameter Description
RO_LOG

Logger instance

Type CL_GEF_FRW_MSG_LOG

Interface IF_GEF_REQ_EDIT

This interface is used by the framework and the application to get the contexts of the current apply edit, create, delete, and update requests.

Methods

Method GET_CREATE_DATA

Used to get the create data of the current request.

Parameter Description
RT_FEATURE

Create data

Type GEFT_FEATURE_OBJECT

Method GET_UPDATE_DATA

Used to get the update data of the current request.

Parameter Description
RT_FEATURE

Update data

Type GEFT_FEATURE_OBJECT

Method GET_DELETE_DATA

Used to get the delete data of the current request.

Parameter Description
RT_FEATURE

Delete data

Type GEFT_FEATURE_OBJECT

Method GET_GEO_ID

Used to get geo object ID of the current request.

Parameter Description
RV_GEO_ID

Geo object ID

Type GEF_GEO_ID

Method GET_MSG_LOG

Used to get the instance of SAP application logger of object type GEF.

Parameter Description
RO_LOG

Logger instance

Type CL_GEF_FRW_MSG_LOG

Method GET_BUFFER_INSTANCE_ID

Used to get the buffer instance ID.

Parameter Description
RV_INSTANCE_ID

Instance ID

Type GEF_BUFFER_INSTANCE_ID

Method GET_EXTENSION_ID

Used to get the Extension ID.

Parameter Description
RV_EXTENSION_ID

Extension ID

Type GEF_EXTENSION_ID

Interface IF_GEF_REQ_DISPATCH

This interface is used by the framework to get the contexts required for dispatching.

Methods

Method GET_REQ_OPERATION

Used to get the geo object ID [CP3] of the current request.

Parameter Description
RV_REQ_OPERATION

Service scheme

Type GEF_REQ_OPERATION

Method GET_MSG_LOG

Used to get the instance of SAP application logger of object type GEF.

Parameter Description
RO_LOG

Logger instance

Type CL_GEF_FRW_MSG_LOG

Interface IF_GEF_REQ_CATALOG

This interface is used by the framework to get the contexts of the current request.

Methods

Method GET_MSG_LOG

Used to get the instance of SAP application logger of object type GEF.

Parameter Description
RO_LOG

Logger instance

Type CL_GEF_FRW_MSG_LOG

Interface IF_GEF_OUTBOUND_MAP_SERVICE

This interface is used by the framework to get the GIS specific response.

Methods

Method GET_RESP_SERVICE_METADATA

Used by the framework to get the response of a service metadata request.

Parameter Description
IO_REQ_CONTEXT

Request contexts

Type IF_GEF_REQ_METADATA

RV_METADATA

Response[CP4]

Type STRING

Method GET_RESP_LAYER_METADATA

Used by the framework to get the response of a layer metadata request.

Parameter Description
IO_REQ_CONTEXT

Request contexts

Type IF_GEF_REQ_METADATA

RV_METADATA

Response

Type STRING

Method GET_RESP_QUERY

Used by the framework to get the response of a query request.

Parameter Description
IO_REQ_CONTEXT

Request contexts

Type IF_GEF_REQ_QUERY

RV_RESPONSE

Response

Type STRING

Method GET_RESP_CREATE_GEOMETRY

Used by the framework to get the response of a create request.

Parameter Description
IO_REQ_CONTEXT

Request contexts

Type IF_GEF_REQ_EDIT

RV_RESPONSE

Response

Type STRING

Method GET_RESP_UPDATE_GEOMETRY

Used by the framework to get the response of an update request.

Parameter Description
IO_REQ_CONTEXT

Request contexts

Type IF_GEF_REQ_EDIT

RV_RESPONSE

Response

Type STRING

Method GET_RESP_DELETE_GEOMETRY

Used by the framework to get the response of a delete request.

Parameter Description
IO_REQ_CONTEXT

Request contexts

Type IF_GEF_REQ_EDIT

RV_RESPONSE

Response

Type STRING

Method GET_RESP_EDIT_GEOMETRY

Used by the framework to get the response of an applyEdits request. An applyEdits operation adds, updates, and deletes features of the associated feature layer.

Parameter Description
IO_REQ_CONTEXT

Update data

Type IF_GEF_REQ_EDIT

RV_RESPONSE

Update data

Type STRING

Method GET_RESP_SERVICE_CATALOG

Used by the framework to get the response of a catalog request.

Parameter Description
IO_REQ_CONTEXT

Request contexts

Type IF_GEF_REQ_CATALOG

RV_CATALOG

Response

Type STRING