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

HANA backup

$
0
0

Hi All,

 

I have a question regarding ways to trigger a backup.

I can see that we have to connect via sql to be able to trigger the backup like

hdbsql

hana studio

 

Is there a way i can do it from HDBsettings.sh using some of the python tools?

Can sql commands be executed from there?

 

Thanks,


Can we import a BW navigational attribute into HANA ?

$
0
0

There is one attribute in BW ZXPARTALU and it has one navigational attribute with name ZXPARTALU__0NAME2 . In HANA Studio this cube is generated as analytical view in which ZXPARTALU  is available but ZXPARTALU__0NAME2 has not imported .Please provide a solution as how could we get this navigational attribute into HANA.

insufficient privilege during select

$
0
0

Hello,

we are trying to execute a select on a hana column view created by sap bw.

 

Select Statement from bo explorer:
SELECT "ZX_PROJAH" AS "ALIAS_0412B065" , "ZX_CUSTOM___T" AS "ALIAS_7EB67647" , "ZX_CUSTOM" AS "ALIAS_EE0FEF92" , "ZX_PROMON" AS "ALIAS_0412BD60" , "ZX_PRODGR___T" AS "ALIAS_2E5B30D8" , "ZX_PRODGR" AS "ALIAS_04129AA3" , "ZX_COUNTR___T" AS "ALIAS_A0478319" , "ZX_COUNTR" AS "ALIAS_EDBC3564" , SUM("ZX_REKLA") AS "ALIAS_67F03444"  FROM "_SYS_BIC"."system-local.bw.bw2hana/ZX_CUBE01" GROUP BY GROUPING SETS LIMIT 26 MULTIPLE RESULTSETS  ((("ZX_PROJAH") ORDER BY ALIAS_67F03444 DESC ,ALIAS_0412B065 ASC ),(("ZX_CUSTOM___T", "ZX_CUSTOM") ORDER BY ALIAS_67F03444 DESC ,ALIAS_7EB67647 ASC ),(("ZX_PROMON") ORDER BY ALIAS_67F03444 DESC ,ALIAS_0412BD60 ASC ),(("ZX_PRODGR___T", "ZX_PRODGR") ORDER BY ALIAS_67F03444 DESC ,ALIAS_2E5B30D8 ASC ),(("ZX_COUNTR___T", "ZX_COUNTR") ORDER BY ALIAS_67F03444 DESC ,ALIAS_A0478319 ASC )) WITH PARAMETERS( 'locale'='de_DE' )

 

Create Statement of HANA Studio column view:
CREATE COLUMN VIEW "_SYS_BIC"."system-local.bw.bw2hana/ZX_CUBE01" WITH PARAMETERS (indexType=5,
  joinIndex="SAPETB"."/BI0/SCALYEAR",
joinIndexType=2,
joinIndexEstimation=0,
  joinIndex="SAPETB"."/BI0/SDATE",
joinIndexType=2,
joinIndexEstimation=0,
....

 

We are using the user ROEMER to execute the statement.

The user ROEMER has following
granted roles:
- modeling
- user
- public
- AFL__SYS_AFL_AFLPAL_EXECUTE_WITH_GRANT_OPTION
object privileges:
- _SYS_BI grantor _SYS_REPO
- _SYS_BIC grantor SAPETB
- _SYS_BIC grantor _SYS_REPO
- _SYS_BIC grantor SYSTEM
- _SYS_REPO grantor SYSTEM
- REPOSITORY_REST grantor SYSTEM
- ROEMER grantor SYS
- SAPETB grantor SAPEPB
- SYSTEM grantor SYSTEM
analytic privileges:
_SYS_BI_CP_ALL

As you see, we have tried many combinations of SCHEMA and USER with the GRANT Statements
GRANT SELECT ON SCHEMA <SCHEMA> TO <USER>;
GRANT SELECT ON SCHEMA <SCHEMA> TO _SYS_REPO WITH GRANT OPTION;

Anyway we get the error of unsufficient privileges:
Could not execute 'SELECT "ZX_PROJAH" AS "ALIAS_0412B065" , "ZX_CUSTOM___T" AS "ALIAS_7EB67647" , "ZX_CUSTOM" AS ...'
SAP DBTech JDBC: [258]: insufficient privilege

Which privileges and roles are neccessary?
What is missing?

 

 

Best Regards
Andreas

restricted column on hierarchy node

$
0
0

Hi, I want to create a restricted column in a calculation view. The restriction is based on a node of a hierarchy. As the leaves are changing over time, I don't want to restrict on leaves, I want to use the node. The node is stable. BR, Stephan

Error While activating the Scripted calculation view

$
0
0

Hi Guys,

 

I am getting the following error while activating the scripted calculation view. Please find the below screens for details.

The same script is executing in SQL console but in cal view getting error.

Please help me.

csv.PNG

 

 

error_scv.PNG

TIA

Performance Impact : Reporting on BW Query Vs Reporting Generated HANA View

$
0
0

Hi ,

 

In an eclipsed based model , I wanted to understand in performance point of view what is the major difference between

- Build a Bex query and import into any front end

- Generate the HANA view and consume this view into any from end.


Please help in understand this.


Thanks,

Prashanth

 

S4HANA 1511 installation..Problem in HAN DB import.(Defunct process)

$
0
0

Hello Experts,

 

We have a strange problem in 1511 installation.

During the DB import phase, the import halts without any reason. It will not update the error logs as well.

Up on checking, we find that the CPU utilization for all the R3load processes will become zero.

 

Further checks shows that, the indexserver becomes like this;

hd1adm   21900 14230 19 04:44 ?        00:12:15 [hdbindexserver] <defunct>

 

It will not let us use that DB instance even after OS reboot. We need to install new DB instance each time it fails.

 

System Environment :

OS         - SUSE Linux 11 SP2.

HDB      - HANA 1.0 SP11.

SAP      - S4HANA 1511.

Memory - 512GB

 

All the mount points have sufficient free space as well.

mhdhana02:~ # df -h

Filesystem                Size  Used Avail Use% Mounted on

/dev/mapper/vg0-root      9.9G  5.2G  4.3G  55% /

devtmpfs                  253G  304K  253G   1% /dev

tmpfs                     380G     0  380G   0% /dev/shm

/dev/sda1                  98M   23M   71M  25% /boot

/dev/mapper/vg0-hanadata  985G   71G  864G   8% /hana/data

/dev/mapper/vg0-shared    504G  198G  307G  40% /hana/shared

/dev/mapper/vg0-usrsap     99G  5.4G   94G   6% /usr/sap

/dev/mapper/vg0-hanalog   493G   17G  451G   4% /hana/log

/dev/mapper/vg0-sapmnt     99G  1.7G   92G   2% /sapmnt

mhdhana02:~ #

 

Unable to find the root cause. Please let us know if anyone have come across this situation & found the fix.

 

Regards,

Suresh Kadali

No Data In HANA View

$
0
0

Hi Experts,

 

I have a simple calculation view on a single table without any filters. I can see data when I do Table > Data Preview.

But when I run the calculation View I can't see any data coming through.

I am not sure what may be the problem. What I know is data volume is huge in this table. May that be a reason here?

Or some authorization problem.

 

Regards

Jitendra


High avialability in Linux systems

$
0
0

Dear Experts,

 

Typically in a windows environment we have achieved high availability by installing central services on clustered environment.

 

Can any one of you experts can shed some light or suggest documents on how to gain high avialable system in linux environment.

 

Thanks,

Jun

Issue with HANA studio

$
0
0

Hi All,

 

We have a HANA running on SPS 11.

Studio is on 102.

 

When i try to open the roles tab i get the below error. Any pointers please?

!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".

!STACK 0

java.lang.NullPointerException: while trying to invoke the method java.lang.String.length() of a null object loaded from local variable 'string'

    at org.eclipse.jface.viewers.StyledString.append(StyledString.java:264)

    at org.eclipse.jface.viewers.StyledString.<init>(StyledString.java:132)

    at org.eclipse.jface.viewers.StyledString.<init>(StyledString.java:117)

    at org.eclipse.ui.model.WorkbenchLabelProvider.getStyledText(WorkbenchLabelProvider.java:213)

    at org.eclipse.ui.internal.navigator.extensions.SafeDelegateCommonLabelProvider.getStyledText(SafeDelegateCommonLabelProvider.java:118)

    at org.eclipse.ui.internal.navigator.NavigatorContentServiceLabelProvider.findStyledText(NavigatorContentServiceLabelProvider.java:167)

    at org.eclipse.ui.internal.navigator.NavigatorContentServiceLabelProvider.getStyledText(NavigatorContentServiceLabelProvider.java:153)

    at org.eclipse.ui.internal.navigator.NavigatorDecoratingLabelProvider$StyledLabelProviderAdapter.getStyledText(NavigatorDecoratingLabelProvider.java:63)

    at org.eclipse.jface.viewers.DelegatingStyledCellLabelProvider.getStyledText(DelegatingStyledCellLabelProvider.java:206)

    at org.eclipse.jface.viewers.DecoratingStyledCellLabelProvider.getStyledText(DecoratingStyledCellLabelProvider.java:199)

    at org.eclipse.jface.viewers.DelegatingStyledCellLabelProvider.update(DelegatingStyledCellLabelProvider.java:106)

    at org.eclipse.jface.viewers.DecoratingStyledCellLabelProvider.update(DecoratingStyledCellLabelProvider.java:136)

    at org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn.java:154)

    at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:949)

    at org.eclipse.jface.viewers.AbstractTreeViewer$UpdateItemSafeRunnable.run(AbstractTreeViewer.java:114)

    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)

    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)

    at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:1029)

    at org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:473)

    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)

    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)

    at org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:2176)

    at org.eclipse.jface.viewers.AbstractTreeViewer.updateChildren(AbstractTreeViewer.java:2750)

    at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1916)

    at org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:684)

    at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1891)

    at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1848)

    at org.eclipse.ui.navigator.CommonViewer.internalRefresh(CommonViewer.java:527)

    at org.eclipse.jface.viewers.StructuredViewer$8.run(StructuredViewer.java:1554)

    at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1462)

    at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:366)

    at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1423)

    at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1551)

    at org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:534)

    at org.eclipse.ui.navigator.CommonViewer.refresh(CommonViewer.java:344)

    at org.eclipse.ui.navigator.CommonViewer.refresh(CommonViewer.java:490)

    at com.sap.ndb.studio.authorization.AuthorizationWorkbenchAdapter$2$1.runInUIThread(AuthorizationWorkbenchAdapter.java:162)

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

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

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

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

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

    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)

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

    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)

    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)

    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Name Schema Wrong in system query

$
0
0

HI

I made a copy of the final database (eg SBO_DEF) on a test database (eg SBO_TEST).
For export I used the command
IMPORT "SBO_DEF." "*" FROM '/ usr / sap / NDB / HDB00 / work / tests'
WITH REPLACE RENAME SCHEMA SBO_DEF TO SBO_TEST

In SBO_TEST database system queries have the reference to the original scheme, for example:
... .. FROM "_SYS_BIC." "Sap.sbodef.ar.case/CustomerReceivableAgingQuery" ... ..

instead of ... .. FROM "_SYS_BIC." "Sap.sbotest.ar.case/CustomerReceivableAgingQuery" ... ..

The query then go to error on db sbo_test and, being system queries, if I change the schema name can not override them but I have to duplicate them.

Is there a way to fix the schema name inthese queries?

Thanks

HANA SSO - Difference in UserID

$
0
0

Hello Experts,

 

We are configuring HANA SSO with Kerberos but have different UserID naming standards in AD as compared with HANA and SAP systems.

 

In AD the company standard is - First name.Last name

In SAP systems with HANA is - LastName+FirstnameInitial

 

Question - Will the UserID needs to be same in AD and HANA? If no - what things need to be considered in the config.

 

( We have BOBJ and other tool SSO setup done with BW system where we use the feature of Alais in SU01 where we maintain the AD Id for a SAP userID)

 

Any pointers will be appreciated.

 

Thanks,

Daya

SAP HANA System Issue after a few days of runtime

$
0
0

Hi Gurus,

 

We are facing an Issue on our HANA System. Mostly after a runtime of more ore less than three days we are unable to log on to the sap system via SAP GUI. we see the folowing ABAP dumps. more than 500 dumps per Day

 

systemdump.png

Systemdumps on ABAP side, Connect to the instance mostly not possible

 

 

At the HANA logs I see these entrys

hana_log.png

 

HANA DB-Version 1.00.112.00.1457615240

Can somebody help me solve this issue?

Can i Use Temporal Join

$
0
0

Hi HANA Artifacts

 

 

Can i use Temporal joins in Calculation View (Graphical and Script)

 

Thanks in advance

 

Regards

Srinivas

HANA Join Cardinality - Impact?

$
0
0

Hi,

 

I was wondering what the impact on the cardinality settings on Attribute and Analytical views are. I am aware of the theory behind cardinalities 1:1, :n, n:1 and n:m. I can imagine what the impact of a "Join Type" (eg Inner, Left Outer etc) would be as the SQL script behind the scenes will use this join type to join the views. However, what is the role of the cardinality? For. e..g, if I get my cardinality wrong but my Join right, would a reporting query on an attr/analytical view bring back wrong results? or will there be just a performance impact? Does the SQL optimizer or the OLAP/Join engine optimize the SQL query generated based on the cardinality rule?

 

Any thoughts on this would be highly appreciated.

 

Thanks in Advance,

Anooj


HANA User Statistics- Where?

$
0
0

Hello,

 

Does hana store some statistics around how many users are activity logging into the system? We want to monitor the user count on a daily hourly basis on who is logging in and running queries.

 

I am able to find memory statistics easy enough but not user.

Dynamic selection of Analytical view in Calculation

$
0
0

Hi

 

 

Is it possible to dynamically select the view based on Cases statement.

 

 

 

Myscenario

 

 

I have to show the actual sales and projected sales.

Every month, the showroom sends the actuals sales and the projected sales.

 

Ex.

ShowroomJan 2016Feb 2016Mar 2016Apr 2016May 2016June 2016July 2016Aug 2016Sep 2016Oct 2016Nov 2016Dec 2016
SHW - 1200300400500500400300350500400300200

In Month of Feb , Jan and Feb will be actual sales and march to december will be projected sales

 

Some months, the same showroom may not send projected sales, but actual sales only

 

Ex In month of april, the showroom has send only Actual sales till Apr 2016

ShowroomJan 2016Feb 2016Mar 2016Apr 2016May 2016June 2016July 2016Aug 2016Sep 2016Oct 2016Nov 2016Dec 2016
SHW - 1200300400500

 

 

So when we run the report, I should take the previous month Projected sales and need to apply for remaining months

 

In this case, I need to take March data which has projected sales from Mar to Dec and I need apply from May to Dec

 

So,

 

The possible thought is , will create projection for last month, and current month and if the projected months value is empty I need to take from other projection (ie last month)

 

Sometimes, it may be case, the projected sales they might have given only one time , so I need to traverse back to find the month where the projected sales exist and to take projected sales from those and apply in report

 

Coming back to question, is it dynamically I can select the projection I need to report based on condition

 

Ex.

 

 

if curr month projected sales exist

take proj 1

else if month-1 projected sales exist

take proj 2

else if month-2 projected sales exist

take proj 3

-

-

-

else if month-11 projected sales exist

take proj 12

 

Regards

Ben

sql error -9300 performing SEL on table

$
0
0

We are in the process of upgrade/migration of our EHP6 system (running on Oracle with HP-UX IA 64) to EHP8 (Hana DB). In the down time phase of the upgrade (in the MAIN_NEWBAS/TABIM_UPG  phase), I am getting the below error.

I already looked into the note ‘2205345 - SAP HANA DB Client: "SQL code: -9300" occurred while accessing table <table_name>’ . Our Hana client version is 1.00.112 . Also tried with Hana client version 1.00.120  as recommended by the note…but issue not resolved.

If anyone encountered this kind of issue, please let us know the fix .

 

Hana DB version: 1.00.112

Hana Client Verson: 1.00.112 (tried with 1.00.120 too)

Rtrans version: 745_Rel Patch 115

SAP Kernel Rel: 745_Rel patch 100

Lib_dbsl (Hana db) : 1.0.100 (also tried with 116 patch)

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MAIN IMPORT ERRORS and RETURN CODE in SAPILEN618GAERP608X2.QB8
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 ETW000 [ dev trc,00000] sc_p=60000000010dd590,no=24,idc_p=6000000001142900,con=0,act=1,slen=72,smax=256,#vars=0,stmt=60000000012cf630,table=FPLAYOUTT
4 ETW000 [ dev trc,00000] stmtid = <3/FPLAYOUTT /1610612864/20141020135833>
4 ETW000 [ dev trc,00000] SELECT * FROM "FPLAYOUTT" ORDER BY "NAME" , "STATE" , "LANGUAGE" , "ID" ;
4 ETW000 [ dbtrtab ,00000] ***LOG BY4=>sql error -9300 performing SEL on table FPLAYOUTT
4 ETW000 [ dbtrtab ,00000] ***LOG BY0=>Internal SQLDBC error
2EETW000 sap_dext called with msgnr "1":
2EETW000 ---- db call info ----
2EETW000 function: db_setget
2EETW000 fcode: RT_GET (0)
2EETW000 tabname: FPLAYOUTT
2EETW000 len (char): 0
2EETW000 key:
2EETW000 ok fetches: 67176
2EETW000 last entry: REXCJP_PAYMENTREPORT AW
2EETW000 retcode: 1
2EETW000 sql error: -9300 Internal SQLDBC error
2EETW125 SQL error "-9300" during "" access: "Internal SQLDBC error"
1 ETP111 exit code : "12"

*******************************************************************

Thanks

VIjay B

What is the difference between HANA release 1511 HANA SPS 11?

$
0
0

Hi,

 

What is the difference between HANA release 1511 and HANA SPS 11?

 

Thanks,

abaper

XSJS : Return multiple records in response in the form of Resultset or Array.

$
0
0

Hi,

 

    I was having a query regarding that how we can return multiple records from XSJS resultset(in form of Array or something similar to entityset) in Response. So, that I can bind those multiple records in SAP UI5 Table( By using JSON model).

 

    Right now, I have got the result set -> Then have run a while loop(next) -> Then pushed in Array -> Stringify that array -> $response.setBody(result). And I am able to read and show the in UI in text area( Output is very much similar like JS Object).

 

Thanks,

 

Shivesh Ranjan.

Viewing all 5653 articles
Browse latest View live


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