Show TOC

/IWBEP/IF_MGW_ODATA_ ANNOTATION Locate this document in the navigation structure

Use

Interface of an annotation which is returned when adding an annotation attribute to an OData Channel entity.

Methods

Method ADD

This method specifies key and value of the annotation for the actual OData Channel entity.

Parameter

Description

IV_KEY

Key of an annotation attribute, for example label in namespace sap in the service metadata document.

IV_VALUE

Value of an annotation attribute, for example value of label in namespace sap in the service metadata document.

Method ADD_CHILD

This method specifies key and value of an annotation child attribute for the actual OData Channel entity.

Parameter

Description

IV_PARENT_KEY

Annotation key.

IV_KEY

Key of an annotation child attribute.

IV_VALUE

Value of an annotation child attribute.

Note

The annotations you specify are used for documentation purposes only and are not otherwise evaluated. That is, they simply provide additional descriptive information.