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

Re: Push notification


Re: Left Outer join

$
0
0

Hi Sumeet,

 

what is that number you posted with your name? Telephone? If that is so, I'd recommend not to put it into your signature but to have it just in your profile. Same goes with email addresses & other links. Just put them into your profile where everybody can find them (if interested).

 

About your question: your question is a pretty newbie question for a modeling/SQL/database query forum. But instead of marking it as "failed to search" I'd rather want you to get a little bit more involved.

 

First off: the way you backed up your question with example data is much better than what we often see here.

Well done - that way everyone clearly sees what you want to achieve.

 

What's missing however is that you show us, what's you've tried to so far and why it didn't solve your problem.

Why do you think that this cannot be done in graphical calc. views? What have you tried so far?

How would you do it in SQL?

 

Ok, your turn

 

- Lars

Re: Left Outer join

$
0
0

Hi,

 

Sorry for the number.In office I am very used to put signature like this.   By any chance can I edit my post,?   And yes I am learning HANA of my own. I am a ABAPer by profession.

 

And yes coming on the query I created graphical calculation view like below.

And I have given join type as left outer join but I only want entry which does not exists in Table4.

 

Can it be achieved with the help of graphical view? Or shall we have to use SQL script for the same?

 

 

 

 

calc_view.gif

BR

Sumeet

Re: is null

$
0
0

Hi,

 

Can you please explain how can you achieve the same?

 

 

Sumeet

is not type compatible.

$
0
0

Hi all

 

I have defined a method like this

 

begin of ty_plnt,

        plnt type z_cds_purc-plant,

end of ty_plnt.

 

 

TYPES: tt_pnt TYPE STANDARD TABLE OF ty_plnt

 

METHODS retv_bgsml

        IMPORTING

          value(iv_from) type d

          value(iv_to) type d

          value(iv_plnt) TYPE tt_pnt

        exporting

          value(et_itm_bgsml) type tt_bgsml

 

In my report program i am using a select-options

SELECT-OPTIONS s_plnt for z_cds_purc-plant

 

I am calling  the method like this

 

lo_itm_sum->retv_bgsml(

  EXPORTING

    iv_from    = p_ivfrm

    iv_to      = p_ivto

   iv_plnt =  s_plnt

  IMPORTING

    et_itm_bgsml = DATA(lt_itm_sum)

).

 

It shows an error as

err.png

What could be the possible error.

 

Thanks and regards

Arun Kumar Menon

TIME_DIMENSION tables in _sys_bi got delete

$
0
0

Please help to restore or create TIME_DIMENSION  tables in _SYS_BI schema. sql query would really help!

Re: TIME_DIMENSION tables in _sys_bi got delete

$
0
0

•M_TIME_DIMENSION •M_TIME_DIMENSION_WEEK •M_TIME_DIMENSION_MONTH •M_TIME_DIMENSION_YEAR

Re: is null

$
0
0

Hi Sumeet!

 

Create an attribute view with the left outer join.

Create a graphical calculation view.

Pull in a projection, and drop the attribute view.

On the OUTPUT panel use the EDIT FILTER EXPRESSION to add the isNull() function to the desired field.

 

Make other attribute views for the other pair of tables, do the projections in the calculation view and connect them with a join, and map the fields.

 

At the end we used a scripted calculation view, because we do not use it for big data, only for a few rows in each table pairs, and it seemed easy just to copy&paste the code instead of making many attribute views. But we tried the attribute view way as well and it worked well.

 

If you need more explanation do not hesitate to ask!


Re: HANA Service "sapstatsrv" can not start

$
0
0

The message is the following:

 

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

trc file: "sapstartsrv.log", trc level: 0, release: "740"

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

pid        5113

 

 

[Thr 140690812237664] Sun Nov 23 01:47:46 2014

No halib defined => HA support disabled

CCMS agent initialization: WARNING: cannot recognize instance type, checking profile parameter "system/type".

CCMS agent initialization for instance type ABAP: return code 0.

CCMS agent start: return code 0.

Initializing SAPControl Webservice

Starting AutoRestart thread

AutoRestart thread started

SapSSLInit failed => https support disabled

Starting WebService thread

Webservice thread started, listening on port 50013

Trusted http connect via Unix domain socket '/tmp/.sapstream50013' enabled.

Re: xsjs SQL performance issue

$
0
0

Let us have a try . Instead of using setInteger method, just try concatenating the where clause and execute .

Re: 404 Not found issue - XS project and UI5 Projects

$
0
0

Confirm the check list below .

 

1. Check the UI5 bootstrap URL and OData base URL  - Have you used relative URL(or fully qualified URL).

2. Manually execute the error URL separately - Chances are, the odata services are not active or, could be authorization error also.

3. Are you able to load the UI properly ?

Re: HEX String to INTEGER conversion

$
0
0

Thanks Lars!

 

By all means I will leave automatic partition pruning to the optimizer if possible. And I totally agree that l have to rethink ETL and model design completely without assuming techniques that were valid in other specific scenarios. This is exactly what I currently evaluate in my current PoC. So we're getting a little bit offtopic now and I thank you for the provided links and information to my question!

 

Best regards (topic is closed from my side),

Bodo

Re: SAP HANA modelling Standalone

$
0
0

Magge,

 

w regards to:

  • SAP HANA Live, please see SAP HANA Live - Real-Time operational reporting for details. Yes, SAP is simplifying the approach, if you are on the latest version you will have the latest SAP HANA Live content.
  • CKF, RKF: SAP has aligned the BW and the HANA studio modeling in BW 7.4. Ideally you use the BEx tools and for complex calculations which can not be easily done in SQL. BW is an important data warehouse orchestration application especially for SAP source data. Please see SAP HANA Modeling for SAP HANA Studio tutorials.
  • Universes: SAP HANA Studio provides open interfaces, please contact SAP Services for best practices for your unique situation.
  • ETL: SAP provides different options for different needs. DataServices is the tool of choice for transformations, whereas SAP LT and Sybase Replication Server SRS provides near-real-time services depending on your source database and application. for more details please see: . Please see SAP ESP for real-time sensor data streaming analyiss and provisioning: Data Provisioning for the SAP HANA Real Time Data platformSAP ESP - Integrating Data Streams into your Big Data Architecture

 

thank you

erich

XS missing in Hana

$
0
0

Hello,

 

we have installed two HANAs.

In one the whole XS part is missing ( /sap/hana/xs content), so the whole DU part seems 'not installed'.

Even if I do an update of the build, no XS components are updated. In the working HANA they have been updated.

 

Ideas?

 

Thanks

Jan

Re: consuming SAP HANA from ABAP


d3.js v3

$
0
0

HI all,

I need to use a newer version of d3.js with SAPUI5 on our Hana, however it has only a 2.9.0 installed and when I try to load a newer one from d3js.org, it is overwritten with the old one because it loads later. I don't want to overwrite the installed file in ui/thirdparty, because this would most probably break other sapui5 functionality. Is there any way that would allow me to use the new d3,js?

 

Cheers,

 

-- Micha

Re: SAP HANA modelling Standalone

$
0
0

Thank you Erich for the answers.

 

Magge

Re: XSJS

$
0
0

Hey Thomas ,

As per our discussion , We have sap package in our content folder.

There I can go to this path

 

/sap/hana/xs/ide/editor/server/repo/packageLib.xsjslib

 

And can tweak the code as there I have function for createNewPackageInternal and other functions and can achieve the creation of package through XSJS code.

 

Please comment on this.

Re: XSJS

$
0
0

Yes this is the REST repository I was referring to which will be released and documented in SPS09. However you shouldn't call the internal functions of the XSJSLIB library. Please only use the API via the REST endpoints.

Re: SQL Server and HANA - Query with parameters

$
0
0

Thanks Lars!

 

 

 

If I do the query using a WHERE condition, in some cases when the View has 500,000 records or so, it takes a long time. Even when the query should return just a few records.

 

 

 

Could it be by a problem in the DRIVER?

 

 

 

 

Best regards!

Viewing all 9165 articles
Browse latest View live


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