Show TOC

Interface /IWBEP/IF_V4_MED_SERVICE_REFLocate this document in the navigation structure

This is the interface for service references for OData version 4 (V4). Service references are used within the service definition, if service artifacts of external services shall be referenced. You use service references to to connect different service together, so that cross-service navigation and cross-service expands can be realized, for example.

This interface includes interface /iwbep/if_v4_med_element.

Table 1: Aliases

Visibility and Level

Alias

Component

public

get_edm_name //IWBEP/IF_V4_MED_ELEMENT~GET_EDM_NAME

public

get_internal_name

/IWBEP/IF_V4_MED_ELEMENT~GET_INTERNAL_NAME

Methods
Method GET_SERVICE_KEY

This method gets the key of the referenced service.

Code Syntax
get_service_key
    RETURNING
      VALUE(rs_service_key) TYPE /iwbep/s_v4_med_service_key
    RAISING
      /iwbep/cx_v4_med .
Table 2:

Parameter

Description

rs_service_key

Service key of the referenced service.

Exceptions

The metadata exception is /iwbep/cx_v4_med.

Method GET_SERVICE_SCHEMA_ALIAS

This method gets the schema alias of the referenced service.

Code Syntax
get_service_schema_alias
    RETURNING
      VALUE(rv_schema_alias) TYPE string
    RAISING
      /iwbep/cx_v4_med .
Table 3:

Parameter

Description

rv_schema_alias

Schema alias of the referenced service.

Exceptions

The metadata exception is /iwbep/cx_v4_med.

Method GET_SERVICE_SCHEMA_NAMESPACE

This method gets the schema namespace of the referenced service.

Code Syntax
get_service_schema_namespace
    RETURNING
      VALUE(rv_schema_namespace) TYPE string
    RAISING
      /iwbep/cx_v4_med .
Table 4:

Parameter

Description

rv_schema_namespace

Schema namespace of the referenced service.

Exceptions

The metadata exception is /iwbep/cx_v4_med.