Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to add comments to table definition of column using HDBDD?

I could able to create tables using HDBDD syntax. But I want to add some comment to each column for the table. So that while opening table definition from catalog, the same comment should be present.

For example

Table Name Employee

Column Name     type                                        Comment

firstname              VARCHAR                              First Name of employee

lastname               VARCHAR                              Last name of employee

age                         INTEGER                              Age of employee in Months

If we define in HDBDD, it will be like

@Schema: 'MySchema'

@Catalog.table.Type: #COLUMN

entity Employee {

     firstname :  String(20);

     lastname     : String(20);

     age               : Integer;

};

In above hdbdd code, where can I put comment so that the comment should be visible  in table definition. I don't know, whether it is feasible thru hdbdd.

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question