Switching between different views – perspectives
We use the same IDE, SAP HANA Studio, for different activities, such as modeling, administration, and transports. The corresponding perspective has to be set to perform these respective activities. This recipe explains in detail about the perspectives available.
Getting ready
SAP HANA Studio presents its various tools in the form of perspectives.
A perspective contains specific task- or resource-related functions. It determines which views and editors are available and controls what appears in certain menus and toolbars for the developers, modelers, or technical users to leverage based on the requirements.
Database administration and monitoring features are contained primarily within the Administration Console perspective. There are other perspectives as well, which include Modeler, SAP HANA Development, Debug, and Lifecycle Management, as shown in the following screenshot:
How it works…
There are several key Eclipse perspectives that you will use while developing; however, these are the major ones that are used predominantly:
- Modeler: The Modeler perspective is used to define information models and to create various types of views and analytical privileges to create models. It allows users to create new or modify existing models of data. Modelers can create different types of models (for example, attribute views, analytic views, and calculation views) depending on the data, which can be transaction data, master data, or any dimensional or other data. All databases are listed in the Navigator Pane of the studio.
- SAP HANA Development: This perspective consists of new tools specifically created for SAP HANA XS (Extended Application Services). These tools help in writing the server-side JavaScript code. This perspective is used to create development objects that access or update models. There are native and non-native applications that are supported, such as JScript, HTML5, Java, and .Net.
- Debug: This perspective is used for debugging purposes, such as server-side JavaScript or SQLScript.
- Administration Console: This perspective is used to monitor the system and change settings. This perspective allows administrators to administer and monitor the SAP HANA database instances. It also includes the database status information. Administrators can check the overview of the system, servers, running services, diagnose logfiles, monitor log size, volume size, system performance, multiple alerts, and so on. They can also create users and roles and can assign privileges to roles.
- Lifecycle Management: This perspective is used for future releases and upgrades. It helps in providing automated updates for SAP HANA using SAP Software Update Manager.
How to do it…
From the Window menu, select Open Perspective and change the perspective accordingly. At the bottom of the menu, we can see the Other option, from where we can access other perspectives as well, as shown in the following screenshot:
In the top-right corner of SAP HANA Studio, we have an option to open the available perspectives and change them.
By clicking on the icon, we can navigate between perspectives.
There's more…
The previously mentioned perspectives are the most frequently used. Other than these, we have another perspective, which is the PlanViz perspective. This perspective is used when we use the visualize plan for an SQL code.
See also
- The Plugin perspective
- The Resource perspective
- The JavaScript perspective
- The Team Synchronizing perspective