Show TOC

Implementing Mapping SpecialistsLocate this document in the navigation structure

A mapping specialist is used for mapping the entity data to a BOP DO request and the BOP DO response back to the entity data. Mapping specialists operate on BOP Data Objects (created during BOP Generation) and Entity Data. Each mapping specialist is provided with:

  • A BOP Data Object (BOP DO).

  • A set of BOP DOs processed by previous mapping specialists.

  • The entity data (ER_ENTITY or ER_ENTITYSET or ER_DATA). The entity data can be partially filled by previous mapping specialists.

  • Operation specific parameters.

You must create a mapping specialist class by implementing the mapping specialist interface methods for mapping. A separate mapping interface is provided for each entity operation. The mapping interface supports two methods:

  • MAP_INBOUND — is used for mapping the entity request to BOP DO request.

  • MAP_OUTBOUND — is used for mapping BOP response back to entity data.

The table below lists all the mapping interfaces for each (corresponding) entity operation:

Interface

Operation

/IWBEP/IF_MGW_EDP_MAP_READ

Implement this mapping interface for GET_ENTITY (Read), GET_EXPANDED_ENTITY operations.

/IWBEP/IF_MGW_EDP_MAP_QUERY

Implement this mapping interface for GET_ENTITY_SET (Read), GET_EXPANDED_ENTITY_SET operations.

/IWBEP/IF_MGW_EDP_MAP_ACTION

Implement this mapping interface for EXECUTE_ACTION operation.

/IWBEP/IF_MGW_EDP_MAP_CREATE

Implement this mapping interface for CREATE operation and CREATE_DEEP_ENTITY (Deep Insert) operations.

/IWBEP/IF_MGW_EDP_MAP_UPDATE

Implement this mapping interface for UPDATE operation.

/IWBEP/IF_MGW_EDP_MAP_DELETE

Implement this mapping interface for DELETE operation.

/IWBEP/IF_MGW_EDP_MAP_GSTREAM

Implement this interface for GET_STREAM operation.

Continue with:

Implementing /IWBEP/IF_MGW_BOP_MAP_READ Mapping Interface

Implementing /IWBEP/IF_MGW_BOP_MAP_QUERY Mapping Interface

Implementing /IWBEP/IF_MGW_BOP_MAP_ACTION Mapping Interface

Implementing /IWBEP/IF_MGW_BOP_MAP_CREATE Mapping Interface

Implementing /IWBEP/IF_MGW_BOP_MAP_UPDATE Mapping Interface

Implementing /IWBEP/IF_MGW_BOP_MAP_ DELETE Mapping Interface

Implementing /IWBEP/IF_MGW_BOP_MAP_GSTREAM Mapping Interface

Back to Developing Content on SAP Gateway OData Channel Using IWBEP