Yes, you can upgrade HANA with very few restrictions. Now however you need to use hdblcm rather than hdbupd, which has been deprecated.
Re: HANA Database Upgrade from SPS06.60 to SPS07.73
Re: Calculation view with Graphical Vs Script?
This is a fun question.
There used to be a time when we used Scripted views all the time. They used to be much faster and provided control of the calculation engine, which was much needed in HANA SPS02.
These days we always use Graphical views as a preference because HANA's optimizer is so much better. The Graphical modeler will almost always provide better performance. it creates Calculation Scenarios which are generally very well optimized even for quite complex scenarios. Still, there are a few scenarios where the Scripted views will win out:
- Flow control. CE Functions can provide more control, when the Graphical modeler gets it wrong. For certain scenarios you can get better control.
- SQL. You can combine SQL with CE functions to great effect. For example some functions like PERCENT and RANK are not available. Also you can use COUNT DISTINCT in a Script but the counter function in the Graphical modeler is not as optimal. Same with non-equi joins.
- PAL and BFL. These can be combined in scripts but not in the graphical modeler.
Overall, I consider the Script modeler to be a measure of last resort because it is less flexible, often slower because it can materialize large data volumes and harder to support. Also the Graphical modeler has most of the development effort due to HANA Live and BW on HANA.
Re: HANA Database Upgrade from SPS06.60 to SPS07.73
John:
I am preparing for the same update.
The "SAP HANA LCM Tools Reference Guide" for SP08 has Chapter 7:
"Updating a System (hdbupd, hdbsetup)".
In Chapter7, only hdbupd and hdbsetup are the discussed update tools.
I also feel very curious about this. Could you please explain why?
Thanks a lot!
Hana preload memory option
When we originally converted to BW on HANA, I set some specific tables to automatically load to memory at database startup. Recently, though, I set the option for these tables to load NONE to memory on database startup. I even look in SYS.TABLES and see the column IS_PRELOAD as FALSE for these tables. But when we restart the database, these tables are still loading FULL to memory, even before any queries are ran. Any ideas?
Thanks,
Dustin
Re: HANA Database Upgrade from SPS06.60 to SPS07.73
Hi John,
1948334 - SAP HANA Database Update Paths for Maintenance Revisions
Please see the above note. As per the note below maintenance updates are possible.
Current maintenance revision | Possible target SP revision |
Revision 69.00 | Upgrade to revision 70.00 (or higher) |
Revision 69.01 | Upgrade to revision 71.00 (or higher) |
Revision 69.02 | Upgrade to revision 71.00 (or higher) |
Revision 69.03 | Upgrade to revision 71.00 (or higher) |
Revision 69.04 | Upgrade to revision 74.00 (or higher) (revision numbers 75 to 79 are skipped) |
Revision 69.05 | Upgrade to revision 74.01 (or higher) and revision 80 (or higher) |
Revision 69.06 | Upgrade to revision 74.01 (or higher) and revision 80 (or higher) |
Revision 69.07 | Upgrade to revision 74.01 (or higher) and revision 80 (or higher) |
Revision 74.01 | Upgrade to revision 74.02 (or higher) and revision 81 |
Revision 74.02 | Upgrade to revision 74.03 and revision 81 |
Revision 74.03 | Upgrade planned for 82 |
Can I upgrade from SPS60 to SPS70? Please clarify…
Thanks
Mercury
Re: UNION in SAP HANA
Hi Ruediger Karl,
I understand that i need outer join, but as far as i know there are no this type of join in modeler. Maybe i mistake. Can you show how it should work?
In my version of solution i made 2 projection (the 1st for ATINN = 030, the 2nd for ATINN = 052). Everyone is left outer join (the 1st for ATINN = 030 left, the 2nd for ATINN = 052 left) . In join i made 2 fields ATWRT and ATWRT_1. After that i made union where i mapped filed. The view shows correct result. There is my way to do outer join in HANA.
Best regards,
Andrei Lisov!
PLACEHOLDER Syntax for multiple Input Variables
Hi,
I am trying to pass multiple paramter values (not multi-value) it works when the first parameter is passed but does not work when I add the second parameter value. I need to pass 4 different paramters and the statement is below..
The placeholder sysntax works with hard coded values or only one PARAMETER is passed.... as below...(For clarity I aligned the placeholder syntax....
FROM "_SYS_BIC"."ZXXXXXX/ZSTAR_OT"
('PLACEHOLDER' = ('$$IP_TOMNTH$$', '201302'),
'PLACEHOLDER' = ('$$IP_FRMNTH$$', '201301'),
'PLACEHOLDER' = ('$$IP_KOSTL$$', '3001D,3004D'),
'PLACEHOLDER' = ('$$IP_BUKRS$$', '1000'))
It works as below. (when one of placeholder is provided a @Prompt as below
FROM "_SYS_BIC"."ZXXXXXX/ZSTAR_OT" ('PLACEHOLDER' = ('$$IP_TOMNTH$$', @Prompt(P_TOMNTH)), 'PLACEHOLDER' = ('$$IP_FRMNTH$$', '201301'), 'PLACEHOLDER' = ('$$IP_KOSTL$$', '3001D,3004D'), 'PLACEHOLDER' = ('$$IP_BUKRS$$', '1000')))
when I add the second parameter I get an error
FROM "_SYS_BIC"."ZXXXXXX/ZSTAR_OT" ('PLACEHOLDER' = ('$$IP_TOMNTH$$', @Prompt(P_TOMNTH)), 'PLACEHOLDER' = ('$$IP_FRMNTH$$', @Prompt(P_FRMNTH)), 'PLACEHOLDER' = ('$$IP_KOSTL$$', '3001D,3004D'), 'PLACEHOLDER' = ('$$IP_BUKRS$$', @Prompt(P_COMP_CODE)))
the error is
Substitution failed: No value supplied for Parameter "P_FRMNTH". (QTJ 00520)
Any idea why this is happening.....
Thank you,
Arthur.
Re: Creating Logic and modeling for SAP BW datasource in SAP HANA views and SLT
Thanks for reply,
As SLT is based on ABAP, so we can write complex logic in it.
But if we talk about SAP ECC standard data source, they have complex logic, based on multiple table.
So we need to write code from scratch in SLT to derive same result. but it will be huge time consuming , and required good ABAP skills, also it will lead to bug in code.
Also it will reduce the real time performance of SLT, due to complex logic.
Second option is procedure via SQL script, which is again huge effort in term if logic and can lead to error/bug in logic.
Does we have any other way or architecture to do this is very simple way, with high performance and less error issue.
Regards
Pavneet Rana
How to connect HADOOP to HANA REV80 via sqoop 1.4
Hi folks,
I have a colleague whom is trying to connect to HANA via HADOOP SQOOP 1.4. The problem is we can't seem to connect to _SYS_BIC schema as it always defaults to his personal schema. Is it possible to somehow pass the schema in the call?
EXAMPLE:
sqoop import --username JOEDIRT--password ****** --connect jdbc:sap://***.***.***.***:*****/_SYS_BIC/ --driver com.sap.db.jdbc.Driver --table \"\"production/AN_MATERIAL_MOVEMENTS\"\" --hive-import --hive-table MOVEMENTS
ERROR manager.SqlManager: Error executing statement: com.sap.db.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: [259]: invalid table name: Could not find table/viewproduction/AN_MATERIAL_MOVEMENTS in schema JOEDIRT
Has anybody had success connecting using SCOOP 1.4?
Sqoop 1.4.4.2.1.1.0-385
hana client jar file version 80
Thanks,
-Patrick
Re: Two ABAP stacks on single HANA appliance in MCOD
Hi Ron,
I noticed this Note has been updated:
1661202 - Support for multiple applications on SAP HANA
Considering the synergies between the three, and in giving consideration to
simplification, would it be worth to merge these three OSS Notes,
1661202 - Support for multiple applications on SAP HANA
1826100 - Multiple applications SAP Business Suite powered by SAP HANA
1681092 - Multiple SAP HANA databases on one SAP HANA system
into one Super OSS Note encompassing/containing the whole subject?
The three of them refer to each other and compliment each other and cross over in a number of ways.
Best regards,
Andy.
Version Control of SAP HANA VIEWS
Any idea how a version control of SAP HANA VIEWS can be achieved in HANA Studio?
Re: Version Control of SAP HANA VIEWS
WWhat kind of views? SQL views or models? All repository objects are version managed automatically. Every activation creates a new version.
Re: How to connect HADOOP to HANA REV80 via sqoop 1.4
Ok we figured it out... had to add;
currentschema=_SYS_BIC
Thanks for NOTHING everybody.
Custom lib.so file for use in L-Procedure
Hi Colleagues.
We created custom lib.so file to be used in the L-Procedure we developing for internal POC project.
We copy libSODgrc.so library to the /usr/sap/<SID>/HDB<xx>/exe location on our HANA Server andtry to run following in HNA Studio
CREATE AFL AREA GRCFNDAREA;
Statement 'CREATE AFLAREA GRCFNDAREA' successfully executed in 7 ms 639 µs
(server processing time: 5 ms 987 µs) - Rows Affected: 0 Duration of 3 statements: 33 ms
CREATE AFL PACKAGE GRCFND FILE 'libSODgrc'IN GRCFNDAREA
Could not execute 'CREATE AFL PACKAGE GRCFND FILE ' libSODgrc ' IN GRCFNDAREA' in 610 ms 849 µs .
SAP DBTech JDBC: [444]: package manager error: neither address of Co_IntrospectObject nor address of IntrospectAFL found
Did same one had similar situation before? Do we need add any reference to AFL objects to our code for libSODgrc.so to make it compatible with AFL?
Thank you,
Viktor.
Re: My Log Backups run continuously
Hi again,
It looks like it was working like it was supposed to do. It comes down to it doing things differently and a differnt way of thinking I suppose.
Thanks for reading - if anyone did.
Jamie
Re: Version Control of SAP HANA VIEWS
regarding the upgrade..what I was thinking is...have Y version upgrade (new models) override all X version (old models) and then selectively restore the required X version from repositories....so I kind of combined these two topics....
So as I understand correctly...I should be able to restore from repository any version of Model regardless of which pperspective they are created from.?
Thanks!
Re: Version Control of SAP HANA VIEWS
Yes regardless of which tool is used to create the object, anything created in a package is a repository object and version managed. Incidentally objects created via the modeler perspective can later be edited via the developer perspective/project and vice versa.
>have Y version upgrade (new models) override all X version (old models) and then selectively restore the required X version from repositories..
Doing so to an SAP object would be the same as just directly modifying it. This would violate your support.
Re: Version Control of SAP HANA VIEWS
>have Y version upgrade (new models) override all X version (old models) and then selectively restore the required X version from repositories..
Doing so to an SAP object would be the same as just directly modifying it. This would violate your support.
--Okay. Thanks very much for clarifications.
Regarding , Restoring the older version of a model, is there any provision.?
In this case it is not a SAPProvided Model View, but the one created newly by a developer.
e.g. if he/she changed the model 3 times ( say added one column every time) and also activated on all 3 occaisons. There will be 1 , 2, 3 VERSION Numbers We could see after rightclik and naviagte to "History" of the Model View.Is there any way I can go back to Version 1 ?