Show TOC

Interface /IWBEP/IF_V4_ANNO_URLLocate this document in the navigation structure

This is the interface for annotations URLRef expressions for OData version 4 (V4).

This interface includes /iwbep/if_v4_anno_item.

Methods
Method CREATE_FUNCTION

This method creates a function.

Code Syntax
    importing
      IV_FUNCTION_NAMESPACE type STRING
      IV_FUNCTION_NAME type STRING
    returning
      value(RO_FUNCTION) type ref to /IWBEP/IF_V4_ANNO_FUNCTION
    raising
      /IWBEP/CX_V4_ANNOTATION .
Table 1:

Parameter

Description

iv_function_namespace

Function namespace.

iv_function_name

Function name.

ro_function

Annotations function.

Exceptions

The annotation exception is /iwbep/cx_v4_annotation.

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

Method CREATE_SIMPLE_VALUE
This method creates an simple value. The simple value can be defined as one of the following:
  • binary

  • boolean
  • date
  • decimal
  • duration
  • path
  • string
Code Syntax
    returning
      value(RO_SIMPLE_VALUE) type ref to /IWBEP/IF_V4_ANNO_SIMP_VAL
    raising
      /IWBEP/CX_V4_ANNOTATION .
Table 2:

Parameter

Description

ro_simple_value

Annotations simple value.

Exceptions

The annotation exception is /iwbep/cx_v4_annotation.