Hi experts,
can i use smart data access in HANA with sql procedure defined in MS SQL Server database?
Thanks.
Andrea
Hi experts,
can i use smart data access in HANA with sql procedure defined in MS SQL Server database?
Thanks.
Andrea
Dear HANA experts?
Does HANA have a result cache?
http://events.sap.com/teched/en/session/8596 (on 20.40)
"Prepare one execute often"
How i can identify that query used result cache data instead full execution (prepare plan, execute in engines, return results)?
Hi Folks,
In the near future I plan on building a small prototype system not too different from the typical "side-car" scenario, replicating data from a source system (MS SQL Server) into HANA in real-time (or near real-time).
As I'll be doing this on my own dime, I wanted to find out if anyone has experience building something similar? I've managed to provision free developer instances of HANA and SQL Server but haven't located developer versions of any Sybase Replication Server (according to an SAP rep there are none) or Data Services (I haven't looked extensively). Also highly doubt there's something like a developer edition of SLT (and I believe this would require it's own dedicated server?)
I currently have SQLServer installed on the same machine as my Studio (Remote Desktop to CloudShare). I intend on installing the replication/ETL software there as well.
I have no experience with SQLServer but was able to get it up and running pretty easily. I found "native" replication abilities via publication/subscriptions, but it looks like any non-SQLServer DBs aside from Oracle and DB2 are not well supported. They need to be setup with stored procedures, and I was running into obscure errors with these (which I'm of course less familiar with than HANA's familiar error codes )
I also searched for open source replication technologies and came across SymmetricDS. I'm not sure how well it'll work with HANA but it may be worth investing some time and energy into.
Before I go down too many rabbit holes, thought I'd reach out to the community and see if anyone else has done similar things? What have your experiences been, setting up replication (or ETL) to HANA cloud instances?
Any insights into developer addition of other replication/ETL software packages would be much appreciated! (For my prototype, no strict realtime requirement, so a simple ETL 1:1 should be okay).
Thanks!
Hi folks,
I have a procedure (I wrote in the procedure editor in Project Explorer). In the procedure I'm trying to create a local temporary column table however when I attempt to activate the procedure I get error;
feature not supported: DDL is not supported in the READ ONLY procedure
In the past when I created a procedure via old method (via CONTENT/NEW PROCEDURE) I had the option of choosing READ or READ/WRITE. I'm not seeing this option in the new procedure editor. Also I noticed a second tab next to SQLScript tab called LOCAL TABLE TYPES. I can't seem to place my create local temporary table there either.
I've read in other posts that this is possible... what do I need to do in order to be able to create and update this temp table?
Thanks,
-Patrick
Hi Experts,
Logging tables are not getting cleared because of which delta records are not getting transferred. We are facing this issue only for some tables. We don’t the root cause for this.
· In some cases all records are not transferred to HANA. This is happening especially for large tables.
I need following help.Please its urgent .
1) research how to troubleshoot SLT, what transactions in ERP are used, what tables are relevant, and what the main strategies are for figuring out why a record was missed and how to fix it.
2) Look for any relevant SAP notes that may resolve these two issues
Regards,
Abhishek
Hi all!
I've problem with SLT System.
When I start replicate tables sometimes they are replicate, but sometimes not. Iu2019ve this same situation with loading tables. Iu2019ve strange situation with another tables. When I start replicate table, ie. MARA, my HANA see this table in my replication schema, but doesu2019t see in u201CData Provisoringu201D. And also table in HANA is still empty.
For your information system SLT has:
SLES 11SP1
NW 7.0 EHP 2
Oracle 10.2.0.4
DMIS with SP 4
Kernel 100
SAP HANA is in Revision 17.
Iu2019ve also implemented SAPnotes into SLT system: 0001603754, 0001607754, 0001612292, 0001614355, 0001614775, 0001619759, 0001623278, 0001625136, 0001641061, 0001645517, 0001646787, 0001647648, 0001648783.
If you have any suggestions to solve my problem Iu2019ll be very grateful.
Pawel
Hi folks,
I have a simple field XYZ that has null values and the null values display as a question mark.
Now I have SQL querying this field that looks like this;
SELECT
myTable.XYZ,
CASE WHEN myTable.XYZ is Null Then 0 else 1 End As MyFlag
FROM... ETC
Of course the first column displays all question marks as expected....
But MyFlag field instead of displaying a list of zero's I'm getting all question marks.
What am I missing here?
Thanks!
-Patrick
hi all,
I observed that there is a term called weekstone mentioned in SAP Notes. It is mentioned also in the Notes related to the HANA.
Even command "<INSTALL DIR>/HAN/HDB00/HDB version" outputs the weekstone like: weekstone: 0000.00.0
I think it has something to do with testing of how SAP does the test of next SPS or in general next releases of its software.
Can someone throw more light in the term weekstone?
thanks,
m./
Hi all,
I'm running in an annoying error during upgrading my HANA from 68 to 70.
The HLM troughts the following:
Error Message: Execution of 'Deploys SAP Host Agent configurations using adm credentials' failed.
Detailed Message: Could not deploy Host Agent configurations [/usr/sap/hlm_bootstraps/SID/HLM/operations.d/chmod-file.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/detect-newdb-studio.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/update-newdb-client-v2.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/uninstall-newdb-studio.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/change-newdb-studio-repository-installation-path-v2.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/newdb-studio-repository-postupdate-v2.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/install-newdb-client.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/uninstall-newdb-studio-v2.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/detect-sedm-v2.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/find-java-executable.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/updatehostagent-v2.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/find-hdbeuspack.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/install-newdb-client-v2.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/update-load-controller.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/update-hdb-plugin-v2.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/exists-path.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/detect-hostagent-v2.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/update-hdb-plugin.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/detect-load-controller-v2.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/detect-newdb-client.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/newdb-studio-repository-postupdate.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/update-hdbstudio-deliveryunit.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/uninstall-newdb-studio-repository-v2.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/install-newdb-studio.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/change-newdb-client-installation-path-v2.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/update-newdb-server.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/update-load-controller-v2.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/updatehostagent.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/exists-path-v2.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/install-newdb-studio-repository.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/detect-load-controller.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/find-java-home-v2.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/detect-newdb-client-v2.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/install-newdb-studio-repository-v2.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/update-newdb-studio-repository-v2.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/detect-sedm.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/find-java-home.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/detect-newdb-installation-number.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/detect-newdb-server-v2.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/detect-hdb-plugin.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/uninstall-newdb-studio-repository.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/update-newdb-server-v2.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/detect-newdb-installation-number-v2.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/detect-newdb-server.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/update-newdb-client.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/find-java-executable-v2.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/detect-hdb-plugin-v2.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/update-sda-v2.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/detect-sda-v2.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/detect-hostagent.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/install-newdb-studio-v2.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/detect-newdb-studio-v2.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/uninstall-newdb-client-v2.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/gen-hdbstudio-deliveryunit.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/uninstall-newdb-client.conf, /usr/sap/hlm_bootstraps/SID/HLM/operations.d/update-newdb-studio-repository.conf] on host <servername> with user name SIDadm and signature /usr/sap/hlm_bootstraps/SID/HLM/SIGNATURE.SMF.
Verification of manifest /usr/sap/hostctrl/work/SIGNATURE.SMF failed.
Help: http://help.sap.com/hana
I already tried to upgrade HLM via Studio (when it works once) from 1.0.6.1 to the latest version 1.0.7.2 - which if I believe the value on the upper right corner in the HLM window its 1.7.2 now - but an error occured during the setup.
If I try to upgrade manually I got
/sapmnt/SID/HLM_template/hdbinst
SAP HANA Lifecycle Manager installation kit detected.
SAP HANA Database Installation Manager - SAP HANA HLM Installation 1.50.00.000000
*********************************************************************************
Options:
SAP HANA system ID | Description
---------------------------------------------------------
SID | SAP HANA Database SID 1.00.68.384084
Enter SAP HANA system ID [SID]:
Root user password (SSH connectivity):
Root user SSH key passphrase (SSH connectivity):
Checking installation...
Preparing package "SAP HANA lifecycle manager"...
Installing SAP HANA Lifecycle Manager to /sapmnt/SID/HLM...
Installing package 'SAP HANA lifecycle manager' ...
saphostexec is already running (pid=146884). Stopping...-> Start /usr/sap/hostctrl/exe/saphostexec pf=/usr/sap/hostctrl/exe/host_profile <-
start hostcontrol using profile /usr/sap/hostctrl/exe/host_profile
saphostexec stopped
10:33:00 28.01.2014 LOG: Using PerfDir (DIR_PERF) = /usr/sap/tmp
Installation failed
error installing
Cannot install
<servername>: Executing post-installation checks failed. Installation will not proceed.
Details: /sapmnt/SID/trans/hlm_install_1390901573/<servername>/checks/IsRunningCheck.sh failed to execute Details:
IsRunningCheck.sh: SAP host agent is not up and running.
Log file written to '/var/tmp/hdb_HLM_2014-01-28_10.32.42/hdbinst_HLM.log'.
I also upgraded the SAP Host Agent to the latest version without any error messages but the same errors occurs.
I'm realy running out of ideas. Does anyone solved a similar situation on the own server or has an idea how to get rid of the issue?
Thanks for comments.
Marcus
Hi all,
did someone has experience in migrating MSSQL Stored Procedures into SAP HANA ?
Kind Regards
Werner Schubert
Hi
i would like to use a dynamic select statment within a hana procedure.
the select statement should use value of the variable v_name as data field of the table DEBT.
like this: (But this shows only the value GENDER in the resut)
create type t_woe astable (I_GENDER nvarchar);
procedure get_amount ( out v_woe t_woe )
sqlscript as
begin
v_name char(10) := 'GENDER';
v_woe = select:v_nameasI_GENDERfrom DEBT;
end;
Thanks in Advance
Mike
Hi All,
We have recently upgraded our HANA to patch level 69. Now we are getting dumps on SPRO & RSA1 transaction.
Category | Installation Errors |
Runtime Errors | DBIF_RSQL_SQL_ERROR |
Except. | CX_SY_OPEN_SQL_DB |
Date and Time |
Short text
SQL error "-10760" when accessing table "BALHDR". |
What happened?
Error Text of the Database: "Memory allocation failed." |
Internal call code.........: "[RSQL/UPDT/BALHDR ]"
Please check the entries in the system log (Transaction SM21).
Error analysis
An exception occurred that is explained in detail below. | |
The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught | |
in | |
procedure "BAL_DB_INTERNAL_NO_UPDATE_TASK" "(FUNCTION)", nor was it propagated | |
by a RAISING clause. | |
Since the caller of the procedure could not have anticipated that the | |
exception would occur, the current program is terminated. | |
The reason for the exception is: | |
Error Text of the Database: "Memory allocation failed." |
If the error occures in a non-modified SAP program, you may be able t
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"
"SAPLSBAL_DB_INTERNAL" or "LSBAL_DB_INTERNALU02"
"BAL_DB_INTERNAL_NO_UPDATE_TASK"
Any hint to resolve this issue.
Regards,
Rafikul
We have installed HANA sandbox server on SUSE Enterprise 11 Operating System. Anyone has step by step document(snapshots) for converting to Physical Machine to Virtual Machine. What version of VM ware? What flavor of VM Ware? I need to use.
I have installed the VMWare Vcentre (Converter Standalone) on windows machine and trying to connect HANA server it throws unable to connect server on 56789 port. Could you help me what are the settings needs to be done on HANA server before it converted to virtual machine.
Hi Gurus,
we have three SAP systems: one ECC and two SCMs. We are now considering installing one HANA instance (sidecar) and use HANA Live on the three systems.
Is it possible to share a single HANA instance with the three systems? I didn't find a quote that states the opposite, but the designs I am seeing seem to assume that the relationship is 1:1 between the sidecar HANA and the business suite application.
any help is highly appreciated.
regards,
J.
Hello,
I am trying to configure SUM on rev.20..
I already solved all possible issues with certificates and it seems that Studio to Database as well as Database to Hostagent connection is working but I am getting following error:
Verification of manifest /usr/sap/hostctrl/work/SIGNATURE.SMF failed. Could not deploy Host Agent configurations [/usr/sap/HD1/SUM/operations.d/detect-newdb-server.conf, /usr/sap/HD1/SUM/operations.d/detect-hostagent.conf, /usr/sap/HD1/SUM/operations.d/updatehostagent.conf, /usr/sap/HD1/SUM/operations.d/update-newdb-client.conf, /usr/sap/HD1/SUM/operations.d/update-newdb-studio.conf, /usr/sap/HD1/SUM/operations.d/detect-newdb-installation-number.conf, /usr/sap/HD1/SUM/operations.d/update-load-controller.conf, /usr/sap/HD1/SUM/operations.d/check-user.conf, /usr/sap/HD1/SUM/operations.d/detect-newdb-client.conf, /usr/sap/HD1/SUM/operations.d/update-newdb-server.conf, /usr/sap/HD1/SUM/operations.d/detect-newdb-studio.conf, /usr/sap/HD1/SUM/operations.d/detect-sedm.conf, /usr/sap/HD1/SUM/operations.d/detect-load-controller.conf] on host hanapoc with user name sapadm and signature /usr/sap/HD1/SUM/SIGNATURE.SMF. Could not update SAP Host Agent configurations on host hanapoc. com.sap.lm.hana.update.UpdateException: Could not update SAP Host Agent configurations on host hanapoc.
I was trying to find more information and I found this in /usr/sap/hostctrl/work//usr/sap/hostctrl/work
Manifest verification failed (ERROR in af_open: (4129/0x1021) The PSE does not exist : "/usr/sap/hostctrl/exe/sec/SAPverifytest.pse" ERROR in secsw_open: (4129/0x1021) The PSE does not exist : "/usr/sap/hostctrl/exe/sec/SAPverifytest.pse" ERROR in secsw_open_pse_or_extension: (4129/0x1021) The PSE does not exist : "/usr/sap/hostctrl/exe/sec/SAPverifytest.pse" ERROR in sec_get_PSEtype: (4129/0x1021) The PSE does not exist : "/usr/sap/hostctrl/exe/sec/SAPverifytest.pse" ) [Thr 140309328340752] Tue Nov 22 23:27:52 2011 [Thr 140309328340752] *** ERROR => Verification of manifest /usr/sap/hostctrl/work/SIGNATURE.SMF failed. [saphostcontrolweb.cpp 2403] [Thr 140309328340752] *** ERROR => Webmethod DeployConfiguration failed: Verification of manifest /usr/sap/hostctrl/work/SIGNATURE.SMF failed. [saphostcontr 2303]
I can confirm that this PSE really does not exist. Does anyone know what is this PSE for?
Both Google and SAP Marketplace is returning 0 hits.
Can someone check with development teams?
Tomas
Hello Experts,
I am quiet new in SAP HANA. What i have got so far is that HANA provide fast access to both transactional and operational data as it is based on RAM(in-memory) rather than in disk storage.
So could anyone please help with he below scenarios:
1). How SAP HANA will help in getting fast access to the master data( i.e golden record) which is obtained from MDM.
2). How can governance policies will be implemented to the master data which is obtained from SAP MDG or SAP MDM while accesing the data through HANA.
Any help will be rewarded.
Thanks in advance
Regards
Prateek
Hello All,
I recently learnt that in memory cube no longer has DIM tables. Now SID id's are keys in Fact table. So do we not have limitation of using only 16 key fields.i.e 16 chars. I do not think SAP would let that happen. What am I missing here?
Thanks,
Viren
Hi ,
i create a simply ETL in Data Services Designer to populate an HANA template table from KNA1 table on ECC.
When i execute the job , after some row transferred , the job is terminated with the error:
Job is terminated due to error <70401>.
Could you help me?
Thanks.
Andrea
Connecting to SAP HANA via pyodbc, using libodbcHDB32.so driver on 32bit Ubuntu.
I'm trying to create a table from a subquery, which has some placeholders:
>>> cursor.execute('CREATE TABLE temporary_table AS (SELECT ? AS a FROM DUMMY) WITH DATA', [1])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
pyodbc.ProgrammingError: ('The SQL contains 0 parameter markers, but 1 parameters were supplied', 'HY000')
My query clearly has a single placeholder, and I'm passing a single value for this single placeholder.
If I change my query to a simple select from a subquery instead of a CREATE TABLE, it works fine:
>>> cursor.execute('SELECT * FROM (SELECT ? AS a FROM DUMMY) AS sub', [1])
<pyodbc.Cursor object at 0xb70f0b80>
If I change my query to select a constant value instead of a value passed via a placeholder, it also works fine:
>>> cursor.execute('CREATE TABLE temporary_table AS (SELECT 1 AS a FROM DUMMY) WITH DATA')
<pyodbc.Cursor object at 0xb71bcb80>
The only scenario that fails is a CREATE TABLE query with placeholders. I'm completely baffled and I have no idea what else to try. I need to create temporary tables with data from selects that need values passed via placeholders.
Any help would be appreciated.