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

Re: HANA query Runtime Error

$
0
0

Hi Abhimanyu,

 

I do have similar issue when accessing Column view with in my schema.

 

Could not execute 'select VRGAR, sum(vv010001) from "ERPTRI_800"."CE2CE4IDEA_HDB" group by vrgar' in 386 ms 128 µs .

SAP DBTech JDBC: [2048]: column store error: search table error:  [2920] invalid schema: found inconsistent join path  "jp01" for viewattribute "MANDT" with fact table "ERPTRI_800:CE4IDEA" on olap index; for cube ERPTRI_800:CE2CE4IDEA_HDB

 

Do you still have this issue. Or any solution that you got for this.

 

This would help me in resolving my problem.

 

Regards

LOkesh


Re: User is not authorized to use destination (package: ..., name: ...)

$
0
0

Yes this is as-designed. As security measure these must be in the same package.

Re: Dependency Error: Calculation View deleted, yet unable to delete Analytic View

$
0
0

First try querying OBJECT_DEPENDENCIES - I've found direct queries more reliable than the studio's "Where Used" view.

 

Something like: SELECT * FROM OBJECT_DEPENDENCIES WHERE BASE_OBJECT_NAME LIKE '%your_pkg/AN_VIEW'

 

If anything returns, you'll see under DEPENDENT_OBJECT_NAME which objects are holding up deletion (also look at DEPENDENT_OBJECT_TYPE).

 

Sometimes I've seen HANA fail to drop lots of behind-the-scenes hierarchy views related to the model I'm trying to drop, so you have to drop those manually. You can use some crafty SQL against OBJECT_DEPENDENCIES to generate all of the drop statements for you, and then you just copy/paste the results back in the SQL editor and run them.

 

The next thing to try is looking at your Analytic Privileges. These won't be displayed in results from OBJECT_DEPENDENCIES. Manually open your APs and remove the model in question, re-activate, and then try dropping your model.

 

If both of these don't turn anything up - talk to your basis guy. I've encountered metadata corruption issues that are resolved by SYSTEM user taking over objects in question and dropping them with that user.

HANA Password Policy maximum_password_lifetime

$
0
0

With the indexserver.ini file, you can overwrite default system settings, such as the ones defined for the password policy. In my case, I have

 

[password policy]
last_used_passwords = 0 
maximum_password_lifetime = 0 
force_first_password_change = false 

 

According to M_PASSWORD_POLICY - SAP HANA SQL and System Views References - SAP Library this has a value in days, but it does not tell you what the edge cases are. Does 0 mean the password is not good at all? Does it mean its good up to just shy of 1 day? Or, what I am trying to achieve, does this mean that the password is valid forever? Or, would valid forever be indicated by a negative number or some string?

 

An answer would be great, but a reference to a document defining these situations with the password policy would be preferred!

 

Thanks,

 

Kevin

Re: HANA XS - How to fix Inactive Testing issue of items not loading (when using the cookie)

$
0
0

Hi Jim,

 

Unfortunately, I can't help you, sorry.

 

But I would really appreciate if somebody could have a look at that issue. Still, I'm facing the behavior as well. The server tries to load the inactive version of everything. It doesn't figure out to use the active version of the unchanged files.

 

Sometimes I use the feature if I point the cookie path exactly to the location of the file I'm working on. This way, the server loads the active files except these on the path.

 

Best,

Mathias

  

Pros and cons of creating a table with key

$
0
0

Hi Folks

 

I have some tables where there is no key defined in the source system. What is the best way to build such tables. In my case the source system is Teradata.

 

I have 25-30 columns in dimension and what is the best way to load this data where there is no.

 

What will be the Pros and Cons if I have a table without a key  or if I create a table with 25-30 keys.

 

 

regards

Poonam

Invalid Number : Database Procedure Proxy

$
0
0

Hi Folks,

 

I am trying to create DB Procedure proxy in ECC with importing parameter as table(OUT). It is giving a dump says Invalid Number(SQL Error 339). It works perfectly for scalar outputs.

 

Capture.JPG

Sreehari

Problem with CORS in V1.7.72

$
0
0

Hi,

 

After creating a 72 AWS Hana Developer instance and migrating my packages across, I now have a CORS issue.  What was working perfectly for many 100,000's of ajax calls in V1.7.70 now fails in 72 with

 

 

 

No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8080' is therefore not allowed access.


 

 

.xsacces file

{

        "exposed":true,

        "cors" : { "enabled" : true },

        "authentication" : null,

        "anonymous_connection" : "hpl.missioncontrol.services::anonConn"    

}

 

 

 

Anonymous connection

{

  "description" : "Anon SQL connection"

}

 

 

 

Ajax call

$.ajax({ type: 'GET',

          url: missioncontrolModel.getConfigServicePilotsUri(),

          dataType: 'json',

          crossDomain: true,

          async: false,

          success: myHplApp.pilot.controller.onLoadPilots,

          error: myHplApp.pilot.controller.onErrorCall

  });

 

 


I tried adding the following to the ajax call, to no avail:

 

headers : {"Access-Control-Allow-Origin" : "*"},

 

 

Uri is to an odata service.  Via browser display of metadata with $metadata is fine, just the actual read of the entity content fails.  I have also tried via postman in Chrome with no success (500 Internal Server Error).

 

 

I would naturally tend to believe it was an issue with my migration, as yet I cannot see this is the case.

 

 

Any advice gratefully received.


Re: Problem with CORS in V1.7.72

$
0
0

I thought I would try an authenticated request of the odata service, so edited the .xsaccess as provided above to give:

 

 

{

        "exposed":true

}

 

 

 

I was prompted for basic authentication and response correct with expected data.  So URI and service works, just the crossDomain at issue.

Re: Problem with CORS in V1.7.72

$
0
0

Oh well, my initial gut instinct was right.  Forgot to set the user against the anonymous connection via http://hanaserver:8000/sap/hana/xs/sqlcc/

 

anonconn.png

 

 

The indexserver trace file will also give you a pretty clear hint!

 

 

[5008]{-1}[-1/-1] 2014-04-19 08:04:52.855679 e XSRequestHandler RequestHandler.cpp(00564) : exception  1: no.2  (XSEngine/Util/ConnectionPool.cpp:126)

    could not create db connection from sql connection configuration hpl.missioncontrol.services::anonConn, username not set

exception throw location:

I've got a new SAP 1.72 instance on AWS that's not working at all.

$
0
0

It worked fine the first time I booted it up but now I keep getting errors.  I've tried rebooting the server but it didn't help.  I can't seem to find anything on Google as to the error messages I'm getting.  The first on the list when I connect is;

 

     Unable to find Action Set: com.sap.ndb.studio.sqlscript.debugger.ui.sqlscriptdbgdebugActionSet

 

Next I get;

SAP DBTech JDBC: [2566]: distributed environment error: no servers found;_SYS_STATISTICS:STATISTICS_ALERT_LAST_CHECK_INFORMATION

 

com.sap.db.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: [2566]: distributed environment error: no servers found;_SYS_STATISTICS:STATISTICS_ALERT_LAST_CHECK_INFORMATION

    at com.sap.db.jdbc.exceptions.SQLExceptionSapDB.createException(SQLExceptionSapDB.java:334)

    at com.sap.db.jdbc.exceptions.SQLExceptionSapDB.generateDatabaseException(SQLExceptionSapDB.java:174)

    at com.sap.db.jdbc.packet.ReplyPacket.buildExceptionChain(ReplyPacket.java:100)

    at com.sap.db.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:1141)

    at com.sap.db.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:888)

    at com.sap.db.jdbc.StatementSapDB.sendCommand(StatementSapDB.java:929)

    at com.sap.db.jdbc.StatementSapDB.sendSQL(StatementSapDB.java:978)

    at com.sap.db.jdbc.StatementSapDB.execute(StatementSapDB.java:256)

    at com.sap.db.jdbc.StatementSapDB.execute(StatementSapDB.java:228)

    at com.sap.db.jdbc.trace.Statement.execute(Statement.java:79)

    at com.sap.ndb.studio.jdbc.util.SQLExecutor$1.run(SQLExecutor.java:118)

 

I'm not sure what to look for. Any ideas? 

Re: I've got a new SAP 1.72 instance on AWS that's not working at all.

$
0
0

Those messages look pretty terminal.  I have not searched for any related posts myself.

 

All I can add is you mention "new" and "first time"- if you are not at risk of losing much work why dont you just terminate this instance and create another new instance to see if the issue persists?

Re: I've got a new SAP 1.72 instance on AWS that's not working at all.

$
0
0

Hi Jon-Paul,

 

I've thought about doing that.  This is my forth instance so far. I started playing with Hana in early 2013.  The first instance I created worked pretty well. I was able to add about ten other developers on it.  The more recent instances don't seem to be reliable and I keep creating new ones whenever there's a new release to try and stabilize it.

 

With this specific instance, I was unable to login with the SYSTEM user id and the password I'd assigned when I created it.  The next day it magically started working.  Now I can't connect with Hana Studio at all due to "Invalid credentials" with the SYSTEM user id.  I can SSH into the server and I can connect with FileZillla but not with Hana Studio.

 

I guess I wanted to figure out how to fix the problem rather than just create a new instance but you're right, that's probably the quickest way to fix it at this point.

 

Are other people having issues keeping Hana on AWS running? Would it be better to use a different cloud provider?

 

Thanks for the help,

Re: I've got a new SAP 1.72 instance on AWS that's not working at all.

$
0
0

Hi Joe,

 

My personal experience is that latest versions of Hana have proved very reliable, especially since the introduction of the native repository with 7.x.  I must state that due to my own requirements I have always gone the new "clean" instance route rather than upgraded.  Before m2.4xlarge became mandatory with rev.72 for quite some time I chose this sizing over the smaller m2.2xlarge.

 

 

For me AWS is a reliable and economic provider - using spot requests with AMI's as daily backup.   On occasion have I been unable to ping or login (5 times over 100 instance launches?) - simple matter of killing the current spot instance and recreating.

Re: HANA Version for SAP B1

$
0
0

Dear All;

 

I checked with SAP, and so far SAP B1 is supporting HANA SPS06, but soon they will start supporting HANA SPS07.

 

Best Regards

~Amal Aloun


Re: SAP Hana Studio release 70 issues

$
0
0

Issue with activating HDBDD due to "invalid view"

 

Problem experienced in V1.7.70 and now in V1.7.72

 

Made a change to a HDBDD (added extra column to entity).

 

 

Failure upon activation of .HDBDD, complaining about xdodata service as it consumes what is regarding as an invalid view.

 

 

Nothing wrong with the view - validates fine, simple change of semantic description (add space) and reactivate confirms calculation view valid.

 

 

In order to resolve:

 

  • Delete both the calculation view design time model and xsodata
  • Synchronise with repository
  • Activate the .HDBDD
  • Restore the calculation view and xsodata

 

 

Slightly painful and instills a fear of making changes to the .HDBDD - not a pleasant developer experience now all my "eggs" in one basket to centralise definition within a semantically rich model.

 

hdbdd activation 1.JPG

launch Appsite in browser failed missing file

Re: Accessing SHINE demo

$
0
0

Anjali Chimnani wrote:

 

Hi DineshChakkravarthi,

You would need packageprivilege on shine Package (sap.hana.epm), object privilege on schema (sap_hana_epm) and application privilege (sap.hana.democontent.epm.admin).

You would also need UIS privileges to view UIS content as Role SITE_USER and application Privilege AppsiteAccessAll.

 

Regards,

Anjali.

Why bother getting into the individual privileges? There are roles provided as part of the SHINE content and documented in the online help which is already linked to in this thread.  You should really just assign one of the two provided roles.

Re: SELECT TOP query in HANA

$
0
0

Hi Yash,

 

As per the HANA SQL syntax supported case is

<select_clause> ::= SELECT [TOP <unsigned_integer>] [ ALL | DISTINCT ]

<select_list>

 

After Top only an unsigned intger is expected and cannot handle an <expression> like in your example.

 

Hope this is useful.

 

Best Regards,

Ranjit

Re: SELECT TOP query in HANA

$
0
0

Hi Ranjit,

 

Thanks for the suggestion. Let me pass an integer value form my code to execute the same.

 

Regards,

Yash

Viewing all 9165 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>