Not able to view XSJOB
Re: Not able to view XSJOB
Hello Sumeet,
can you share your xsjob file content. On which HANA revision you are? What is displayed in the XS Job Dashboard?
Best Regards,
Florian
Re: Hana Server is not responding to web requests - Msg "FAIL: process hdbstatisticsserver HDB Statisticsserver not running" on startup
Have a look at
Columns are missing when switching from Projection to aggregation
I am working on calculation view and at the data foundation I need to have aggregation. however when I switch from projection to aggregation I don't get any data on 2 columns. I would appreciate if any one can suggest things that I can check to fix this issue.
Thanks for your reply.
Re: Not able to view XSJOB
Hi florian,
Here you go. I am on revision 9. In search tab, its showing my job but when i click on the same, it doesn't open up.
{
"description": "Job to Update INSERT values",
"action": "exercises_UI::insert_values",
"schedules":
[
{
"description": "Table will be INSERTED after every 60 sec",
"xscron": "* * * * * * 60"
}
]
}
PROCEDURE "BEST"."exercises_UI::insert_values" ( )
LANGUAGE SQLSCRIPT
SQL SECURITY INVOKER
DEFAULT SCHEMA "BEST"
--READS SQL DATA
AS
BEGIN
/*****************************
Write your procedure logic
*****************************/
insert INTO "BEST"."ZKNA1" values ('13200','AKSHIT','55','NL04');
insert INTO "BEST"."ZKNA1" values ('13201','SOPHIE','33','NL04');
END;
Br
Sumeet
Re: Not able to view XSJOB
And my XS job dashboard is empty i.e. "No Data found'.
Br
Sumeet
Re: Columns are missing when switching from Projection to aggregation
Please post what logic are you using? Also post screenshots with sampl,e data
BR
Sumeet
Re: Linking HANA to SQL Server
Hi Tobias: I could really use your help connecting HANA to SQL Server for a personal project for which I have very little money. Basically I want to run HANA on Amazon AWS for couple of hours only to save money. So here is what I hope to achieve. I have live data streaming into an SQL server at all times. I want to run HANA on Amazon AWS for couple of hours a day. During which I want to pull Deltas (after doing the initial first load) on demand (not scheduled) from SQL server and then run my analytic reports and then close the AWS session. How can I create a direct delta setup between my local MS SQL server to pass data into HANA on AWS?
I was able to achieve this but in a very difficult way. I downloaded the 60gb HANA on Suse Linux installation from SAP and installed it on an old Dell R910 server. Then I installed trial version of BOBJ which allowed me to run CMS server and BODS 4.0. Thru this I was able to create a connection between my sql server and HANA and setup initial load and deltas on demand. Since the trial versions were only good for month i had to shut it down but it worked and I was able to do my analysis on HANA and it was fantastic. But I cannot afford to buy BOBJ licenses etc so I'm really hoping there's an easier and affordable solution out there.
Can anyone help? I've posted this question on numerous places and I haven't been able to find any solution. I'm very new and self taught on HANA and haven't touched it now for 6 months.
Bobby
Re: SAP Hana - Data Preview of Attribute View fails
I found a solution to my problem and I am posting it here.
In order to do a Data Preview of Attribute views, you need to run the SQL (Call "HCP"."HCP_GRANT_SELECT_ON_ACTIVATED_OBJECTS") AFTER deleting all tables in your Dev schema. I was running it with tables still in my DEV schema, and hence it was throwing this error. The second part is that I need to recreate these tables in my NEO schema, and not the DEV schema.
After deleting my tables, I ran the SQL, and then recreated my tables in the NEO schema. Then I recreated my attribute view, and activated it. The _SYS_BIC schema started to show. And I could do a Data Preview of my Attribute Views.
Hope this helps anyone who faces the same issue.
Comments in graphical view
Hi,
Please anyone tell me how to add comments in graphical views.
Regards,
Ranjith.
Re: Create Attribute View of "OSRQ"
Re: AFM Getting Started - Parse Error on Activation
Hi,
I tried it once again by creating a table via SQL and it works now!
But it doesn't work if I use the Import CSV Function and create a new table using this wizard.
I may should have provided that I didn't use the Import Catalog Function.
Could somebody try this out as well or can explain what's the difference in creating a table via import CSV or via SQL to the AFM?
Re: SAP Hana - Data Preview of Attribute View fails
Thanks for sharing the solution. Please close the thread if it is resolved.
Regards,
Chandu.
Re: Hana Server is not responding to web requests - Msg "FAIL: process hdbstatisticsserver HDB Statisticsserver not running" on startup
Sorry but I solved the issue above just deleting the instance and giving up of using SP 6.
Re: Hana Server is not responding to web requests - Msg "FAIL: process hdbstatisticsserver HDB Statisticsserver not running" on startup
Great, thanks for sharing
Managed associations with XSDS
Hello all,
i'm sure i've done this before, but i just can't get the key...
I've got this CDS file with these two entities, defined as follows:
@Catalog.tableType: #COLUMN
Entity "group" {
key id: Integer64 not null;
name: Association to model.translation not null;
description: Association to model.translation;
parent: Integer64 null;
editable: Integer not null default 1;
status: Integer not null default 0;
user_id: Association to model.user;
key version: Integer not null default 1;
date: UTCTimestamp not null;
};
@Catalog.tableType: #COLUMN
Entity translation {
key id: Integer64 not null;
en: String(5000);
fr: String(5000);
de: String(5000);
it: String(5000);
es: String(5000);
zh: String(5000);
ko: String(5000);
ru: String(5000);
jv: String(5000);
ar: String(5000);
pt: String(5000);
ja: String(5000);
};
When i see the schema generated with my hdbdd file, i get this:
1 | id | BIGINT
| FIXED | (X1) | X |
|
| ||
To select row, press SPACEBAR | 2 | name.id | BIGINT |
| FIXED |
| X |
|
|
To select row, press SPACEBAR | 3 | description.id | BIGINT |
| FIXED |
|
|
|
|
To select row, press SPACEBAR | 4 | parent | BIGINT |
| FIXED |
|
|
|
|
To select row, press SPACEBAR | 5 | editable | INTEGER |
| INT |
| X | 1 |
|
To select row, press SPACEBAR | 6 | status | INTEGER |
| INT |
| X | 0 |
|
To select row, press SPACEBAR | 7 | user_id.id | BIGINT |
| FIXED |
|
|
|
|
To select row, press SPACEBAR | 8 | version | INTEGER |
| INT | (X2) | X | 1 |
|
To select row, press SPACEBAR | 9 | date | TIMESTAMP |
| LONGDATE |
| X |
|
So I want to show the name of the group:
var lang = "en";
var MyEntity = XSDS.$importEntity("package", "model.group");
// retrieve entity instance
var query = MyEntity.$query();
var results = query.$execute();
$.response.setBody(JSON.stringify(results[0].name[lang].toString()));
But get this error:
results[0].name[lang] is undefined
i also tried results[0].name.id[lang], and many other things...
i must be missing something here, but i'm getting nuts...
many thanks in advance!
Luis
Re: Managed associations with XSDS
Hello Luis,
although I do not really understand why you set up your data model as described following can help you.
Instead of var query = ... and var results = ... do following:
var results = $query().$project({name: true}).$execute();
Then you can access the value like you do it (although no JSON stringify and .toString is necessary cause the values in your language columns are already strings).
Regards,
Florian
Re: Managed associations with XSDS
Thank you so much, Florian!
This data model has been set by a third party, who wants me to migrate it to SAP HANA.
The idea is to get the name and description of the group, and display it on different languages, deppending on the parameter "lang".
So it's mandatory the use of projections if you want to get an association, i guess. Because i've been able to access data from a single table without the $project() method. I'm i right?
thank you very much for your help.
Regards,
Luis
Re: CDS View and RSRT
Hi Alkan,
Was your query resolved. If yes, please let us know the resolution.
Thanks,
Sandesh
Re: how to call non read procedure in calculation view
Hi Ravi,
What if I use BOBJ reporting which could only consuming CV and need to a trigger to run agian?
cheers,
Kevin