No you need the SP8 (Rev80 and higher) of the Studio. We've always tracked the versions, but haven't always had the tools in the studio to interact with the versions.
Re: Version Control of SAP HANA VIEWS
Re: Version Control of SAP HANA VIEWS
Great...Thanks very much for all these replies and sparing your valuable time !
Difference between SIGNAL and RESIGNAL in exception handling
Hi All,
Can anybody explain the exact use of RESIGNAL in exception handling.
Below is code snippet from SAP HANA Documentation but I'm not able to figure of the specific use.
CREATE TABLE MYTAB (I INTEGER PRIMARY KEY);
CREATE PROCEDURE MYPROC
AS
BEGIN
DECLARE MYCOND CONDITION FOR SQL_ERROR_CODE 10001;
DECLARE EXIT HANDLER FOR MYCOND RESIGNAL;
INSERT INTO MYTAB VALUES (1);
SIGNAL MYCOND SET MESSAGE_TEXT = 'my error';
-- will not be reached
END;
After executing the below code , I'm getting the error code as below.
Could not execute 'CALL MYPROC' in 335 ms 830 µs .
SAP DBTech JDBC: [10001]: user-defined error: [10001] "XYZ"."MYPROC": line 5 col 33 (at pos 119): [10001] (range 3) user-defined error exception
Although I found some point in the thread but it was not so clear:
i.e.
The difference between SIGNAL and RESIGNAL is that when using SIGNAL, you must point out the SQL ERROR CODE or CONDITION of the exception. But RESIGNAL can be used in the action part of an EXIT HANDLER all alone. That is to say, RESIGNAL can be used to throw exception of the EXIT HANDLER catches to the caller. A user-defined exception can be catch by the corresponding EXIT HANDLER, or caught by the caller, same as an exception contains error code.
Here i don't understand the sentence highlighted in bold.
I'll be thankful to you all, if it can be explained in more simple words.
Thanks,
Sree
Re: SAP HANA JDBC driver issue
Hi Lars,
It is good to know that and the hostlist parameter is legit for a multi-host scenario. I no longer think this is a bug of SAP HANA JDBC driver. I am not sure if BoneCP framework should hide driver specific parameter from other driver. Our own code does so. We are using the standard Java jdbc manager to do the process, the manager passes the parameter list to every registered jdbc driver. SAP HANA JDBC dirver added hostlist parameter to the list. After JDBC HANA driver is done with the parameter list, our code deletes the hostlist parameter before pass the parameter list to next registered driver.
Eddy
Analytic View join issue between TIMESTAMP and DATE formats
I have a fact table in my data foundation that has a TIMESTAMP date that i am trying to join with to my calendar table that has a DATE format . I am unable to query this view after creating it and it appears to be because of the data type differences. Is there a way to convert when joining? i can not seem to find a way to do this
Re: Advantages of HANA over BWA
Quite simply, BW 7.30 with BWA and HANA, were quite similar. Starting with 7.3.1 and moving to 7.4, the feature set has diverged when running on HANA. Some simple research will give you the answer to this, but the following article is a good place to start.
http://www.saphana.com/servlet/JiveServlet/previewBody/2814-102-2-5167/EIM203_updated_Madrid.pdf
Message was edited by: John Appleby
Re: will sap database todes like db12,db13,db01,db02.... work in SAP ECC6 ehp6 on HANA
Yes. They are well adapted for HANA.
Re: Error during a support package update (HANA)
What platform are you running on?
Re: Analytic View join issue between TIMESTAMP and DATE formats
Yes, you can use a generated always statement to create a join predicate and join against that in the view.
Or you can join against the M_TIME_DIMENSION table in an attribute view to convert.
Or you can create a calculated column and do a union.
Depending on the requirements, one of these will be the best fit.
Re: Custom lib.so file for use in L-Procedure
Victor - L Language is not supported in this forum. You need to use the internal SAP forums.
Re: Can 2 BW server run on 1 HAna Db
No, that is not supported. One DB for one BW. Multiple DBs can be installed on one appliance for non-productive scenarios.
Re: Indexing in sap hana?
The short answer is you never create indexes in normal operations. They just aren't required.
In certain obscure scenarios where you find a performance problem, a secondary index can help. This is only in OLTP scenarios, where you have complex joins and only return a small subset of data from the table.
99% of scenarios will never benefit from an index. They take up space and will slow insert operations, so should be avoided.
Re: Time taken for HANA System to become available after a System restart for continuing transaction (in ERP on HANA)
With system replication, you commit transactions on both sides in real-time. For SoH you should use synchronous replication, which will provide a very low RPO approaching zero.
Memory size and usage is not relevant, as both sides are active and hold the data in memory. RTO is just the time to detect failure, initiate takeover, and update DNS. We are looking at around 60s in regular operations.
Re: Need to know the details for upgrading Business Suite from MaxDB to HANA?
The move is a heterogeneous database migration. There are no specific coding changes required, but custom code may need to be adapted if you would like to improve performance, especially if it is poorly written.
I tell my customers that the move to update ECC to the correct version to move to HANA is more time consuming than the migration to HANA itself.
Re: partitioning on caluclation view
No, you cannot partition views, only tables. You can break a view up into multiple legs with filters to force parallelization.
If the reports run fine then ignore Data Preview. It materializes the whole view, which can cause memory errors if the view is very large.
Re: Creating a CE function with dummy table
Hello LArs/Krishna;
I have calculated column in which I have to insert current timestamp for more than one records in graphical calculation view, please help me in this.
Re: Error during a system copy with HANA DB
Hello John Appleby,
I ran the R3trans -d and this is the output:
4 ETW000 r3trans version 6.24 (release 741 - 10.06.14 - 20:14:07).
4 ETW000 unicode enabled version
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time : 24.08.2014 - 20:22:19
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: r3trans -d
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [ dev trc,00000] Sun Aug 24 20:22:19 2014 124 0.000124
4 ETW000 [ dev trc,00000] db_con_init called 103 0.000227
4 ETW000 [ dev trc,00000] set_use_ext_con_info(): usage of ssfs switched off (rsdb/ssfs_connect=0)
4 ETW000 94 0.000321
4 ETW000 [ dev trc,00000] determine_block_commit: no con_hdl found as blocked for con_name = R/3
4 ETW000 44 0.000365
4 ETW000 [ dev trc,00000] create_con (con_name=R/3) 26 0.000391
4 ETW000 [ dev trc,00000] Loading DB library 'dbhdbslib.dll' ... 64 0.000455
4 ETW000 [ dev trc,00000] DlLoadLib success: LoadLibrary("dbhdbslib.dll"), hdl 0, count 1, addr 000007FEEFE00000
4 ETW000 5889 0.006344
4 ETW000 [ dev trc,00000] using "S:\usr\sap\ED1\SYS\exe\uc\NTAMD64\dbhdbslib.dll" 35 0.006379
4 ETW000 [ dev trc,00000] Library 'dbhdbslib.dll' loaded 36 0.006415
4 ETW000 [ dev trc,00000] function DbSlExpFuns loaded from library dbhdbslib.dll 52 0.006467
4 ETW000 [ dev trc,00000] Version of 'dbhdbslib.dll' is "741.10", patchlevel (0.43) 111 0.006578
4 ETW000 [ dev trc,00000] function dsql_db_init loaded from library dbhdbslib.dll 39 0.006617
4 ETW000 [ dev trc,00000] function dbdd_exp_funs loaded from library dbhdbslib.dll 63 0.006680
4 ETW000 [ dev trc,00000] } DbSlHDBControl(rc=0) 81 0.006761
4 ETW000 [ dev trc,00000] { DbSlHDBControl(con_hdl=-1,command=39,arg_p=0000000000000000) 40 0.006801
4 ETW000 [ dev trc,00000] } DbSlHDBControl(rc=0) 29 0.006830
4 ETW000 [ dev trc,00000] { DbSlHDBControl(con_hdl=-1,command=10,arg_p=000000000221F280) 34 0.006864
4 ETW000 [ dev trc,00000] } DbSlHDBControl(rc=0) 29 0.006893
4 ETW000 [ dev trc,00000] New connection 0 created 25 0.006918
4 ETW000 [ dev trc,00000] 0: name = R/3, con_id = -000000001, state = DISCONNECTED, tx = NO , bc = NO , oc = 000, hc = NO , perm = YES, reco = NO , info = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO , prog =
4 ETW000 63 0.006981
4 ETW000 [ dev trc,00000] { DbSlHDBControl(con_hdl=-1,command=10,arg_p=0000000141FF5E40) 49 0.007030
4 ETW000 [ dev trc,00000] } DbSlHDBControl(rc=0) 30 0.007060
4 ETW000 [ dev trc,00000] db_con_connect (con_name=R/3) 31 0.007091
4 ETW000 [ dev trc,00000] determine_block_commit: no con_hdl found as blocked for con_name = R/3
4 ETW000 42 0.007133
4 ETW000 [ dev trc,00000] find_con_by_name found the following connection: 28 0.007161
4 ETW000 [ dev trc,00000] 0: name = R/3, con_id = 000000000, state = DISCONNECTED, tx = NO , bc = NO , oc = 000, hc = NO , perm = YES, reco = NO , info = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO , prog =
4 ETW000 124 0.007285
4 ETW000 [ dev trc,00000] { DbSlHDBConnect(con_info_p=0000000000000000) 61 0.007346
4 ETW000 [ dev trc,00000] DBHDBSLIB : version 741.10, patch 0.043 (Make PL 0.43) 65 0.007411
4 ETW000 [ dev trc,00000] HDB shared library (dbhdbslib) patchlevels (last 10) 37 0.007448
4 ETW000 [ dev trc,00000] (0.043) R3szchk with partitioned tables (note 2040561) 32 0.007480
4 ETW000 [ dev trc,00000] (0.031) New DBCON syntax for HANA (note 1983389) 50 0.007530
4 ETW000 [ dev trc,00000] (0.028) Bulk insert stop on duplicate, dbsl returncode corrected (note 1996982)
4 ETW000 51 0.007581
4 ETW000 [ dev trc,00000] (0.027) Set DBAREQ class (note 1991383) 35 0.007616
4 ETW000 [ dev trc,00000] (0.022) Get database version via dbsl call (note 1976918) 36 0.007652
4 ETW000 [ dev trc,00000] (0.020) FDA: Core Dump in SELECT ... FOR ALL ENTRIES for tables with strings (note 1970276)
4 ETW000 53 0.007705
4 ETW000 [ dev trc,00000] (0.020) SQL DDL with data aging (note 1897636) 35 0.007740
4 ETW000 [ dev trc,00000] (0.017) Datatype NCLOB missing in tablesize calculation (note 1952609)
4 ETW000 52 0.007792
4 ETW000 [ dev trc,00000] (0.014) Tablesize calculation for HANA optimized (note 1952609) 36 0.007828
4 ETW000 [ dev trc,00000] (0.014) Native SQL UPSERT with DataAging (note 1897636) 32 0.007860
4 ETW000 [ dev trc,00000] 22 0.007882
4 ETW000 [ dev trc,00000] -> init() 33 0.007915
4 ETW000 [ dev trc,00000] STATEMENT_CACHE_SIZE = 1000 212 0.008127
4 ETW000 [ dev trc,00000] -> init() 615 0.008742
4 ETW000 [ dev trc,00000] -> loadClientRuntime() 46 0.008788
4 ETW000 [ dev trc,00000] Loading SQLDBC client runtime ... 31 0.008819
4 ETW000 [ dev trc,00000] SQLDBC Module : S:\usr\sap\ED1\hdbclient\libSQLDBCHDB.dll 1327 0.010146
4 ETW000 [ dev trc,00000] SQLDBC Runtime : libSQLDBCHDB 1.00.80.00 Build 0391861-1510 84 0.010230
4 ETW000 [ dev trc,00000] SQLDBC client runtime is 1.00.80.00.0391861 50 0.010280
4 ETW000 [ dev trc,00000] -> getNewConnection() 37 0.010317
4 ETW000 [ dev trc,00000] <- getNewConnection(con_hdl=0) 100 0.010417
4 ETW000 [ dev trc,00000] -> checkEnvironment(con_hdl=0) 53 0.010470
4 ETW000 [ dev trc,00000] -> connect(con_info_p=0000000000000000) 42 0.010512
4 ETW000 [ dev trc,00000] Try to connect via secure store (DEFAULT) on connection 0 ... 86 0.010598
4 ETW000 [dbhdbsql.cpp,00000] *** ERROR => Connect to database failed, rc=1, rcSQL=10 11122 0.021720
4 ETW000 [ dev trc,00000] SQLCODE : 10 68 0.021788
4 ETW000 [ dev trc,00000] SQLERRTEXT : invalid username or password: 40 0.021828
4 ETW000 [ dev trc,00000] -> SetSdbDbslCA(errcode=10) 41 0.021869
4 ETW000 [ dev trc,00000] -> freeConnection(con_hdl=0) 43 0.021912
4 ETW000 [ dev trc,00000] close all opened locators of connection 0 60 0.021972
4 ETW000 [ dev trc,00000] } DbSlHDBConnect(rc=99) 65 0.022037
4 ETW000 [ dblink ,00000] ***LOG BY2=>sql error 10 performing CON 68 0.022105
4 ETW000 [ dblink ,00000] ***LOG BY0=>invalid username or password: 35 0.022140
4 ETW000 [ dev trc,00000] { DbSlHDBControl(con_hdl=0,command=41,arg_p=0000000140541C48) 107 0.022247
4 ETW000 [ dev trc,00000] } DbSlHDBControl(rc=0) 79 0.022326
4 ETW000 [ dev trc,00000] { DbSlHDBControl(con_hdl=0,command=14,arg_p=0000000002215998) 38 0.022364
4 ETW000 [ dev trc,00000] } DbSlHDBControl(rc=0) 28 0.022392
4 ETW000 [ dev trc,00000] { DbSlHDBControl(con_hdl=0,command=50,arg_p=0000000002215990) 33 0.022425
4 ETW000 [ dev trc,00000] } DbSlHDBControl(rc=0) 43 0.022468
4 ETW000 [ dev trc,00000] { DbSlHDBControl(con_hdl=0,command=13,arg_p=00000000022159B0) 35 0.022503
4 ETW000 [ dev trc,00000] } DbSlHDBControl(rc=0) 27 0.022530
4 ETW000 [ dev trc,00000] { DbSlHDBControl(con_hdl=0,command=52,arg_p=0000000002215A00) 33 0.022563
4 ETW000 [ dev trc,00000] } DbSlHDBControl(rc=0) 28 0.022591
2EETW169 no connect possible: "DBMS = HDB --- SERVER = '' PORT = ''"
4 ETW000 [ dev trc,00000] release memory of the SIBU buffers 2900 0.025491
4 ETW000 [ dev trc,00000] release memory of the STATEMENT CACHE 91 0.025582
HANA studio performance
We have HANA studio and can be log in via citrix or Direct log in to Program -HANA studio.
Citrix performance is better than direct log into HANA Studio.
Issue is:
Any view activating or changing taking 10 sec via citrix.
while the same view changing or activating taking 3 mins via direct log in.
Now we want to log in direct into Studio as it already installed. And Plan for removing Citrix log in.
Please suggest how to make HANA studio faster without using Citrix.
Regards,
kamruz
Re: Error during a system copy with HANA DB
This is a SSFS error. Normally this comes from a mistake in the migration process. Check the following for assistance if you prefer not to start the migration from scratch.
Re: Error during a system copy with HANA DB
Hi Samid
I thing you may require to upgrade the latest kernel & DBSL patch.stop
BR
SS