on 03-25-2014 9:20 AM
Hi Folks,
We are planning to develop the objects using HDBDD and trying to understand the limitations in the version we are using Rev 68.
These are the Pros and Cons, we have identified as of now:
Advantages:
1) Version Management
2) Transport Management of the objects via change manager
3) Adding the new columns in the table ( It can be added at any place )
Limitations:
1) Partitioning syntax is not available (
2) Adding the primary key to a table if the table is already created with the field set as "nullable" ( )
So before creating the schema and tables using HDBDD would want to asses if we have missed any potential limitation. So request your help to know the same.
Regards,
Krishna Tangudu
Hi Krishna,
Before I proceed, just to clarify your point 3 "Adding the new columns in the table ( It can be added at any place )" - yes columns can be added at any place within the CDS as you are just editing the definition file, but unless you effectively drop the entity (table) by removing entity definition, activate and then restore to rebuild table, any newly added columns will be added to end of table irrespective of position in CDS entity.
I would also only consider productive CDS with SPS07 - CDS was introduced with SPS06 and no doubt some issues were resolved with introduction of SPS07.
The CDS gives a wonderfully rich semantic view of your definitions - right click the .HDBDD artifact and select graphical view, especially if associations are implemented (SPS07).
Coming from an ABAP background I adore the concept of a data dictionary-like central repository, where you can specify types and structures later referred to in entities (tables) for consistency and ease of maintenance.
Have a go at setting up a few types and entities, change keys, add, remove and change columns (name and type), use those definitions in procedures and attribute views (later consumed by analytic and on to calculation views) for checking of dependencies. I have had issues with dependencies where I have not been able to activate .HDBDD, see . Transport changes from dev to qa and check. Do you need to define entities with spatial-type columns? You cannot (ST_GEOMETRY not recognized as valid type as of 70).
You are putting all of your "eggs" in one basket. I wouldn't choose to do that with a project of any significant sizing unless a thorough P.O.C. was carried out.
Hope that helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Former Member,
With .HDBDD file creation, am able to create a table under any schema.
For example:
My user name is X and have access to only "X" schema. But I was able to create a table under "Y" schema as well. (Although I don have "CREATE ANY" access under "Y" schema )
Did you find this behavior as well? Is there a way to control this?
Regards,
Krishna Tangudu
I have created HDBTI file that loads the CSV file to a HDBDD table but Is it possible to create HDTI for an ordinary table (Created using SQL statement)?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Yes, it is possible. Please have a look at Table-Import Configuration - SAP HANA Developer Guide - SAP Library You can use table/hdbtable/cdstable. In your ordinary table case, just use table = ...
Best regards,
Wenjun
Thanks Wenjun for sharing it here.
Regards,
Krishna Tangudu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Another limitation which I found is that there is no "GENERATED ALWAYS AS" in HDBDD or HDBTABLE. However, you can do this when create a table using SQL.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Krishna,
Good to see the pros and cons of the HDBDD artifact.
Is there a way to define a default value to a column that is created in the HDBDD table?
Eg.,
a column's default value should be the current timestamp.
Thanks
Srivatsan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.