Quantcast
Channel: SCN : Unanswered Discussions - SAP HANA Developer Center
Viewing all 5115 articles
Browse latest View live

Sap HANA: Error during activation Calculation View or Procedures

$
0
0

Hi All,

 

In HANA Studio rev 60, I try to activate a calculation view or procedures and get the following error:

 

Message :

    Internal deployment of object failed;Repository: Encountered an error in repository runtime extension;Internal Error:Deploy Calculation View: SQL: transaction rolled back by an internal error: column store error: [0] failed to create view on calculation scenario : No errors occurnnSet Schema DDL statement

 

Thanks

Matheus


SAP Hana Certification - Training required?

$
0
0

Is it required to attend SAP training in order to take the C_HANAIMP_1 – SAP Certified Application Associate - SAP HANA 1.0 exam?  I trying to schedule this exam on SAP Brazil but it doesn't allow me to do that because I didn't attend HA100r and HA300r.

SAP Precision Marketing trial version not working

$
0
0

I couldn't find a SAP Precision Marketing discussion place. So I am posting here.

I am unable to access the trial version.

 

I registered for trial version. Then as per the suggestions in the email, when I open the Device API url, neither I am asked nor do I see a place to enter the private keys or developer id.

Can somebody please suggest how do I access the trial version of SAP Precision Marketing.

 

Thanks!

Procedure data in calculation view (SQLScript)

$
0
0

Hi,

I am calling a procedure in my HANA SQLScript Calculation view by passing a parameter. The normal call statement works fine but when I am pointing the var_out to the call I do not get my code syntactically correct.

 

1. As per the SAP documentation the syntax given is as below...

 

But when I am using the same approach with my procedure having local table as "TestTable" I get an error saying " TestTable is not bound"

 

2.In some of the previous discussions (http://scn.sap.com/thread/3247578) I noted an approach in which the procedure is built as "WITH RESULT VIEW" but for some reason when I am changing the procedure, tit doesn't permit me to do so and gives an error as below.

 

 

3. There's one more approach with using the call statement upfront but even this errors out for me at the call statement.

 

var_out =call "_SYS_BIC"."zcrmcoeteam/PC_EFASION"(203,null);

Any pointers will be very helpful.

How to get value from table with BigInt data type?

$
0
0

Dear,

 

I am developing a program using xsjs on HANA XS Engine.

I have a table with some columns. One of my columns is primary key that has type BigInt.

Ex: MyTable:

ID: BigInt

Name: VARCHAR(255)

 

When I try to get data from this table. I use getBigInt method to get value from ID column.

 

rs.getBigInt(1).

 

The return value is an object. It is not a number.

I have to use:

rs.getInteger(1) to get value from BigInt column. It returns correct value.

 

In case the value is too big (a bigInt value), the call: getInteger will cause error.

 

I tried to search in some document and found that they alway s use getInteger method for BigInt column.

 

Does anybody know why we cannot use getBigInt? Why do they always use getInteger method for BigInt column.

 

Please help me to make this clear.

 

Thank you in advance.

 

Best regards,

 

Manh

Where can I see logs of OData Service usage?

$
0
0

I have several OData services available. I want to see which are used.

 

Where in the system can I see logs of when and how often OData services are being used?

unable to add system

$
0
0

I was adding a system into HANA studio first time.what to give host name.

I am using trial version of HANA studio.

I did not got any mails after registration.

plz help.

Data Type in SAP HANA for amounts with +/- Sign

$
0
0

Hello Experts,

 

I am trying to upload .csv file into HANA. My source system contains some amount fields with +/- signs (Ex:223.00-). I assigned data type Decimal(p,s) for these fields while creating table in HANA but while uploading CSV file it is giving error that java.lang.NumberFormatException.

So can you please suggest me the data type that can used for amount fields with +/- Signs.

 

Thanks,

Sudhakara Reddy


Unable to create UI5 project.

$
0
0

Hi All,

I am struggling with a strange problem from last week. I started revision of Open SAP course for SAP HANA application development. After practicing all basic things, I started for SAP UI5 development.

I installed it in my SAP HANA studio rev 60 successfully. But when I am trying to create a new project, I am not able to see UI5 in create new project wizard. I am not able to see SAP HANA Application development in my list.

Below are the screenshots- first one shows that I am not able to view UI5. And second shows that the UI5 is installed in my HANA studio.

 

pic 2.jpgpic1.jpg

I have installed all the required updated as instructed in some blogs and posts. In fact before posting this, I have done all the experiments like installing STUDIO again, removing updates and installing them again, assigning correct roles to SYS REPO and SYSTEM, restarting many times and many other things, but end of story is I am not able to see the the UI5 project.

 

Please help.

Scalar User Defined Function Error

$
0
0

Hi Friends,

 

I have Created User Function and I am using that function in my Stored Procedure, but when I am calling function with parameters,

it is showing error that

"feature not supported: field or table alias is not allowed as an input of table functions: line 197 col 48 (at pos 8792) at ptime/query/checker/check_call.cc:674 ",

 

I understood that I cant pass Table field in the Function, but I want to pass Table Field, it is Requirement in my Stored Procedure.

 

can anyone please tell me how to pass table fields in Function.

 

Thanks,

Weird ADD_SECONDS behavior

$
0
0

Hi all,

I'm trying to use ADD_SECONDS to convert epoch time to a timestamp and I don't quite get its behavior:

 

I've got a table with an integer column:

 

 

hdbsql HDB=> select * from ttt limit 1;
| DOCUMENT_ID          | TIME        | CATEGORY                    | RELEVANCE   |
| -------------------- | ----------- | --------------------------- | ----------- |
|            733431348 |  1378843045 | HEALTH_CARE_PHARMACEUTICALS |          80 |

 

 

When I try to use ADD_SECONDS, it refuses:

 

hdbsql HDB=> select document_id, add_seconds('1970-01-01', time) ts, category, relevance FROM ttt;
* 7: feature not supported: cannot support non-constant types SQLSTATE: HY000

 

I would understand it, if it were consistent in this, but it is not:

 

hdbsql HDB=> select document_id, add_seconds('1970-01-01', round(time, 0, round_down)) ts, category, relevance FROM ttt limit 1;
| DOCUMENT_ID          | TS                            | CATEGORY                    | RELEVANCE   |
| -------------------- | ----------------------------- | --------------------------- | ----------- |
|            733431348 | 2013-09-10 19:57:25.000000000 | HEALTH_CARE_PHARMACEUTICALS |          80 |

 

Is this some magic property of ROUND (mind you, without ROUND_DOWN it still refuses) to convert a column value to a constant? If ADD_SECONDS actually can work with non-constant values, it should do that consistently, without the need for such tricks. Actually, Hana should provide functions to convert EPOCH time to a timestamp and vice versa, then one would not need such tricks at all.

 

Cheers,

 

-- Micha

Authorization roles for web-based IDE

$
0
0

Hi Experts,

 

just tried to access the web-based IDE and got the error message "Unable to launch the XS IDE because you don't have appropriate roles".

 

Does anyone know how to configure a user to gain access via web-IDE?

 

Kind Regards
Pablo

Plan execution failed in calculation view

$
0
0

Hello,

 

How can I figure out why does error "Error: SAP DBTech JDBC: [2048]: column store error: search table error:  [2617] executor: plan operation execution failed with an exception" appear when I run data preview for calculation view?

 

Calculation view was validated and activated without errors.

 

Thanks,

Dmitry.

SYSTEM password not correct B1A 1.0.6.379

$
0
0

Hi,

 

I am trying to install SAP Business one analytics v 1.0.6.379 on HANADB server (Linux), Server tools are installed on Windows server and Databases are on MS SQL.

 

During install I am at stage when it is asking me for specify parameters e.g. SAP HANA database user name "SYSTEM", even though I am entering the password correct (I know it because I am connected to HANA Studio using same credentials) it errors "Password of SAP HANA database User SYSTEM is not correct"

 

I have tried changing the password, no avail.

 

Any suggestion are more than welcome.

 

Thanks & Regards,

Kumar Gaurav

Unable to add system to HANA Studio

$
0
0

Hi,

 

I recently subscribed for SAP HANA developer 30 day trail, the version is SPS6.

 

iam able to login through VM network and able to launch HANA Studio,but when i tried to add system, it throws the error-Cannot access system on host -Hanacloud.Iam logging through the User id and password given and even the Linux server is also running.but unable to add  active system to hana studio.

 

when i tried to add the system to workspace,not able to see the folders and shows some services not started.I tried to check the Licence also, but it is getting aborted due to no JDBC connection.

 

Could you please tell me how can i check the JDBC and add my system to hana studio

 

Thank you in advance!

 

Regards

Mallikarjun


Connect Netweaver to HANA

$
0
0

Hello,

 

is there a possibility to connect a running SAP Netweaver system to a HANA database and exchange data (e.g. xml files) between the two systems?

The intention is not to migrate the Netweaver system completely to HANA but only install a communication so that data can be exchanged between both systems.

 

Thank you in advance.

Delivery Unit Schema Names

$
0
0

I am creating analytic, attribute and calculation views in HANA.  I am using delivery units to deliver the content from one Hana system to another.  One issue that I am having is that in each Hana system the tables that my views are referencing may or may not be owned be the same owner.   Is there anyway to update the schema name that table in a HANA view reference when importing the delivery unit into the new system?

 

Thanks,

Raphael

Join on Attr View and Analytical view is taking too long

$
0
0

Hi Experts,

 

I am having issues while trying to run this join statement in HANA studio.  I am trying to join an Attribute View and an Analytical View in calculation view based on SQL Script.  My statement compiles properly and activates also but when I am trying to do data preview, the statements runs for quite some time and throws this error " Error Executing Query: SAP DBTech JDBC: [2048]: column store error: search table error:  [47] message not found "

 

Same thing happens when I try to create Calculation View using GUI format.  When I execute the Analytical view and Attribute view separately, data comes back very quickly but when using them in a join, it is not coming up.

 

Here is my code:

 

IT1 = CE_JOIN_VIEW

(

"SCHEMA"."ATTRIBUTE VIEW",["BELNR", "BUKRS",

     "BUZEI", "GJAHR", "AUGDT","AUGBL", "SHKZG", "GSBER", "DMBTR", "WRBTR", "KZBTR","KOKRS", "SAKNR", ]

);

 

IT2 = CE_OLAP_VIEW

(

"SCHEMA"."Analytical View",["BELNR","BUKRS","GJAHR"]

);

 

var_out = CE_Join

(

  :IT1, :IT2,["BUKRS","GJAHR","BELNR"], ["BELNR","BUKRS",

                   "BUZEI"]

);

 

 

Any thoughts are greatly appreciated.

 

Thank you,

 

Raj

HANA XSJS - Call Procedure throws 3589 - Remote query execution failure

$
0
0

Dear all,

 

In our application, we have built XSJS services to call various SQLScript procedures to perform various operations(integrate with R server etc.). One of such procedure is quite big and we are facing errors while executing it. The procedure contains:

1. Multiple SELECTs(30+) statements on various Analytic Views [3-4 records/rows retrieved per SELECT]

2. Multiple DELETEs(5+) statements from Tables

3. Multiple INSERTs(5+) statements into tables

4. Calling RLANG Procedure(by passing couple of tables & getting the result)

5. Multiple local variables(40+) are also used

6. Multiple IN (10+) parameters are passed(No result sent out)

7. Total lines of code: 700+

 

The same procedure works fine while executed from SQL Console. Whereas while calling it from XSJS we are getting different errors. All the other procedures called from XSJS works fine(They contain comparitively lesser lines of code).

 

Error 1) First time execution

InternalError: dberror(CallableStatement.execute): 3589 - remote query exuectuion failure:  [3589] _SYS_BIC.xxxx.procedures/updateXXXX: line 62 col 5 (at pos 2844): GenericFailure exception: remote query exuectuion failure:  [3589] _SYS_BIC.xxxx.procedures/callXXXX: line 194 col 5 (at pos 9604): GenericFailure exception: remote query exuectuion failure: ReadChannelException at BufferedIO.cpp(01097):

  message: an error occured while reading from the channel

  info:    connection broken

  param:   127.0.0.1:30003

Please check lines: 194, at ptime/query/plan_executor/trex_wrapper/trex_wrapper_body/trex_query.cc:809

 

Error 2) Second time execution(Same url refreshed again throws different error)

InternalError: dberror(CallableStatement.execute): 2576 - attempt to access metadata of an invalid address (already deleted or corrupted, etc.):  [2576] _SYS_BIC.xxxx.procedures/updateXXXX: line 62 col 5 (at pos 2844): GenericFailure exception: attempt to access metadata of an invalid address (already deleted or corrupted, etc.):  [2576] _SYS_BIC.xxxx.procedures/callXXXX: line 194 col 5 (at pos 9604): GenericFailure exception: attempt to access metadata of an invalid address (already deleted or corrupted, etc.): attempt to access metadata of an invalid address (already deleted or corrupted, etc.)Please check lines: 222, at ptime/query/plan_executor/trex_wrapper/trex_wrapper_body/trex_query.cc:809

 

 

Options tried:

1) Commenting lines of code (with ~200 lines of code it works, beyond that it starts failing)

2) No authorization problem as the same user id is used and other procedures call from XSJS are working fine.

 

Is there any limitations on the lines of code/memory in procedure while calling from XSJS? If i comment many lines it works regardless of the statements used.

 

Regards,

Chathia.

Transient and Virtual Provider for HANA model

$
0
0

Hi experts ,

i would know the differences between Transient Provider and Virtual Provider to consume in SAP BW a HANA Model.

 

Thank you very much.

 

Best Regards.

 

Andrea

Viewing all 5115 articles
Browse latest View live


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