Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all 6412 articles
Browse latest View live

Unable to delete the sub-package and therefore whole package

$
0
0

Hi I have following package structure which I created to test creation of views

 

XXX-DEV

     XXX-DEV

          XH1

               XXX

                     FI

                        calculationviews

 

Everytime I tried to delete the calculationviews package then it gives following error:

 

Repository: Package is not empty(contains development objects);workspaces;;XXXREPO

 

I have tried various steps mentioned in the following discussions but still not able to delete this package from system

 

http://scn.sap.com/message/14374266

 

http://scn.sap.com/message/14119874

 

As per discussion 1, I deleted the project and later I activated the project folder in repository but it didn't pick up the deletion. So, as per discussion 2 I tried to delete the project folder manually (local workspace) but that also doesn't pickup the deletion after activation. Therefore, I can't delete the package neither in repository nor in SAP Hana systems window.

 

Update: I also tried to delete the package from SAP Application Lifecycle Manager and received same message.

 

Any help will be really appreciated.

 

Regards

Angad


SAP HANA Live slow query times

$
0
0

Hi, we have implemented HANA Live, which the SAP's Best Practice and standard Business Content on a lot of Lines of Business: FI, CO, SD, MM...etc...

but when we run reports , the average response time is between 12 and 16 seconds. We used all possible SAP tools. Lumira, BO Crystal Reports, Webi, SAP Design Studio, OLAP Analysis ad BO Explorer, but the response times are everywhere quite slow.

 

The HANA Live Calculation Views supposed to be already optimized for execution, but when we run them directly on SAP Studio, it gives us 12 seconds on the first run. On the consecutive runs the times improves drastically. I'm thinking that maybe we missing some Server config? It supposed to be already in-memory, so why is it so slow?

 

Thanks for your ideas.

Text tables STXH and STXL

$
0
0

Hi folks,

 

I have a project requirement that has a component that requires extracting pieces of information from text tables STXH and STXL.  Apparently we have data being concatenated into single text fields with pipe delimiters that will need to be extracted and parsed for a reporting requirement.  We have discussed possibility of replicating these tables into HANA but in our environment these tables are enormous.  Not to mention the ABAP logic that typically reads these tables via READ_TEXT function module is apparently quite complex.  I've been asked by our ABAP developers to find out if there is a way to call the READ_TEXT function module directly inside a HANA view and if not there must be others using HANA that are having the same issue and how have you handles retrieving this data?

 

Thanks,

-Patrick

How to create procedure for header table and item table

$
0
0

Hi,

 

Can anyone help me to understand how to write SQLscript procedure for looping item table inside header table?

 

I fetch records from sales header table ( order number ) and using that order number to loop sales item table,thereafter I need to perform business logic.

 

Any example similar above requirement would be helpful

 

thanks

Sourav

Using JSZip in XSJS

$
0
0

Does anyone have experience using JSZip in XS? The version we are trying to use is 2.2.0 which is different from what's mentioned in the License file for SAP UI5 page (https://openui5.hana.ondemand.com/LICENSE.txt)

 

We're getting over 50 errors with JSZip in JSLint. Could anyone please provide guidance on fixing the JSZip library and/or redirect us to an alternative zip library we could use?

 

Many thanks,

Anirban.

OData with Filter

$
0
0

Hi,

 

i am working on displaying record value using UI5. The record should be retrieved via OData from HANA by entering the record ID and the attribute values should be displayed in different textview. My data looks as follows,

 

Person [{ID: '001', Name: 'Tom'}, {ID: '002', Name: 'Marry'}]

 

and an OData service defined.

 

When the user input 001 from page and click button, the first record should be transfered and the name should be filled in a textview on page.

 

My problem is, I dont know how can i filter the OData when I bind the data with the textview? using bindproperty? bindtext?

 

I could do this without problem when displaying data in table, because the bindrow function can take the filter parameter. But the requirement specifies to use textview.

 

Thanks in advance!

 

Best Regards,

Hai

Specify Default Schema Name in HANA Connection string

$
0
0

Hi,

 

I have connection string like this.

 

 

DRIVER={HDBODBC32};UID=uid;PWD=pwd; SERVERNODE=x.com:30015;

 

I want to include default schema name in the connection string.

 

Please help me

Relationship between SPS number and release and version

$
0
0

I have to confess that I'm very confused by Hana's version terminology.  I could really use a table that shows how the various HANA version identifiers are related to one another. Given the rapid release cycle, it would be really nice if this table were updated here in the HANA developer center.

 

From the HANA Studio, I can see that my version is 1.00.69.385057.  After about an hour of research, I believe this is also known as SP7.  After further research it appears that version 70 is also known as SP7.  I've also found references to the terms "SPS07" and "SPS7" which i believe to be synonyms for SP7.

 

I found this general article about release strategy. FAQ: SAP HANA Release Strategy that talks about releases in general but is missing any real detailed information.

 

So, here's what I really need.  Can somebody fill this in for me?

 

ReleaseVersion/Build NumberRelease DateRelease Notes
Version 1 SP71.00.691/1/2014 (a guess, please fix)URL To Release Notes
1.00.702/1/2014 (a guess, please fix)URL to Release Notes

HANA AWS Instance not listening on 30015

$
0
0

Hello,

 

I have spent nearly all day loading data into our HANA instance on AWS for a demo next week.

I had been connected via JDBC, everything was working as it should.

After several hours of everything working I got this error half way through a SQL script.:

 

21:20:23  [INSERT - 7962624 row(s), 442.472 secs]  Command processed

21:32:26  [INSERT - 0 row(s), 0.000 secs]  [Error Code: -708, SQL State: 08006]  [-708] Data receive failed [Connection reset].

21:32:26  [INSERT - 0 row(s), 0.000 secs]  [Error Code: -708, SQL State: 08006]  [-708] Connection T0 could not send data [Socket closed].

21:32:26  [INSERT - 0 row(s), 0.000 secs]  [Error Code: -708, SQL State: 08006]  [-708] Connection T0 could not send data [Socket closed].

 

Trying to reconnect I get:

 

An error occurred while establishing the connection:

   Type: com.sap.db.jdbc.exceptions.JDBCDriverException   Error Code: -813   SQL State: HY000

Message:

   SAP DBTech JDBC: Cannot connect to jdbc:sap://<ip-address>:30015 [Cannot connect to host <ip-address>:30015 [Connection refused], -813.].

 

 

I check to see if port 30015 is listening on the server:

 

imdbhdb:/usr/sap/HDB/HDB00> netstat -ant | grep "LISTEN"

tcp        0      0 0.0.0.0:30001           0.0.0.0:*               LISTEN     

tcp        0      0 0.0.0.0:30002           0.0.0.0:*               LISTEN     

tcp        0      0 0.0.0.0:30005           0.0.0.0:*               LISTEN     

tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN     

tcp        0      0 0.0.0.0:30007           0.0.0.0:*               LISTEN     

tcp        0      0 127.0.0.1:30008         0.0.0.0:*               LISTEN     

tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN     

tcp        0      0 0.0.0.0:50013           0.0.0.0:*               LISTEN     

tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN     

tcp        0      0 0.0.0.0:30000           0.0.0.0:*               LISTEN

 

It is not.  I try restarting HANA...

 

imdbhdb:~ # su - hdbadm

imdbhdb:/usr/sap/HDB/HDB00> netstat -ant | grep "LISTEN"

tcp        0      0 0.0.0.0:30001           0.0.0.0:*               LISTEN     

tcp        0      0 0.0.0.0:30002           0.0.0.0:*               LISTEN     

tcp        0      0 0.0.0.0:30005           0.0.0.0:*               LISTEN     

tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN     

tcp        0      0 0.0.0.0:30007           0.0.0.0:*               LISTEN     

tcp        0      0 127.0.0.1:30008         0.0.0.0:*               LISTEN     

tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN     

tcp        0      0 0.0.0.0:50013           0.0.0.0:*               LISTEN     

tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN     

tcp        0      0 0.0.0.0:30000           0.0.0.0:*               LISTEN     

imdbhdb:/usr/sap/HDB/HDB00> stopsap

 

Stopping the SAP instance HDB00

----------------------------------

Shutdown-Log is written to /usr/sap/HDB/home/stopsap_HDB00.log

Instance on host imdbhdb stopped

Waiting for cleanup of resources..........

imdbhdb:/usr/sap/HDB/HDB00> netstat -ant | grep "LISTEN"

tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN     

tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN     

tcp        0      0 0.0.0.0:50013           0.0.0.0:*               LISTEN     

tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN     

imdbhdb:/usr/sap/HDB/HDB00> startsap

 

Starting SAP Instance HDB00

------------------------------

Startup-Log is written to /usr/sap/HDB/home/startsap_HDB00.log

Instance Service on host imdbhdb started

Instance on host imdbhdb started

 

imdbhdb:/usr/sap/HDB/HDB00> netstat -ant | grep "LISTEN"

tcp        0      0 0.0.0.0:30001           0.0.0.0:*               LISTEN     

tcp        0      0 0.0.0.0:30002           0.0.0.0:*               LISTEN     

tcp        0      0 0.0.0.0:30003           0.0.0.0:*               LISTEN     

tcp        0      0 0.0.0.0:30005           0.0.0.0:*               LISTEN     

tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN     

tcp        0      0 0.0.0.0:30007           0.0.0.0:*               LISTEN     

tcp        0      0 127.0.0.1:30008         0.0.0.0:*               LISTEN     

tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN     

tcp        0      0 0.0.0.0:50013           0.0.0.0:*               LISTEN     

tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN     

tcp        0      0 0.0.0.0:30000           0.0.0.0:*               LISTEN     

imdbhdb:/usr/sap/HDB/HDB00>

 

It is still not listening on 30015.

I have rebooted the instance.. same deal. no 30015.

 

What's wrong?

 

I'd rather fix this than have to create a new HANA instance and have to reinsert all my data again..

I haven't changed anything on the server..

 

Thanks,

Peter

XS engine hangs out on "network read"

$
0
0

Hi,

 

 

I've developped a sap ui5 project on top of xs engine in order to browse our data.

Everything working fine on HANA SP7.

 

 

 

But sometimes, when i'm trying to get data with xs js script or when i'm refreshing the model, the xs engine server hangs out.

In the Performance tab in hana studio, i can see that the current thread is blocked with the status "Network Read"

 

 

 

Have you heard about this issue ?

Can it be fixed ?

 

 

Regards

Feasible and optimised approach in HANA in a BW Landscape

$
0
0

Hi Folks

 

Could someone share the opinions /ideas on the following scenarios in a typical existing landscape how best we can accommodate HANA

I have existing landscape where i have ECC 6.0 ,BW 7.3 running on DB2 as DB.

I have a new HANA SP7.0 box along with BO 4.0 FP03 .

Now if i would like to enhance the following scenario what will be the possible  approaches

- I have to give an extra field in the BO report which is taking the data from BW infocube and loading the data from ECC 0FI_GL_14 .

- I donot want to modify or disturb the existing flow  and i wanted to report extra field which is available from ECC BKPF table. 

How exactly we can approach in the following two cases.

 

Assume that

case 1 : my ECC and BW are attached to HANA system with DB2 .

DB2.jpg

 

Case 2: my ECC and BW are running on HDB and attached to HANA system  .

 

HDB.jpg

 

Thanks in Advance for your help..!

Regards

K M R

!...tcaf eht syawla ton si rorrim

mirror is not always the fact...!

RDP Error: Your credentials did not work. SAP AS ABAP 7.4 SP5 incl. BW on SAP HANA 1.0 SP7

$
0
0

Hi Experts,

 

I have created instances from the SAP Application Server ABAP 7.4 SP5 incl. Business Warehouse on SAP HANA 1.0 SP7 [Developer Edition] free trial solution, as it is described in documentation. But I cannot connect to the Frontend Server instance (Windows 2008) via Remote Desktop Connection, I got a message: Your credentials did not work. User: Administrator, with the master password (pwd not mistyped, while it works on PUTTY, via Saplogon, etc.). I have a 64-bit Windows 7.


I have done the following so far:

First I have created an instance with the Public option, but the same RDP error. Then I have created a new instance as a Corporate Network. The result is: I can connect to VPN service, I can ping the Windows server, but I cannot log on to it with RDC. On AWS I have opened all ports for this instance. Then I updated my RDP, JAVA, enabled RDP on Firewall. Just for a test, I have also switched off Firewall and the AntiVirus program, still nothing. I have tried a Remote Desktop Connection to my Windows Instance from another laptop with Windows 32 bit system (from home and work too), and still facing the same problem: Your credentials did not work. Then I have also tried a tip from windows site (enablecredsspsupport:i:0 into .rdp). When I start the RDC, I get a certification error: The server name on the certificate is incorrect, but I can proceed.  Now the windows logon screen on the remote system appears, but still the same result: The user name or password is incorrect.


I would really appreciate some help.

 

Thanks,

Andrea

Issues with Import of GeoSpatial Data into HANA

$
0
0

hello all, we are trying to import a delimited file which contains point data. i've gone through a bunch of other blogs and discussions and the tips and info there were not enough to resolve our issue. apologies in advance if a solution has been posted elsewhere that i missed.

 

we've done the following on both rev 70 and rev 73 in a CAL / AWS environment. hana studio revs match the corresponding hana rev.

 

A) this works...using a create & insert statements...however, the file that we need to load is about 330,000 records so this is really not an option.

 

     create column table TEST01 (ROW_ID SMALLINT, LL_POINT ST_POINT(4326));

     insert into TEST01 values (1, new ST_POINT(-160.1533502,60.9289163));
     insert into TEST01 values (2, new ST_POINT(-146.5998672,64.6908321));
     insert into TEST01 values (3, new ST_POINT(-131.0855253,55.4118524));
     insert into TEST01 values (4, new ST_POINT(-135.3326235,57.1425084));
     insert into TEST01 values (5, new ST_POINT(-132.0403254,56.2791205));

 

     select ROW_ID, LL_POINT.ST_AsGeoJSON() from TEST01; -- select statement is okay as well

 

B) import to a new table fails.

 

tried importing the following data, in tab delimited format, into a new table TEST02 and using ST_POINT as the Data Type for the 2nd column. 2nd column should be the wkt format as per the spatial ref guide.

 

ROW_ID LL_POINT

1 POINT(-160.1533502 60.9289163)

2 POINT(-146.5998672 64.6908321)

3 POINT(-131.0855253 55.4118524)

4 POINT(-135.3326235 57.1425084)

5 POINT(-132.0403254 56.2791205)

6 POINT(-87.7460665 30.6592183)

 

the error that is produced at the end of the import workflow is the following.

 

Could not create table:SAP DBTech JDBC: [257]: sql syntax error: incorrect syntax near "null": line 3 col 22 (at pos 90): SAP DBTech JDBC: [257]: sql syntax error: incorrect syntax near "null": line 3 col 22 (at pos 90): SAP DBTech JDBC: [257]: sql syntax error: incorrect syntax near "null": line 3 col 22 (at pos 90)


com.sap.db.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: [257]: sql syntax error: incorrect syntax near "null": line 3 col 22 (at pos 90)

 

the data preview did look okay in this case.

 

C) import to an existing table fails

 

if i create a new table via the create syntax in method (A) above and try to import the tab delimited data to that existing TEST03 table, mapping One to One, an error is produced right after pressing Next in the Define Import Properties button.

 

An error has occurred. See error log for more details.

java.lang.NullPointerException

 

there are errors after each step in the import workflow and another is

 

com.sap.ndb.studio.bi.filedataupload.exceptions.InvalidTargetColumnInformationDataException

 

in the data preview at the end of the import workflow, only data from the ROW_ID field shows up. this differs from method (B) above in which both fields displayed okay.

 

question...does anyone have any steps that they have found to be successful for an Import of Point data? and / or, is there something that i'm doing wrong in the above process?

 

thanks,

jamie

Create an FULLTEXT index with text analysis on

$
0
0

I am trying to create an FULLTEXT index with tet analysis on at a column with datatype text,

but Hana throws an error that the column is already indexed.From HanaAcademy the example given there at Text Analysis: Full text Search using TEXT | SAP HANA

mentions that there is not any problem.How can i implement the example?

 

Also is it possible to create a Fulltext index with a deployment file like .hdbtable creates a Table?

 

Thanks,Otto

OData performance on HANA

$
0
0

Hi,

 

i am wondering how does the OData communicate HANA, when users consume data via OData Services. I read from UI5 document that "OData Model is a server side model", that means all data are held on server (XS Engine). I also found the following two statements, which retrieve data from HANA according my OData definition, were created in the HANA SQL Plan Cache, when i called the OData Service via URL at the very first time.

 

New statements in SQL Plan Cache:

a.png

 

OData Service definition: ("TEST"."BBBB" is a simple table)

 

service {
     "TEST"."BBBB" key generate local "GenID";
}

 

After that, i called this OData Service again and again, even updated the record in BBBB. The above two statements including all their infos stayed no change. There was also no more related entry created in Plan Cache.

 

Actually, if the OData called after updating, new query has to be executed on HANA again. The LAST_EXECUTION_TIME are ? in Plan Cache, does that mean, the execution time of such query from OData is not displayed / recorded? Or there are even other related queries but not shown in the Plan Cache?

 

The second concern is the performance of the OData. Does XS Engine really persistent (in application level) all data for OData Services? If that is true, one must be very careful when defining the OData Service on big data to avoid system crash. However, since we don't see all information of queries from OData Service in Plan Cache, could it be true that HANA executes some hidden queries created dynamically according the user request on OData Service?

 

Regards,

Hai


HANA Studio "Memory Overview" shows No Data

$
0
0

Hi,

 

In HANA Studio I am attempting to view the graphs in "Memory Overview" and "Resource Utilization".  When trying to view each one it only shows "No Data" as seen in the image below.  My HANA DB is 1.0 SP07.

 

I have activated the statisticsserver setting to "true" under the nameserver.ini configuration.  My user also has the required authorizations.

 

What else am I missing?  Any help would be greatly appreciated.  Thanks!

 

3-17-2014 10-44-42 AM.jpg

HANA SPS07 in AWS; XSJS not working

$
0
0

When starting the new HANA SPS07 in AWS (Amazon Web Services), it seems XSJS is blocked as I can't seem to get the XSJS test screen to show.

 

I'm using the AMI that SAP provided by going to the EC2 dashboard => AMIs => Filter: Private Images (instead of Owned by me) => 'SAP HANA Developer Edition Rev 70' => Launch / Spot Request.

 

Then I tried going to the http://<hostname>:80<instance> to get the test-screen (XSJS is up and running), but instead I get a message 'Oops! Google Chrome could not connect to <hostname>' (or 'This page can’t be displayed' in internet explorer). The IDE page won't open either, the same message is returned.

 

First I thought it had something to do with security groups or some other VPC setting in AWS, but everything works perfectly fine when starting up the 'SAP HANA Developer Edition Rev 68' (or 60), using the same VPC and Security groups. Port 8000 is in the security group rules.

 

Furthermore, I can connect to the system throught HANA Studio and all lights are green when I go to the administration page in the HANA Studio. I've looked through the help documentation and haven't been able to find any reference on changes to the way XSJS is called or any services/parameters that have to be turned on. The only alternative now is to work with Revision 68, but I'd rather work with SPS 7 :-)

 

Can anyone help?

How to get spatial database in rev 68

$
0
0

Hi folks,

 

I'm interested in using spatial data for an upcoming project in our pipeline and I've read a lot of cool stuff about it but I can't seem to figure out what I need to do to get started in 68.  It seems it's available out of the box in SPS07 (is this correct?) but we are still on 68 and I read a slide that said we had to engage with SAP to get this started and download an RDS (rapid deployment solution).  Is this true?  I'm looking for the quickest way to get started.  If this is much easier to get started in 7 then perhaps I finally have a good case to upgrade.

 

Thanks,

-Patrick

cannot get the data provider outline

$
0
0

I was trying to create a analytical view in SAP HANA with the help of following guide.

 

https://images.experiencesaphana.com/modeling-data/working-hana-modeller/creating-analytic-views/

 

I could not open data preview and received following error

 

SAP DBTech JDBC: [391] (at 119): invalidated view

 

After searching on SDN, I found following solution at http://scn.sap.com/thread/2043153


grant select on schema <SCHEMA> to SYSREPO with grant option;

grant select on schema <SCHEMA> to <USER>;

 

I successfully executed first statement but kept failing to execute second one. I was getting error. After reading the error message and SAP note I realized that I was logged in as SYSTEM so I do not have to execute second statement. I only needed this if I am allowing other users.

 

Silly, but I learnt something new.


While defining a columnar table, what is the purpose of column store type

$
0
0

Hi folks

 

I have two questions related to columnar table definition.

 

1. What is the purpose of column store type.

While defining a columnar table, what is the purpose of column store type (STRING ,CS_FIXEDSTRING,CS_INT etc) , when I define a table using the UI I see that the column is showing STRING but when I goto EXPORT SQL it does not show.  Is this mandatory or optional ?

 

2.VARCHAR Vs. CHAR - In the UI when I create the table I do not see the CHAR option , but I do see lot of discussion where people are using CHAR for defining the columnar table. Not sure why UI dropdown does not show it. I also read that we should avoid using VARCHAR as those columns are not compressed, is that true, I thought the column store gives compression for all the columns. Are there certain columns which cannot be compressed .

 

Please let me know where I can find more information about these two questions.

 

Poonam

Viewing all 6412 articles
Browse latest View live


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