Show TOC

Interface /IWBEP/IF_V4_ANNO_COND_EXPLocate this document in the navigation structure

This is the interface for annotation conditional expressions for OData version 4 (V4).

This interface includes interface /iwbep/if_v4_anno_item.

Methods
Method CREATE_ANNOTATION

This method creates an annotation.

Code Syntax
    IMPORTING
      iv_term_namespace TYPE string
      iv_term_name      TYPE string
      iv_qualifier      TYPE string
    RETURNING
      VALUE(ro_annotation) TYPE REF TO /iwbep/if_v4_anno_annotation
    RAISING /iwbep/cx_v4_annotation .
Table 1:

Parameter

Description

iv_term_namespace

Term namespace.

iv_term_name

Term name.

iv_qualifier

Qualifier.

ro_annotation

Annotation.

Exceptions

The annotation exception is /iwbep/cx_v4_annotation.

An exception is raised if the provided term name or term namespace is not valid according to the OData V4 specification. An exception is also raised if the provided term name or term namespace is initial.

Method CREATE_PARAMETER

This method creates a parameter.

Code Syntax
    RETURNING
      VALUE(ro_con_exp_p) TYPE REF TO /iwbep/if_v4_anno_cond_exp_p
    RAISING /iwbep/cx_v4_annotation .
Table 2:

Parameter

Description

ro_con_exp_p

Conditional expression parameter.

Exceptions

The annotation exception is /iwbep/cx_v4_annotation.