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

SAP HANA SQL scripting

$
0
0

Hi,

 

I have few doubts on HANA SQL Scripting.

 

What is the main use of HANA SQL scripting ,stored procedure in HANA.

 

If want to do any data calculation, we can do them while data loading it self  using data services tool ( when source is NON- SAP) or in HANA modeling level using Calculation attribute view. when the Source system is SAP we can do themby writing ABAP code and configuring the include name at system table level, that ABAP code can get executed during execution.

 

Can you please clarify what is the main purpose of SQL scripting i.e data extraction, insertion , calculation, Procedure statement etc....

 

In what cases we can find the importance of usage.

 

Santhosh

 



What is the starting point to learn SAP BWBIBO and SAP HANA?

$
0
0

Hi,

 

I'm SaiKrishna Ghanta. I'm fresh masters student. I have had some knowledge in programming languages. I do also have good knowledge in database. I'm from India. I want to start my career in SAP technologies. I started reading about SAP BOBJ and its evolution. I felt really interesting. However, to seek good job opportunity in SAP BIBOBW module, what exactly I should learn and where exactly I should start? I heard about new kind of SAP database, HANA which has bright future. Please guide me. I have few points or questions to get answered.

 

1. SAP BI 7.0 along with SAP BOBJ 4.0 -> What are the chances of placing in job if I learned these two?

2. 1 + SAP BODS -> Should we must learn data services along with BI and BO?

3. 1 + 2 + SAP HANA 1.x -> How much impact it has in the current job market since it is just beginning?

4. 1 + 3 is just enough?

5. Should we must have experience to do certification?

 

Thanks in advance,

SaiKrishna

Using BODS for Loads to Hana

$
0
0

When in BODS and creating a flow for moving data from an Oracle DB to Hana I was prompted to select an ODBC object for the Hana connection. I also saw a YouTube video talking about the same.

 

Seems to me that ODBC is slow and there should be some kind of direct connect in this instance.

 

Comments?

 

Mike

APO on HANA

$
0
0

HI All,

 

I need some help in understanding how APO on HANA scenario works and how it can be realised. Would really appreciate if you can share your views and opinions on it. thanks.

Intellipaat provides SAP HANA online Training.

Installing Hana Client DB: Can not update ODBO

$
0
0

Running XP Pro

Installing Hana client database and getting error that it

 

Cannot Update package ODBO

Install of Package ODBO failed

Registration of package ODBO failed

 

(other drivers such as odbc went in fine. Also Studio installed fine)

 

Also can't register MDX-  %SystemRoot%\system32\regsvr32.exe: %SystemRoot%\system32\regsvr.exe /s "C:\ProgramFiles\SAP\hdbclient\SAPNewDBMDXProvider.dll":cannot create process, The system can not find file specified.

Percentage field in SAP HANA

$
0
0

Hi Everyone,

 

We have amount field in SAP HANA and we want percentage of amount in Analytic View. When I try to create Calculate measure we don't have SUM function available.

 

We need this in Analytic View it self as SAP HANA Info Access app can only access Analytic Views from SAP HANA.

 

Can anyone help me on this.

 

Regards,

Venkat

PERCENT_RANK function in SAP HANA

$
0
0

Hi All,

 

We have analytical function PERCENT_RANK function in ORACLE. We got requirement to implement same in SAP HANA, however i don't see persent rank function in SAP HANA.

 

Can anyone tell me how to do it..?

 

Regards,

Venkat.


HANA db case sensitivity with SQL text searches

$
0
0

Hi folks,

 

We have a HANA view that users are consuming via Microstrategy.  All fields such as PLANT (WERKS) are case sensitive.  For example if the plant is named 'XYZ1' then the following SQL is NOT returning any results;

 

select * from TABLENAME where WERKS = 'xyz1'

 

Now my microstrategy developer is saying that other databases he consumes are not case sensitive and this setting is configured typically at the database level.  So my question is twofold;

 

1) Is there a database level setting in HANA for case sensitivity?

2) If this option is available does it really make sense to turn this sensitivity off?

 

Thanks,

-Patrick

Issue importing .CSV file from HANA DB folder path

$
0
0

Hi All,

 

I have created .csv file 'testdata1' and table "XXX"."testdata1".

Uploaded the 'testdata1.csv' file and "testdata1.ctl" file to the HANA DB work folder.

I am trying to run the import command as below and same i maintained in 'testdata1.ctl' file.

 

IMPORT FROM '/usr/sap/HD1/HDB11/work/Test data1.csv' INTO "XXX"."testdata1" WITH record delimited by '\n' FIELD DELIMITED BY ','

optionally enclosed by '"' error log 'x.err' COLUMN LIST ("salesorg", "division", "qty")

 

But i am getting the error as below

 

Could not execute 'IMPORT FROM '/usr/sap/HD1/HDB11/work/testdata1.csv' INTO "XXX"."testdata1" WITH record ...' in 14 ms 139 µs .

SAP DBTech JDBC: [2]: general error: Unknown keyword, kkkk .

 

I have the below data in my .csv file.

 

KKKK,K1,4000

LLLL,L1,5000

MMMM,M1,6000

 

Bothe .csv file and .Ctl files are having 777 permission.

 

Can any one suggests the solution if you faced the same issue.

 

Thanks & Regards,

Srini

Creating Procedures on OLTP System - HANA Developer

$
0
0

Hi Gurus

 

 

I got below requirement as one of the HANA developer responsibilities.

 

Creating Procedures on OLTP System

Can somebody shed light what exactly means by above requirement and appreciate any use cases/pointers/links about creating procedures on OLTP system.

 

I come from BO background + HANA certified.

 

Appreciate your help.

 

 

Thanks

Kumar

Using conversion function in calculated column (analytic view)

$
0
0

Hi everybody.

 

I have a column 'date' in my table.right now its defined as an INTEGER (yyyymmdd) and I want to convert it to a timestamp or date using the conversion function in a calculated column (in an analytic view). unfortunately the function i´m using isn´t working: date("DATE",8)

Any thoughts?

 

Regards, Christoph.

Used vs Peak memory and unload process

$
0
0

Hi folks,

 

I'm trying to troubleshoot why some tables are unloading from memory.  When I look at Used Memory/Peak Used I see that used is 29% and peak is 100.8%.  So my understanding (correct me if I am wrong) is that at some point the used memory finally reached 100% and so the system uses its secret unload algorithm and proceeded to unload some memory until it dropped to the current 29%.  So it looks like I have plenty of memory for the moment.  So I go ahead and run a fairly intensive view and immediately I see automatic unloading occurring in M_CS_UNLOADS.  It appears used memory is only 29% and I know for a fact that my view does not need all of the other available 71% so I'm not clear on why tables are being unloaded. 

 

NOTE:  I notice that resident memory is about 75%.  Used memory is about 132gb and resident is 367gb.  Could the tables be unloading due to resident memory being so high?  If so my next question is;  should resident memory be consuming almost 3 times the amount of memory as the used memory?

 

Thanks,

-Patrick

 

PS: This particular server is REV 47

HANA connection error

$
0
0

Hi Gurus,

 

I am working on BW on HANA DB migration project.We face an error on IMPORT ABAP phase.

 

the log from SAPSSEXC.log

 

DbSl Trace:   writeLob() of C_0151, rc=1, rcSQL=-10807 (System call 'recv' failed, rc=10054:An existing connection was forcibly closed by the remote host)

 

DbSl Trace: LOB_WRITE on connection 0, rc=-10807 (System call 'recv' failed, rc=10054:An existing connection was forcibly closed by the remote host)

 

(IMP) ERROR: DbSlExeModify/DbSlLobPutPiece failed

  rc = 99, table "REPOSRC"

  (SQL error -10807)

  error message returned by DbSl:

System call 'recv' failed, rc=10054:An existing connection was forcibly closed by the remote host

DbSl Trace:   execute(), rc=1, rcSQL=-10821 (Session not connected)

 

DbSl Trace: EXECUTE on connection 0, rc=-10821 (Session not connected)

 

(DB) ERROR: DDL statement failed

(CREATE  INDEX "REPOSRC~SPM" ON "REPOSRC" ( "R3STATE" , "PROGNAME"  ) )

DbSlExecute: rc = 99

  (SQL error -10821)

  error message returned by DbSl:

Session not connected

DbSl Trace:   execute(), rc=1, rcSQL=-10821 (Session not connected)

 

DbSl Trace: EXECUTE on connection 0, rc=-10821 (Session not connected)

 

(DB) ERROR: DDL statement failed

(CREATE ROW  TABLE "REPOTEXT" ( "PROGNAME" NVARCHAR(40) DEFAULT '' NOT NULL , "R3STATE" NVARCHAR(1) DEFAULT '' NOT NULL , "LANGUAGE" NVARCHAR(1) DEFAULT '' NOT NULL , "UNAM" NVARCHAR(12) DEFAULT '' NOT NULL , "UDAT" NVARCHAR(8) DEFAULT '00000000' NOT NULL , "UTIME" NVARCHAR(6) DEFAULT '000000' NOT NULL , "DATALG" INTEGER DEFAULT 0 NOT NULL , "DATA" BLOB  , PRIMARY KEY ( "PROGNAME", "R3STATE", "LANGUAGE" ) ) )

DbSlExecute: rc = 99

  (SQL error -10821)

  error message returned by DbSl:

Session not connected

(DB) INFO: REPOTEXT~0 created #20120810003846

 

DbSl Trace:   execute(), rc=1, rcSQL=-10821 (Session not connected)

 

DbSl Trace: EXECUTE on connection 0, rc=-10821 (Session not connected)

 

ERROR : execute for HDBCreateAndLockTable for table /NEWDB/R3LOADCONTROLTABLE failed(dbrc=99).

  (SQL error -10821)

  error message returned by DbSl:

DbSl Trace:   execute(), rc=1, rcSQL=-10821 (Session not connected)

 

DbSl Trace: EXECUTE on connection 0, rc=-10821 (Session not connected)

 

 

Pls help me ?

 

Thanks in Advance.

Blank fields displaying wrong in Excel using MDX

$
0
0

Hi folks,

 

We have a view that, when consumed in Excel via MDX connection, if there is a blank field instead of it appearing as blank or empty it appears like this;

 

[FieldName].[FieldName].&[]

 

In other words if the field name is KOSTL and there's a blank value it will appear like this in the excel cell;

 

[KOSTL].[KOSTL].&[]

 

Has anybody experienced this problem?  The HANA db is 55 as well as the excel client drivers.

 

Thanks,

-Patrick


Pass multiple parameters via IN statement to HANA procedure

$
0
0

I have a requirement where I need to pass multiple single values to a procedure in HANA -

For example: I create a procedure called HANA_PROCEDURE with following input and output parameters.

 

  • INPUT: is a Scalar Parameter; has  data type VARCHAR and has length = 200

 

     Document number > VARCHAR(200)

     Account > VARCHAR (10)

 

HANA_PROCEDURE CODE:

 

BEGIN

"OUTPUT" = SELECT "DOCUMENT_NUMBER" "ACCOUNT" FROM _SYS_BIC_ANALYTICAL_VIEW

 

WHERE "ACCOUNT" IN (:INPUT)

GROUP BY "DOCUMENT_NUMBER" "ACCOUNT";

END;

 

Next i call the procedure -

call "_SYS_BIC"."user/HANA_PROCEDURE"(?,?)

pops up a "Prepared SQL tab" that prompts me to enter the input values. I enter one value =  input1 ....and it returns values

as soon as i enter 'value1', 'value2' it chokes and does not return anything.

NOTE: if i hard code the input values int he procedure code in this exact same format i,e, 'value1', 'value2'....works just fine and returns records for both the values.

 

I think the internal format for the input variables is getting messed up somehow. ANy ideas how i can get these multiple single inputs to work?

 

Thank you in advance.

 

  • OUTPUT: Table type with following fields

SAP HANA - Where to start?

$
0
0

Hi All

 

I'm a BI+ABAP consultant and very much interested in learning SAP HANA.

 

Can you please guide me from where to start? What are the pre-requisties?

 

I'm going through all the forums and documents but now my knowledge is all in bits and pieces. Step by step guide would be very helpful and would also help others interested in it.

 

Regards

Murthy

Which module has a good scope in future either SAP HANA or SAP BW?

$
0
0

Hi,

 

I am SAP BO consultant.Currently in the market SAP BI-BO has good demand, but in future( May be after 2 years) SAP HANA has a good demand.

 

In SAP HANA  SAP R/3 data directly replicate to HANA using Sybase replicate server and  SAP BI sources & Non SAP Data sources  should be transformed to SAP HANA using  BODS.

 

In BW 7.3 the DS 4.0 was tightly integrated.

 

Please guide me which module should i learn,  SAP BW 7.3 with BO 4.0 or SAP HANA with BO DS 4.0 & BO 4.0.

 

Thanks & Regards,

Rajesh.

Data load failed...

$
0
0

Hello,

 

 

How we can trouble shoot if data load fails with out duplicating records in HANA.

 

 

Santhosh

Configuring Workspace in SAP HANA Studio

$
0
0

Hi All

 

  I am trying to configure workspace in HANA Studio ver 46,but It is throwing error,Repository client not configured.When I'm trying to configure the repository client  under Windows->Preferences->SAP HANA Development when I browse through the path C:\Progrm Files\SAP\hdbclient I am not able to find regi.exe which ie needed for repository client configuration.Request your help in proceeding further.

 

 

Thanks

Santosh Varada

Viewing all 5653 articles
Browse latest View live


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