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

Filter by date variable

$
0
0

I have a Custom Fiscal Calendar table that contains
following:

                  Date,Fiscal Year, Fiscal, Qtr, Fiscal Period, Fiscal Week,  and Fiscal_Year_Week.

 

I need to create an analytical/calculation view where data is filtered by current and previous fiscal_year_week when the data is retrieved.

 

For example, today is 08/28/2013 which is fiscal year week of 201335, so I need to filter my data where Fiscal_Year_Week in(201334 and 201335)

 

The issue is I don’t have anything that tells me what current fiscal_year_week is other than querying the table with date = today() then get the fiscal week year from the record, then subtract 1 for previous week.

 

I know I can do this by using sql script, but is there any way I can achieve what I need in graphical view?

 

Any suggestions would be appreciated.

 

thanks!

 

Hyun


Looking for more info on CONCAT_ATTRIBUTE

$
0
0

Hi folks,

 

I'm looking at the SQL behind some of our larger tables replicated from SAP and see some have extra concatenated attributes similar to this;

 

ALTER TABLE "OURSCHEMA"."MSEG" WITH PARAMETERS ('CONCAT_ATTRIBUTE'=('$LGORT$MATNR$WERKS$',

          'LGORT',

          'MATNR',

          'WERKS'))

 

Does anybody have any further documentation about this, why it exists exactly and what the benefits are?  At first I thought it was simply a concatenation of KEY fields (and most indeed are) but some of the fields being concatenated are not KEYS.  Some of these concatenated attributes seem like common ways I might want to join to other tables so I wonder why they wouldn't just all be KEY fields to begin with as well.  So I'm wondering the logic behind this and if SAP has pre-chosen all of these combinations.  The other reason I'm asking is I was told by SAP in the past, when looking into huge memory consumption issues for BSEG for example - ie: noticed in some cases record count growth did not directly tie to memory consumption growth) that some additional memory is required for concatenated attributes.  So I just want to understand this better and can not find any documentation anywhere on this.  I noticed some very old SQL Script guides (HANA SPS 01!) had very vague examples of CONCAT_ATTRIBUTE but it was removed in later documentation.

 

Thanks for any information you may have on this subject,

-Patrick

SQL Syntax to read field or table comments

$
0
0

Hi folks,

 

I'm trying to read comments from specific table fields or the table itself via SQL editor in studio.  For example I know I can easily add a comment to a field like this;

 

COMMENT ON TABLE "MYSCHEMA"."LFM2" is 'Vendor Master Record: Purchasing Data'

COMMENT ON COLUMN "MYSCHEMA"."LFM2"."MANDT" is 'Client'

 

Now what is the syntax to READ these comment values via SQL editor?

 

Thanks

-Patrick

Unable to take restore package from bakup folder

$
0
0

Hello Experts,

 

I am trying to restore package from backup folder from my local drive. I have attched the error screen shot. do you know what specific role I need to import/restore the packages

 

Thanks,

Nis

Error in creating a simple Attribute View

$
0
0

Hi All,

 

I am getting below error when I tried to create a simple Attribute view in Cloud share HANA Studio.

 

"Could not open the editor: while trying to invoke the method java.lang.String.equalsIgnoreCase(java.lang.String) of an object returned from java.sql.ResultSet.getString(int)"

 

java.lang.NullPointerException: while trying to invoke the method java.lang.String.equalsIgnoreCase(java.lang.String) of an object returned from java.sql.ResultSet.getString(int)

    at com.sap.ndb.studio.sql.model.dbutil.JdbcExtended.populateTables(JdbcExtended.java:419)

    at com.sap.ndb.studio.sdk.resource.sql.service.dbutil.DBUtilService.fetchAllTablesList(DBUtilService.java:617)

    at com.sap.ndb.studio.bi.datafoundation.viewers.DataFoundationView.readAllTablesFromDB(DataFoundationView.java:131)

    at com.sap.ndb.studio.bi.datafoundation.viewers.DataFoundationView.prepareTables(DataFoundationView.java:90)

    at com.sap.ndb.studio.bi.datafoundation.viewers.DataFoundationContentProvider.getDisplayableChildren(DataFoundationContentProvider.java:114)

    at com.sap.ndb.studio.bi.datafoundation.viewers.DataFoundationContentProvider.getDisplayableChildren(DataFoundationContentProvider.java:1)

    at com.businessobjects.bimodeler.bigf.viewer.abstracts.AbstractViewer.loadFromModel(AbstractViewer.java:456)

    at com.businessobjects.bimodeler.bigf.viewer.abstracts.AbstractViewer.setInput(AbstractViewer.java:378)

    at com.sap.ndb.studio.bi.dimension.editor.DimensionEditor.setInput(DimensionEditor.java:319)

    at com.sap.ndb.studio.bi.dimension.editor.AbstractDimensionEditor.setDimension(AbstractDimensionEditor.java:225)

    at com.sap.ndb.studio.bi.dimension.editor.AttributeViewMultiPageEditor.addPages(AttributeViewMultiPageEditor.java:223)

    at org.eclipse.ui.forms.editor.FormEditor.createPages(FormEditor.java:138)

    at org.eclipse.ui.forms.editor.SharedHeaderFormEditor.createPages(SharedHeaderFormEditor.java:98)

    at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:348)

    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:670)

    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)

    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)

    at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:289)

    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2863)

    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2768)

    at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2760)

    at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2711)

    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)

    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2707)

    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2691)

    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2674)

    at com.sap.ndb.studio.bi.dimension.wizard.DimensionCreationWizard$1$1.runInUIThread(DimensionCreationWizard.java:191)

    at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95)

    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)

    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)

    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)

    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)

    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2629)

    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2593)

    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427)

    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)

    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)

    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)

    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)

    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)

    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)

    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)

    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)

    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)

    at org.eclipse.equinox.launcher.Main.run(Main.java:1407)

 

Regards,

Nagaraj

SAP BW on HANA : Steps after BW Upgrade and DB Migration

$
0
0

Hello Everyone,

 

We are having a BW on HANA System which is copy of our Production system. We upgraded BW 7.0 to BW 7.3 SP5 and than we have migrated DB from Oracle to HANA. Now system is handed over to check whether everything works well or not.

 

Can anyone list down or send the steps needs to follow in sequence to check if everything is fine after BW upgrade and DB Migration ?

 

Appreciate all your help in advance.

 

Rergards,

Komik Shah

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.

How to start SAP HANA IDE & SAP HANA Web-Based Development Workbench

$
0
0

Hi,

 

We have HANA SPS6 (rev 60). What do I need to do to be able to use the two new development tools? (E.g. I don't have the sap/hana/xs/editor package after the installation.)

 

Thanks,

Tamas


Regarding "Generate Time Data" Option in HANA

$
0
0

Hi All

    

In the Quick Launch page of HANA studio we have an option "Generate Time Data"  , can any body explain usage of this option.

 

Thanks

Santosh

How to copy SQL objects (tables, views & procedures) from one schema to another schema in the HANA same server?

$
0
0

Hello,

 

I need to dynamically provision Schema/Catalog, load data, analyze data, generate reports and drop the catalogs/schema from the server. 

 

I got a schema called "MasterCatalog" having 10 tables (most of them are empty), 3 views and 10 stored procedures. 

Now I want to copy the tables and procedures from MasterCatalog to newly created (empty) schema problematically.

First I create an empty schema using "CREATE SCHEMA" statement. Then copy the objects from master catalog to newly created schema.

 

For that, I tried Export & Import SQL commands. Using export command, i tried to export SQL objects onto a local server folder then tried to import the objects into newly created schema.

But it is trying to import SQL objects into the same source schema. There is no provision to specify the target schema on Import statement.

 

Any idea how to copy objects from one schema to another schema on the same server?

 

Regards,

TK

Modeling in HANA studio with BW tables

$
0
0

Hello,

We have built 2 write optimized DSOs in BW7.3 on HANA.

Now i can see DSO tables in HANA DB under BW user schema and we need to do modeling with these DSO tables in HANA modeler.

Questions:

1. Under BW user schema i can see DSO active tables, after opening the table the Execute(F8) button is in disabled mode, how to enable this execute button-does it require any additional previleges. How to see the data content for DSO table in HANA studio?

2. Can we use DSO tables for HANA views modeling --> Creating Attribute, Analytic and Calculation view?

3. To use these BW-HANA models in BO, any special configuration to be done in HANA?

Thanks,

Import of several CSV file to HANA by one step

$
0
0

Hello HANA Community,

 

I ask for your help. Our requirement is to upload several CSV files (up to 170) to already existing tables in HANA

 

I have unterstood how this works with just one file and tested this also successfully with the help of the following link

http://help.sap.com/hana/html/sql_import_from.html

 

Now I am woundering how I can do this with serveral CSV files in one step. My first idea was to use SQL Script but the SQL statement IMPORT is not valid in a script.

 

As we need this solution for a pilot phase we cannot enable this by SLT or other available tools.

 

Thanks in advance.

 

best regards,

Axel

HANA external library jar use

$
0
0

Hello there, experts.

I am trying to make an XS project in HANA which will use some of the classes and methods that can be found in a .jar file (it is an external library).

After input (CSV file) these classes and methods will do some calculations and present it to the user in UI (done in .xsjs file).

The question is: how do I access methods and classes of that .jar file? I have registered it as an external library, but I have no idea how to call it from my XS javascript source file. What is the easiest way?

Can you please help?

Thank you

Query from a SAP HANA Beginner.

$
0
0

Hi,

I'm totally new to the world of SAP. I have worked in "IT Applications Support & Maintenance" for 10 years and now looking to learn something new and exciting. Among the latest technologies I researched about, SAP HANA seems to take the lead. It would be of great help if someone can answer my queries below:

 

1. Can someone like me with absolutely no experience on SAP be able to learn HANA and land in a job? I know it'll be hard but please tell me it is not close to impossible.

 

2. These are the two courses I'm interested in (and also needed before appearing for an Associate Certification).

a. HA100 SAP HANA Introduction

b. HA200 SAP HANA - Installation & Administration.

 

3. There are E-Learning modules for the above two courses. Can I just learn with e-learning and not do any classroom training? At this point of time, I may not be able to afford classroom training.

 

4. If I go ahead with E-Learning, will I need a high-spec laptop/desktop to install and play with HANA? Or will a standard home laptop be good enough?

 

Many Thanks

Aneeth Gajapathi

Creating Primary key with the help of MD5 Hash

$
0
0

Hi,

 

Currently we are using merge statement for update else insert. but can we use MD5 hash for generating Primary KEY(With the help of multiple column values). Does HANA support MD5?

Actually I need to match a single solumn isntead of multiple for update else insert. Also dont want to create Composite Primary Key.

 

Please provide a solution


learn SAP HANA

$
0
0

Dear All,

 

 

I am working with following technology last 6 to 7 years.

 

 

  1. Sybase Power Builder 12.5.2
  2. Oracle 11G (As a DBA & PL/SQL developer)

 

  

As a data database programmer / administrator I am eager to
learn SAP HANA. Please answer my following questions.

 

 

  1. Based on the above knowledge (Sybase Power
    Builder 12.5.2 & Oracle 11G), can it be possible to learn SAP HANA?
  2. Any other technical knowledge is required to learn
    SAP HANA?
  3. Is it possible to learn SAP HANA by own, without
    help of professional institution?
  4. What are the fields of SAP HANA like
    Administrator, developer?
  5. Can it be possible only database programming
    using SAP HANA (like oracle PL SQL) ?
  6. Can it be possible to setup SAP HANA learning
    environment in home desktop?
  7. Where I get the learning edition of SAP HANA
    software?
  8. Is it possible to get HANA certified online?
  9. Where I get the beginners / advance tutorial
    document of HANA?
  10. Can application be develop using Sybase
    PowerBuilder 12.5.2 & SAP HANA?

 

Please help me to get the answer of my above query.

 

   

Thanks & Regards

 

Avishek

SAP HANA Error when deploying

$
0
0

Hi All,

 

I was in the process of deploying SAP HANA ANALYTICS FOR SCM 1.0 SP03  on our SAP HANA Appliance SP06 Rev60.

I have encountered and issue during the deployment due to which it failed with the below message

 

Error Message: Execution of 'Update SAP HANA system from stack.' failed.

Detailed Message: Could not deploy HANA content.

Could not update software component(s) sap.com/HCO_HBA_SCM_APO on host hananode01.

Could not deploy all delivery units.

Repository request failed, cause: Repository: Activation failed for at least one object;At least one error was encountered during activation. Please see the CheckResult information for detailed information about the root cause. All objects without errors have been activated., code: 40,136, argument:

Error code 40136.

Help: http://help.sap.com/hana

 

My HLM is stuck at resume and i am unable to proceed forward or abort the deployment.

 

kindly let me know if there is a way to abort the deployment.

 

Thank

 

regards

 

Shaik

Message while starting HANA:Impromptu CCC initialization by 'rscpCInit'.

$
0
0

Hi,

 

I am getting error while starting HANA.

hanadb4:/usr/sap/PRD/HDB88> HDB start

 

 

 

 

StartService

Impromptu CCC initialization by 'rscpCInit'.

  See SAP note 1266393.

OK

OK

Starting instance using: /usr/sap/PRD/SYS/exe/hdb/sapcontrol -prot NI_HTTP -nr 8                            8 -function StartWait 2700 2

 

 

27.07.2013 17:02:57

Start

OK

 

----

 

hanadb4:/usr/sap/PRD/HDB88> /usr/sap/hostctrl/exe/sapcontrol -nr 88 -function GetProcessList

 

 

27.07.2013 17:04:51

GetProcessList

OK

name, description, dispstatus, textstatus, starttime, elapsedtime, pid

hdbdaemon, HDB Daemon, GREEN, Running, 2013 07 27 17:02:58, 0:01:53, 3351

hdbnameserver, HDB Nameserver, GREEN, Running, 2013 07 27 17:03:01, 0:01:50, 3371

hdbpreprocessor, HDB Preprocessor, GREEN, Running, 2013 07 27 17:03:22, 0:01:29, 3433

hdbindexserver, HDB Indexserver, GREEN, Running, 2013 07 27 17:03:25, 0:01:26, 3460

hdbstatisticsserver, HDB Statisticsserver, GREEN, Running, 2013 07 27 17:03:25, 0:01:26, 3461

hdbxsengine, HDB XSEngine, GREEN, Running, 2013 07 27 17:03:25, 0:01:26, 3462

sapwebdisp_hdb, SAP WebDispatcher, GREEN, Running, 2013 07 27 17:04:10, 0:00:41, 3659

hdbcompileserver, HDB Compileserver, GREEN, Running, 2013 07 27 17:03:22, 0:01:29, 3434

hanadb4:/usr/sap/PRD/HDB88>

 

 

All services are runnning, but i am unable to connect from HANA Studio.

 

Pleaes suggest.

 

Thanks,

Priya

What is a "Shared Storage" in a HANA system

$
0
0

Hi,

I was going through a document on high-availability of HANA systems and I came across the following,

scaleout.png

 

My question is, what does the shared storage mean here? Is it an external back-up location that is shared across the servers or is it the disk storage of the servers that is being shared?

 

Thanks,

Benedict

PAL installation issue

$
0
0

Hi All,

I am not able to install Application function library [AFL] related to Predictive analysis  [PAL] in the SAP HANA system because i don't have access the below link

http://service.sap.com/swdc

 

and while creating a new user in the hana system i am not able to find PAL in SQL privileges.

 

 

Please help me....

 

Thanks in Advance

 

Rupendra Thakur

Viewing all 5653 articles
Browse latest View live


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