Quantcast
Channel: SCN : Unanswered Discussions - SAP HANA and In-Memory Computing
Viewing all 4343 articles
Browse latest View live

strange out of memory query

$
0
0

Hello,

We are having weird SQL performance issue in the following SQL:

SELECT 

DIM."_BA1_IGL_ACCOUNT", "_BA1_C40FTRAN", "CURRENCY_TYPE",

SUM("KF_VALUE") AS "KF_VALUE_SUM"

FROM

"_SYS_BIC"."BNHP-UTILS.NewDrillDown/CV_DAILY_BALANCES"

( 'PLACEHOLDER' = ('$$IP_MODULE$$', '0'), 'PLACEHOLDER' = ('$$IP_BAL_DATE1$$', '20141231')) FACT  

  INNER JOIN "_SYS_BIC"."MD.Groupings/AT_GRP_GL_ACC_NUM"  DIM

ON (

DIM."_BA1_IGL_ACCOUNT" = FACT."_BA1_IGL_ACCOUNT"  AND

DIM."GL_ACCOUNT_GRP_CODE2" = FACT."GL_ACCOUNT_GRP_CODE2"  AND

DIM."GL_ACCOUNT_GRP_CODE1" = FACT."GL_ACCOUNT_GRP_CODE1"  AND

DIM."GL_ACCOUNT_GRP_CODE3" = FACT."GL_ACCOUNT_GRP_CODE3"  AND

DIM."GL_ACCOUNT_GRP_CODE4" = FACT."GL_ACCOUNT_GRP_CODE4"  AND

DIM."GL_ACCOUNT_GRP_CODE5" = FACT."GL_ACCOUNT_GRP_CODE5" )

WHERE ("CURRENCY_TYPE" = 'G') and

DIM."_BA1_IGL_ACCOUNT" = '0000099020'

--DIM."GL_ACCOUNT_GRP_CODE1" = '05'

GROUP BY

DIM."_BA1_IGL_ACCOUNT", "CURRENCY_TYPE","_BA1_C40FTRAN"

ORDER BY  DIM."_BA1_IGL_ACCOUNT" ASC, "CURRENCY_TYPE" ASC



If we unmark the where sentence to: DIM."GL_ACCOUNT_GRP_CODE1" = '05'   and change it with DIM."_BA1_IGL_ACCOUNT" = '0000099020'

although the query should return even more records it ends in 2 seconds!!



When checking the explain plan we discover:

Where DIM."_BA1_IGL_ACCOUNT" = '0000099020'

1.jpg



Where  DIM."GL_ACCOUNT_GRP_CODE1" = '05' 



2.jpg

When checking the visio plan:

Where DIM."_BA1_IGL_ACCOUNT" = '0000099020':

3.jpg

Where  DIM."GL_ACCOUNT_GRP_CODE1" = '05'  :


4.jpg


As you can see from the visio plan estimation in the working query the ATT view cost estimation is bigger than the CV cost estimation while in the out of memory query the estimation is exactly the opposite.

Is there a way to control which query will run first?

Please help!!!!

Thanks,

Amir


Need a SQL Script for Compare the Row above to that Row

$
0
0

Hi ,

 

Looking for some Script here for resolving my issue.

Actual scenario is... A.B,C & Posting date should sort ascending  and to find the Expiration date change.

See the first two ROWs of "C" Column having 1470328PC and Posting Date 12.12.2014 and Expiration Date is 31.05.2016.

and go to the next "C" means 3rd row 1463127PC then the Expiration date of the "C" is 30.04.2016.

 

here when A,B is constant and C is changing then should compare the Expiration date to the previous Expiration date of "C" column.

Example...  the Expiration Date of 1463127PC is less than 1470328PC's Expiration date.

then need to make that row highlight.

 

 

 

 

can any one give some pseudo logic for the above scenario.

 

 

Thanks in advance,

 

Thanks,

Gundala

Pass parameter from calculation view to projection

$
0
0

Hi,

 

The scenario I'm working on is the following:

 

I have created a SQL script calculation view that has an input parameter that is used to retrieve data - this SQL script is functioning well based on the value entered in the parameter

 

Now this SQL script calculation view is to be used in a graphical calculation view because the result sets need to be joined. However, I need to be able to enter the parameter value in the graphical calcualtion view and pass it down to the SQL script calcuation view. The parameter is not used to filter on a column, but is used to determine a 'decision path' in the SQL script in order to dynamically retrieve the correct values based on the parameter.

 

Any ideas on how this can be achieved? When I add the same parameter to the graphical view, it is not passed down to the SQL script calculation view.

 

Kr,

 

Tom

Calculate before Aggregation

$
0
0

Hi,

 

Can anyone please explain the difference or use case of calculate before aggregation in calculation columns. I did search in the forum and there were many helpful answers but couldn't find an explanation with examples.I am aware of the fact that by choosing calcuation before aggregation we could sum up , count or max and the logic is applied before aggregation but am not able to visualize the same in a real example. Can some one help pls?

 

 

Tnx,

Prem

What happend if the master index server fail in scale out?

$
0
0

Hi experts,

 

I have a doubt... what happend if the master index server fail in a landscape with scale out but without standby?

does the change from the fail master index server change automatically to another index server slave?

 

Thanks in advance,

Regards,

SAP ERP 6.07 and SAP MDG on HANA as MCOD

$
0
0

Hello Experts

 

I need to install two solutions

 

1. SAP ERP 6.07 on HANA

2. SAP MDG 7.0 on same HANA used by ERP 6.07.

 

Could you please guide me here how to proceed?

 

Thanks & Regards

Akshay

Is HANA database or platform (or both)?

$
0
0

Possibly a stupid question, but I found these days when someone just says 'HANA' it's getting difficult to understand what are they talking about exactly.

 

If you google 'what is SAP HANA' the top 2 answers will be: "it's a platform" (from SAP) and "it's a database management system" (from Wikipedia). To me "platform" is something that doesn't really do much on its own but serves as, well, platform for many other things (I know it's a very simplistic definition but bear with me). So it'd be something like an operating system or, in SAP world, Netweaver. Platform and DBMS are not the same thing, essentially.

 

To add to confusion, this website says:

At the core of the SAP HANA real-time platform is the SAP HANA database.

Not to mention there is also apparently HANA Server and HANA One (I'm too scared to look for more HANAs at this point).

 

Out of curiosity I've checked what's the current definition of MS SQL Server and it still seems to be DBMS but also "foundation for platform" (to be named, I guess).

 

When this whole HANA thing started I could with some degree of confidence say that "HANA is an in-memory database", but now it seems one would have to clarify "which HANA?". Or did I just sleep through some evolution during which database evolved into a "platform"? Or is it simply some marketing play on words? Or sudden lack of creativity in the product naming by SAP?

 

Thank you!

Reorg of the file indexserver?

$
0
0

Hi experts,

 

The indexserver has a file where all data are save... ok, but, are there any task or job for reorganize it?

 

Thanks in advance,

Regards,


blank screen and time out message when connecting to EC2 via Putty

$
0
0

I was able to successfully launch Hana SP09 library instance to EC2 and it is running
however when I am trying to connect to the instance via putty (the only option for this solution), the Putty screen gets blank and errors "connection time out", there is no even log in request

Thank you,

 

Yulia

HANA LOG QUOTA EXCEEDING THE LIMIT

$
0
0

Dear All

 

I am facing the issue in HANA DB where the hanalog Quota exceeding the limit.

I am worrying about the production system failure.

We are using TSM solution for backup and manually we did successful backup back and it is not truncating the logs.

Anybody can help me out to resolve the issue as soon as possible.

 

 

Thanks in Advance

Se.

how to download pdf file from database using xsjs in sap hana

$
0
0

how to download pdf file from database using xsjs in sap hana? i am using sps09 , server side xsjs and view side javascript

SQL Script: Select Singel Value for further processing

$
0
0

Hey guys,

 

i am trying do write some kind of a dynamic procedure. I created a table which contains properties for some different cases, eg. table names, name of values and other stuff. The plan is to use a input paremeter in my procedure which identifies the properties which should be used. Here is a altered code snipped so you can understand what i am trying to do.

PROCEDURE "anyname" (IN OPTION nvarchar(30),OUT tt_someresults)
LANGUAGE SQLSCRIPT
 SQL SECURITY INVOKER 
 --DEFAULT SCHEMA <default_schema_name>
 READS SQL DATA AS
 -- Define Output Table
BEGIN
/***************************** 
 Write your procedure logic 
 *****************************/
 -- GET responding Table from Properties
valuetable1 = SELECT "TABLE1" FROM "SCHEMA"."PROPERTYTABLE" WHERE "OPTIONNAME" = OPTION;
tt_someresults = SELECT "XYZ", "ZYX" FROM "SCHEMA".OPTION WHERE CONDITION;
END;

The first step is to extend the procedure with dynamic table/schema and then for example diferent "SELECTs" and different conditions.

Has anyone an idea if it is possible to do so? It would be create because it would be a modular solution for some queries which would normally use more procedures.

 

Best Regards,

 

Lukas

High availablity in hana system

$
0
0

Dear,

 

when enable High availability with apache server after configure apache service and enter on  :

 

https://<Center IP>:<B1AH Port>/Enablement/

 

I am facing error as below :

 

jj.png

 

 

can help me ?

Is there a way to import large XML files into HANA efficiently are their any data services provided to do this?

$
0
0

1. Is there a way to import large XML files into HANA efficiently?
2. Will it process it node by node or the entire file at a time?

3. Are there any data services provided to do this?

This for a project use case i also have an requirement to process bulk XML files, suggest me to accomplish this task

Data preview error: 2048 Column store error:search table error

$
0
0

Hi Colleagues,

 

I am testing the data preview in an analytic view and I've got some errors like these:

 

"JOIN_/XNFE/INNFEIT_/XNFE/NFEASSIGN_11_JOIN_/XNFE/INNFEIT_/XNFE/NFEASSIGN_12_concat"

 

SAP DBTech JDBC: [2048]: column store error: search table error:  [2999] Error initializing joins: Could not handle join condition "JOIN_/OPT/VIM_1HEAD_RBKP_8_JOIN_/OPT/VIM_1HEAD_RBKP_9_concat"

 

I've been checking if there is any issue in a specific join, but I couldn't find anything.

 

Do you have any idea how can I fix that?

 

Thanks in advance!

 

Best Regards,

Amanda


Apps Fiori for PPM

$
0
0

Hi guys,

 

I was looking for any existing apps for PPM. I've found one fact sheet that could support our requirements.

However it's necessary to have Suite EHP7 on HANA, and company's roadmap is to migrate only in 2017.

I also know there the analytical or Smart Business that are other options for sidecar scenario, that it's our case.

 

I would like to know how it's the process for this second scenario (sidecar):

Is it something like HANA Live to import in HANA Studio?

Is it necessary to install the add-on in backend and frontend? How does it work?

Would I have the same features of a fact sheet?

 

Thanks in advance for your assistance.

 

Kind Regards

Amanda

Uniform Inventory Reporting across different SAP source systems

$
0
0

Good Day!

 

We've just implemented HANA Live to support a set a corporate KPI's.  The project has gone well, and we're on track for the production go live in May.

 

As awareness of HANA starts to increase in the organization, discussions are now underway about additional projects.  One idea which has been suggested is a consolidated view of what are called "Strategic Commodities".  These are high value commodities with long lead times.  We run 4 separate SAP ECC systems, which came into the corporation through acquisition.  There was no global template, each SAP system was configured independently.

 

To track the strategic commodities (they number about 20 identifiable materials) at month end, a corporate financial analyst must log into each of the separate SAP systems, determine the on-hand quantities and utilization for the month, merging all the data into a spreadsheet.

 

One suggestion for utilizing HANA Live, would be to link to all 4 SAP systems, and using SLT pull the relevant inventory tables into HANA and then to possibly use out of the box VDM's to consume the consolidated data.

 

The commodities are all numbered differently in each source system.  During the ETL process we'd most likely assign a master inventory number to the inbound data.

 

We're trying to figure out a very high level project plan.  Looking for any insights to problems we may encounter, and have to resolve along the way.  Obviously as discussed, we need to true up the master data to a level of consistency.

 

Our experience with SLT has generally been a good one.  We had some initial teething pains, where we followed the implementation guide religiously, had far to many jobs running, and almost brought the ECC source system to its knees.  It's running very well right now.  We're replicating close to 500 tables, with no issues.

 

One of the bigger disappointments, has been the VDMs.  There are 5 MM-IM (Inventory Management) queries, and they don't appear to be particularly useful for reporting out:

 

- ending inventory

-  material delivered

- material consumed

 

We're trying to figure out if we toss the VDMs and start from scratch, or think about enhancing the existing VDMs.

 

Any intel would be appreciated.

 

Thanks in advance.

FAIL: process hdbindexserver HDB Indexserver not running

$
0
0

Hi

 

We just rebooted HANA and now it is not coming up. Getting the following message

 

FAIL: process hdbindexserver HDB Indexserver not running

 

Checked the IndexServer log files and see the OOM Dumps during startup. Heap memory is being taken heavily.

 

[9222]{-1}[-1/-1] 2015-03-30 23:11:10.901918 e Memory           ReportMemoryProblems.cpp(00884) : Out of memory occured. More information in oom runtime dump!

 

Total allocated memory= 652251419395b (607.45gb)

Total used memory     = 646955460983b (602.52gb)

Sum AB                = 642623292299

Sum Used              = 637327333887

 

I stopped and started multiple times and still the same problem. How do I get back my system up and running.

 

Mahesh Shetty

BW on HANA and migration of other db

$
0
0

HI experts,

 

we are currently running BW on HANA and recently got a request of migrating another Oracle db into HANA and build some sort of GUI on top of that.

The data from this oracle db should not be in BW, but only in HANA.

My first thought was to put this data in a separate schema in HANA, but Im not 100% sure this is the right way to go? The data needs to be separated from BW.

 

Anyone with experience of this?

 

Many thanks!

 

BR

Max

Table BC_BPEM_EL_ENTRY not found in the control table DMC_MT_TABLES

$
0
0

Hello All,

 

I am trying to replicate BPM(PO) processes data into HANA using SLT to use the same data and process in SAP OpInt business scenario.

 

I am following SAP OpInt Developer guide : http://help.sap.com/saphelp_hana_opint/SAP_OPInt_Developers_Guide.pdf

 

 

I am trying to Load and Replicate(Real-time) below BPM tables.

 

BC_BPEM_EL_ENTRY

BC_BPEM_EL_EVT_MAP

BC_BPEM_EL_RDS

BC_BPEM_UM_MAP

 

Load is working fine but Replication is failing. When I check logs I have found an error message in LRTC's Table health check status. Please see below for error message screen shot reference. I did the similar replication with ABAP system & HANA using SLT and it works fine but BPM System & HANA is not working.

 

ltrc error.JPG

 

Could you please help me?. Thanks in Advance.

 

Naresh

Viewing all 4343 articles
Browse latest View live


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