General problems and solutions in SAP Web IDE with respect to HDI views
In this blog post, it is explained how to solve common errors while setting up SAP Web IDE in Cloud Foundry HANA Trial Account of SAP Cloud Platform.
1. Can’t open custom view in the graphical editor.
If the XML is not formatted with line breaks, the above error appears.
a. Open the XML of the custom view in the code editor.
b. Copy the contents.
c. Format it with line breaks using the XML formatter.
d. Add it back to the code editor.
e. Save and open the custom view in the Graphical editor.
2. Build option doesn’t appear.
This error may occur due to two issues.
a. Web IDE is not configured for the HDI DB project. Follow the steps mentioned in the link below to resolve the issue.
b. Even though SAP Web IDE is configured for HDI DB project, the project is not recognized.
Exported whitelisted content currently supports the cloud foundry version. You may be using a different version of SAP Web IDE.
a.Choose File > New > Project from Template.
b. Select SAP HANA Database Application.
Provide name and complete the wizard options with default values.
c. The SAP HANA DB project that you created will appear as shown below:
d. Right-click on .hdinmaspace and choose Open Code Editor.
If .hdinamespace is not visible, click on View > Show Hidden Files.
e.Delete the value set for the name like shown below:
Build .hdinamespace file before building other files.
f. Copy hdbtables and sap folder from mkt_metadata (File exported from SAP Marketing system) to the src folder.
g. Build hdbtables and sap folder separately, by right-clicking on the folders and choosing Build.
h. If hdbtables build fails and looks as shown below:
Then expand folder hdbtables, goto M_DIME_DIMENSION table.
Right-click on M_TIME_DIMENSION and choose Open Code Editor.
Delete below keywords:
The file will look like as shown below:
Now build the hdbtables and sap folder seperately.
3. DD07V build is failing.
Copy paste below code inside DD07v and build.
T1.”DOMNAME” = T2.”DOMNAME” AND
T1.”DOMVALUE_L” = T2.”DOMVALUE_L”
= ‘A’ AND
In the above steps, we have seen commonly occurring errors and how to solve it.