Show TOC

Interface /IWBEP/IF_V4_MED_CPLX_PROPLocate this document in the navigation structure

This is the interface for complex property for OData version 4 (V4).

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_COMPLEX_TYPE

This method gets the complex type.

Code Syntax
    returning
      value(RO_COMPLEX_TYPE) type ref to /IWBEP/IF_V4_MED_CPLX_TYPE
    raising
      /IWBEP/CX_V4_MED .
Table 2:

Parameter

Description

ro_complex_type

Complex type.

Exceptions

The metadata exception is /iwbep/cx_v4_med.

Method IS_NULLABLE

This method checks if the return is a nullable property.

Code Syntax
    returning
      value(RV_IS_NULLABLE) type ABAP_BOOL .
Table 3:

Parameter

Description

rv_is_nullable

Is nullable?

Method SET_COMPLEX_TYPE

This method sets the internal complex type name.

Code Syntax
    importing
      iv_complex_type_name type /IWBEP/IF_V4_MED_ELEMENT=>TY_E_MED_INTERNAL_NAME
    raising
      /IWBEP/CX_V4_MED .

Exceptions

The metadata exception is /iwbep/cx_v4_med.

An exception is thrown if IV_COMPLEX_TYPE_NAME is invalid.

Method SET_EDM_NAME

This method sets the EDM name.

Code Syntax
    importing
      IV_EDM_NAME type /IWBEP/IF_V4_MED_ELEMENT=>TY_E_MED_EDM_NAME
    raising
      /IWBEP/CX_V4_MED .
Table 4:

Parameter

Description

iv_edm_name

EDM name.

Exceptions

The metadata exception is /iwbep/cx_v4_med.

An exception is thrown if IV_EDM_NAME is invalid or IV_EDM_NAME is already in use.

Method SET_IS_NULLABLE

This method sets the property to be nullable.

Code Syntax
    raising
      /IWBEP/CX_V4_MED .

Exceptions

The metadata exception is /iwbep/cx_v4_med.