CL_EAMS_VB_ESRI_LAYER_QUERY - Retrieve Data from ESRI MapService WS with JSON Form
rdisp/max_wprun_time - Maximum work process run time CL_GUI_FRONTEND_SERVICES - Frontend ServicesThis documentation is copyright by SAP AG.
Functionality
This class provides functionality to retrieve point geometry like data as geo coordinates and otherobject attributes based on object identifier from ESRI "MapServer" web service using map sub-layers as external data sources.
Relationships
Related customizingMap sub-layers as external data sources can be defined by maintaining EAMS_CVBEXTDS in SM30.
Defining a sub-layer covers the following:
Key attribute field name whose value identifies objects on sub-layer uniquely,
- Business system ID that joins internal (ERP) and external (ESRI) object ID and sets mapping validation limits per system,
- Data source rank put precedence over different data source when the same external object ID relates more than one sub-layer,
- Sub-layer ID: identifies one layer within range of a "MapServer" web service, moreover description can be added for it,
- RFC destination define access to "MapServer" web service and
- Technical object type and category make more strait relationship between technical object and its external attributes.
Example
RETRIEVE_DATA retrieves geo coordinates and external attributes from sub-layers.
CREATE_DATASOURCE_REFERENCE facilitates access to data sources based on customizing with help of CREATE_HTTP_CLIENT_BY_RFCDEST.
MAP_OBJECTID_TO_DATASOURCE combines object ID from internal-external ID mapping with external data sources.
FETCH_DATA provides data sets for RETRIEVE_DATA based on outcome of MAP_OBJECTID_TO_DATASOURCE.
MAP_FIELDS_QUERY construct URL query parameters.
CONVERT_XSTRING_TO_STRING convert JSON formed response string provided by RETRIEVE_DATA_JSON.
CONVERT_DATA_FROM_JSON fills internal tables of geo coordinates and other attributes by parsing JSON response string.
CHECK_ERROR_IN_JSON inspect errors in JSON response string.
Notes
- ESRI web service is queried using JSON form.
- Point geometry like data as geo coordinates measured in WGS 84 (WKID: 4326).
- version 9.3 is used when querying against ArcGIS REST API.
Further information
rdisp/max_wprun_time - Maximum work process run time Vendor Master (General Section)
This documentation is copyright by SAP AG.
Length: 2372 Date: 20120526 Time: 142557 triton ( 75 ms )






