Hi HANA experts,
what is the SQL statement in HANA to change the content of the table...
Eg:
Table name :Supplier
Sname | javascript:; |
---|---|
BorgWarner Inc. | |
I need to change the BorgWarner Inc. to FLEX from the table Supplier..
Hi HANA experts,
what is the SQL statement in HANA to change the content of the table...
Eg:
Table name :Supplier
Sname | javascript:; |
---|---|
BorgWarner Inc. | |
I need to change the BorgWarner Inc. to FLEX from the table Supplier..
I am doing a self study in sap hana and get struck at basics so i need some guidance .
what is referential join and text joins in sap hana?please so help me with examples or help me with study material.
All,
We have some problems that our system crashes in the next situation.
I have a calculation view and i want to do a Data Preview.
This preview runs like 20 seconds before it gives back the result.
At the same time the Data Preview is running I changed that view and pressed the Save and Activate button.
--> Result is that the Data Preview is showing the data but the Save and Activate will stay running (forever). After a while the system crashes because of this session.
The DBA tried to kill this session but thats not possible, so he has to restart the system.
Anybody familiar with this problem?
Thx
Jacques
Hi guys,
I'm new in SAPUI5 development and I'd like to know how can I navigate through different apps definitions.
In my case, I'm developing a mobile app that uses the sap.m.App and in some views I'd like to use sap.m.splitApp.
First, I have a login page and a tile container with some options. Depending on the user's choice, I'm showing an splitApp with master and detail page.
Main App Controller: With this method I can navigate to my splitApp view
toApp: function (pageId, context) {
var app = this.getView().app;
// load page on demand
var master = ("Login" === pageId);
if (app.getPage(pageId, master) === null) {
var page = sap.ui.view({
id : pageId,
viewName : "view." + pageId,
type : "JS",
viewData : { component : this }
});
page.getController().nav = this;
app.addPage(page, true);
console.log("app controller > loaded page: " + pageId);
}
// show the page
app.to(pageId);
// set data context on the page
if (context) {
var page = app.getPage(pageId);
page.setBindingContext(context);
}
},
Ticket.view.js: Here I add my master and detail pages to my App
createContent : function(oController) {
// to avoid scroll bars on desktop the root view must be set to block display
this.setDisplayBlock(true);
// create app
this.app = new sap.m.SplitApp();
// load the master page
var master = sap.ui.xmlview("MyTicketsList", "view.MyTicketsList");
master.getController().nav = this.getController();
this.app.addPage(master, true);
// load the empty page
var empty = sap.ui.xmlview("Empty", "view.Empty");
this.app.addPage(empty, false);
returnthis.app;
}
And it's working fine. I can navigate to my splitApp. The problem is that I have to go back to my Main page (with the tile container) in case the user choice other option. I hope to do that using the following method in my Ticket.controller.js
back : function (pageId) {
this.getView().app.backToPage(pageId);
}
And, on the MyTicketsList controller, I did the handleNavButtonPress using:
this.nav.back("MainPage");
But this, doesn't work!
How can I navigate through apps? Or, perhaps, How is the better way to create my splitter pages view, with Master and Detail pages?
Thanks in advance!
Hi All,
We have a requirement where we have a simple calculation view built, which has an attribute view in it. The attribute view has a single table in it with with few filters applied on 2 or 3 fields. The record count of the table is greater than 2 billion.The table is an ERP table, our requirement is to report on the CV which has this single large table. Our attribute view takes 3 to 5 minutes to run and our calculation views run much longer . I have tried using variables in CV as well, nothing works!! The attribute view itself is taking longer to preview the data . Any inputs on how to optimize the view or is there any other alternative approach to improve the performance of the view.,
Thanks,
Sneha
Hi,
I have created a stored Procedure which inserts multiple records. I am trying to write exception handling which also reports on the field value which is duplicated.
PROCEDURE MYPROC ( ) AS BEGIN declare j varchar(20) := 25; DECLARE EXIT HANDLER FOR SQLEXCEPTION INSERT INTO MyErrorTable values (::SQL_ERROR_CODE, ::SQL_ERROR_MESSAGE, :j); j := :j + 1; INSERT INTO MyTable values (:j,'A','A','A','A'); j := :j + 1; INSERT INTO MyTable values (:j,'B','B','B','B'); INSERT INTO MyTable values (:j,'B','B','B','B'); j := :j + 1; INSERT INTO MyTable values (:j,'C','C','C','C'); END;
MyTable has the first column as key field which is Integer. In the above code, the 3rd insert statement will fail as there would be a unique constraint violated. I would like to know how we can capture that value into the Error Table.
When I run the above procedure the value of J is always 25 in the errorTable.
Thanks,
Murali.
Hi,
I am using HanaConnection to Connect Hana from .Net.
In hana I have a stored procedure in that Procedure, I am calling User Defined Function.
But When I am calling a Procedure from .Net I am getting error
If call the procedure from Hana Studio, It is working.
Please help.
hi to all,
I am new to SLT, Want to know how to transform data in SLT via ABAP code.
Regards
Pavneet Rana
Hi all,
I have implemented a calc view which calls an Attribute View with a contains-statement inside. Currently I'm using a * as column-list for this statement, but I would like to replace it by a dynamic column list (which is an Input Parameter of the Calc View).
Unfortunately I'm getting the error, that the first argument of contains has to be a column.
Question: Is it possible to specify dynamically the column-list for contains? How?
Kind regards,
Stefan
This year I had planned to change all my infrastructure
around all SAP landscape, when we put it on budget and plan it last year the
HANA picture was only clear to the BW/BPC system.
Today, after the last events on February and also the very positive
experience of a two cycle PoC with BW/BPC is raising us lot of doubts whether
should we migrate all SAP landscape to HANA or not?
Off course there are lots of advantages with HANA also some disadvantages
and/or risk if we decide to choose this path.
From Technical Architecture level, it’s something that I would embrace with
optimist, nevertheless what really concerns me is the day after all Go-Live
when all our landscape is running HANA and we’ve to maintain all landscape in a
database that is live less than 5 years.
It’s true that every day the statement from SAP AG is that the line of the
most interesting new features will be only on this database platform, but in
productive there’s too little references (removing all the PoC) from customers
that have migrate all their SAP landscape and not just BW/BPC or even the ERP.
Hi Everyone,
I am using Hana Cloud Platform. and I would like to create schema which I am not able to create.
Error is as fallows:
Could not execute 'CREATE SCHEMA STS'
SAP DBTech JDBC: [258]: insufficient privilege: Not authorized
I would like to know which objects to be added to user _SYS_REPO to get access to create schema, tables, views, attribute views, and rest of the DB related actions on HCP.
Hi Everyone!
Recently I have been replicating data from ERP system to SAP HANA. There are about 560 tables, which have been replicated without any troubles.
There is also the DD03L table, which according to SAP system has about 8mln records:
However, SAP HANA Studio (as well as LT Cockpit) shows that it has only 352 373 records:
and currently the replication process is over (its status is 'Replicate In Process'):
Has anyone had a similar case? Which records number is correct?
I will be grateful for any help!
Tomasz Sobkowiak
Hi ,
I am facing this datatype issue while importing data from excel into table in HANA.
I have selected text format in excel and when I click import automatically its converting Amt sold and other columns into columns.
I dont want these in decimals and wants to be similar as of excel.
Can someone please tell me the reason behind this behaviour?
In drop down I am trying converting datatype to varchar or any other data type ,its not doing the same.
BR
Sumeet
We have sent with this API an automatic generated e-mail from a non existing sender address no_reply.....@sap.com to an existing external e-mail address. The response is "sent with o.k." although no e-mail is sent. (I assume no e-mail is sent because the recipient receives no e-mail). At the moment this e-mail vanish.
The question:
is a API documentation available regarding the response handling of this API? In which case I get back which response? Or is this a question of the mailserver customizing? Or is the usage of this API restricted - some preconditions existing?
Any help is appreciated.
Our further investigations:
This combination is working:
valid .....@sap.com sender address to valid ...@sap.com recipient address
valid .....@sap.com sender address to valid ...@external recipient address
non existing ..no_reply@sap.com sender address to valid ...@sap.com recipient address
In all of these cases the response of the API is "sent with o.k."
This combination is not working:
valid .....@sap.com sender address to invalid ...@sap.com recipient address
In this case is the response: "Exception: Error: error couldn't send RCPT header Stack Trace....."
Hi folks,
I'm new to SAP HANA and need your help with understanding howGROUPING SETS on HANA works.
By executing of this statement
SELECT COUNTRY, LANGU, "SHORT TEXT", GROUPING(COUNTRY), GROUPING(LANGU), GROUPING("SHORT TEXT"), GROUPING_ID(COUNTRY, LANGU, "SHORT TEXT") FROM COUNTRIES GROUP BY GROUPING SETS ((COUNTRY, LANGU), (LANGU, "SHORT TEXT"))
on this raw table
COUNTRY | LANGU | SHORT TEXT |
---|---|---|
DE | D | Deutschland |
DE | E | Germany |
US | D | USA |
US | E | USA |
I'm getting these results:
COUNTRY | LANGU | SHORT TEXT | GROUPING(COUNTRY) | GROUPING(LANGU) | GROUPING(SHORT TEXT) | GROUPING_ID |
---|---|---|---|---|---|---|
DE | D | ? | 0 | 0 | 1 | 1 |
US | D | ? | 0 | 0 | 1 | 1 |
DE | E | ? | 0 | 0 | 1 | 1 |
US | E | ? | 0 | 0 | 1 | 1 |
? | D | Deutschland | 1 | 0 | 0 | 4 |
? | E | Germany | 1 | 0 | 0 | 4 |
? | D | USA | 1 | 0 | 0 | 4 |
? | E | USA | 1 | 0 | 0 | 4 |
Two questions raised here:
Regards,
Oleg
Hi
We are implementing DASH Boards using Design Studio and there is a requirement to publish these DASH boards to Mobile.
I know that design studion can be published on Iphone and Ipad. Is it possible to Publish DASH boards to Andriod mobile phones or tablets.
If yes , Please can some one share the steps to setup this?
Regards
Venkat
Hello everyone!
in Design Studio
- After 5-10 minutes not working with DS (connected to HANA) I return back and try Add a new Data Source or activate the Content assistancein scripts, application freezes for a minute and logs the following error (see below).
- The same thing, when I try to work with my Design Studio application in the browser after a 5-10 min idle.
in HANA Studio
- I may Open Data Preview of the table and when I Refresh this view after 5 min it freezes HANA Studio for 1 min.
- in SQL Console: after 5 minutes idle I execute sql query, it freezes for 1 min and returns with an error
"Cannot get the data provider outline
Data receive failed [Read timed out]."
My assumption:
Could it happen because of my (default) HANA database configuration, like idle_connection_timeout ?
I tried setting to "15000" or "-1" didn't help: How can I keep DB connection always alive in HANA Studio? - Stack Overflow .
My installation:
DS 1.4
HANA SPS8 @ Azure
Have anyone had these issues?
Error from Design Studio 1:
--------------------------------
log:com.sap.ip.bi.bics.dataaccess.resource.impl.bae.exceptions.BAERuntimeException: Unable to execute SQL statement (GET_SYSTEM_VERSION) : SELECT "VERSION" FROM "M_DATABASE" (Connection to database server lost; check server and network status [System error: Connection reset by peer: socket write error])
2:
--------------------------------
BI exception with class "BAERuntimeException" and message "Unable to execute SQL statement (GET_SYSTEM_VERSION) : SELECT "VERSION" FROM "M_DATABASE" (Connection to database server lost; check server and network status [System error: Connection reset by peer: socket write error])". See default trace for log ID "6f91202c-c777-4184-9346-42323482bc8b".
3:
--------------------------------
ERROR [6f91202c-c777-4184-9346-42323482bc8b]: Unable to execute SQL statement (GET_SYSTEM_VERSION) : SELECT "VERSION" FROM "M_DATABASE" (Connection to database server lost; check server and network status [System error: Connection reset by peer: socket write error])
Hi all,
I am a newbie to Hana development and I encountered this error while trying to follow a tutorial on PAL:
'SAP DBTech JDBC: [423]: AFL error: [423] "SYSTEM"."AFL_WRAPPER_GENERATOR": line 50 col 5 (at pos 1793): [423] (range 3) AFL error exception: AFL error: registration finished with errors, see indexserver trace'
I did everything as directed in the video but couldn't figure out where I went wrong, please help me out !
Hi Team,
I am using Core Data Services for my Table or Entity creation and i am facing one issue with CDS.
There is no Boolean Primitive type in CDS and i am unable to create User defined types for boolean.
eg.
Entity Test
{
element Answer: String(200);
element IsCorrect:Boolean;//This is not working
}
Kindly Help.
Thanks
Varathan