Reminder part I
In part one, I presented the example on which the developments relies on and the functionality of the ALP template. I shown the skeleton of of the main CDS view (having “cube” as data category attribute) and shown examples of basic building blocks views (dimension / text).
The interesting point to retain from part one is that we can already use annotations in views that will be used by the presentation layer elements: labels, drop-down list…
The annotations inserted in the views will be used to produce extra data in the “metadata.xml” file or will be used to produce an annotation file (the two files are accessible via the gateway).
Some remarks about that:
- In NW7.5, only few annotations are available for usage in CDS views
- If you think about separation of layers Data-UI (better for components reusability), then the point above can be seen as a good point … 🙂
Part II: building the user interface
Now that the data access layer has been set-up, let’s focus on the user interface part. The analytical list page (ALP) is structured into different parts:
The easiest way of starting the building of the ALP begins thank to the WebIde and the template wizard. The next step is to fill the service provider and edit the main annotation file.
The manifest file needs a qualifier to specify which (main) chart view will be used (data, chart type).
The main data table will be customized in the annotation file thank to the (annotation) term “UI.LineItem“.
But let’s see now how to indicate to the ALP framework that we will use visual filter(s)…
Following the official documentation, we need to build our annotations respecting a specific structure:
Conclusion: you have now an overview of the analytical list page on NetWeaver 7.5 !
Thanks for reading,