Quantcast
Channel: SCN : Unanswered Discussions - SAP HANA and In-Memory Computing
Viewing all 4343 articles
Browse latest View live

I can't get the syntax for a table defined function to work.

$
0
0

Specifically I'm trying to use a table type definition in my function.

 

CREATE TYPE "MYSCHEMA"."TT_MYTABLE" AS TABLE (

     "Field" varchar(12)

)

 

CREATE FUNCTION "MYSCHEMA"."MYFUNCTION"()

RETURNS TABLE ("MYSCHEMA"."TT_MYTABLE")

LANGUAGE SQLSCRIPT

...

 

 

All the function examples use an actual field definitions and not an predefined table type.  I've tried the above and a bunch of other variations but I get a syntax error on all of them.

 

This is the documentation page;

 

http://help.sap.com/saphelp_hanaplatform/helpdata/en/20/d42e77751910149f0ff6b879b1290f/content.htm

 

They don't show any examples using the table types and I can't seem to make sense of " <datatype> ::= <sql_type> | <table_type>".


Long text from HANA view

$
0
0

Hi

 

We are on Business Suite on HANA environment ; How to get long text using HANA views?

 

usually we use READ_TEXT function module from ABAP to get long text ( reads from STXH & STXL cluster table )

 

Thanks in advance

Joining multiple views from different HANA systems

$
0
0

Hi

 

We are on Business suite on HANA environment ;that means ECC , CRM , BW on different HANA DB / instances.

For reporting ; i would like to combine calculation / analytical views from these different  systems.

 

Any thoughts on approach?

 

Thanks in advance

Not able Initialize SAP B1 Database to SAP HANA

$
0
0

Hello Exper,

 

When i am doing initializing the SAP B1 DB to SAP HANA through Administration Console it's give me the following error.

"Unexpected error occurred; contact your system administrator"

 

Not able to understand where can i find this issue ?

 

Thanks,

Tushar

Loading Language dependent text to HANA

$
0
0

Hi,

 

I have an Excel File which contains Cross-Geo data which I need to load in SAP HANA.

 

It contains many fields, among them one description field contains some descriptions in Chinese Language.

Rest of all fields are in English.

 

When I load it to HANA using import method Flat File , it does not load data to HANA, but it shows invalid characters in HANA table (attached).

 

Can anybody suggest how to load the Descriptions in Chinese to SAP HANA using Flat File Load.

 

Thanks,

Krishnendu Roy.

LT Replication server job status

$
0
0

Hello,

 

In our HANA system, under transaction LTRC, we can check status job that "Master Job Status : Running" under tab "Administration data". We have setup E-mail alert using Transaction LTRC --> "Expert function" tab --> status notification settings. so that after every 24 hours we get "Master job status" alert mail. but we want to setup a E-mail alert when Master job stops running at any given time. Can you tell us how can setup that alert, can we configure this using CCMS or through some other alert mechanism?


Thanks,

Urvi

Unable to access data preview of attribute view

$
0
0

HI

 

I have query like while accessing the data in Attribute view, i am getting the error as

 

Cannot get the data provider outline

cannot perform datapriview,     either connection to Database is unavailable, or project is not shared

 

1) I have checked the connection is available

2) Like we access the tables data in data preview , cant we access data of Attributeview without sharing it.

 

Gone thru the links regarding data preview error(2048 Column store error:search table error)

But no proper answer for same.

 

Thanks, MBR

if statement in CE function

$
0
0

Hi,

When we use IF in calculation view with CE function the SQL engine is used.

When we remove the "IF" the  CE engine is used.

Is there any alternative for if or case in CE functions?

 

Thanks,

Amir


Created roles are auto-granted to creator by sys (sometimes)

$
0
0

Hello,

 

this is just another discovery on HANA I do not fully understand.

Sometimes a user who creates a role get's it automatically granted by SYS.

Sometimes a user who creates a role does not get it automatically

granted.

 

We experience this with HDB's on the same revision (74).

 

Can anyone explain this behavior?

 

Thank you

Florian

global.ini [persistence] basepath_shared = "yes or no"

$
0
0

Hi All,

 

I have a SAP HANA Scale-Out system which composed of external storage. This external storage connected via SAP HANA Storage API, so the data volume and log volume of SAP HANA data are direct access.

 

When I review the parameter, I found this parameter 'basepath_shared'. I feel courious about this parameter and I wonder which one is correct yes or no for storage api environment. File system for /shared/usr/sap/ is NFS shared volume.

 

My best regards,

 

Nam Hee, Jae

SSO in BO x SAP HANA with SAP logon

$
0
0

Hi experts,

We have the follow SAP landscape: SAP Portal, SAP BW 7.3 and SAP BO 4.1 with SAP Ticket SSO.

 

We need now create some reports in SAP HANA with BO, but we don´t known the better way to do the SSO between HANA and BO.

 

Is possible use the same SAP Ticket on SAP  HANA ? Or we have to create SAML authentication between HANA x BO ?

 

Regards

Rodrigo S.

Error when updating HANA Live Authorization Assistant

$
0
0

Hi Guys,

 

I'm trying to use the HANA Live AAA component for the creation of HANA Roles and it works fine when trying to generate the roles but it throwing me an error when updating them. The error happens at the beginning when the plugin attempts to load the Users from ECC. The message is:

 

SAP DBTech JDBC: [1300]: fetch returns more than requested number of rows: [1300] "_SYS_BIC"."sap.hba.tools.auth.db/GetUsers": line 20 col 1 (at pos 1770): [1300] (range 3) fetch returns more than requested number of rows exception


Anyone has gone through this error before??


Thanks!


Cheers.

HANA Live Authorization Assistant Customization

$
0
0

Hi all,

 

Anyone knows if the AAA component for HANA Live Authorization can be customized?

 

I'm looking to change the package structure that reads when one wants to generate the Roles based on the views and users from ECC. At this point it seems to read the package structure where HANA Live is installed but as a requirement in our project we don't want to expose all the hana live views and some of them we are going to extend them with more data. So, that means we are creating a different package structure where the business users will access to consume query views.

 

Any thoughts??

 

cheers.

Christian.

Modeling approach : HANA studio OR BW on HANA ?

$
0
0

Hello,

 

I have question on the modeling approach.

 

Scenario : We have to impliment Reporting system for a client. 30% fo the reports that business want can be delivered using standard BI contents and rest 70% can be delivered with some customization to the BI contents.

 

Client has liscence to use both BW on HANA & HANA native

 

We have 2 options for modeling

 

1) Use BW on HANA : Install BI contents and deliver all the required reports using standard BW contents with some enhancements.

Pros

  • By using BI content we can save development efforts
  • Using BICS connection BO reports can use BW hierarchies

Cons

  • It locks client into a proprietary OLAP structure and also doesn't align with SAP's long term vision in terms of how HANA should be used
  • SAP recommends to stay away from cubes, use granular DSO's, not engage OLAP for calculations & use self-service analytics thru use of Universe
  • Not all the BI contents are In Memory optimized.

 

2) Use HANA studio for modeling : Install BI contents and consume all the acquisition layer DSO's in HANA (Analytic Views) and create calculation views based on these views and do reporting on these HANA models.

Pros

  • No duplication of data (only one phycical layer and rest are views).
  • In line with SAP's vision
  • HANA Live contents can be leveraged

Cons

  • HANA live contents are not matured as BI contents
  • HANA hierarchies are not supported in BO tools like Webi, we can not expand and collapse hierarchies, which is possible using BICS connection on BE queriues.
  • More efforts required for Modeling

 

So, what is the best approach in current date? BW modeling or HANA modeling?

What is SAP's vision on use of both these technologies?

 

Thanks & Regards

Sagar

SHINE demo content

$
0
0

Good day,

 

Ever since upgrading to SPS7 and now SPS8 my SHINE demo content has been broken.  Specifically the table references have been incorrect, for example Analytic view AN_PURCHASE_COMMON_CURRENCY references table SAP_HANA_DEMO.sap.hana.democontent.emp.data::EPM.MD.Products instead of SAP_HANA_DEMO.sap.hana.democontent.emp.data::EPM.MasterData.Products.

 

The download for the updated Demo content doesn't appear to have anything to update these tables..........

 

And because the tables are renamed most of the objects in the democontent package have errors.

 

Has anyone else had this problem?  And suggestions to resolve it?

 

Cheers,

 

JB


SAP River setup

$
0
0

Good day,

 

I was starting the SAP River setup according to the developer guide and came across a problem with executing those 3 lines of SQL to call the river procedures.  Specifically I'm receiving an error when calling the "_SYS_BIC"."sap.hana.rdl.setup::create_river_environment" procedure, returning an error for the following line in the procedure:

 

exec 'grant select on _SYS_RT.CDS_ARTIFACT to "'  || :DTRole || '"';

 

The problem being that "SYS_RT.CDS_ARTIFACT" doesn't exist.  I recently upgraded to SPS8.

 

If anyone has any insight into how this can be resolved it would be much appreciated.

 

Cheers,

 

JB

SDA for virtual tables using analytical and Attribute views

$
0
0

Hi,

 

 

 

As per SAP note 1868209 , Section 4 of solution states restriction of using virtual tables with Analytical & Attribute views.

 

 

Is there any feature added in SPS08 version for Smart data access drivers or should be using only calculation views ?

 

 

 

Below statement from SAP Note :

 

( 4. Restrictions for SAP HANA smart data access in SAP HANA SPS 06:

 

Analytical views and attribute views do not support virtual tables. However, you can support

virtual tables by adding a SQL statement in your calculation views that refer to virtual tables.)

 

 

Thanks & Regards,

Anup Singh

HANA Models - Quantity Conversions

$
0
0

Can some post a blog on HANA models with Quantity Conversions using the static conversions maintained in the material master.

A transactional data table can have quantity in various units and the objective is to convert the quantities to a target unit provided as an input variable to the analytic or caclulation view.


SAP Enterprise Portal on HANA

$
0
0

Hi,

 

Wanted to get some pointers on advantages of hosting SAP Enterprise portal ( certified as whitelisted by SAP and can co-exists with SoH or BWoh).

 

SAP also certifies hosting Business Objects Database (Audit and CMS DB) on HANA.

 

Let me know if it is worth trying these

 

Regards,

Akhilesh

System state cannot be determined - HANA Studio

$
0
0

Hello!!

 

I have installed SAP HANA Client and then Studio on my 32 bit windows machine. I used SAP demo user ID & pwd to test the connectivity between SAP HANA studio and SAP HANA server but its not connected and getting the error - System state cannot be determined : SAPControl request failed & Cannot connect to jdbc:sap.(refer the below screenshot)

 

01.jpg

Regards,Vasanth S

Viewing all 4343 articles
Browse latest View live


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