Skip to Content
avatar image
Former Member

CDS UI Annotation can only used in smart template from web ide?

I noticed the UI Annotations defined in ABAP CDS view can control the UI layer, when using the smart template from web ide.

I'm curious whether the UI annotations defined in ABAP CDS can also be used for non 'smart template' UI App, like the freestyle UI5 App via drag-drop in web ide, can the UI annotation can also be used?


another question is for smart template Apps, after deploy on ABAP NW, I can see the folders/files created in BSP without html file to execute. But in web ide, the App is completed and can be tested, how to execute from SE80 BSP? If not, does that mean the smart template(without view, controller, html files) can only be used on fiori? as i know the normal apps developed via web ide has views, controllers, index etc, and after deployment on NW, the html file can be executed.

Thanks in advance.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Apr 28, 2017 at 06:26 AM

    answer by myself.

    the ui annotations needs interpretation by controller, for smart template, the controller are provided in web ide, also by web server.

    but for self built ui5 app, the controller doesn't recognize the ui annotation, so it won't work.

    Add comment
    10|10000 characters needed characters exceeded

    • there is no magic, if you want to parse those meta data in the controller, you can do the same thing. nothing to do with the controller.