Professional Documents
Culture Documents
ISSUES:
1.Analytic Views This was already shared via E-mail dated 20-01-2017
2.Server-Side Validation consuming of OData Service for Input Controls.
3.While user searches for Category deficient, If no data available in Dashboard (VizFrame) the Screen has to
appear with the text "No data Available" instead of blank page.
In Manifest.json we are using the version named as "1.1.0" as shown in the below screen shot.
In Console while typing the syntax "sap.ui.version" it appears the version as "1.38.7" as below attached.
From sapui5 version 1.42, the vizFrame control displays appropriate message if there is no data to consume
from HANADB.
Since you are using sapui5 version 1.32.0, you might be facing the issue of vizFrame being blank when there
is no data.
Also regarding your query on Server-Side Validation consuming of OData Service for Input Controls.
Can you give us more insight on that? Like what exactly are you trying to achieve or trying to do.
This will help us narrowing down the issue.
1. Validation: Here below is the screen with input fields to do some server side validation
e.g. Country Key having a value "IN" as high lightened in the screen, if the value is already exists in Database but the
user creating with the same key value some pop-up message should appear beside the input field i.e. "IN already
Exists".
2. We changed "manifest.json" as you suggested in the previous mail but issue was not solved.
Is there any changes have to do in the coding part for vizframe? I attached the screenshots related to this.
Manifest.json
Output of Vizframe
Code of DataSet and FeedItems
Mail Date: 24/01/2017. reply by Mr.Siddhartha
You can try making the same changes in the pom.xml file in your project.
For reference:
You should change the version in the highlighted section.
As you suggested in the mail I'm not able to find "POM.XML" in my Project .
Please guide us to find this "POM.XML" in my project.
Here i attached the screen shot of my Project Explorer
Basically you need to upgrade your UI5 version to fix the VizFrame issue. This is because VizFrame is taking
an old version of UI5, hence the issue.
Could you please send us a snapshot of your index.html page? So that we can check whether you are
referring to any ui5 version in the code.
Changing the ui5 version, ideally should not affect your CSR project.
In rare cases:
If a there is a control in your current version which was removed in the updated version , it may
affect the UI.
Some controls might give anamolous behaviours if you are using Custom CSS.
And, regarding your query on oData validation, here are a few options which you may try:
You can create a Stored Procedure (SP) in HANA write all your validation logic there. Call this SP in
the CREATE oData Call. If the SP throws an error (for example Country Code is already present), it
will go back to the oData call. From there you can show any error message in the UI.
Or when the user types anything in the input control, you can make a GET CALL in the background
and compare what the user has entered. But this might make the application a little slow and it will
create a lot of network traffic, since there will be many GET CALLS.
As you suggested in previous mail regarding upgradation of UI5 version from 1.38 to 1.42 to fix the
issue of Viz Frame, we have done the upgrade of version by going through these steps i.e., eclipse >
help > check for updates and upgraded to the higher version( 1.40.9) which was listed in check for
updates wizard.
We followed the steps to upgrade the version as eclipse shown.
After up-gradation of UI5, the application was not running and throwing an error as attached in below
screenshot.
It seems certain libraries are not loaded properly while loading the application hence you are getting the error. You
could do the following:
Try cleaning the cache and hard reload the browser. If this does not solve the issue,
Re-install the UI5 from https://tools.hana.ondemand.com/mars (Replace
Mars with your eclipse version name)
Go to Help menu Install New Software
Go to the link provided above and select UI Development Toolkit for HTML5 and click finish.
We have followed the steps as per your mail Reg. SAP UI5 version upgrade and still we are facing the same Issue.
Issue: Regarding Auto Increment ID for Fund Allocation to Specific CSR Project.
We created a Table in HANA DB with Auto Incremented ID to insert the fund details.
When we are inserting the data into the table through UI5 we are having error like which is shown below.
To resolve this issue we tried to write Stored Procedures for the table, but when we are calling this Stored
Procedure in OData Service having an error which is shown below.