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

Troubleshooting a locked system user

$
0
0

Hi folks,

 

We recently had an issue where a system user in production queries data from HANA and the ID got locked for 3 invalid attempts.  The question we are asking is how this could have happened because this is production system and nobody should be manually connecting with this user ID.  I'm trying to find a system view that might show invalid connection attempts and if there could be a way to find out what IP address the user was trying to logon from.  ie: I'm wondering if somebody was trying to use this ID that should not be.

 

Thanks,

-Patrick


Parameterized insertion of data in HANA through JavaScript

$
0
0

Hi there,

 

I created a little JavaScript application, that calculates different solutions to an optimization problem. At the end of each run I would like to store the solutions in a table on a HANA instance.

So far I tried to apply the code according to this example: How to insert data in HANA through JavaScript (with XS Engine)

 

My code with sample values:

var conn = $.db.getConnection();

var st = conn.prepareStatement("INSERT INTO \"SCHEMA\".\"testTable\" values(131,'E')");

st.execute(); 

conn.commit();

conn.close();

 

Standing alone in its own .xsjs file this code snippet performs perfectly well and the values are added to the table.

However, it doesn't work with parameterized insertion:

 

var st = conn.prepareStatement("INSERT INTO \"SCHEMA\".\"testTable\" values(?,?)");

st.setString(1,id);

st.setString(2,val1);

 

Do you have any ideas how I could include a parameterized insertion in the application to write e.g. the values stored in an array to the table?

 

I hope u can help me and many thanks in advance,

Daniel

HANA Live - Iot's of invalid views

$
0
0

Hi,

 

We just installed HANA live. In the SAP HANA Live explorer we see a lot of invalid views.

See example of one of the invalid views:

 

Invalid View.png

 

How can we evaluate why these views are invalid?

 

We use a SAP ECC 6.0 system.

 

Regards,

Jos van der Sterren

Analytical Privileges Questions

$
0
0

Hi Experts,

 

I am trying to understand the Analytical Privileges so require your help to understand.

 

1. Analytical privilege having multiple fields as restriction will take it as " and" for example if a AP1 is having plant and company code then it will check for both and give authorization for the combination of Plant and Company code.

 

2. If two Analytical privileges are having Plant and Company code separately then it will use OR  like either plant value or Company code value it will show data.

 

3. Now for example I have ATT_VIEW_1 and used this in ANALYTICAL_VIEW_1 and I have defined  AP1 on the field of ATT_VIEW_1 used in ANALYTICAL_VIEW_1 and I have only added the Analytical view_1 in the AP1, and I have another ANLYTICAL_VIEW_2 which uses the same ATT_VIEW_1 but I have created another AP2 and used the same ATT_VIEW_1 field and this AP is for Analytical view 2.

 

so for a user  I have assigned AP1 only its clear that he will see data he is restricted when he runs Analytical view 1 what happens when he runs Analytical view 2 as I have not assigned AP2 to him will it show data or not for Analytical view 2.

 

I understand that the ideal scenario is to use the second Analytical view also in the first AP1 so single AP1 is fine but I want to understand so the above case scenario.

 

4. Is the analytical privilege specific to Views or in general to the field value across all the models.

 

Thanks

Neel. M

Update HADOOP as updates occur via SLT

$
0
0

Hi folks,

 

My boss posed an interested question to me today.  He wants to know if any of the tables that we are loading into HANA from SAP via SLT could somehow also be pulled into HADOOP on a delta basis.  So as inserts/updates/deletes are occurring to a particular table like MSEG for example, could HADOOP be somehow polling periodically and just process changes as they come into HANA?

 

Thanks,

-Patrick

DELIVERY UNIT IN SAP HANA

$
0
0

how to use delivery units for migration of models from one system to another system.

Primary key columns Integer vs varchar pros and cons

$
0
0

Hi Friends,

 

 

 

I want to know which data type was best to choose for assigning Primary Keys.

 

 

If we choose INT as a data type by default it takes 32 bits (4 bytes) in Hana.

 

For even small values like 2,33,55 also  i know that it takes 4 bytes only.

 

 

Kindly tell me the advantages  & disadvantages of INTEGER over VARCHAR when  use a column as a primary key.

 

Also tell me the advantages & disadvantages of VARCHAR over INTEGER when we assigning VARCHAR as a primary key.

Please Ellaborate

 

 

 

Regards

 

Nagarjuna

How to check if field is numeric or not in calculated column

$
0
0

Hello,

 

I have created a simple attribute view in which I want to check if the KUNNR field is NUMERIC or not and print the result accordingly. There is no IS_NUMERIC function available in string functions so please help to write it with help of IF or CASE statement.

 

 

Thanks,

SHriniwas


Issue when I install SAP HANA Platform Edition

$
0
0

Hello,

 

Please someone can help me :

 

I am trying to install Sap Hana Platform Edition on Suse Linux Server Enterprise for SAP applications.

When I execute "Install SAP Applications" on Linux server, i choose the path directory of SAP HANA, the installation is running, but after 2 or 3 mn, the window ask me if i want to install another product, i say no, and I have the following error message :

 

 

Screenshot-YaST2.png

Does anybody have an idea ?

 

Thanks,

C.Delbrel

SAP S/4 Hana Implementation with Business suite -ERP

$
0
0

Hello Hana Guru's,

 

One of customer's want to go with SAP S/4 HANA since this will be complete Greenfield Implementation Project.with less number of users say 30 users only for the initial stage and it will be only ERP as implementation with modules like FICO,PP,MM,HCM & ofcourse Solution Manager. We need to suggest the solution if HANA will be the right choice as according to me since the users are less and there is no scope of BW so there is no point of going with HANA and also we need to keep in mind about the Hardware infrastructure budget.

 

As per the guides , I have seen HANA is compatible with Linux & Unix flavours .Customer interested in Windows platform - Is it possible with windows because, I have seen in PAM OS Windows 2012 is available but could not see in guides . So before informing customer wants to be sure.

 

I appreciate if you could suggest your advices.

 

Regards

Sap Basis

bods error

$
0
0

hi I am getting the error in BODS / HANA Can anybody guide me on this?

 

|Data flow DF_CHECK_BOFC_REJECT_RECORDS_IN_FIM|Loader FIM_JOB_RUN_PACKAGE_STATUS_FIM_JOB_RUN_PACKAGE_STATUS SQL submitted to ODBC data source resulted in error . The SQL submitted is . |Data flow DF_CHECK_BOFC_REJECT_RECORDS_IN_FIM|Loader FIM_JOB_RUN_PACKAGE_STATUS_FIM_JOB_RUN_PACKAGE_STATUS Execution of for target failed. Possible causes: (1) Error in the SQL syntax; (2) Database connection is broken; (3) Database related errors such as transaction log is full, etc.; (4) The user defined in the datastore has insufficient privileges to execute the SQL. If the error is for preload or postload operation, or if it is for regular load operation and load triggers are defined, check the SQL. Otherwise, for (3) and (4), contact your local DBA.

IMPORT Error on SAP Business One for Hana

$
0
0

Hi All,

 

 

     Would like to ask for help regarding import error we encounter

 

here is the error code.

 

Could not execute 'import "CA_PRODN_DB"."*" as binary from '/usr/sap/NDB/HDB00/work' with replace threads 10' in 8:16.961 minutes .

SAP DBTech JDBC: [2048]: column store error: table import failed:  [30111] Binary import failed (could not execute create statement);object=CA_PRODN_DB:tmp_qry_sp_b23a593a-6d4d-4470-9170-c5e86d4d3c8ben,too many values: U_UoM: line 82 col 55 (at pos 6097) at ptime/query/checker/check_insert.cc:27

 

Currently using HANA SPS7 and SAP Business One PL15 HF1

 

 

Thanks

Authorization Administration Tools

$
0
0

Hi,

 

Until now I have done quite a bit of authorization stuff in SAP ERP and BW, i.e. in the ABAP world. Recently, I have been introduced to SAP HANA and somehow somebody thought I should do authorization here as well. When I first read about catalog roles, I was genuinely shocked. How on earth could someone create something like that! Later, I discovered that repository roles exist which are much better.

 

But, I still haven't been able to find all the tools and reports that I used for authorizations, roles and users in SAP ERP and BW.

 

So here are my questions:

  1. Where can I the search tools when I want to know, e.g. which users (or which roles) have the SELECT privilege for table XYZ?
  2. How can I display and search the log files showing which users ran up against authorization Errors?
  3. How do I switch an authorization trace on and off?

 

I realize that a competent SQL programmer can code a solution to these tasks. But I hope that there are some readymade tools which will make my life easier.

 

I'm looking forward to your replies,

Martin

SAP HANA multitenant datavolume location

$
0
0

Hello,

 

I am working with SAP HANA multitenant databases and would like to know if it is possible to create a database tenant and specify a data volume location other than the default location. I would like to use serperate disks for every tenants data volume files.

I tried changing in the global.ini the value of basepath_datavolumes, but this dus not give the desired result. I am using HANA SPS95

 

Regards,

 

Jorg

HANA SP09, Multi-tenant Database Container

$
0
0

Hi All,

 

Based on the attached image, i understood that,on one SAP HANA instance many application can able to run.

 

 

My query :

Eg. Standalone SAP MDG as my APP x and SAP ERP CRM as my APP y which is running one SAP HANA instance.

 

Is my understanding is correct ?

 

thanks in advance


Difference between CDS type (hdbdd) and HANA type (hdbtable) format/approach

$
0
0

Hi Team,

 

In SAP HANA we can create persistence model either using CDS (hdbdd) format or using HANA type (hdbtable) format.

 

Can anyone help me understand the basic difference between these two approach??

 

Any pointers related to this is highly appreciated.

 

Thanks & Regards,

Anup

field or table alias is not allowed as an input of table functions

$
0
0

Hi,

 

I am trying to write a query something like the following in a procedure but it gives me error SAP DBTech JDBC: [7] (at 1669): feature not supported: field or table alias is not allowed as an input of table functions:

 

SELECT  

TempEX."M1",

TempEX."M2",

ex."E_ID",

TempEX."B_ID",

TempEX.B_Text,

ADD_SECONDS(TempEX."StartDateTime",60) AS StartDateTime,

ex."E2ID" AS ItemID,

ex."ExName" AS ItemText,

(SELECT ITEMS FROM SCHEMA."FN_GetItemCategories"(ex."E2ID",'Exhibitor','')) AS P, 

TempEX."MinTime",

TempEX."Radius",

ex."Size",

FROM SCHEMA."Escalators" ex INNER JOIN  

(

  SELECT .............................

) TempEX

ON ex."E2D"=TempEX."ItemID"

ORDER BY ex."E2ID",TempEX."StartDateTime";

 

Inside my function i am just trying to return a string after doing some select queries and operations. I cannot use scalar UDF because it does not support SELECT queries and if i make it table UDF then i get the above specified error. Can anyone suggest what am i missing or an alternative to achieve my purpose?

 

TIA.

Nikhil

Third party certified BI and ETL tools on HANA

$
0
0

Hi,

     I would like to know the following:

 

1. List of third party BI client tools ( ex: Qlick, Cognos, Tableau ) that are certified by SAP to report on HANA. Please let me know the link or note number where SAP maintains this list

 

2. Similarly, looking for a link or note which list down all the third party ETL tools that have been certified by SAP to load / extract data from HANA

 

 

I did some search with key words "third party certified ODBC based BI clients for HANA". Or "SAP certified BI and ETL tools on HANA".

 

But it just takes me to a SAP page which tells me how to certify.

 

Please share in case you are aware of. In case you are referring a link, please make sure that the link / url is maintained by SAP.



Regards,

Kowshik

Building a complex Calculation View on top of other Calculation Views

$
0
0

Hi Guys,

 

Do you have experience with building complex models using HANA Studio? I would like to hear your opinion about my case.

 

Currently we have a model running on a traditional relational DB, where we have raw fact data table and reference data tables.

The raw fact data is transformed in multiple steps, where intermediate results are stored in DB tables and are later used in the next steps.

After the last step of the processing we get output fact table, which is used as a basis for reporting.

 

Just to visualize that:

 

Raw_fact_data + reference_tab_1 (using join) + reference_tab_2 (using join) = intermediate_table_A

intermediate_table_A + reference_tab_3 (using join) = intermediate_table_B

intermediate_table_B + reference_tab_4 (using join) + reference_tab_5 (using join) = intermediate_table_C

etc.

result = intermediate_table_k

 

 

 

In HANA we would like to check if the same functionality could be achived "on-the-fly", so all the processing steps would be done during end user report execution.

 

Raw_fact_data + reference_tab_1 (using join) + reference_tab_2 (using join) = Calculation_View_A

Calculation_View_A + reference_tab_3 (using join) = Calculation_View_B

Calculation_View_B + reference_tab_4 (using join) + reference_tab_5 (using join) = Calculation_View_C

etc.

result = Calculation_View_k

 

 

What do you think of building a "cascade" HANA model, where Calculation Views are built on top of other Calculation Views joined with Column Tables? In each of the Calculation Views we have operations that are rather not well seen by HANA - Calculated Columns and some String operations.

 

We have about 20 quite complex steps, so I am worried about the performance of this non-staging approach. Some of the steps will be implemented using Graphical CV and some using SQLScript CV.

 

Additional question: is there any way to find the most time-consuming operation in these Calculation Views? With Explain Plan option it is not so easy in this case.

 

Best regards,

Leszek

Calculation of date difference

$
0
0

Hi

 

I need help to write the SQL script in HANA AMDP.

 

I have a internal table with multiple materials with issue date. One material is having multiple lines with different issuing date. I need to calculate -

 

  • Difference between the consecutive issue dates.
  • Get the AVG of the difference

 

 

Giving the explanation below -

 

Capture.JPG

 

Regards

Sudip

Viewing all 5653 articles
Browse latest View live


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