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

INPUT PARAMETER - Default value as (*) (I.E. All values of the column) - Calculation view

$
0
0

Hi Friends,

 

Could you please  help me on the below scenario.

 

How to set Default value as (all values)  in  calculation view - input parameter.

 

My input parameter value  is optional. if i leave it blank  - system considers this as blank value and returns 0 result.

 

basically i need to fetch all the rows , if i leave the INPUT PARAMETER as blank.

 

Your thoughts on this - would be very helpful.

 

regards

Raaj


IF clause in Calculated column

$
0
0

Could someone please explain me the role of the Equal to operator in the below spinet.

 

if(isnull("MAXDATE"),

  longdate('1901-01-01'),

  longdate("MAXDATE")

   )=longdate('1901-01-01')

 

Regards,

Deba

Not able to preview data at projection node...

$
0
0

Hi All,

I am not able to preview data at each node of calculation view . I am able to preview data of calculation view but not at at the node level.

Its giving me error SAP DBTech[321] JDBC..Invalid view name.

Can anyone help me in this ...

 

Regards,

Nitin

SAP HANA Application Function Modeler: failed to create the part's control

$
0
0

Hi,

 

I would like to create new AFM in SAP HANA (SAP HANA 1.00.102, SAP HANA Studio 2.1.6).

 

I am using SAP Tutorial:

Tutorial - SAP HANA Administration Guide - SAP Library

 

After point 3 and 4 from the tutorial, AFM is created, but I got an error 'Failed to create the part's controls' (attached).

 

Any idea how to solve that?

SAP HANA SDI Setup Issue - Register Adapter

$
0
0

Hello,

 

While setting up Smart Data Integration in my system I was able to install the SDI agent and connect the HANA Server and do the agent registration as shown in the picture below:

 

 

SDI1.PNG

However when I wanted to register the adapter I was getting the following error:

 

SDI2.PNG

Any solution?

 

Regards,

Abhijeet

Calling scripted calc view from another scripted calc view with INPUT PARAMETERS

$
0
0

Hi All,

 

I am trying to call a scripted calculated view with INPUT PARAMETERS from another scripted calculated view and passing INPUT PARAMETER and having trouble activating it.

 

1. I am able to call the scripted calculated view with INPUT PARAMETERS from a Graphical Calculated view and able to pass INPUT PARAMETERS and I could do this on multiple level in other Graphical view.

 

2. When referring and calculation view with INPUT PARAMETERS the values are passed using PLACEHOLDER syntax in the FROM clause. So I tried the same when invoking the scripted calculation from another scripted calculation view and get and error"argument type mismatch: Only named parameter is supported for column view search" (It expects actual values)

 

I changed it different ways but no success. Attached is the sample work I did.

 

Two Questions:

1. Is it possible to call Graphical Calculated View from Scripted Calculated view with INPUT PARAMETERS?

2. Is it possible to call Scripted Calculated View from another Scripted Calculated View with INPUT PARAMETERS?

 

Any ideas?

 

Arthur.

SQL Debugging is not ready

$
0
0

Dear experts,

 

I am following Chaim Bendelac's excellent blog Developing with XS Advanced: A TinyWorld Tutorial.

 

However, executing the tinyworld:tinydb::createCountry SQL Procedure fails with a strange error message "Executing the SQL Statement is not valid...":

SQL Editor.png

Any idea what might cause this would be very much appreciated. My HANA system is version 1.00.121.00.1466466057.

 

However, I did not leave it there, but tried to debug the SQL Procedure. For this I gave my user the Debugger role:

Debugger.png

I also set the system parameters accordingly and restarted it to be sure that the changes got applied:

true.png

However, when trying to Toggle the Connection, I get this error message, that SQL Debugging is not ready. Could not connect SQL Debugging for Service...:

SQL Debugger.png

What am I missing?

 

Many thanks for any help in advance

 

Frank

ABAPADAPTER SDI: cannot get extractors

$
0
0

Hi,

 

I m trying to connect to my ERP on-premise using AbapAdapter through Smart Data Integration service.
I followed this video: SAP HANA Academy - SDI: ABAP Adapter [SPS 11] - YouTube

 

I can connect to the source and I can see abap tables but I have this for extractors:

 

 

2016-05-27_10h26_06.png

 

Anybody knows?

 

Thanks in advance


How to calculate years between two dates

$
0
0

I need to find a person's age.  Any suggestions on how to consider leap years in my calculation?

Thanks.

Issue with HANA Date Format

$
0
0

Hi,

   I am trying Develope UI5 application using SAP HANA Extended Application Services. I am facing an issue with date format. As of now i am using json odata model for connection.  i have created one XMl View through which user can Upload a . CSV File and after uploading it

Data is Inserting in the Hana DB Table Using Odata.But Iam Facing a issue with Date Format. in CSV Date Fornat is  MM/DD/YYYY . But it is not accepting in HANADB.  it is only accepting this Value " "/Date(-210866803200000)/" not that Data Format

 

here is the screenshot

 

 

Capture.PNG

 

Thanks and Regards,

Shardul Pandey

SAP HANA XSA SPS 12 Web IDE: Github: Bad Request URI: /che/project/workspace

$
0
0

Hi,

 

I try to use github within the XSA WebIDE (Version: 3.12.8) and to import the repositories from SaphanaAcadamy XSA.

GitHub - saphanaacademy/XSA: SAP HANA XS Advanced Model

 

If I try it, I get this error:

Clone request failed

Request failed: Bad Request URI: /che/project/workspace285bh6g95szf188b/import/XSA?force=true

 

Could it be a problem with our proxy?

Is there a way to check the logs for it?

 

bad request.PNG

BR

Dirk

Unable to view data of Attribute view of SQL Type

$
0
0

Hi,

I have created a AT view with one table and in view property i select secured by SQL Analytic privilege and when i try to view the data I get Insufficient privilege error. However the same Attribute view if i create from classical approach I am able to view the data. Is there any privilege option specifically needs to be granted for views secured by SQL AP? Because the same user can not give different outcome.

Any help appreciated.

Thanks.

Viewing all 6412 articles
Browse latest View live


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