Hi,
Is there any way to change the property of a procedure?
I have a Read Only procedure with around 95 output fields. I want to make a copy of this procedure but the new one has to be Read Write.
Is there anyway this can be done?
Thanks,
Varun
Hi,
Is there any way to change the property of a procedure?
I have a Read Only procedure with around 95 output fields. I want to make a copy of this procedure but the new one has to be Read Write.
Is there anyway this can be done?
Thanks,
Varun
Hi all,
we are trying to connect an existing software to HANA. The software is based on Microsoft MFC technology using Recordsets via ODBC in the data access layer.
We can read data via recordsets but we cannot add, update or modify data. When executing a add, update or modify no error message occurs, but the action isn't performed.
When opening a CRecordset instance, the only allowed open type is CRecordset::forwardOnly.
According to the Microsoft documentation this type means: A read-only recordset with only forward scrolling.
Is the HANA ODBC driver able to modify data in recordsets?
I have attached a simple test program (C++) to explain the problem.
Same program shows with DB2 the expected behavior.
(see HANAOutput.txt compared to DB2Output.txt)
Have anybody an idea?
Kind regards Andre
Hi ,
I have been experiencing this problem whenever any exception occurs in my SQL SCRIPT procedure. For instance when there is a situation when I try to insert a value of 50 characters in length to a column with max size of 40 it throws a short dump and restarts the index server. I tried to insert the exception handling code as well but still the problem persists. Is there a way to solve this issue?
Hi ,
I am trying to get month name from SAP date in my AN view. I am using the following to get the month from a date field:
component ( date("BEZDT"),2) but need to convert it to the month name...any ideas?
By the way , I know this could be done in the universe and/or adding a time dimension to the model but I need it as a calculated attribute.
Thank you,
Nick
Hi!
I'm having some problems opening the UDT's I have configured in a hana database in Access. I have configured the ODBC source and it's all ok, I could link the default hana tables (OCRD, ...) but if I open any UDT I couldn't see any data, just a #eliminado (eliminated) text in all the fields.
Have anyone got in this trouble ?
SAP installed is V9PL10.
p.s
I'm trying also to open the tables in Excel but I'm not even able to show the tables (and the connection tests ok, which is weird).
Thanks in advance for any help.
Hello All,
I am new to SAP appbuilder. I am developing an app using appbuilder for registering a user in SCC. I am not able to load the SAP logon screen while running the app. Can anyone please help me in how to load the SAP logon screen from the app and hence register in SCC?
Hello
I tryinng to change the code in TransactionNotificaction on SAP Hana, when i did this changen on SQL server i used ole automation procedure for the next procedures:
I would like to know if there are the equivalent procedures on SAP HANA or how the TransactionNotification can call B1DIEventsSender.Profiler??
Can someone help me?
Thanks
i want to connect my local SAP HANA Studio and Sap HANA Client to HANA server on CloudShare. However, I cannot find the repository access path in the preferences to configure the HANA regi file.
I have installed both hana studio 73 win 64 bit version and hana client 73 win 64 bit version.And the installation is done successfully and to the correct folder path.
can any one help me regrading this issue.
Regards,
geeta
Hi,
I am receiving following error on launching debug configuration:
"Failed to check if system is secured"
I believe because of above error i am not able to debug the .xsjs service.
I am setting Host and Port for debug configuration same as i am using to test service in browser.
Thanks,
Rahul
Hi gurus,
I'm having troublein the command syntaxbelow:
SELECT * FROM "TEST_RVS"."VH_TEST" WHERE "AUFNR" = 20210807 AND "BWART" = 101.
WHAT IS THE CORRECT SYNTAXWHERETOCONDITIONWITHMULTIPLEFIELDS?
Thanks !
Hi,
i was creating a new xs project and when i created .xsapp file, i see "NO CONNECTION TO DATABASE".
please advise if this is an an error.
thanks
Hi all,
we are trying to connect an existing software to HANA. The software is based on Microsoft MFC technology using Recordsets via ODBC in the data access layer.
We can read data via recordsets but we cannot add, update or modify data. When executing a add, update or modify no error message occurs, but the action isn't performed.
When opening a CRecordset instance, the only allowed open type is CRecordset::forwardOnly.
According to the Microsoft documentation this type means: A read-only recordset with only forward scrolling.
Is the HANA ODBC driver able to modify data in recordsets?
I have attached a simple test program (C++) to explain the problem.
Same program shows with DB2 the expected behavior.
(see HANAOutput.txt compared to DB2Output.txt)
Have anybody an idea?
Kind regards Andre
I am trying to configure SAP HANA SMART DATA Access to connect SAP HANA with HADOOP HIVE using simba ODBC driver. Although I can create a remote data source and virtual tables from the remote source, I am unable to query data from virtual tables.
Here is the error that I am facing.
=================================================================================================
Could not execute 'SELECT TOP 1000 * FROM "SYSTEM"."HIVEHWNODE7_testschema1"' in 1.277 seconds .
SAP DBTech JDBC: [403]: internal error: Error opening the cursor for the remote database [Simba][HiveODBC] (35) Error from Hive: error code: '1' error message: 'Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MapRedTask'. for query "SELECT HIVEHWNODE7_testschema1.state, HIVEHWNODE7_testschema1.code, HIVEHWNODE7_testschema1.district, HIVEHWNODE7_testschema1.pincode, HIVEHWNODE7_testschema1.latitude, HIVEHWNODE7_testschema1.longitude, HIVEHWNODE7_testschema1.population, HIVEHWNODE7_testschema1.area FROM HIVE.default.testschema1 HIVEHWNODE7_testschema1 "
=================================================================================================
I am using HortonWorks Hadoop Distribution.
HADOOP Version 1.3.3
HIVE 0.11.0.3.3.0
HANA SPS70
Although the queries are failing but If I try to open a definition of a virtual table it works fine (as shown below). The issue is only with querying a virtual table (see second screen shot below).
Any help/clue to solve this is highly appreciated.
Questions is HIVE 0.11.0.3.3.0 supported with HANA SDA???
Hi experts,
I write a simple html and put it in a UIS widget,.
When I use the widget in a .xsappsite file, the widget did not show any data I requested.
It shows an error message: XXX_The requested resource is not available.
I can open the html file correctly, the web has the data I requested, but I need to input my user and password.
In the UIS widget, there did not have place to input my username and password, just the error message:XXX_The requested resource is not available.
I want to use the widget with dynamic data from database, what should I do ? or is there something wrong?
The data used in the widget is odata service.
The following two images are the html file opened in browser and the widget in the .xsappsite file:
Hi Experts,
We face some issues while implementing this scenario.
SQL Script has insufficient authorization
How do we resolve this error?
We have our stored procedure in HND server which we have logged in using SAPCAR id , and the ABAP class is in HNA server which we have logged in using a different id.
Also note that HND is the db server of HNA.
Thanks.
Hello Guys
An Analytic view is exposed using xsodata. Is it possible to query the view from ODATA ?
Thanks,
I seem to have a problem related to scheduling/jobs:
I have configured my xsjob file to trigger every second (see below). After activating it in the XS Admin Tool, it runs for some minutes and then stops running. I have attached a screenshot of the XS Admin Tool log that shows that it works for some time, then stops working and does not start again.
This problem is not related to the SQLScript procedure terminating with an error state (if there happens to be an error during execution, it shows in the log and the system just continues executing the job the next second again; I can check this in the log, it shows an entry for the error message).
The only workaround is to manually restart the job in the XS Admin Tool by re-saving the job (with the "active" checkbox checked). Then it will run for some minutes and stop again at some point.
So... has anyone experienced a similar problem, that the scheduler runs for a couple of minutes, then stops executing jobs?
Here is my xsjob file:
{
"description": "Polling",
"action": "IPN.proc::poll_all_live",
"schedules": [ {
"description": "Poll every second",
"xscron": "* * * * * * */1"
}]
}
Is there a way to run a specific SQLScript procedure once my system has started (i.e. finished booting)? In a way like good old autoexec.bat?
I've written a program that needs to insert data that includes a timestamp column into HANA using a jdbc connection. This insert fails every time with com.sap.db.jdbc.exceptions.jdbc40.SQLDataException: [303]: invalid DATE, TIME or TIMESTAMP value: Error while parsing DATE/TIME at function to_timestamp(). The code produces SQL that will run in HANA in a SQL session.
code sample
...
private static final String INSERT_STW = "insert into STW.STWS values(?,?,?,TO_TIMESTAMP(?,'YYYY-MM-DD HH24:MI:SS.FF3'),?,?,?,?,new ST_POINT(?,?))";
PreparedStatement prepStatement = con.prepareStatement(INSERT_STW);
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS");
String format1 = "'" + format.format(createdAt) + "'"; // createdAt has value Fri May 09 14:13:49 EDT 2014 and produces format1 = '2014-05-09 14:13:49.000'
prepStatement.executeUpdate();
produces this SQL which will insert using a SQL connection to HANA
insert into STW.STWS values(464830615054217217,'en',2305754499,TO_TIMESTAMP( '2014-05-09 14:13:49.000','YYYY-MM-DD HH24:MI:ss.FF3'),'GB',0,'@jade46_ ict is hard okay',0,new ST_POINT( -0.35978946,52.78673714))
Thank you in advance for any help.
Wayne