This is the interface for function imports for OData version 4 (V4).
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 internal entity set name of the returned entities.
If the return type of an action is an entity type, the corresponding entity set must be defined via the action import. This method returns the specified entity set object.
get_entity_set RETURNING VALUE(ro_entity_set) TYPE REF TO /iwbep/if_v4_med_entity_set RAISING /iwbep/cx_v4_med .
Parameter |
Description |
---|---|
ro_entity_set |
Entity set. |
Exceptions
The metadata exception is iwbep/cx_v4_med.
This method gets the function of a function import.
get_function RETURNING VALUE(ro_function) TYPE REF TO /iwbep/if_v4_med_function RAISING /iwbep/cx_v4_med .
Parameter |
Description |
---|---|
ro_function |
Function. |
Exceptions
The metadata exception is iwbep/cx_v4_med.
is_in_service_doc RETURNING VALUE(rv_is_in_service_doc) TYPE abap_bool .
This method sets the EDM name of a function import. The EDM name must be unique within the model.
set_edm_name IMPORTING !iv_edm_name TYPE /iwbep/if_v4_med_element=>ty_e_med_edm_name RAISING /iwbep/cx_v4_med .
Parameter |
Description |
---|---|
iv_edm_name |
EDM name. |
Exceptions
The metadata exception is iwbep/cx_v4_med.
This method sets the entity set name for returned entities.
If the return type of a function is an entity type, the corresponding entity set must be defined via the function import. This method will be used to specify the name of the returned entity set.
set_entity_set_name IMPORTING iv_entity_set_name TYPE /iwbep/if_v4_med_element=>ty_e_med_internal_name RAISING /iwbep/cx_v4_med .
Parameter |
Description |
---|---|
iv_entity_set_name |
Internal entity set name. |
Exceptions
The metadata exception is iwbep/cx_v4_med.
set_is_not_in_service_doc RAISING /iwbep/cx_v4_med .
Exceptions
The metadata exception is iwbep/cx_v4_med.