Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all 6412 articles
Browse latest View live

m_time_dimenssion table got deleted from _sys_bi

$
0
0

Please help to restore or create TIME_DIMENSION  tables in _SYS_BI schema. sql query would really help!


Enable code completion in SAP HANA Web-based Development Workbench

$
0
0

Hi,

 

the documention says that the "SAP HANA Web-based Development Workbench" supports code completion.

Code compleiton doesn't work on our Development Workbench (Version 1.100.10 on SAP HANA SPS 10) and I want to know how to enable it.

 

Many thanks,

ben

How to call HANA logon service and get a session?

SAP HANA Views consumption

$
0
0

Hi,

     Can anyone tell me exactly what SAP Reporting Tools can directly view/access HANA Views?  I see a couple of threads out there, but they are a little older and might not be current. 

 

I saw that WEBI can, but needs to do it through a universe.  I'd like to know what can directly see HANA Views. 

 

Thanks!

EclipseLink generates wrong sql code when calling stored procedure

$
0
0

Hi,

 

 

I am using EclipseLink 2.5 trying to call a HANA stored procedure, like this:

 

1) describe it in the xml:

 

<named-stored-procedure-query  name="findAllStationsNamedProc"  result-class="com.domain.Station"  procedure-name="CC_TEST_READ_STATIONS"></named-stored-procedure-query>

 

2) use it in code:

 

Query q = em.createNamedQuery("findAllStationsNamedProc");
List<Station> stationList = q.getResultList();
System.out.println("Loaded  " + stationList.size() + " stations");

Although other calls that do not involve calling a stored procedure work fine through JDBC, this one doesn't. The generated SQL doesn't seem to be proper HANA SQL, having EXECUTE instead of CALL:

 

 

javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.6.0.v20150309-bf26070): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: com.sap.db.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: [257]: sql syntax error: incorrect syntax near "EXECUTE": line 1 col 1 (at pos 1)
Error Code: 257
Call: EXECUTE PROCEDURE CC_TEST_READ_STATIONS()
Query: ReadAllQuery(name="findAllStationsThroughAMDPNamedProc" referenceClass=Station )

Any ideas why it generates with EXECUTE and what would be any possible solutions?

 

 

Thank you,

Alex

Error with JPA Content

$
0
0

Hi,

When I open the JPA content to open the diagram Eclipse returns the erros in the attachment.

can somebody assist?

Thanks

GabrielEclipse.JPG

SAP Hana package creation privileges issue

$
0
0

Hi,

 

While creating the package in HANA system, faced some authorization issue. Related screen shot attached. Can any one help on this.

 

 

 

2015-08-07_14-17-35.png

DB Schema SAP_HRF does not exist; SAP HANA rules framework is not installed

$
0
0

Dear Experts,

 

I installed SAP HANA Rules Framework 1.0 on HANA DB used for GRC 10.1 SAP system. I am getting the error "DB Schema SAP_HRF does not exist; SAP HANA rules framework is not installed" when I try to perform the configuration tasks using task FRA_HRF_SETUP in STC01.  I don’t understand why I get this error even though I installed it and can also see it in the HANA DB catalog of HANA studio.


See attached screenshot regarding the error.


Any ideas, please?


Thanks & best regards,

Sreenu




HANA XS (Extended Application Services) showing empty page

$
0
0

Hi Experts,

 

Currently, we have latest verison HANA 1.0 revision 97 installed.

 

We are getting HANA XS empty page when we call HTTP Url (see in attachment). We figured out, XS engine is integrated in HANA DB and it  is installed during the HANA DB installation. We also noticed that, this engine is seen running in "Landscape" tab of HANA system in HANA studio.

 

Any ideas, please?

 

 

Thanks & best regards,

Sreenu

Update a Multi-Table View using SQL

$
0
0

Hi,

 

I need to update a view which has multiple tables.

 

All table definitions in side the view are same.

 

Please help me

TrexUpdate failed on table

$
0
0

HOwdy..

 

Multi-Host Hana 96

AWS VM Linux SUSE 11 sp3

 

ApplicationName=dataload

Executor         PlanExecutor.cpp(00825) : plan plan37094@imdbworker01:30003 failed with rc 143; transaction serialization failure until timeout expiresTrexUpdate failed on table 'Repoprod:Campaignmember' with error: transaction order error, rc=4614

Executor         PlanExecutor.cpp(00825) : -- returns for plan37094@imdbworker01:30003:

Executor         PlanExecutor.cpp(00825) : TrexUpdate failed on table 'Repoprod:Campaignmember' with error: transaction order error, rc=4614(143), plan: 1/3 pops: RowPlanOperator pop3(in ab, out cd)

Executor         PlanExecutor.cpp(00825) :

 

Is this data no being inserted or updated?

 

I found the insert statement relative to this plan in the performance tab of the admin panel..

 

It is a simple insert statement?

 

INSERT INTO "Repoprod"."Campaignmember" ("campaign_id", "client_id", "createdby_id", "createddate", "fan_id", "fanprofile_id", "lastmodifiedby_id", "lastmodifieddate", "optindate", "optoutdate", "shortcode", "subscriptiontype", "verificationcode", "optout") VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)

 

Not sure what Transaction order may be referring to?

 

Any insight is Appreciated!

Issue: MDX Query not executing in Hana Studio 2.0.8 Version

$
0
0

Hi Guys,

 

I am trying to run MDX query in Hana Studio Console but its not running.  The version of Hana Studio is 2.0.8

 

Query is:-

 

MDX

SELECT

{ [PARENT].members } ON COLUMNS

FROM [AN_TEST]

CELL PROPERTIES VALUE

 

Error Report Coming is:

Could not execute 'MDX SELECT { [PARENT].members } ON COLUMNS FROM [AN_TEST] CELL PROPERTIES VALUE'

SAP DBTech JDBC: [2]: general error: MDX query doesn't support prepared statement.

 

I have tried lots of other ways but every time I am getting this same message.

The same query is running fine in Hana Studio 1.8 with my credentials.

The Hana server is SP09 for both the version of Hana Studio.

 

Kindly suggest some way to come out of this problem.

Regarding grating roles to user

$
0
0

Hi,

 

I have a small query.

 

In my project we need to assign analytical privileges and also users are only allowed to execute specific models and tables in particular schema.

 

So my question is  do developers play any role here or HANA security people are authorized to do the same?


Since in my home system I have authorization  of system and I can do the same but in real time are developers allowed to carry out the same?

 

a.) Assigning analytical privilege to particular user.

b.) assigning roles to particular user.

 

 

BR

Sumeet

HANA connection to PowerPivot

$
0
0

Hi.

 

I am trying to create a connection from Excel PowerPivot to HANA and cannot get this to work.

 

I can create the connection to HANA using the basic Excel connection.

 

I would like to download a fairly large amount of HANA data into Excel and need more than the 1M rows available in an Excel tab.  I have used PowerPivot models in the past using other data sources to capture more than 1M rows.

 

Any advice would be greatly appreciated.  mark.kruse@amd.com.

 

Thank you.

How are update/delete operations handled using insert only in HANA?

$
0
0

What is the exact way in which update/delete operations are handled in hana? I had read a blog where it was told that a delete flag will be set for the old data and it will still exist in the table..if it was so, don't we have to decompress the data so as to set the flag? Then the reason to implement the insert only is completely lost..Please explain as to how it exactly works.

 

Thanks in advance,

Priyanka


Stored Procedures in Content vs Catalog

$
0
0


Hi All,

Please help me in understanding the differences between stored procedures created in Catalog view vs Stored Procedures created in Content view. For one , I know that Table Type parameters are not supported in Content Stored Procedures. Please let me know if there are other differences.

Real time data replication by using HANA EIM (Smart Data Integration)

$
0
0

I am trying to set up real-time replication task to replicate VBRK table from SAP ECC using ECC adaptor. I followed the steps outlined by HANA Academy in this video.

 

https://www.youtube.com/watch?v=eCgSB0y7_hI&list=PLkzo92owKnVwQ_preA3cxlQjn_v3W0Eh5&index=6

 

When I call procedure for this replication, I get the following error.

 

Could not execute 'call "SAPD02"."TEST_SDI.SDQ_SDI::REAL_TIME_REP_SP"' in 10:12.921 minutes .

[129]: transaction rolled back by an internal error: [129] "SAPD02"."TEST_SDI.SDQ_SDI::REAL_TIME_REP_SP": line 5 col 1 (at pos 115): [129] (range 3): transaction rolled back by an internal error: sql processing error: QUEUE: TEST_SDI.SDQ_SDI::REAL_TIME_REP_RS: Failed to add subscription for remote subscription TEST_SDI.SDQ_SDI::REAL_TIME_REP_RS.Error: exception 151050: CDC add subscription failed: Request timed out.

 

: line 1 col 1 (at pos 0)

 

Any ideas on what I may be doing wrong?

Concat BLOB/CLOB SAP HANA

$
0
0

Hi,

 

Any ideas on how to concat blobs in SAP HANA SQL / SQLScript ?

 

I can't see how. This is how I did in oracle:

 

DBMS_LOB.APPEND(c.a, c.b);

Handling exception in a for loop

$
0
0

Hi,

 

I want to write exception block inside a for loop like oracle as below.

 

for i in c1 loop

    begin

      insert into table values (i.id, i...);

 

    commit;

 

   exception when others then

     insert into erro_log values (i.id, i...);

 

   end;

end loop;


I want to handle same thing in hana. Is it possible in hana?


Does anybody knows how to handle exception in a for loop statement  or has an other solution to solve my problem described above?

 

Best regards,

Kishore



SAP HANA Views consumption

$
0
0

Hi,

     Can anyone tell me exactly what SAP Reporting Tools can directly view/access HANA Views?  I see a couple of threads out there, but they are a little older and might not be current. 

 

I saw that WEBI can, but needs to do it through a universe.  I'd like to know what can directly see HANA Views. 

 

Thanks!

Viewing all 6412 articles
Browse latest View live




Latest Images