Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all 9165 articles
Browse latest View live

Re: HANA Multi-host Replication Certificates

$
0
0

I am also having trouble understanding adding hosts and system replication..

 

3 hosts on the primary Hana version 97
streaming to
3 host replication server; Hana version 100

 

IF the secondary must have equal number as the Primary how does one add hosts?

 

I am planning on using secondary for minimal down time.

 

Snapshot and upgrade original primary, add host, distribute data.

 

Then what?

 

1.) We have an app that will sync data to primary so it is "Current"

 

or
2.) any more documentation on hdbnsutil and adding hosts?


Re: Secure storage is locked

$
0
0

Terry,

 

Thanks for sharing.  It works.

Re: HANA Multi-host Replication Certificates

$
0
0

Yes, the number of nodes in the secondary system has to be equal to the number of active nodes in the primary system -so you can only add standby nodes.

 

below link takes you to admin guide section "Use System Replication for Near Zero Downtime Upgrades" - this explains how you can use secondary for minimal or zero down time maintenance of primary system:

 

SAP HANA Administration Guide - SAP Library

 

 

hdbnsutil  -  is the command line tool which helps you to setup and work with system replication.

 

Set up System Replication with hdbnsutil - SAP HANA Administration Guide - SAP Library

 

to add host you have to use resident hdblcm or hdblcmgui or hdblcm web

 

Adding Hosts to an SAP HANA System - SAP HANA Administration Guide - SAP Library

Re: SAP HANA Advanced Data Processing

Reference to undefined property $.hdb - s9hanaxs

$
0
0

I am using this code to call store procedure but when I execute .xsjs I get this error:

 

Found the following errors:

===========================

ReferenceError: reference to undefined property $.hdb (line 5 position 0 in /s0015145715trial/development/machines/services/MachinesJSON.xsjs)

 

 

Code:

5.     var conn = $.hdb.getConnection();
6.     var getResult = conn.loadProcedure("_SYS_BIC", "s0015145715trial.development.machines.data.storeProcedure::machines");
7.     var result = getResult("param1","param2");

8

9.      $.response.contentType = "application/json";
10.     $.response.status  = $.net.http.OK;
11.     $.response.setBody(JSON.stringify(result));
12.     $.response.headers.set('access-control-allow-origin','*');

Re: Access on _SYS_STATISTICS schema

$
0
0

Only the owner itself is able to grant an in this case _SYS_STATISTICS is the owner and you are not able to log in as user _SYS_STATISTICS nor execute a command as _SYS_STATISTICS.

 

Sorry.

Silvio

Re: Reference to undefined property $.hdb - s9hanaxs

$
0
0

Hello Matej,

 

according to the mentioned hostname (s9hanaxs) you are on the HANA trial instance of the HCP trial. The SPS level of the trial instance is still SPS08. The new database interface ($.hdb) was introduced with SPS09. Therefore it is not available in your system and cannot be used at the moment.

 

According to different people from SAP the trial instance SPS level should be updated. But there is no official concrete date. Check also post No Updates for HANA Version in Trial?

 

Best Regards,

Florian

Re: SAP HANA Advanced Data Processing

$
0
0

From your above screenshoot it cannot be identified how your structure looks in package sap.hana. Is there a sap.hana.ta.config package? Even if you do not see it, it does not mean directly that it does not exist. A reason could be that you have no repo read privileges for the package.

 

Did you try to create a full text index using the EXTRACTION_CORE_VOICEOFCUSTOMER configuration for example?


Microsoft Entity Framework

$
0
0

Good Day,

 

This is my first post so please forgive me for mistakes.

 

We are using .Net entity framework in one of our projects on a SQL Server.

We want to be able to run this project on a HANA server.

 

Has anyone found a way to run the entity framework on HANA or does anyone know how this might be possible?

 

If so could you please provide a bit of detail on how you managed to accomplish this?

 

Kind Regards

Matt De Beer

Re: SAP HANA Advanced Data Processing

$
0
0

Hi Florian,

 

we are now on SP10 and now it works. Yes we tried to execute the VOiceOfCustomer.

 

Now it works and i'm happy, thanks a lot!!

 

Have a nice Weekend! 

Simon

Re: How to use stored procedures

$
0
0

Hi sandy,

 

You can use them via odata or if you want to use them in calculation view , you can use in scripted calculation view by using simple call statement in the same.

 

Br

Sumeet

Re: YouTube videos don't play

$
0
0

You can try installing google and firefox and use it instead  of IE9.

Re: HANA Smart Data Access With MySQL driver

Using DISTINCT and TRIM function on same column in single select

$
0
0

Hi,

 

Can we use DISTINCT and TRIM function on same column in single select.

 

expl:  Select Distinct (TRIM(NAME)) from Table;

 

this is giving error

Create Attribute View of "OSRQ"

$
0
0

Good evening friends


Iam new tothe community

I want to seeusingthe fields"OSRQ" in the HANAModeler,but I can notfind it.When I try tocreate aAtributteViewtells medoes not existorwhen I openthe viewcan not seethe codeforthe fields ortables used.


HowI cancreate a viewthat includes the "OSRQ"?

If you canhelp meIappreciate it.



Re: SAP hana migration upgrades

$
0
0

error Log

 

Job Details.
Job ID : H2D_ImportSeverModels_SYSTEM_1445628642593
Job Type : Import Delivery Unit
System : H2D:10.1.1.189:00:SINGLEDB:SYSTEM
Start Time : Fri Oct 23 19:30:42 UTC 2015
End Time : Fri Oct 23 19:30:56 UTC 2015
Elapsed Time : 13.603 Seconds
Summary Report.
NameTypePackageStatusDescription
HANA_UI_INTEGRATION_1_SVC.tgzImport Delivery Unit-Success.
GET_NAVIGATION_TARGET_DATACalculation Viewsap.hana.uis.dbSuccess.
Monitoringhdbrolesap.hana.admin.rolesError.
Administratorhdbrolesap.hana.admin.rolesError.
SysRepAdminhdbrolesap.hana.admin.cockpit.sysrep.rolesError.
Developerhdbrolesap.hana.xs.lm.rolesError.
DevelopmentExperthdbrolesap.hana.xs.lm.rolesError.
Administratorhdbrolesap.hana.xs.lm.rolesError.
BI_LAUNCHPAD_FIORIhdbrolesap.bi.launchpadError.
BI_LAUNCHPAD_SMB_MODELERhdbrolesap.bi.launchpadError.
Detailed Report.
  • Delivery Unit Import
    • Selected File:/usr/sap/H2D/SYS/global/hdb/auto_content/HANA_UI_INTEGRATION_1_SVC.tgz
    • Overwrite inactive versions:true
    • Activate Objects:true
    • Bypass validation:true
    • Activation
      • sap.bi.launchpad.BI_LAUNCHPAD_FIORI.hdbrole
        • A transaction rollback may have left the object in an inconsistent state.
      • Runtime 'SqlScript runtime' finished activation of 7 object(s) in 629ms
      • Runtime 'BI-runtime' finished activation of 1 object(s) in 387ms
      • Runtime 'Procedure Runtime' finished activation of 11 object(s) in 368ms
      • Runtime 'View runtime' finished activation of 24 object(s) in 2350ms
      • sap.hana.admin.roles.Administrator.hdbrole
        • insufficient privilege: Not authorized at ptime/query/checker/query_check.cc:3389
      • Finished activation phase. Starting regeneration phase now.
      • Runtime 'TableImportRuntime' finished activation of 1 object(s) in 57ms
      • Runtime 'sqlproc-runtime' finished activation of 45 object(s) in 3900ms
      • Runtime 'TableType runtime' finished activation of 2 object(s) in 304ms
      • Runtime 'Role runtime' finished activation of 2 object(s) in 2171ms
      • Runtime 'Table runtime' finished activation of 8 object(s) in 208ms
      • Runtime 'Table Function Runtime' finished activation of 2 object(s) in 166ms
      • Runtime 'Text Bundle runtime' finished activation of 3 object(s) in 0ms
      • Runtime 'OData service runtime' finished activation of 10 object(s) in 434ms
      • Runtime 'Schema runtime' finished activation of 1 object(s) in 11ms
      • Runtime 'JavaScript-serverside-runtime' finished activation of 59 object(s) in 254ms
      • Runtime 'XSApp-runtime' finished activation of 6 object(s) in 18ms
      • Runtime 'XSAccess-runtime' finished activation of 12 object(s) in 14ms
      • Runtime 'XSPrivileges-runtime' finished activation of 2 object(s) in 3ms
      • Runtime 'XSConfigRuntime' finished activation of 2 object(s) in 9ms
      • sap.hana.admin.cockpit.sysrep.roles.SysRepAdmin.hdbrole
        • role "sap.hana.admin.roles::Administrator" is unknown
      • Activation is performed with activation mode import.
      • sap.hana.xs.lm.roles.Administrator.hdbrole
        • A transaction rollback may have left the object in an inconsistent state.
        • A transaction rollback may have left the object in an inconsistent state.
        • A transaction rollback may have left the object in an inconsistent state.
        • A transaction rollback may have left the object in an inconsistent state.
      • sap.bi.launchpad.BI_LAUNCHPAD_SMB_MODELER.hdbrole
        • A transaction rollback may have left the object in an inconsistent state.
      • sap.hana.uis.db.GET_NAVIGATION_TARGET_DATA.CALCULATION_VIEW
        • Model deployment started: sap.hana.uis.db/GET_NAVIGATION_TARGET_DATA timestamp: 2015-10-23,19:30:53.260
        • Removing BIMC records for sap.hana.uis.db/GET_NAVIGATION_TARGET_DATA timestamp: 2015-10-23,19:30:53.263
        • Removing hierarchy views for sap.hana.uis.db/GET_NAVIGATION_TARGET_DATA timestamp: 2015-10-23,19:30:53.297
        • Start deployment of script-based calculation view, timestamp: 2015-10-23,19:30:53.460
        • set schema "UIS"
        • create type "_SYS_BIC"."sap.hana.uis.db/GET_NAVIGATION_TARGET_DATA/proc/tabletype/VAR_OUT" as table ("TENANT_ID" VARCHAR(50), "id" VARCHAR(256), "applicationType" VARCHAR(50), "applicationData" VARCHAR(512), "postParameters" NVARCHAR(5000), "text" NVARCHAR(2000), "applicationAlias" VARCHAR(100), "url" NVARCHAR(5000))
        • create procedure "_SYS_BIC"."sap.hana.uis.db/GET_NAVIGATION_TARGET_DATA/proc" ( IN IN_TAG NVARCHAR(5000), OUT var_out "_SYS_BIC"."sap.hana.uis.db/GET_NAVIGATION_TARGET_DATA/proc/tabletype/VAR_OUT" ) language sqlscript sql security definer reads sql data as /********* Begin Procedure Script ************/ BEGIN call "UIS"."sap.hana.uis.db/GET_NAVIGATION_URL"(IN_TAG , var_out);END /********* End Procedure Script ************/
        • End deployment of script-based calculation view, timestamp: 2015-10-23,19:30:53.586
        • Post deploy processing started: sap.hana.uis.db/GET_NAVIGATION_TARGET_DATA timestamp: 2015-10-23,19:30:53.621
        • Model deployment ended: sap.hana.uis.db/GET_NAVIGATION_TARGET_DATA timestamp: 2015-10-23,19:30:53.621
      • Runtime 'Role runtime' finished revalidation of 8 object(s) in 431ms
      • sap.hana.admin.roles.Monitoring.hdbrole
        • "sap.hana.admin.cockpit:GET_URL.__DT_CATALOG_OBJECT__": runtime object not found
      • sap.hana.xs.lm.roles.Developer.hdbrole
        • A transaction rollback may have left the object in an inconsistent state.
      • sap.hana.xs.lm.roles.DevelopmentExpert.hdbrole
        • A transaction rollback may have left the object in an inconsistent state.
      • Runtime 'TableImportRuntime' finished revalidation of 13 object(s) in 549ms

Re: SAP hana migration upgrades

$
0
0

Replication over wrote my Delivery Units from upgrade.
hana version 97 , upgraded to 100

 

added server as Streaming Replica..

 

Failed over.

 

Primary now does not have ROLE
sap.hana.admin.Administration

 

Ran

 

./hdbupdrep --content_directory=/usr/sap/H2D/SYS/global/hdb/auto_contentYS/global/hdb/auto_content

 

Is there a way to remove Delivery units and reinstall?
Errors above are repeating an inconsistent state..

 


Thanks.

Max open outbound sockets per request error during product transport

$
0
0

Hello,

 

I am attempting to transport a product with multiple delivery units in the transport manager from a remote system via HTTPS.  Each time I try to do this transport it fails at the same place. The error in the transport web interface is that the source system is unavailable.

 

In looking at the XSJS logs I see the following:

12: 0x00007fb2c9f3269d in Execution::Thread::staticMain(void*)+0x39 at ThreadMain.cpp:26 (libhdbbasis.so)

[14008]{-1}[-1/-1] 2015-10-24 06:08:32.152502 e xsa:sap.hana.xs. sap.hana.xs.lm.xsts:utils.xsjslib(00694) : HTTP Request failed. ERROR: (new Error("HttpClient.request: Max open outbound sockets per request reached.", "/sap/hana/xs/lm/xsts/utils.xsjslib", 642))

[14008]{-1}[-1/-1] 2015-10-24 06:08:32.152659 e xsa:sap.hana.xs. sap.hana.xs.lm.core:TransportServiceLib.xsjslib(00136) : (new Error("HTTP request failed. The remote system QH1 is not reachable.", "/sap/hana/xs/lm/xsts/utils.xsjslib"))

[14008]{-1}[-1/-1] 2015-10-24 06:08:32.160295 e xsa:sap.hana.xs. sap.hana.xs.lm.core:TransportServiceBaseLib.xsjslib(00390) :

Stack Trace:

UserReportableException@/sap/hana/xs/lm/xsts/utils.xsjslib:42

@/sap/hana/xs/lm/core/TransportServiceBaseLib.xsjslib:67

@/sap/hana/xs/lm/core/TransportService.xsjs:14

 

The source system is running HANA SPS 09 Rev 96 and the target system is running SPS 10 Rev 101.

 

Does any one have suggestions on what could be happening here? Is this an issue with the system configuration of the target system? It seems like the transport process is making too many requests at once when fetching the DUs.

 

Thanks

Re: Large Data volume on HANA - XS

$
0
0

I was reading about SQRC - Soft state based Query result Cache. Is it a good idea to use SQRC with SAP HANA to cache the output of a calculation view? This coupled with server side paging and an OModel on UI5 should give a good performance? Thoughts? What would be the sizing impact on SAP Gateway, if in a worst case scenario, 50 users pull 1 Million rows of data (may be 100 columns) which is cached?

Re: AFM Getting Started - Parse Error on Activation

$
0
0

Hi,

 

I followed the same video and it worked for me. Since you are getting an error related to object structure make sure that you have declared the variable types correctly in the input and output tables.

Viewing all 9165 articles
Browse latest View live


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