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.
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 |
This method gets the key of the referenced service.
get_service_key RETURNING VALUE(rs_service_key) TYPE /iwbep/s_v4_med_service_key RAISING /iwbep/cx_v4_med .
Parameter |
Description |
---|---|
rs_service_key |
Service key of the referenced service. |
Exceptions
The metadata exception is /iwbep/cx_v4_med.
This method gets the schema alias of the referenced service.
get_service_schema_alias RETURNING VALUE(rv_schema_alias) TYPE string RAISING /iwbep/cx_v4_med .
Parameter |
Description |
---|---|
rv_schema_alias |
Schema alias of the referenced service. |
Exceptions
The metadata exception is /iwbep/cx_v4_med.
This method gets the schema namespace of the referenced service.
get_service_schema_namespace RETURNING VALUE(rv_schema_namespace) TYPE string RAISING /iwbep/cx_v4_med .
Parameter |
Description |
---|---|
rv_schema_namespace |
Schema namespace of the referenced service. |
Exceptions
The metadata exception is /iwbep/cx_v4_med.