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

HANA Rev 68 not available

$
0
0

Hello all,

 

I am cuurently running SAP HANA Developer edition Revision 68.

HANAstudio_rev.PNG

I have HANA studio with revision 60.

 

sap_hana_studio_rev.PNG

 

I read in several blogs that the HANA revision and stuidio version has to be the same. But I do not find HANA Revision 68 available for download on service market place. Can anyone tell me where else I can find it'?

 

Thanks

Mesh


Virtual infoprovider better than Transient infoproviders BW on HANA

$
0
0


Hi,

 

I have to choose between Transient infoproviders and Virtual infoproviders for consuming the HANA models.

 

After readingsome blogs i get a feeling that Virtual infoprovider is a better option as it is said to be more stable.

 

Can someone please let me know when should we go for Transient infoproviders?

 

Best regards,

Sidharth Mishra

UI Integration Services Issue

$
0
0

Hi

 

I am following Thomas' tutorial and in Week 6 Session 2 UI Integration Services I have an issue. Launching the URL prompts me for my user and password but then issues an error.

 

In Chrome tools it tells me

workshop%7Csessiona%7C01%7Cuis%7Cappsite1?invalidator=1389561528691

/sap/hana/uis/server/rest/v1/sites

 

500

Internal Server Error

 

 

consumptions.min.js?ts=${build.timestamp}:2

Script

 

I am running Rev 68 client / studio and SP6 Hana on AWS.

 

Has anyone else had similar issues

 

Thanks

Cliff

AWS Billing Alerts

$
0
0

This is a little off topic but most of us learning Hana are using AWS. I recently inadvertently left my server on for a couple of weeks. I thought I had a billing alert and so was shocked by a large bill. Looking at AWS billing alerts it appears they operate only from US East. If you are running out of another region (e.g. Asia Pacific Sydney) than you can't set an alert for your region, and an alert set on US East will not trigger for your instance. Has anyone else found this? Does anyone know how to set an alert for a different region?

 

Thanks

Cliff

Could not get last 3 month's data

$
0
0

Hi,

 

"

d.MONTH IN (EXTRACT_MONTH(CURRENT_DATE) - 2,EXTRACT_MONTH(CURRENT_DATE) - 1,EXTRACT_MONTH(CURRENT_DATE) + 0)

"

The above code now gives only current month's data.

We have 3 Months calculation view, where it shows 3 month's data(including the current month).  It was showing expected data since December month.  Since, it's the New year, it's not picking up last years' last 2 Months data and shows only current Month's data.

 

How could I correct my code here?  Kindly suggest.

 

Regards,

Antony Jerald.

An internal error occurred during: "Searching for markers".Java heap space

$
0
0

When trying to import data with the help of the file hdbti, I get the following error:

 

An internal error occurred during: "Searching for markers".Java heap space

Note that the table and the path are correct and the file is about 5 mb. (I have already imported bigger files)

 

Could someone help me with this problem?

High "Trigger Asynchronous read/write ratio's" Alerts

$
0
0

Dear community,

 

My HANA environment is throwing alerts at me like:

 

Volume 4 (saphana:30007, type DATA, path /hana/data/mnt00001/hdb00004/) has trigger asynchronous read ratio 88%.

 

The SAP Note I found tells me that I should tell my hardware vendor who tells me to ask SAP. Does anyone know what could be the cause of this kind of behavior?

 

Kind regards,

 

Fred

Unable To Create Partitioned table Acrross Multiple HANA instances

$
0
0

Hi Experts ,

I am trying to crerate a partitioned table across multiple hana instances(single table spread across different hana instances).

I am using below SQL for the same .

 

CREATECOLUMNTABLE"SYSTEM"."STOCK_TEST"

(

EXCHANGE VARCHAR(10),

STOCK VARCHAR(10),

DATEDATE,

PRICEOPEN DECIMAL(15,2),

PRICEHIGH DECIMAL(15,2),

PRICELOW DECIMAL(15,2),

PRICECLOSED DECIMAL(15,2),

STOCKVOLUME DECIMAL(15,0),

PRICECLOSEDADJ DECIMAL(15,2),

PRIMARYKEY("EXCHANGE","STOCK","DATE")

)

PARTITIONBY RANGE (year(DATE))

(

PARTITION 1970<=VALUES<1975,

PARTITION 1975<=VALUES<1980,

PARTITION 1980<=VALUES<1985,

PARTITION 1985<=VALUES<1990,

PARTITION 1990<=VALUES<1995,

PARTITION 1995<=VALUES<2000,

PARTITION 2000<=VALUES<2005,

PARTITION 2005<=VALUES<2010,

PARTITION OTHERS

)

AT LOCATION ('uvo1hx9jjjhi3s53mw4.vm.cld.sr:30015')


But It's giving the error message as below.


"SAP DBTech JDBC: [2048]: column store error: invalid service location;location=uvo1hx9jjjhi3s53mw4.vm.cld.sr:30015,object=SYSTEM:STOCK_TESTen  "



Looks like some syntactical error at "AT LOCATION ('uvo1hx9jjjhi3s53mw4.vm.cld.sr:30015')".

If I removes the <at_location> tag rest of the query runs fine i.e I am able to create partitioned table in the same instance but problem occurs when I tries to split or partitionit across multiple instances.

I tried all possible combination like changing the quotes,putting {} braces instead of () but nothing worked..

Can anybody help me out in getting correct syntax..

Thanks in addvance...


Best Regards,

Gokul


long Savepoint durations, high log latency or low throughput

$
0
0

Hi All

 

How do we find out long Savepoint durations, high log latency or low throughput in SAP HANA, would anyone please advice.

 

Thank you

Jonu

print a statement in console????

$
0
0

How can we print a message in console in sap hana.

I have found something called  ins_msg_proc(:message), but it is not working ---> error:feature not supported

this function is present in document of sql_script_reference.

Scalar type not allowed : SQLSCRIPT

$
0
0

Hello,

 

The following is my SQLscript.

 

Unbenannt.PNG

 

WHen I ruin the following it gives following error :

 

DescriptionResourcePathLocationType
Error creating procedure;scalar type is not allowed: line 25 col 39 (at pos 1037) at ptime/query/checker/check_proc.cc:383claims.procedure/model1Line25 Position39Repository Activation Problem

 

Could anyone help me fix the issue. Thanks

Subtract timestamps, result with fractions of seconds

$
0
0

Dear all,

 

my question is pretty simple. I want to find out the interval between two timestamps using an SQL query.

 

As there seems to be no interval datatype and there is no subtraction operator i tried to find some function for it. I found the seconds_between function but it only returns whole seconds. I'm also interested in the fractions of seconds. As they are stored in the timestamp i guess it has to be possible to access them.

 

Thanks in advance for your help.

 

Best,

Michael

Call proceedure results a null value

$
0
0

Hello everyone,

 

I have written a simple calculation procedure.

 

CREATE PROCEDURE _SYS_BIC.calculation(IN value1 decimal(15,4), IN value2 DECIMAL(15,4), OUT result_value decimal(20,4))

  LANGUAGE SQLSCRIPT

  SQL SECURITY INVOKER

  READS SQL DATA AS

BEGIN

 

declare a decimal(15,4);

declare b decimal(15,4);

declare result_value decimal(20,4);

 

a := :value1;

b := :value2;

 

result_value := (:b)/(:a/100);

 

END;

 

And I run the procedure with the following statement:

 

call "_SYS_BIC"."claims.dev_test/calculation" (value1 => 10,  value2 => 2, result_value => (?))


I get the result as "?".


For me everything seems to be fine. Can anyone suggest me the cause for the error.


Thanks

How to do a WHILE DO loop on data from a SQL Calculation View

$
0
0

I would like to do a WHILE DO loop, I am pulling columns from a SQL Calculation View to Do the iteration. I want to start with a value AD = 2 and iterate until a condition is met. In addition to the columns I pull in, I also need to calculate 6 new columns (AT1, AU, AE, X, AV, and V). These columns could be combined into one but I have been keeping them separate to keep the final formula for V shorter.  These values will change as a function of AD until the condition for V is met. I can pull in the columns from my SQL Calculation View, I just am not able to iterate.
My code looks something this (I have simplified the formulas some to make it shorter) but it gives you an idea what I am trying to do.
DECLARE AD DOUBLE := 2;
WHILE :V > 0 DO
SELECT MATNR, WERKS, YEAR1, AVG_QUANTITY, STDDEV_QUANTITY,
AVG_ACTUAL, STDDEV_ACTUAL, STDDEV_YIELD, ZSTCT, LOSFX,
ZSTCC, LGRAD, VERPR, LKOST, ITERATION, DEMAND_TERM, DEMAND_TERM_SQD,
SUPPLY_TERM, SUPPLY_TERM_SQD, YIELD_TERM, YIELD_TERM_SQD,
SUM_OF_SQUARES, STDDEV_DEMAND_LT,
AT1 := ((:AD)/(STDDEV_DEMAND_LT)),
AV := (SQRT(20/POWER( :AT1 ,2))),
AU := ((5.6211054 * :AV) + (-3.883683 * (POWER(:AV,2)))),
AE := (STDDEV_DEMAND_LT)* :AU,
X := :AE/(52*(AVG_QUANTITY)),
V := ((:AD+ITERATION)-:AD)*((1-ZSTCT)+(ZSTCC* :X))
FROM "_SYS_BIC"."sts/SQLEPQ1";
IF :V < 0 THEN
INSERT INTO "_SYS_BIC"."sts/SQLEPQ2" VALUES (:AD);
END IF;
AD := :AD+ITERATION;
END WHILE;
I keep getting an error "Internal deployment of object failed;Repository: Encountered an error in repository runtime extension;Internal Error:Deploy Calculation View: SQL: sql syntax error: incorrect syntax near "DECLARE": line 8 col 1" . I have tried many ways and get errors around the DECLARE or WHILE.
If there is a better way - I am open

Thanks

 

ABAP Development using HANA Studio

$
0
0

Hi All,

 

I am getting the following error message when trying to add a project in SAP HANA Studio for ABAP Development:

 

User USER26 is not authorized to access system E89  via ABAP in Eclipse (The system does not support Eclipse based ABAP Development Tools)

 

Could anyone please let me know how to resolve this issue.

 

Goutham


CE Join on columns with different names

$
0
0

Hello All,

 

I have seen several examples to write CE functions. BUt, I have not come across any example where a join is performed on columns with different name.

 

For example:

 

With SQL:

 

select    T1.col1, T1.col2, T1.col3 ,  T2.col4, T2.col5, T2.col6

 

from      table1  T1

 

inner join table2 T2

 

on  T1.col3 = T2.col7

 

WITH CE functions:

 

table1 = CE_COLUMN_TABLE("SCHEMA"."TABLE1",["col1","col2","col3"]);

 

table2 = CE_COLUMN_TABLE("SCHEMA"."TABLE2",["col4","col5","col6","col7"]);

 

var_out = CE_JOIN(:table1,:table2,[??],[])

 

Can anyone please help me in completing the join statement.

 

Thanks

Mesh

Long login to SAP B1 releated to HANA issue.

$
0
0

Dear all,

 

I have strange issue with SAP B1 for HANA and with HANA itself.

When users are logging to SAP B1 it takes about 2 minutes to log in, durning that time SAP B1 client hangs, goes gey and stops responding for that time.
After successfully login SAP B1 works fine.

When I restart HANA engine (./HDB stop,start) for about 5 minutes it is ok – login to SAP B1 take a second.

And then, after 5 minutes of working HANA, login to SAP B1 takes 2 minutes again…

 

Is it releated to HANA statisticsserver somehow? Log volume (hdb00003 folder) for this service is groving 30 GB big in one month.

 

What can be the issue? Where to check ?


Regards

GN

Help requested re: LCM Connection Error

$
0
0

Hi HANA dev community, I'm hoping one of you kind folks might be able to shed some insight on an issue I am encountering. After installing LCM onto HANA through the manual installation steps, I tried to run LCM on HANA studio. However I am encountering the following error:

 

 


 

Error Message: Execution of 'Deploys SAP Host Agent configurations using sidadm credentials' failed.
Detailed Message: Could not deploy Host Agent configurations [/usr/sap/hlm_bootstraps/RR4/HLM/operations.d/update-sda-v2.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/install-newdb-studio.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/find-java-home-v2.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/newdb-studio-repository-postupdate-v2.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/install-newdb-studio-repository-v2.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/exists-path.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/uninstall-newdb-client-v2.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/uninstall-newdb-studio-repository.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/detect-sda-v2.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/update-hdbstudio-deliveryunit.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/update-newdb-studio-repository.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/detect-sedm.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/detect-newdb-client.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/change-newdb-client-installation-path-v2.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/find-java-home.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/detect-load-controller-v2.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/install-newdb-studio-v2.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/update-load-controller.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/update-newdb-server.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/detect-hostagent-v2.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/uninstall-newdb-studio-v2.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/exists-path-v2.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/update-newdb-studio-repository-v2.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/detect-newdb-installation-number-v2.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/detect-newdb-installation-number.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/gen-hdbstudio-deliveryunit.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/change-newdb-studio-repository-installation-path-v2.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/update-hdb-plugin.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/uninstall-newdb-studio-repository-v2.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/detect-newdb-server.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/find-hdbeuspack.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/update-hdb-plugin-v2.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/update-load-controller-v2.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/uninstall-newdb-studio.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/install-newdb-client.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/detect-newdb-studio.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/chmod-file.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/detect-hdb-plugin.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/install-newdb-studio-repository.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/uninstall-newdb-client.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/detect-hostagent.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/find-java-executable-v2.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/detect-hdb-plugin-v2.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/updatehostagent.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/detect-newdb-studio-v2.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/newdb-studio-repository-postupdate.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/updatehostagent-v2.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/detect-newdb-client-v2.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/detect-load-controller.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/update-newdb-server-v2.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/install-newdb-client-v2.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/update-newdb-client-v2.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/detect-newdb-server-v2.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/find-java-executable.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/detect-sedm-v2.conf, /usr/sap/hlm_bootstraps/RR4/HLM/operations.d/update-newdb-client.conf] on host cavanvmhanan with user name rr4adm and signature /usr/sap/hlm_bootstraps/RR4/HLM/SIGNATURE.SMF.
Verification of manifest /usr/sap/hostctrl/work/SIGNATURE.SMF failed.
Help: http://help.sap.com/hana

 

 

I have also attached a screenshot of the error.

 

Thanks in advance!

Customized Date format using DatePicker

$
0
0

Hi Team,

 

Please tell me how to declare customized date like MM/yy using DatePicker element.

Reply me any sample working code to do so.

 

Thanks,

Nagender Naroju.

Calculated column using timestamp

$
0
0

Hi Experts,

 

I have a table which contain a column Hire_Date and joining_date.

I need to create a calculated column which contain the values in years of that particular employee.

So that i can count in tenure in the company.

 

Thanks in advance .

 

Regards

 

Ashutosh

Viewing all 6412 articles
Browse latest View live


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