Skip to Content
Product Information
Author's profile photo Volker Saggau

HDI: returning multiple deployment errors

Problem:

Working with SAP HANA Cloud and HDI the tooling stopped at the first error and you had to fix them in the sequence the errors where thrown. All this one by one. This can lead to a lot of cycles that are time consuming and do not support the workflow one had in mind.

Solution:

With SAP HANA Cloud March 2022 the HDI can now return the first error it can detect per each “dependency branch”.

In this schematic tree we would see 3 errors caused in various depths in the tree.

The HDI works through the individual branches until finished or with error message.

How can you activate this behaviour?

Adding%20stop_on_error%20parameter

Adding stop_on_error parameter

in the /db/package.json file you add to the start script the parameter as:

--parameter stop_on_error=false

The default behaviour of  HDI remains the same. So no coding that is expecting the previous behaviour is broken. The default of stop_on_error is TRUE.

Two%20error%20caused%20by%20wrong%20syntax

Two error caused by wrong syntax

As you can see in the sample the errors are reflected in Business Application Studio (BAS) with 2 highlighted HDBTABLE definitions.

 

Summary:

The new HDI parameter “stop on error” should allow the developer to reduce the cycle times with HDI and allow to find faster and easier typos or other errors within the design time objects.

 

Help will look like this, but the link is not public at this point in time:

Preview%20on%20the%20help%20page

Preview on the help page

You may be interested in the other parameters as well.

Current version: Q12022

 

Assigned Tags

      2 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Michael Cocquerel
      Michael Cocquerel

      Will it be available on premise at some time ?

      Author's profile photo Volker Saggau
      Volker Saggau
      Blog Post Author

      Hi Michael,

      Indeed we plan to bring this to HANA on premise as well. Current planing is for SP7. The Roadmap is the official information. I am working to get it into the list.

       

      BR