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

Re: cordova + iPad + oData

$
0
0

I did it. The XCode iPad emulator doesn't work properly with this kind of ajax call.

Same code, a real iPad connected and everything is ok.


Restoring web ide "debugger" pane after closing it

$
0
0

I am using the web ide described in HANA XS development with the SPS07 Web IDE (focus on debugging) was working great.

The screen had a right-hand pane (as shown in that link) with the debugger options (stack, variables, etc).

 

At the right end of the row of buttons in that pane is "change layout".   I pressed it - and the debugger pane disappeared.

How do I get the debugger pane back?

Re: SAP HANA Index server crashed due to Memory issue

$
0
0

We are facing the same issue. We have REV48 on AWS and index server crashes on restart.

 

After analyzing Crash logs, looks like Max Allocation Limit and cached sum of allocation limits are very close.

 

How can we resolve this. We may be fine to drop some of the old records but even to do that need to have system running once.

 

Any Suggestions

Could not create Java Virtual Machine

$
0
0

Till last evening everything was fine.

Today morning when I want to open HANA Studio I get error message

 

 

Java Virtual Machine Launcher

Error: Could not create Java Virtual Machine.

 

What is the solution? I checked my system Java version and it seems to be current.


Regards

Sathish

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

$
0
0

The same issue was solved when I put .xshttpdest file and .xsjs file in the same package (technically in the same folder)

Re: Bitwise operators in SQL!!?

$
0
0

Are bitwise operators on the roadmap?

 

E.g. calculating a Voice Pick Code in a Stored Procedure for printing an item label without them is next to impossible.

Re: when i try to consume Odata service exposed in hana, getting SAP hana developer account page source code as response in hana trail version

$
0
0

Hello Ravi,

 

I see a perfectly normal oData service here...

 

I assume you do not see this. Can you paste the html source code you get.

 

I know if there is an authorization issue you get a SAP ID service "not authorized" message which is an HTML.

 

Warm regards

aadi

odata.JPG

Re: when i try to consume Odata service exposed in hana, getting SAP hana developer account page source code as response in hana trail version

$
0
0

Hi Ravi,

Are you able to execute and see the data in your browser ?

(please clear your browser cache and try )

Sreehari V


Re: How to connect to a non-sap system in HCI?

$
0
0

Hi Kurt -

 

HCI has a SOAP adapter which you can use to expose an interface as a Web Service. You could import the WSDL file for the Web Service into HCI and configure SOAP adapter for this specific scenario.

 

Regards,

Sameej

Smart Data Access - Microsoft SQL Driver

$
0
0

Hi All,

 

I'am currently trying to connect a Microsoft SQL Database to SAP HANA via Smart Data Access.

For that purpose, there is a database driver installation guide in http://service.sap.com/sap/support/notes/1868702

Unfortunately, it is not updated for SPS7, so there is no guide for the Microsoft SQL Driver.

So I installed the driver on my own and now I am stuck with this error:

[SAP][ODBC Driver Manager] Unable to load driver libmsodbcsql-11.0.so.2260.0

The file exists and I already have set LD_LIBRARY_PATH to the right value in customer.sh

 

Has anyone experience with connecting MS SQL to HANA and can help me?

Is there some kind of debug information I can use? The indexserver trace contains just the error I mentioned.

 

Thanks in advance and Regards,

Steve

Re: Smart Data Access - Microsoft SQL Driver

Getting error for Analytic Views data preview on HANA Studio

$
0
0

Hello

I have multiple Analytic Views and when trying for data preview, those all are throwing error as "Object Not active or broken" (attached below). I have activated these objects 5-6 times and got successful message but unable to data preview.

 

Other persons in team and from different machine using my user id can run data preview successfully, so something problem with my PC. Already I have uninstalled - restart PC and reinstall 3 times for HANA Studio and HANA Client software but problem not solved. During re-installation, I found its getting my previous settings like system details etc. already populated. Even I installed in different folders, however problem not solved and system details automatically received on next start.

 

Please guide me to solve this problem

 

Below error coming while trying for data preview.

 

 

HANA_Error1.jpg

Thanks

Suman

SQLScript: ARRAY_AGG with a string column

$
0
0

Hi all,

I'm trying to convert a table column of type NVARCHAR to an array inside a stored procedure (just as a test):

 

PROCEDURE "..."."...::test" (

  out var_out "...::simple"

  )

  LANGUAGE SQLSCRIPT

  SQL SECURITY INVOKER

  READS SQL DATA AS

BEGIN

 

  DECLARE loc NVARCHAR(20) ARRAY;

  DECLARE prod NVARCHAR(40) ARRAY;

 

 

  tab = select "LOCATIONNUMBER" as LOCATION, "PRODUCTNUMBER" as PRODUCT from "..."."ZSCP_LOCPROD";

  prod := ARRAY_AGG(:tab.PRODUCT);

  loc := ARRAY_AGG(:tab.LOCATION);

 

  var_out = unnest(:loc, :prod) as("LOCATION", "PRODUCT");

 

END;

 

When I try to activate the procedure I get the error message:

"Could not create catalog object: expression is of wrong type; Table column must be of same type than resulting array: line 16 col 19 (at pos 498)",

referring to the first ARRAY_AGG call. Does anyone have an idea what I am doing wrong?

 

 

I have already tried the same thing using other data types, like integers and dates, and it worked perfectly. Now I can't seem to be able to guess the correct syntax for string columns - unfortunately most of the examples in the SQLScript reference are with integer arrays, the only one using a VARCHAR data type is in the UNNEST section...

 

 

 

The table type of the output parameter is:

table.columns = [

   {name = "LOCATION"; sqlType = NVARCHAR; nullable = false; length = 20;},

   {name = "PRODUCT"; sqlType = NVARCHAR; nullable = false; length = 40;}

  ];

 

And the sql generating the queried table:

CREATE COLUMN TABLE "..."."ZSCP_LOCPROD" (

  "MANDT" NVARCHAR(3) DEFAULT '000' NOT NULL ,

  "LOCATIONNUMBER" NVARCHAR(20) DEFAULT '' NOT NULL ,

  "PRODUCTNUMBER" NVARCHAR(40) DEFAULT '' NOT NULL ,

  "PPLANNER" NVARCHAR(3) DEFAULT '' NOT NULL ,

  "SPLANNER" NVARCHAR(3) DEFAULT '' NOT NULL ,

  "USE" NVARCHAR(50),

  PRIMARY KEY ("MANDT",

  "LOCATIONNUMBER",

  "PRODUCTNUMBER"))

Re: Smart Data Access - Microsoft SQL Driver

$
0
0

Hi Henrique,

 

thanks for the link to the video series.

I did not create any entry in odbc.ini, the first video shows how to do that properly.

Now everything works.

 

Regards,

Steve

Re: How to connect to a non-sap system in HCI?

$
0
0

Hello Kurt,

 

HCI is available as a platform as part of the HANA Cloud Platform edition. With the platform edition you can develop your own interfaces within HCI. HCI has SOAP, FTP, IDOC and a succesfactors adapter which you can make use of.

It is possible to import webservice definitions and create the custom interface with your own mapping.

 

Best regards,

Fons


Re: when i try to consume Odata service exposed in hana, getting SAP hana developer account page source code as response in hana trail version

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

$
0
0

I imported content from one SAP HANA system to another.

 

Due to some issues, I wanted to delete the imported objects.

 

I first deleted the Calculation view and it was successful.It is no longer visible in HANA Studio.

 

Next I am trying to delete the Analytic view used in CV. But it is failing with dependecy error.

 

The job log is as follows:

  • Deletion of object PACKAGE_NAME.AN_VIEW_NAME
  • One or more objects are dependent upon this object
    • Calculation View: PACKAGE_NAME.CV_CALCULATION_VIEW

 

 

If I try "Where Used" for ANALYTICS View, it return object count as Zero.

 

So I can understand there is some corruption in HANA system. But how do I fix the issue?

 

Regards,

Nikhil

Accessing SHINE demo

$
0
0

Hi experts,

 

I tried to open shine demo in my browser, i got the messages as like "Request execution failed due to missing privileges". I can realise that some roles needs to be assigned for me. Which role i should have to execute this.

 

 

regards

Dinesh.

Re: Accessing SHINE demo

Re: 'Function in SAP HANA is currently not possible' error message at KE91 transaction

$
0
0

Hi Kenny,

Sorry for my late reply

Here is the snapshot of SM21 system log

18-04-2014 04-07-53 PM.jpg

 

I realized, this join path 'JP01' error msg I am getting even when running column views at HANA SQL editor.

 

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

 

Actually, All these Column Views and its underlying tables are got created from the given RDS solution only. Not sure why is this errorgetting triggered.IS this kind of bug in RDS solution?!!

 

 

 

Regards
Lokesh

Viewing all 9165 articles
Browse latest View live


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