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

ABAP reports or Webi on ECC

$
0
0

Hello all,

 

My company is planning to have Business suite on HANA and there is a huge discussion around using business objects (primarily Webi, Crystal Reports) vs. using the classic abap reports.

The concern is around development, benefits, functionality, accessibility, security and maintenance to name a few.

I know WEBi is more appropriate in terms of semi self service and usage with Hana Live or building directly on top of Infosets and Functions, security will be challenging compared to the ABAP reports, accessibility will be outside the ECC application and via the BO launchpad (unless there is a way to embed BO reports in the users favorite menu in ECC). I am not sure about the complex logics that you can build via the ABAP reports if they can also be built in HANA live and presented in WEBI.

The need for classic ABAP reports cannot be completely erased.But BO can be leveraged for custom reports.

 

For standard reporting we will still use ABAP unless there is a way to view those via WEBI as well? Not speaking about embedded analytics, I know you can see ALV on Crystal Reports in ECC.

 

How can they be used side by side...for what specific functionalities?

 

I would like some expert comments on ABAP reports vs. BO on ECC powered by HANA for a better and practical comparison.

Your help is appreciated.

 

Thank you!


Why Database needs to be up during System Copy ?

$
0
0

Hello All,

 

I am performing System copy for my BW system.. Need to understand why there is need to keep DB Up?

 

What are consequences if we bring down DB before performing the System Copy

 

 

Thank You !

What is the 3rd party tool to access SAP HANA database

$
0
0

Hello all,

 

What is the 3rd party tool to access SAP HANA database?

 

I'd like to access SAP HANA database as a client. Which software I should download from SAP Portal so that I can access SAP HANA database which has been installed somewhere else.

 

Note: I plan to install below software

- SAP BI Platform 4.1

- SAP HANA Studio

 

Thank you.

Awora

SPS09 and smart data integration and smart data quality: a question

$
0
0


In the link What's new in SPS09 i read the following:

"Moreover, smart data integration and smart data quality in SAP HANA SPS09 enables the provisioning filtering, transformation, cleansing and enrichment of data from multiple sources into SAP HANA eliminating the need for a separate ETL or replication stages. Pre-built adapters are available for common data sources such as IBM DB2, Oracle, Microsoft SQL Server, OData, Hadoop and Twitter, and an open SDK is also available to build new adapters"

 

What are these pre-built adapters? We now use SAP DS to provide data to HANA. is DS become obsolete as from SPS09 as ETL tool? Are these "Pre-built adapters" usable through Hana Studio?

Revision updatae for HANA

$
0
0

Hi ,

 

We want to update SAP HANA revision from HANA SP08 82 to 83.

 

1. Could you please help with high level steps. { Note : We are not looking for automatic update but manual one }

2. Also which documents from SAP HANA Platform – SAP Help Portal Page should I refer?

 

Regards,

Vinay

HANA Installation

$
0
0

Hi everbody!

 

I have questions about SAP HANA but my first doubt it is can I install SAP HANA on one virtual machine to use like a lab?

 

 

Best Regards,

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

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?


Use table field or column as a parameter in scripted calculation view

$
0
0

I have a procedure like the following in SQL:

 

select Code, Name,U_LineID, U_empID, U_Status,CASEWHENFromDate < @StartDate THEN @StartDate ELSE FromDate ENDASFromDate,

CASEWHEN ToDate ISNULLTHEN @EndDate

       WHEN ToDate > @EndDate THEN @EndDate

       ELSE ToDate ENDAS ToDate, U_Position, U_Project,U_Sponsorship

from

(

select Code, Name,U_LineID, U_empID, U_Status, U_Date ASFromDate,

      DATEADD(DAY,-1,(selecttop 1 history.U_Date AS ToDatefrom [@EMP_HISTORY] history

            where history.U_Date > [@EMP_HISTORY].U_Date

            and history.U_empID = [@EMP_HISTORY].U_empIDorderby history.U_Date))AS ToDate,

            U_Position, U_Project, U_Sponsorship

from [@EMP_HISTORY]

where U_empID = @EmpID

 

) InnerQuery

WHERE (FromDate between @StartDate and @EndDate OR ToDatebetween @StartDate and @EndDate)

ORDERBY FromDate

 

When I try to convert it to normal view or calculation view in HANA, I face the issue that TOP keyword in the following nested query is not supported in HANA: (feature not supported to have TOP in the nested query) - I used LIMIT also but it does not solve the issue

 

,(selecttop 1 history.U_Date AS ToDate from [@EMP_HISTORY] history

            where history.U_Date > [@EMP_HISTORY].U_Date

            and history.U_empID = [@EMP_HISTORY].U_empIDorderby history.U_Date)

 

So I take the nested query and convert it to calculation view with two parameters:U_Date and EmpID like the following:

 

First Calculation View: (ABS_CA_EMPLOYMENT_HISTORY)

 

/********* Begin Procedure Script ************/

BEGIN

    

var_out = SELECT ADD_DAYS((select TOP 1 history."U_Date"AS"ToDate"

from"@EMP_HISTORY" history

            where history."U_Date"> :U_Date

            and history."U_empID" = :EmpID orderbyhistory."U_Date"),-1) AS"ToDate"FROM DUMMY

            ;

 

END/********* End Procedure Script ************/

 

Then I create another calculation view that make use of the above calculation view like the following:

 

Second Calculation View: (ABS_CA_EMPLOYMENT_HISTORY_DETAILS)

 

/********* Begin Procedure Script ************/

BEGIN

       var_out = SELECT"Code", "Name","U_LineID","U_empID", "U_Status", "U_Date",

      (SELECT"ToDate"FROM"_SYS_BIC"."Payroll/ABS_CA_EMPLOYMENT_HISTORY"

      (PLACEHOLDER."$$empid$$" => :EmpID,

      PLACEHOLDER."$$u_date$$" => "U_Date")) AS"ToDate",

"U_Position", "U_Project", "U_Sponsorship", "U_Remarks"

FROM"@EMP_HISTORY";

 

END/********* End Procedure Script ************/

 

I face another issue: feature not supported to have alias or table field ("U_Date") as input parameter to the calculation view.

 

is there a solution for that or workaround?

 

Your urgent reply is highly appreciated.

 

Thanks

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

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

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?

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


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

How to change the password of user 'DBACOCKPIT' correctly?

$
0
0

Hi, Colleagues

 

There is a SAP ERP on HANA system in our department.

The ERP on a 96G linux server and HANA on another 256G linux server(gshana.pvgl.sap.corp).

 

I’m doing a System Copy (Export & Import) of SAP ERP on HANA system. During Import process, the password of user ‘DBACOCKPIT’ is required, but I forgot it.

So I changed the password through the following steps:
1.       Change the password of ‘DBACOCKPIT’ to ‘Abc12345’ via HANA studio in 256G linux server(HANA DB).
2.       Change the password via command on 96G linux Server (ERP).
            “hdbuserstore SET default "gshana.pvgl.sap.corp":"30015" DBACOCKPIT Abc12345”

 

After the changing password, the sap startup failed.
*-------------------------------------------------------------------------------------------------*
hana-gs-china:~ # su - bepadm
hana-gs-china:bepadm 51> startsap
Checking db Database
Database is not available via R3trans
-------------------------------------------
Database db must be started first
Log on to remote server and start database
hana-gs-china:bepadm 52> R3trans -d
This is R3trans version 6.24 (release 741 - 04.02.14 - 20:14:02 ).
unicode enabled version
2EETW169 no connect possible: "DBMS = HDB                              ---  SERVER = '' PORT = ''"
R3trans finished (0012).

*-------------------------------------------------------------------------------------------------*

hana-gs-china:bepadm 66> hdbuserstore list
DATA FILE       : /home/bepadm/.hdb/hana-gs-china/SSFS_HDB.DAT

KEY DEFAULT
  ENV : gshana.pvgl.sap.corp:30015
USER: DBACOCKPIT
*-------------------------------------------------------------------------------------------------*

 

Do you know how to change the password of user 'DBACOCKPIT' correctly?

Thanks a lot in advance!


Best regards,
Daniel

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

Viewing all 4343 articles
Browse latest View live


Latest Images

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