Friday, 7 December 2018

How to Generate a HANA CDS Wrapper View

To generate from command prompt, please complete the following:

◈ Download and install the js application.
◈ Open the js command prompt.
◈ Install the dependent packages from the command prompt npm install.
◈ Open the folder hana-cds-wrapper-generator-master/view-generator and execute js.

SAP HANA smart data integration, SAP HANA Study Materials, SAP HANA Learning, SAP HANA Certification

SAP HANA smart data integration, SAP HANA Study Materials, SAP HANA Learning, SAP HANA Certification

◈ Next, open localhost with port 3000 in the browser to view the application

SAP HANA smart data integration, SAP HANA Study Materials, SAP HANA Learning, SAP HANA Certification

To generate from WEBIDE, please complete the following:

◈ Clone the source code from the git repository to WEBIDE.
◈ Right click on the project hana-cds-wrapper-generator and select Project > Project Settings

SAP HANA smart data integration, SAP HANA Study Materials, SAP HANA Learning, SAP HANA Certification

◈ Enter the cloud foundry configuration details, including the API, organization, and the space where you want to build the project.
◈ Choose Save.

SAP HANA smart data integration, SAP HANA Study Materials, SAP HANA Learning, SAP HANA Certification

◈ Right click on the project and select Build > Build.

SAP HANA smart data integration, SAP HANA Study Materials, SAP HANA Learning, SAP HANA Certification

SAP HANA smart data integration, SAP HANA Study Materials, SAP HANA Learning, SAP HANA Certification

SAP HANA smart data integration, SAP HANA Study Materials, SAP HANA Learning, SAP HANA Certification

◈ Once you have successfully completed the build, select the view-generator folder to run the project

SAP HANA smart data integration, SAP HANA Study Materials, SAP HANA Learning, SAP HANA Certification

◈ The application URL will be generated once the run script has started.

SAP HANA smart data integration, SAP HANA Study Materials, SAP HANA Learning, SAP HANA Certification

The following options are available to generate the HANA CDS Wrapper View:

◈ XS Classic for HDBDD
◈ XS Advanced for HDBCDS

To generate the view from the app using XS Classic, please complete the following:

◈ Select XS Classic from the application.
◈ Enter the Namespace, Source Schema and Target Schema.

SAP HANA smart data integration, SAP HANA Study Materials, SAP HANA Learning, SAP HANA Certification

◈ Choose Generate & Download to download.
◈ The HANA CDS Wrapper View generator file will be downloaded.

To generate the view from the app using XS Advanced, please complete the following :

◈ Select XS Advanced from the application to generate the HANA 2.0 CDS view (.HDBCDS) file.

SAP HANA smart data integration, SAP HANA Study Materials, SAP HANA Learning, SAP HANA Certification

◈ Enter the input values for Namespace and Logical System.
◈ Check the Disable Type Cast box to ensure increased performance.

SAP HANA smart data integration, SAP HANA Study Materials, SAP HANA Learning, SAP HANA Certification

◈ Choose Generate & Download.

SAP HANA smart data integration, SAP HANA Study Materials, SAP HANA Learning, SAP HANA Certification

◈ The HANA CDS Wrapper View generator file will be downloaded.

Result: You have now successfully generated a HANA CDS Wrapper View.

No comments:

Post a Comment