Show TOC

Interface /IWBEP/IF_V4_ANNO_RECORDLocate this document in the navigation structure

This is the interface for annotations record expressions.

This interface includes /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 optional
    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 annotations exception is /iwbep/cx_v4_annotation.

An exception is raised if the provided term name or term namespace is initial. An exception is also raised if the provided term name or term namespace is not valid according to the OData V4 specification. In addition, an exception is raised if an annotation with the same name and namespace has been already defined for the parent.

Method CREATE_PROPERTY
This method creates a property or property value.
Code Syntax
    importing
      IV_PROPERTY_NAME type STRING
    returning
      value(RO_PROPERTY) type ref to /IWBEP/IF_V4_ANNO_PROPERTY
    raising
      /IWBEP/CX_V4_ANNOTATION .
Table 2:

Parameter

Description

iv_property_name

Property name.

ro_property

Annotations property.

Exceptions

The annotations exception is /iwbep/cx_v4_annotation.

An exception is raised if the provided property name is initial. An exception is raised if the provided property name is not valid according to the OData V4 specification.