
You can redefine existing data services by using the Redefine Service Wizard. The SAP Gateway Service Builder enables you to make certain restricted changes in the generated services. For example, these services might not have proper labels or might not need all the artifacts. In these cases, the SAP Gateway Service Builder allows you to make cosmetic changes without influencing the underlying implementation of the service.
Note
Redefinition should not be confused with including an existing SAP Gateway service into a new SAP Gateway service. The later can be compared to a mashup and is no longer recommended.When generating a service by using redefinition, the data model definition and service implementation are performed in a single step. This is possible because the data sources offer methods that are already very similar to the methods of an OData service.
Two use case can be distinguished:
- Redefine a data source service.
- Redefine (or extend) an SAP Gateway service
When redefining a data source, an SAP Gateway service is completely generated based on existing data objects.
Redefinition Support

For the following frameworks, redefinition scenarios are supported:
- Easy Query
- Easy Query allows external access to queries created in SAP Business Warehouse (BW).
- Multidimensional Expression (MDX)
- MDX is a language used in SAP BW and developed by Microsoft for queries using multi-dimensional data. An MDX expression returns a multi-dimensional result set (dataset) that consists of axis data and cell data.
- Operational Data Provisioning (ODP)
ODP is an infrastructure for data extraction and replication from SAP (ABAP) applications to a SAP BW/4HANA Data Warehouse.
- Business Objects Processing Framework (BOPF)
BOPF is an ABAP object-oriented framework that provides a set of generic services and functionality to speed up, standardize, and modularize development.
Caution
BOPF is also used as business layer in the ABAP Programming Model for SAP Fiori, also known as CDS-based BOPF. In this variant, it cannot be used as data source in a redefinition.- Open Data (OData)
- OData services from external systems can be redefined as and thereby transformed in SAP Gateway services.
- SAP Gateway (GW)
- Redefining an SAP Gateway service allows to extend an (SAP-)delivered one in customer namespace.
- Generic Interaction Layer (GenIL)
GenIL is based on the SAP Customer Relationship Management (CRM) Business Object Layer (BOL) and can be used for data access through the GenIL connectivity framework.
Note
The data model is deprecated since ABAP Platform 7.54. The mandatory add-on IW_GIL can no longer be used since SAP S/4HANA 1909.- Service Provider Infrastructure (SPI)
SPI is an application and User Interface (UI) technology independent layer for business data exposure. As application data model, it is used in the SAP Business Suite mainly in the areas Product Lifecycle Management (PLM) and Enterprise Application Management (EAM). As a UI data model, it is used as internal framework for Web Dynpro as part of the Floorplan Manager (FPM).
Note
The usage as application data model is deprecated since AS ABAP 7.51. The mandatory add-on IW_SPI can no longer be used since SAP S/4HANA 1610.

The Redefine Service Wizard looks and works differently for each data model because every data model defines other (runtime) artifacts. Here are some examples:
- BW easy query and MDX are combined in the wizard for BW Query Service and distinguished using the Access Type.
- The OData access for ODP can combine multiple ODPs in one SAP Gateway service.
- A BOPF configuration may include an FPM BOPF Integration (FBI) view.
- The redefinition of an SAP Gateway service asks for a certain version of the original service.
In general, you should be familiar with the data service you want to redefine. Working with the wizard is quite simple as long as the terms and behavior of the origin are understood.