You can extend the reuse views with the SAP HANA Live Extension Assistant. The extended views are created as a new reuse view in the package that is selected by the user. The tool lists all the unused columns from the underlying tables of reuse views. You can select the column that needs to be updated as an output and a new extended reuse view is added.
You can select the type of newly added view column only as Attribute
.
You have installed the following:
HCO_HBA_T_EXTN.tgz
SAP HANA Appliance Software Support Package Stack 08 revision 82 or higher
You are assigned the role sap.hba.tools.extn.roles:ExtensibilityDeveloper
and required package privileges.
REPO.READ
, REPO.EDIT NATIVE OBJECTS
, and REPO.ACTIVATE NATIVE OBJECTS
permissions on the package in which new extended view is created.
Right-click the view you want to extend.
Note
If the view is already extended using this tool, two options display Create new extension view
and Edit existing extended view
. To edit, click the Edit existing extended view
radio button and select the view from the Extend View
dropdown. Proceed as mentioned from step 3.
Select the required option.
Click Next
.
On the left side, you can view a list of all the underlying tables of a reuse view.
Expand the table to view or select columns that needs to be added to output of new extended reuse view.
Note
Both used and reused columns are displayed with the used columns disabled. On the right side, all the SAP delivered columns are displayed.
Click the Add
button to add the required columns that is part of view's table. Click the plus sign on the left side to add a table, which is in the system and not part of any view. This is optional.
Click Next
to maintain joint conditions for each of table in which a new column is added.
Note
Joint type is Left Outer
and you cannot change this.
Click Validate
or Activate
.
If you click Validate
, the validation results are displayed. Click Activate
to activate the new extended view. Once activation is complete, a new extended view is created in the package you selected.