This is the interface for annotations targets.
This interface includes /IWBEP/IF_V4_ANNO_ITEM.
This method creates an annotation.
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 .
Parameter |
Description |
---|---|
iv_term_namespace |
Term namespace. |
iv_term_name |
Term name. |
iv_qualifier |
Qualifier. |
ro_annotation |
Annotation. |
Class-Based Exceptions
The annotation 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.