Quantcast
Channel: SCN : Discussion List - SAP HANA and In-Memory Computing
Viewing all 5653 articles
Browse latest View live

DXC: Data from activation queue /BIC/A40 not moved to /BIC/A00

$
0
0

Hi All,

 

We are using the DXC method to have the FI/Generic extractor to push the data into the HANA.

We have all set up correctly and data also getting pushed from ECC to BW and then to HANA.

 

We can see the data in table /BIC/A<DataSource>40 i.e. activation queue table, but it is not further activated and pushed to active data table i.e. /BIC/A<DataSource>00.

 

I also checked the M_EXTRACTORS view, which shows the STATUS as "OK" and phase as "CONFIRMED" instead of "ACTIVATED"

 

Can anyone help and let me know how can I activate the data and clear the activation queue to push data in Active table /BIC/A<DataSource>00?


Backup for the DR site

$
0
0

Hi Team,

 

I have a doubt is it possible to backup from the DR site?

Since the database has not been opened, it wont allow us to backup from the DR site right?

Is there a way to backup the database from the DR site?

Table Type as OutPut Parameter

$
0
0

Hi Experts

 

I've search some answers or hints to solve this little problem but I haven't succeeded so far. I'm aware I'm missing some little thing but I haven't found what could be.

 

My SAP HANA Studio version is 1.80.3 and our HANA Database version is 1.00.74.04

 

I'm creating a Procedure via CONTENT - PACKAGE - RIGHT CLICK - NEW PROCEDURE and the final result, when I generate the TSQL Code is:

 

create procedure "_SYS_BIC"."POS/TEST_SP_I" ( in Enter INTEGER , 

   out tt_table "_SYS_BIC"."POS/TEST_SP_I/tabletype/tt_table")

language SQLSCRIPT

sql security definer

default schema "MYSCHEMA"

reads sql data as

 

BEGIN

  tt_table  = SELECT ID_SUCURSAL FROM HPOS.HPOS_SUCURSALES;

END;

 

I tried to call the procedure from a SQL Console while I'm in the _SYS_BIC Schema using the following code and it runs smoothly

 

call "_SYS_BIC"."POS/TEST_SP_I" (10, ?)

 

However when I tried the same line but sending the table type

 

call "_SYS_BIC"."POS/TEST_SP_I" (10, "_SYS_BIC"."POS/TEST_SP_I/tabletype/tt_table");

 

I'm getting the following error:

 

Could not execute 'call "_SYS_BIC"."POS/TEST_SP_I" (10, "_SYS_BIC"."POS/TEST_SP_I/tabletype/tt_table")' SAP DBTech JDBC: [1281]: wrong number or types of parameters in call: Physical table is not allowed in OUT table variable position: POS/TEST_SP_I/tabletype/tt_table: line 1 col 38 (at pos 37)

 

Do you have an idea of what is going on,

 

Thanks in advanced.

SAP HANA XS batch insert with SYSUUID

$
0
0

Ha folks!

 

I have come across strange behavior of hana xs engine while writing some batch inserts using prepared command that includes calling of "sysuuid"

So, for example I have some table like

 

create column table "IDS"( "ID" VARCHAR (36) not null,  "COL" INTEGER null)

Then I created xs javascript file that tries to populate this table in a batch way

I pass number of records to insert from the request parameter. Roughly code looks like:

 

var count =  parseInt ($.request.parameters.get("count"));

var conn = $.db.getConnection();

 

conn.prepareStatement('delete from "IDS"').execute();

 

  var pstmt = conn.prepareStatement('insert into "IDS"  (id, col) values (sysuuid, ?)');

  pstmt.setBatchSize(count);

  

  for (var i = 0; i < count; ++i){

  pstmt.setString(1, i.toString());

  pstmt.addBatch();

  }

 

  pstmt.executeBatch();

  pstmt.close();

  conn.commit();

  conn.close();

 

If I execute this xs file with e.g. count=10 I will get 10 rows created, each would have "col" column value in a range of 0..9, but all "id" values will be equal

If I change prepare statement to the following:

 

var pstmt = conn.prepareStatement('insert into "IDS"  (id, col) select  sysuuid, ? from dummy' );

.. all "id" values will get their unique values as expected. So, it felt like in a first scenario it computed sysuuid value once and then used for every row

 

I would be fine with this "select .. from dummy" workaround if not the fact that this insert statement is around 10 times slower than the analog with "values". Some may think that this is due to that calling "sysuud" for every row inserted slows execution in a second scenario, but its not the case. Even by replacing sysuuid with some scalar value shows worse performance when doing "select .. from dummy" vs "values ( .. )"

 

Has anyone faced similar issues and solved them somehow?

 

I find this batch processing functions very useful for bulk data insertion as it performs really fast - I could insert millions of rows in a few seconds. But this issue with sysuuid would require coming up with some workarounds which may kill benefit of using batches.

 

Thanks!

 

Artem

HANA live view

$
0
0

Hi Experts,

 

Any answer why SAP HANA live is build completely on Calculation views ( even for master data ). Does it recommends us to use CV in our modeling as well.

 

Thanks & Regards,

Siva A

Unable to validate SUM for HANA version

$
0
0

Hi All,

 

I am facing a issue when trying to install SAP HANA System

 

Error: unable to validate SUM for HANA version. failed to extract SUM for HANA archive

execution failed.

 

please any one help me

I am attaching  file

 

Thanks

 

 

Regards

Ravindar

XSoData Post error treatment

$
0
0

Hi All,

 

I'm trying to bulk post to an OData service and for some reason, the posting is failling. I know that in the http return, I already have a description regarding the error message, but is possible to check somewhere (maybe increasing a trace level, for example) a comple error message, or at least more details about the error?

 

Thanks and regards,

Roberto Falk

unsupported property name error - AV via OData

$
0
0

Hi Team,

 

I'm trying to expose Analytic view via OData services, it shows an error as "Unsupported property name "0CRM_OBJ_ID" in database artifact

"HANA.SAMPLES::ZAV0SAMP"

 

Below is my xsodata file

 

service {

"HANA.SAMPLES::ZAV0SAMP" as "SAMPLES"

keys generate local "ID"

aggregates always;

}

 

It has several dimensions and measures in the view. Please help me to resolve this error.

 

Thanks for your help in Advance!

 

Thanks

Sathish


"PUBLIC"."M_SEQUENCES" doesnt show existing sequences

$
0
0


Connected via HANA studio as SYSTEM

Creating a SEQUNCE

I can see it in the <my schema>/sequences but when I look in 

"PUBLIC"."M_SEQUENCES" its empty

 

I'm using is an instance I got from MyLab  'SAP HANA Database 1.00 SP8 (Revision 80)

 

 

 

Any one has an idea ?

Post Checks after HANA upgrade

$
0
0

Hello Everyone,

 

Normally when we perform an upgrade , an upgrade log is generated in the trace path area ,which shows the status of the upgrade activity whether success or failure

My question is :

Apart from the upgrade log, what other checks can we see in order to make sure the upgrade has been completed successfully?

I know we have to check some system tables , but not sure which ones.

 

 

 

PS: I also check the version of the upgrade using HDB version

 

 

Regards,

Vinay

Comparison Operators in Join (LeftOuter, CE Functions)

$
0
0

Hello Everyone

 

Can we do a join other than Match on Equality using CE Functions?

 

ie.. would like to join two tables using a comparison operator (<=, >= etc..)

 

Example:

 

TableAIDStartDateEndDateRegion
record 110001/01/201415/07/2014ABC
record 2100016/07/201430/11/2014DEF

 

TableBIDStartDateEndDateGroup
record 110001/01/201430/12/2014XYZ

 

Would like to perform LeftOuterJoin on TableA.ID = TableB.ID AND (TableA.EndDate <= TableB.StartDate) AND  (TableA.EndDate >= TableB.EndDate)  using CE Functions

 

Thanks

Inserting Multiple Rows of Data With One Insert

$
0
0

In MySQL, I can insert multiple rows of data with one insert statement by simply comma separating the VALUES part of the statement. How can I batch/bulk/multiple row insert into HANA with one INSERT statement?

SQL Syntax Question:

$
0
0

I am pretty new to HANA and SQL and confronted with a problem that I am not sure how to solve.

 

In an SQL-procedure (Procedure A) there is an IN parameter 'inTabA' and an OUT parameter 'outTabA'.

 

inTabA and outTabA are identical and both contain

'Product' and

'Customer' and

'Discount'.

 

From Procedure A a call must be made to Procedure B.

 

Procedure B

has the parameters IN 'inTabB' and OUT 'outTabB' which are identical and both contain

'Customer' and

'Discount'.

 

Within Procedure B the Discount is determined based only on the Customer (is not my responsibility and I dont know how).

 

Hence I reckon I must call Procedure B from within Procedure A using some sort of loop-construct, but which is the "right" approach using SQL?

HANA PAL Executing error

$
0
0

Dear All,

 

We are  getting below while trying to run Decision Tree in PAL. Please guide.

 

 

Could not execute 'CALL _SYS_AFL.PAL_DT_IRIS (V_DT_IRIS_DATA, DT_IRIS_PARAMS, DT_IRIS_MODEL_JSON, DT_IRIS_MODEL_PMML) ...' in 334 ms 883 µs . SAP DBTech JDBC: [2048]: column store error: search table error:  [2620] executor: plan operation failed;Can not insert data from temp table "SYSTEM:P3_5182B4BE6DC348EFE1000000C0A82A1Den" into table ""DAMUE_PAL_SCHEMA"."DT_IRIS_MODEL_JSON""

 

Best Regards,

Zaib

Connecting HANA with Excel through VBA

$
0
0

I been trying to figure this out by researching but with little luck.

 

I want to create an application with excel vba that lets the user connect to HANA and be able to insert data into a hana view from vba.

 

any hints would be appreciated!

 

so far Ive taken a look at the thread:

 

HANA OLEDB Connection error

 

Dim CONN As Object 'ADODB.Connection

 

Dim rs As Object 'ADODB.RecordSet

 

Dim StrSql As String

 

 

StrSql = "Provider=SAPNewDBMDXProvider.1;Data Source=10.xxx.xxx.30:30015;Password=xxx;User ID=xxx;Location=;Integrated Security=;Persist Security Info=True;Impersonation Level=Anonymous;Mode=Read;Protection Level=None;Extended Properties='SFC_INSTANCE_NUM=00';Initial Catalog=COMMONTEMP.SAKAPUR;MDX Compatibility=1"

 

CONN.Open StrSql

 

with that I was able to create a connection, but I dont know how to insert data to the view I want after that


HALM only full delivery unit???

$
0
0

Hello,

We are trying to use change management for the first time.

When we try to transport we get the message: "Only full delivery unit Transports are permitted for this Route"

1.jpg

 

And if I transport it I get the message: Change tracking in the source system BBD is turned on. Adjust the transport type of the route correspondingly

2.jpg

 

 

 

What did we miss?

Thanks,

Amir

HANA Analytical privileges for Webi

$
0
0

Hi,

If I have an analytical privilege for a user for him to see only data for Country = US, how do I make sure he has this restriction when the same username views a Webi report built on one of these HANA datamodels.

Currently, he can see only US data on that analytical view but can see all data on the Webi based on this analytical view.

 

There is no SSO configured. Although he has the same usernames in BO and HANA, there is no direct link between the 2 user IDs. How do I establish that?

 

As a workaround, can I create a same row level security on BO and tag it to that user?If yes, please let me know how to do that.

 

 

Thanks,

Shyam

HANA system replication via directly connected cable

$
0
0

Dear All,

 

Currently, I am having one customer is planning SoH,  they are using 1TB single HANA box, and wanna deploy one standby system via system replication. And both system are located in same datacenter.

 

Based on SAP's guideline, the system replication should leverage 10Gbit/s network, however, they don't have 10Gb switch or router. so they are asking whether it is supported by SAP to connect both system via directly connected cable? if OK, is there any guideline or specification?

 

 

Regards

Jackie Xu

down load table and upload it on hana

$
0
0

Dear Team,

 

Is there any way to down load the SAP ECC table content and structure manually and upload it on HANA DB.

 

Regards,

Jo

When are column views generated for HANA Optimized cubes/DSOs?

$
0
0

Hi,

 

I am not sure when are column views generated for HANA optimized cubes/DSOs.

Could you please let me know the following :

 

1. are the column views automatically generated when we create a HANA optimized infocube/DSO or is any other step required?

2. where are these column views created ? Can we view them in the HANA studio?

 

 

Best regards,

Sidharth Mishra

Viewing all 5653 articles
Browse latest View live