This is the interface for annotations collections for OData version 4 (V4).
This interface includes interface /iwbep/if_v4_anno_item.
DATA lo_collection TYPE REF TO /iwbep/if_v4_anno_collection. lo_collection->create_con_exp( /iwbep/if_v4_anno_types=>gcs_con_expression_operator-not ).
importing IV_CON_EXPR_OPERATOR type /IWBEP/IF_V4_ANNO_TYPES=>TY_CON_EXPRESSION_OPERATOR returning value(RO_CON_EXP) type ref to /IWBEP/IF_V4_ANNO_COND_EXP raising /IWBEP/CX_V4_ANNOTATION .
Parameter |
Description |
---|---|
iv_con_expr_operator |
Conditional expression operator. |
ro_con_exp |
Conditional expression operator. |
Exceptions
The annotation exception is /iwbep/cx_v4_annotation.
An exception is raised if the provided conditional expression is not supported.
This method creates a record.
importing IV_RECORD_TYPE_NAMESPACE type STRING optional IV_RECORD_TYPE type STRING optional returning value(RO_RECORD) type ref to /IWBEP/IF_V4_ANNO_RECORD raising /IWBEP/CX_V4_ANNOTATION .
Parameter |
Description |
---|---|
iv_record_type_namespace |
Record type namespace. |
iv_record_type |
Record type. |
ro_record |
Annotations record. |
Exceptions
The annotation exception is /iwbep/cx_v4_annotation.
An exception is raised if the provided record type name or record type namespace is not valid according to the OData V4 specification.
binary
returning value(RO_SIMPLE_VALUE) type ref to /IWBEP/IF_V4_ANNO_SIMP_VAL raising /IWBEP/CX_V4_ANNOTATION .
Parameter |
Description |
---|---|
ro_simple_value |
Annotations simple value. |
Exceptions
The annotation exception is /iwbep/cx_v4_annotation.