HANA Cloud for function consultants (Part Four): CDS Data Model and debug in Business Application Studio

Submitted by Haining_Zhang on Sun, 12/13/2020 - 12:58

By set up the CDS, when the mouse hovers over the concepts, the screen/system will prompt relevant message. For example, the SAP HANA Client version is 2.6, then we need to replace the old value in the template with this new value.

SAP Business Application Studio 13
Update the template with the info given by HANA (Replace HANA Client v 2.4.177 with 2.6.64)

Traditionally function consultants debug with /h, SE38, SE80, breakpoint, watch points in GUI. In the future, function consultants need to debug, write specs, and write test scripts in the Business Application Studio environment. The main debug settings in the Studio are summarized in the screenshot here.

SAP Business Application Studio 14
Debug, breakpoint, and watchpoint in SAP Business Application Studio

The studio workplace could help users to fix certain errors.

SAP Business Application Studio 15
Error message with certain intelligence in SAP Business Application Studio

If the program runs perfectly, NodeJS will update the status without any error message and user will get the URL of the App. This means the project succeeded.

SAP Business Application Studio 16
This message means CDS settings, connection, and run all correct in HANA, ready to deploy.

 

Tags