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

Re: Conversion character to integer

$
0
0

Working with Rev. 56.

 

This is in fact the part of my script using the function to_int.

 

      var_out = CE_PROJECTION(:USR,["ID",

                                                            "SALES_REP_ID__C",

                                                            CE_CALC('to_int("SALES_REP_ID__C")',integer) as"X"

                                                           ]);

 

Little confused, becasue i think using the function to_int is the correct way. But now even the validation ends up whit the following error message:

 

Attribute 'to_int' is missing in node $$VAR_OUT$$.nnnSet Schema DDL statement: set schema "SALESFORCE"nType DDL

 

In all other cases wheneven I use something else than to_int the validation is alway okay, but the  error message i'm getting when performing a Data Preview (validation is okay) is:

 

Error: SAP
DBTech JDBC: [339]: invalid number:
[6930] attribute value is not a number;Error executing physical plan:
attribute value is not a number;in executor::Executor in cube:
STEFANR:_SYS_CE_$REQUEST$_popid_2_51CA06E2D3271024E10000000A66BB6B_176: calcEngine search on olapIndex failed.

 

Guess the syntax is correct.

 

What i saw was that my original input column is not of the type varchar, but of type nvarchar. Would that make a difference?

 

Grz,

Stefan


DBIF_RSQL_TABLE_UNKNOWN

$
0
0

Hi All,

 

I am using SAP HANA as a side car scenario. I replicated the tables from SAP ECC to SAP HANA. I also uploaded a scenario in SAP SEE in Table RDA_MAAINTAIN. I also activated the scenario and did the following checks

 

I also checked all the tables in SAP ECC

RDA_CONFIG, RDA_CONTEXT. The tables are appearing there.

 

However when i execute the T-code for which i migrated the tables throws a dump DBIF_RSQL_TABLE_UNKNOWN,

 

Can somebody help me where could be the issue.

 

 

regards

NIlesh

Re: Using Where clause in Expression Editor

$
0
0

Hi Sridhar,

 

What value do you expect where the REGION <> 'APAC' ? If you need to restrict all the rows with Region = 'APAC' then you might want to use a projection.

 

Regards,

 

Ravi

Re: Conversion character to integer

$
0
0

Hi Stefan,

 

The function is int(arg) and not to_int(arg). Please refer to Studio Help (Press F1) and search for "Functions used in Expressions". VARCHAR or NVARCHAR doesn't have any impact in this case.

 

Just out of curiosity, why do you need to convert it to Int. Do you wish to use it as a MEASURE ?

 

Regards,

 

Ravi

Re: Aggregation operation Count doesn't works

$
0
0

Hi Vishnu,

 

I tried a similar thing on SPS 06 (Revision 60) and it works fine. Can you please try with the latest revision. It should be quite easy for you, considering you are working for SAP .

 

Regards,

 

Ravi

Re: Conversion character to integer

$
0
0

Hi,

 

Try debugging the script in SQLScript debugger in SAP HANA development perspective. I found that the scripts run properly in SAP HANA development perspective than in modeller perspective. I faced a similar issue while trying to run in SQL console.

 

Regards,

Rashmi

Re: How to calculate a cumulative total in HANA

$
0
0

You may also want to check the standard view "sap.hba.ecc/NewGLAccountBalance" delivered with the Business Suite on HANA. It contains a running total: "AccumulatedBalAmtInDisplayCrcy".

Re: HANA and Business Objects = Permanent Marriage?

$
0
0

Hi Murali,

 

As you are a certified SAP HANA trainer, I am asking you this question

 

I am a Java developer having 2 years of experience and I would like to move into SAP HANA .

 

How about the job opportunities for HANA consultants in India ? ( Especially Bangalore).

 

Regards,

Vivek


Re: Transpose Rows in Columns

$
0
0

Hi Gary,

 

This logic works fine. Can you please suggest if I need to make this work for dynamic set of records how can I implement this?

 

regards,

Sridhar

Re: Which module has a good scope in future either SAP HANA or SAP BW?

$
0
0

Hi

    This is chetan wasnik n i have been working as a mechanical maintenance engineer past 4 yrs but         now  i want to switch over my career into SAP in MM/PM module. i just wanna to know the scope

     in MM/PM module n which 1 is better ??? please help me out ASAP.

 

 

Thanks

Re: Using Where clause in Expression Editor

$
0
0

Hi Abhishek,

 

Thanks for your suggestion.I do not want to filter on the column in that way as it will restrict the values completely.Instead I just want to create a new field where I can restrict the values based on the conditions using where clause.

 

regards,

Sridhar

Re: how to get connected to sap HANA db

Re: Description Mapping and Column Labels

$
0
0

Hi Mickey,

Please follow the below steps.

1. select join type as "Text Join"

 

2. Language column here should be "SPRAS1"

3.LANDX (Name) and LANDX50 (Long Name) to get the description based on LAND1 value.

4, LANDX  &  LANDX50  attributes should be exposed to output(attached screenshot    LANDX  &  LANDX50 are not exposed to the out out)

 

Thanks

Basha

How to Read/Binding Model of .XSODATA

$
0
0

Hi All,

 

I have defined a data model for .xsodata service

 



var oModel = new sap.ui.model.odata.ODataModel("../../../services/order.xsodata/", false);



 



var val1 = new sap.ui.commons.TextField({value: "{Value}"});

 

1. How to read the model and assign it to val1 - with this oModel.read("/OrderIde('10000000')",  .....

 

The model works fine when it is binding to a table like oTable.bindrows("/OrderIde");

 

2. I am not sure how to bind to a layout, for table it works fine as we have an option of .bindrows.

 

Any Alternatives/Suggestions?

Calling Procedure from XSJS

$
0
0

Hi All,

 

I have two questions.

 

1. How to write a where condition in the below case

 

function test(){

var body = '';

   var val1 = $.request.parameters.get('oVal1');

 

             try {

                    var query =

    'select \"A\", \"B\"

                              + 'FROM \"amohas97.session.data::sdyn\" + where \"A\" =



var conn = $.db.getConnection();


var pstmt = conn.prepareStatement(query);


var rs = pstmt.executeQuery();

 

without the where condition my query works fine and it pulls/display all the records.

 

I am not sure how to write clause using my variable val1 in this case.

 

 

2. I have created a get_data.procedure. Now i want to use this .procedure in my .XSJS service. I want to use val1 as my importing parameter.

 

Any Alternatives/Suggestions.

Thanks for comments in advance.

 

Message was edited by: Shahid Mohammed Syed


HANA SPS06 contains Rev.60

$
0
0

Hi ALL  We'd like to make HANA database revision.60.  Source: Rev.34 Target: Rev.60  We already confirmed Note1848976 and Note1880274, and found the description that HANA SPS06 contains Rev.60. Do we have to apply both SPS06 and Rev.60 to HANA or apply only Rev.60 would fulfill our requirement?  Thanks  Nagatani,yukinori

Re: HANA SPS06 contains Rev.60

$
0
0

Revision 60 and SPS06 are the same thing.

Re: Time Travel (History Table) in HANA with SLT

$
0
0

Justin,

 

SAP HANA supports to keep track of committed row changes.

This is a form of technical history and in your case with save a changed row when SLT committed it to SAP HANA and not when the record (note: record and row are semantically two different things!) had become valid from the business point of view.

 

Therefore, the history table feature does not cover your requirement here.

 

To enable time dependent master data, you still need to model this directly into your table design. Just like SAP BW on HANA still does it.

This is also further supported by features like the time dependent join in Analytic Views. There you select a column indicating record validity in the fact table and the valid-from and valid-to columns in the master data table to specify the join condition.

 

I know that at first sight the history table feature looks very appealing, but as mentioned in the blog discussion you referred it's not all that easy ...

 

- Lars

Re: What's behind the EARLY UNLOAD of the Non-active data concept for BW on SAP HANA DB ?

$
0
0

Hello Martin,

 

columnstore tables can have an attribute UNLOAD PRIORITY.

This can be checked upon in system view TABLES.

 

It's a integer value between 0 and 9. 0 means the table won't be unloaded, 9 means if any column/table need to be unloaded at all, this one will be unloaded as early as possible.

 

In general the parameter is just a weighting factor that puts the tables up or down in the queue of unload candidates.

 

Concerning the other memory management questions please check http://www.saphana.com/docs/DOC-2299 and the current SPS 6 documentation available on http://help.sap.com/hana_appliance.

 

 

Concerning the question on M_SERVICE_COMPONENT_MEM take a wild guess...

 

select * from m_service_component_memory

 

HOST  PORT  COMPONENT                                                  USED_MEMORY_SIZE
ld950630.003Column Store Tables                                        105.102.530.445
ld950630.003Other Engine Components (misc.)                            37.960.227.431 
ld950630.003Row store tables + Indexes                                22.458.706.522 
ld950630.003Persistence                                                1.517.751.936  
ld950630.003Database Kernel Statistics and Merge Statistics            1.401.040.576  
ld950630.003Auxiliary Row Store Components                            1.364.478.483  
ld950630.003Memory Management Information                              1.245.708.288  
ld950630.003Prepared Statement Cache                                  612.071.568    
ld950630.003Kernel Datastructures (Stack-Allocated)                    608.739.328    
ld950630.003Transaction Management                                    200.988.992    
ld950630.003Column Store Intermediate Results and Shared Datastructures751.304        
ld950630.004Other Engine Components (misc.)                            449.819.603    
ld950630.004Auxiliary Row Store Components                            113.882.464    
ld950630.004Kernel Datastructures (Stack-Allocated)                    92.626.944     
ld950630.004Memory Management Information                              62.914.560     
ld950630.004Database Kernel Statistics and Merge Statistics            58.092.528     
ld950630.004Persistence                                                48.566.296     
ld950630.004Column Store Tables                                        19.990.496     
ld950630.004Prepared Statement Cache                                  13.869.000     
ld950630.004Row store tables + Indexes                                6.912.064      
ld950630.004Transaction Management                                    1.831.976      
ld950630.004Column Store Intermediate Results and Shared Datastructures1.264          
ld950630.005Other Engine Components (misc.)                            1.135.776.855  
ld950630.005Column Store Tables                                        987.949.703    
ld950630.005Kernel Datastructures (Stack-Allocated)                    278.474.752    
......





 

- Lars

Unable to create any views in HANA Studio

$
0
0

Dear Frzz,

 

When am trying to create the Attribute View/Analytical View / Calculation View am getting an error "The CreateTableEntry is missing for _SYS_REPO:INACTIVE_OBJECTCROSSREF "

 

Initially i have created the views, but after the HANA system restart am facing this issue.

 

Can some one please help to resolve this issue.

 

I have attached the screenshot for your reference.

 

Best Regards,

Krishna.

Viewing all 8968 articles
Browse latest View live


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