Ansicht
Dokumentation

ABENCDS_ANNOTATIONS_SYNTAX_NAME - CDS ANNOTATIONS SYNTAX NAME

ABENCDS_ANNOTATIONS_SYNTAX_NAME - CDS ANNOTATIONS SYNTAX NAME

General Material Data   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

- Annotation Syntax, .subAnno

... .subAnno$[:   value  $]
           $|$[: { subannos } $]
           $|$[: [ arrelem ] $]
           $|$[.subAnno$[ ... $]$]


Effect

Chains an annotation with a subannotation subanno. The chaining is indicated by a period (.). The name of the subannotation can contain letters, numbers, and underscores only and must start with a letter. The same information can be specified after the name as specified after the main annotation:

  • A colon (:) followed by the following:

  • A chaining with a further subannotation subAnno using a period (.).

Only those subannotations should be specified that are supported by the associated annotation definition.

Notes

  • Alongside individual subannotations specified using structured annotation names. multiple subannotations can be specified using a comma-separated list and curly brackets.
  • A structured annotation name must be unique within the scope of the annotation.

Example

The following annotation definition is available.

The subannotations can then, for example, be specified as follows:

@DemoSubAnnos.subAnno1: true
@DemoSubAnnos.subAnno2.subAnno1: 1
@DemoSubAnnos.subAnno2.subAnno2.subAnno1: 1
@DemoSubAnnos.subAnno2.subAnno2.subAnno2: 2

This example has the same semantics as the example using comma-separated lists.






Fill RESBD Structure from EBP Component Structure   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 4471 Date: 20240328 Time: 161026     sap01-206 ( 44 ms )