hi gurus:
We are using hana runtime (SAP HANA Platform Ed. 1.0 SPS08 (SAP HANA DB 1.00.82) for SAP BW 7.4, I d like to know if I can use hana studio here or do i need hana enterprise?
regards
mah
hi gurus:
We are using hana runtime (SAP HANA Platform Ed. 1.0 SPS08 (SAP HANA DB 1.00.82) for SAP BW 7.4, I d like to know if I can use hana studio here or do i need hana enterprise?
regards
mah
Hi All,
I am trying to convert one table into .hdbtable.
Below is the SQL code for my table.
CREATE COLUMN TABLE "SCHEMA"."TABLE" (
'FIELD1' VARCHAR(128),
"FIELD2" VARCHAR(64),
"FIELD3" VARCHAR(128)) UNLOAD PRIORITY 5 AUTO MERGE ;
ALTER TABLE "SCHEMA"."TABLE"
WITH PARAMETERS ('CONCAT_ATTRIBUTE'=('EXPRESSION=FIELD4_DATE( now() )',
Now I want to convert the above into .hdbtable
table.schemaName = "SCHEMA";
table.tableType = COLUMNSTORE;
table.columns =
[
{name = "FIELD1"; sqlType = VARCHAR; length = 128;} ,
{name = "FIELD2"; sqlType = VARCHAR; length = 64;} ,
{name = "FIELD3"; sqlType = VARCHAR; length = 128;} ,
{name = "FIELD4_DATE"; sqlType = TIMESTAMP; nullable = true; }
];
Now I want to provide default date to field "FIELD4_DATE".
In SQL we can achieve this by 'ALTER'.
Can you please suggest me how to do in the .hdbtable?
is there any other way to convert the table into .hdbtable? rather than righting code..."table.schemaName = "SCHEMA"; .......]
PS: I have googled and searched in SCN portal. Not able to get any answers. Hence, I have posted.
Thanks in advance.
Hi,
I also like to be able to create a CDS view in the repository which fetches data from a (virtual) table in a different schema. I found the code below in the developer guide:
view AddressView as select from Address
{ id,
street.name,
street.number
};
I already tried to replace the first line with: "view AddressView as select from SCHEMA.Address" (also with single and double quotes but it doesn't work.
From the catalog it is very easy to create a view which does a select from tables in a different schema, so I assume it should be possible in the repository as well?
Kind Regards,
Nico van der Linden
Message was edited by: Jasmin Gruschke
Hello together,
we would like to develop a own application modul (only for desktop, not for mobile devices), in which we don’t need any functions from the ERP business logic (with own apps, with own data model). Now we’re thinking about HANA xs / SAPUI5 (like the platform model) – but in the internet we don’t find any deeper cocking books for this procedure.
We have some questions about this procedure:
Some questions… :-).
Or is it easier to work with an netweaver stack as toolbox for this requirements.
I am pleased to get many answers from the experts. At the moment for us it is unfortunately new stuff. It’s very exciting and interesting.
Best regards
Thomas
Hi,
I was trying to create a function that accepts parameters, used to query a table. Those parameters are part of the query in the function.
Eg
create function (a varchar2,b varchar2)
return result number
LANGUAGE SQLSCRIPT
SQL SECURITY INVOKER
as
(
exec 'select count(1) into result from table t1 where t1.col='||a||' and t2.col='||'b;
)
end;
But it says :-
As function was giving the error:- feature not supported: dynamic sql is not supported in the read only procedure/function
What could be the alternative for it?
If i need to create a procedure for the same. Below is the hurdle I'm facing again:-
Many of my functions have dynamic sql and multiple returns are there in the function.
So creating a procedure i would require a skip or GOTO statement. That also isn't provided in HANA.
Request you to help me with this.
Thanks,
Athrey
We have so many objects(AV,AN,CV) created for different projects inside the same package. I want to checkout only those objects which are related my project. In repository I am checking out only those objects(only four CV's) but when I am creating a project for that repository location and sharing the project then its showing me all objects belongs to that package inside my project.I am also allowed to edit to those objects. How can I keep only selective objects from a package inside my project?
I'm trying to find a way to aggregate data only at changes in a specific dimension when joining tables of different granularity in HANA.
Let's say I have 1 table that stores corporate card transactions, and I have 2 transactions for hotel stays.
DocumentNumber | Employee | Region | Establishment | Transaction Date | Transaction Amount |
10395345125 | 123456 | EAST | Marriott | 2/15/2015 | $359 |
23450971252 | 123456 | WEST | Hyatt | 3/15/2015 | $233 |
I also have an internal expense system to break these down into smaller parts. The first transaction was for a 2 night stay including meals. The second for a 1 night stay including meals:
DocumentNumber | Employee | Expense Type | Receipt Date | Expense Amount |
10395345125 | 123456 | Hotel | 2/15/2015 | $150 |
10395345125 | 123456 | Meal | 2/15/2015 | $30 |
10395345125 | 123456 | Hotel | 2/16/2015 | $150 |
10395345125 | 123456 | Meal | 2/16/2015 | $29 |
23450971252 | 123456 | Hotel | 3/15/2015 | $190 |
23450971252 | 123456 | Meal | 3/15/2015 | $43 |
I want to be able to combine these into a single view for a report. If I join these together on the Document Number field, I get this, where the transaction amount is repeated on multiple expense lines:
Doc Nbr | Employee | Region | Estab | Exp Type | Tranx Date | Receipt Date | Trnx Amt | Exp Amt |
10395345125 | 123456 | EAST | Marriott | Hotel | 2/15/2015 | 2/15/2015 | $359 | $150 |
10395345125 | 123456 | EAST | Marriott | Meal | 2/15/2015 | 2/15/2015 | $359 | $30 |
10395345125 | 123456 | EAST | Marriott | Hotel | 2/15/2015 | 2/16/2015 | $359 | $150 |
10395345125 | 123456 | EAST | Marriott | Meal | 2/15/2015 | 2/16/2015 | $359 | $29 |
23450971252 | 123456 | WEST | Hyatt | Hotel | 3/15/2015 | 3/15/2015 | $233 | $190 |
23450971252 | 123456 | WEST | Hyatt | Meal | 3/15/2015 | 3/15/2015 | $233 | $43 |
If I want to do ad-hoc analysis on any dimension, how can I ensure the transaction amount only aggregates at changes in the document number?
For example, if I aggregate on Establishment, I will see:
Row Labels | Sum of Trnx Amt | Sum of Exp Amt |
Marriott | 1436 | 359 |
Hyatt | 466 | 233 |
Grand Total | 1902 | 592 |
But I want to see this, since there is only a TOTAL of 592 in transaction amounts:
Row Labels | Sum of Trnx Amt | Sum of Exp Amt |
Marriott | 359 | 359 |
Hyatt | 233 | 233 |
Grand Total | 592 | 592 |
Keep in mind this is a simplified example as the expense amounts could be different than the total transaction amount (personal spend). Any help would be appreciated.
Thanks.
Hi ,
We have SAP BW 7.4 ( HDB ) HANA SP08 and BO 4X & ECC.
I want material long text in Bo report using HANA. Please suggest the possibility ,
ABAP team enhanced in MM03 -> Basic data ->Application - new tab added
Output as below :
MATNR - MAKTX- Material Long Desc -......
123 - SHIRT - Summer casual shirt.
Regards,
kamruz
I am getting error while executing HANA Live view PurchasingDocumentItem. I used this view many of our custome view as underlying.
All the view which I build based on this view displaying error while data preview.
HANA live view "sap.hba.ecc/PurchasingDocumentItem" is not displaying any data and giving error:
Error: SAP DBTech JDBC: [339]: invalid number: [6930] attribute value is not a number..
Regards,
Kamruz
Hi,
Our Team have created so many Inactive view ( Attr, Ana, Cal) and they didn't deleted those view. I want to list out all inactive view. How to find out those view.
Regards,
Kamruz
Hi,
We have transport the HANA view Dev to QA. Earlier all the view was fine in QA system. This time got the below warning message and all the view technical name is showing red under package -> calculation view -> View name ( Red color)
1.The model has opened in view-only mode as it doesn not have edit authorization
2. Editing object under package with different source system is not recomended since they may be overwritten by next import.
Please suggest.
Regards,
Kamruz
I am running the following update statement on SAP HANA via Apache JMeter, a load testing tool, over a JDBC connection and am getting a pretty low throughput something around 20 requests per second simulating 10 clients and iterating the update about a 100 times for each simulated client.
Is there a way to tune HANA so that I achieve a higher throughput? CPU and Memory usage is quite low on my system so I am also lost on where the performance is going.
Hi Experts,
i have created analytic view and activated succesfully,it is generated from bw and i joined analytic view with master data customer after activating the view successfully i could nt find the data in data preview,how to get data here and how to check data here,please help here.
awaiting your valuable inputs.
Thanks in advance..
Madhu.
Hi Experts,
Here i am facing issue like no data preview in analytic view,only showing columns and no values(data) ,Please help me to resolve this.
In my project version SP7 i created analytic view on BW generated DSO( which is default analytic view), in analytic view joined with two attribute views and maintained key attributes and used referential join cardinality given n:1 ( fact table : attribute view) but joined many fields from attribute view all are maintained key fields and activated successfully no errors given,when i go to data preview tab not showing any values in the tab? i checked default client in properties its maintained session client and tried with cross client also tried with both but issue not solved,please let me now what could be the reasons for this to get data??
awaiting for your valuable inputs.
Thanks,
Madhu.
Hi All,
while validating or activating a decision table i am getting the below error
"Repository: Internal error during statement execution, please see the database error traces for additional details; error in generated procedure - insufficient privilege: Not authorized at ptime/query/checker/query_check.cc:2224line: 0 column: 0"
I am thinking that administrator didnt assign me enough privileges for _SYS_BIC schema....
can any one suggest what exactly the problem is....
Thank you
vijay
data provisioning in hana studio
Hi all,
we are consuming analytic views in a SAP UI5 frontend using odata services. The odata services provides us with the technical field names of the analytic views. Is there a way to show the field lables of the analytic view in the odata-service as field name?
Thanks and best regards,
Christian
Hi,
In the course of time as we evolve from Oracle to HANA. We want to make minimal changes to the front end code.
As part of session variable we had written a wrapper in Oracle to do the job. Similarly i want to write a simple procedure or a function which would accept the key,value pair and do the set and get the session context variables.
getting the below error:-
session management statement is not allowed in SQLScript
Hi All,
We have been using HANA as secondary data base.
We have given Connection information as followed: 112.19.27.12:30015&ECC_SLT_HAN(IP address:Port&Schema).
When i execute HDBC transaction code, I am getting below errors.
Message no. FAGL_HDB_GENERATION099
When we go internally, it is telling ...
Required attribute table FAGL_ORG_INFO does not exist on SAP HANA DB
Required attribute table FAGL_ORG_INFO_CT does not exist on SAP HANA DB
invalid column view: GLPCA: line 9 col 24 (at pos 228)
invalid table name: Could not find table/view /1F IGL/AN_GLPCACT in schema SYSTEM
Could you please do let me know how to correct it. We have all ther required objects in Schema "ECC_SLT_HAN".
Regards,
Jo