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

SPS 11 Upgrade :Rounding off issue ,Value mismatching with Rev83

$
0
0

Hi Experts,

I am in need of priority help here :

 

As per SAP w.e.f SPS 9  the division function for  “ Integer/Integer“  has a output now “decimal (11,6)”  .Since we are upgrading from Rev 83 to Rev111 .We are having mismatches in our values.Few sample difference are shown as below :

 

Pre Upgrade value : 124

Post Upgrade value : 124.00

 

Pre Upgrade Value : 130.23

Post Upgrade value :130.24

 

These value are huge as UoM is MUSD for many of our reports.


We have no easy means right now to find the impacted objects as they look to us huge .

We also want to know is there any configuration setting which we can change to nullify this change.

 

We are sure to get replies and solutions as many of our experts must already be in SPS9 and while upgrading from lower version would have encountered such issue.Request you all to please help !.

 

Thanks

Balwant


Hana Views (Loop?)

$
0
0

Hi,

 

I want to create a view to show some order data (VBAK) and depends on the Position of the Orders I want to calculate a column.

 

Example:

 

VBELNPOSNRZCOLUMN
10001
000010
X
10001
000020
Y
10001
000030
Y
10002
000010
X

 

The result should be

 

VBELNZCALCULATEDCOLUMN
10001Z
10002X

 

The ZCALCULATEDCOLUMN should be 'Z', if the positions are mixed with 'X' and Y'. If all positions have just 'X', The ZCALCULATEDCOLUMN

should be 'X' and if all positions are 'Y', the calculated column should be 'Y'.

 

Is it possible to solve this with an graphical analytics or calculation view? Do I have to use a procedure to solve this? Can you give me an example to solve this? In ABAP I just would LOOP the orders and calculate the column with IF-Conditions. But how to do this with HANA?

 

Thanks

Frank

How to use the SAP SLT to replicate the data from my sql database?

$
0
0

Dears,

 

    Now we want to load the data from my sql database using SLT, but there is no my-sql type in the source system configuration. Is it possible to configure the connection??

HANA Client Supported operating Systems for kerberos Authentication

$
0
0

Hi All,

 

We have a HANA server with kerberos enabled and also installed HANA client in Linux and tested the kerbrose authentication. Is there any way to know which all client platforms supported kerbrose authentication.

 

SAP Supports Below Client platforms to connect to HANA.

 

AIX 

HP-UX

● Linux

● Microsoft Windows

● Solaris

 

Now the question is all the above client platforms supports Kerberos authentication? I dont know where to check the PAM for the kerb? Could anyone please help me?

 

Thanks,

Rajesh

Calculation View with Script - Validation Error

$
0
0

Dear All,

 

I am a starter with the Calculation views based on script.

In the projection, I want to introduce a calculated column 'PTYPE' with a constant value 'MTD'.

But I am getting an error during the validation.


The CV columns also contains this 'PTYPE' with same data type.


Any hint is well appreciated.

 

CV Script

 

 

BEGIN

 

 

SQL_MTD_A = CE_OLAP_VIEW ( "_SYS_BIC"."system-local.bw.bw2hana/Q_SC2S_1" , [ "0FISCPER", "PLANT", "D_QI", "UNIT", "COSTCTR", "SEG", "SUB", "KPI_VAL1", "KPI_VAL2"] );

 

/* MTD data */

 

SQL_MTD = CE_PROJECTION (:SQL_MTD_A, [ "0FISCPER", "PLANT", "D_QI", "UNIT", "COSTCTR", "SEG", "SUB", CE_CALC('MTD', VARCHAR(3) ) AS "PTYPE", "KPI_VAL1" AS "VALUE"], ' "SEG" = ''7'' AND "SUB" = ''7700'' ');

 

 

var_out = CE_PROJECTION ( :SQL_MTD);

 

 

END

 

 

Validation Error

 

- calculationNode (SQL_MTD) -> attributes -> attribute (PTYPE) -> expression: Attribute 'mtd' is missing in node SQL_MTD.

 

 

Thanks,

Srini

Add system/host name is unknown

$
0
0

Hi All,

I was adding a new system but could not locate host name I have installed trial HANA cloud platform cockpit. By host name I understood it is where the HANA DB resides. Below screens for your reference I need this to move onto further steps in development

 

Thanks in advance,

Kris

11.PNG22.PNG

SAP HANA VORA DEVELOPER EDITION

$
0
0

Hi Team,

 

i installed vora developer edition in AWS, now i am following the academy videos. While configuring sap.hana.spark.controller-1.5.0-1.noarch.rpm  spark controller i could find the rpm any help how to proceed further is appreciated.

 

Thanks

Aviansh Yeluri

How to check the xs apps creator

$
0
0

On SPS11 XS, when type 'xs app APP', I see the APP's info. But I want to know who is the person that did the 'xs deploy' or 'xs push' which created the APP, is there a way to find out?


xsodata - expose multiple tables in the same service

$
0
0

Hi,

 

  Is it possible to expose data from multiple tables in the same service?

 

   e.g. let's say we have table_A and table_B  - may or may not be related and we want the caller to see data from both tables listed one after another (e.g. 4 rows of table_A, then 1 row of table_B).

SAP HANA Platform vs. Enterprise edition

$
0
0

Hello everyone,

I have two questions.

One, how do I find out which version of HANA (Platform or Enterprise) is installed on my host;

And two, whether the Enterprise edition is absolutely mandatory when you require to use SLT or whether you can do it using HANA's Platform Edition.

 

Kind Regards

 

Angelo

Need Details about HANA Certification

$
0
0

Hi,

 

Now, I am currently working with SAP BI.  I would like to take up SAP HANA Certification.  Before that, I need some clarifications.  Please share certification details and material and training centre ( Chennai ) details. 

 

Its very helpful to me.

 

Thanks & Regards,

Baskaran.

Importing time-stamp data into HANA

$
0
0

Hi,

 

I have a problem to import data to hana. I want to import data from a text file into a table. In this file, there is a column called "issued". It contains the issue data.  When the data is imported, by default the type of this column is NVARCHAR. If I leave it like that, then I will have problem later in Predictive Analytics because it needs a column with timestamp type. So, I have to changed the type of this column to timestamp while importing the data. If I do so, this error appears:

 

Message :

    Batch from record 2 to 893 failed: Timestamp format must be yyyy-mm-dd hh:mm:ss[.fffffffff]: Timestamp format must be yyyy-mm-dd hh:mm:ss[.fffffffff]

java.lang.IllegalArgumentException: Timestamp format must be yyyy-mm-dd hh:mm:ss[.fffffffff]

  

The format of timestamp in the source column is yymmdd hh:mm:ss, like this : 940619 00:00:00. I know there are different formats to show a timestamp. But if this format is wrong, why it is like this in the original file? and how can I change the format of time stamp?

 

If you have any idea, it would be great if you tell me.

 

Best regards,

Rasoul

NVARCHAR error with ODBC

$
0
0

Hi all,

I'm accessing HANA from a Perl script using DBI, DBD::ODBC and hdbodbc. When a select ought to return non-ASCII characters, it raises the error

 

DBD::ODBC::st fetchrow_array failed: [unixODBC][SAP AG][LIBODBCHDB SO][HDBODBC] General error;-10427 Conversion of parameter/column (9) from data type NVARCHAR to ASCII failed (SQL-HY000)

 

AFAICT, the error is in the HDB ODBC driver, because the DBD::ODBC can handle unicode. Is there a workaround for this?

 

-- Micha

Alternate for lag function in Saphana

$
0
0

Same SQL query has been returning multiple results from a table due to LAG function used. Can anyone suggest me the alternate for LAG function in Sap hana to find the previous value for every record in data set?

HANA View data preview converts measures in to string type and shows count instead of applied function(SUM , MIN , MAx etc)

$
0
0

Hi

 

I am using HANA studio Version: 2.1.4, but I saw one thing different in DATA preview analyse tab.

As we have two areas in DATA PREVIEW analyses tab,


1st Dimensions

2nd Measures

 

In the previous version, measure area always showed  the measures with same data type as given in the View design.

But in this version all measure types are converted to string data type and when we drag into the measure display area it shows the count, not the function applied(SUM).

 

 

Regards


Insert into select Trigger---> Not supported in SP9

$
0
0

Hi,

 

My requirement is to insert records from TARGET table to SAMPLE table with current time stamp value.

 

I created trigger and tried using insert into select but it says feature is not supported.What i want to do here is once user inserts any record in TARGET table, it should insert the same record in SAMPLE table also in column 'B' with current timestamp value in column 'Time_Stamp'.

 

I tried the same using procedure,but getting error.


insert into "SAMPLE" values ( current_timestamp,"B")

select "A" from "TARGET" ( giving error)


But I don't think creating procedure is a good idea here, since we need to do it manually so better we need to do with the help of a trigger

but I am not getting how to do the same.


Any inputs please?


 

I have tables as below:

 

TARGET:

 

A

 

1

2

3

4

5

 

 

 

SAMPLE

 

Time_stamp     B

 

 

Br

Sumeet

setting up result caching in HANA 82

$
0
0

Hi Lars and other HANA experts

 

(this is taking off from this thread: Re: Does HANA have a result cache)

 

I turned on indexserver->cache with

resultcache_enabled = yes

resultcache_maximum_value_size_in_bytes=100,000,000

resultcache_minimum_query_execution_time_in_milliseconds=100

 

After this I can see cache getting populated in M_CACHES. However, the hit count is always 0.

 

In M_CACHE_ENTRIES, I see numerous rows with my query (CALL ...proc name...). The rows have identical memory_size which is expected because they are executing identical queries. But no hits. Why is that?

 

I am using XSJS (on Rev 82) to execute a stored procedure from a prepared statement. The bound input parameters are (1) a local temp table which is filled with identical values in every call (2) several nvarchar. The system has very minimal load at time of testing.

 

Regards

Dinesh

Analytics package and algorithm for ecommerce in HANA

$
0
0

Hi All,

 

In HANA from what I know we have many inbuilt package containing specific algorithms and functions like AFL and PAL.

 

 

Similar to this do we something specific to ecommerce analytics available as a seperate package.

 

 

If it is directly not available then which algorithms are commonly used in ecommerce analytics and where are they available in SAP HANA.

 

 

Regards,

Prateek

HANA DB connection not stable, System Error : Socket Closed

$
0
0

Dear All,

 

Today i get error when connect from SAP B1 Client to HANA System, the company list not show.

I try to check my SLD, but i can't login, the error message say "Please confirm that SLD is started!".

i follow the solution from this thread http://scn.sap.com/thread/3432134

but when reinstall the Server Tools, i get this message :

28-03-2016 11-21-37.jpg

 

And then i try to connect from HANA Studio, but i get this error ( picture )

28-03-2016 10-29-01.jpg

sometime when i'm refresh the connection button, the connection is good. but just a second, the connection already lost again.

 

any suggestion for this error?

 

Thanks before,

Herry

How to calculate difference between two Date and Time fields in SAP HANA Modeling?

$
0
0

Hi,

 

I need to calculate the difference between Two Date and Time fields using SQL Script in SAP HANA  or Information Models ( Views) in SAP HANA Modeling using HANA Modeling Wizard.

 

Suppose i have Start Date - 01.01.2014 & Start Time - 10:10:10 and End Date - 01.01.2015 & End Time - 15:10:10.

 

Can anyone suggest me how to calculate the difference between the Date & Times in the above example by using either SQL Script or HANA Modeling wizard.

 

Thanks in advance.

 

Regards,

Ramana.

Viewing all 6412 articles
Browse latest View live


Latest Images

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