Quantcast
Channel: SCN : All Content - SAP HANA Cloud Platform Developer Center
Viewing all 3285 articles
Browse latest View live

SAP Development Tools for Eclipse Installation: FAQ and Known Issues

$
0
0

It seems that you had a problem while trying to get and setup the tools.

We are sorry for that but maybe there is already a solution for your problem.

 

 

Where to start

 

 

FAQ

FAQ #2: When I try to install SAP Development Tools in Eclipse, I get an error message that Eclipse can not connect with the update site https://tools.hana.ondemand.com/juno or https://tools.hana.ondemand.com/kepler.

 

Typical error messages are:

 

Probably, you did not configure the proxy correctly in Window > Preferences > General > Network Connections so that Eclipse can not reach https://tools.hana.ondemand.com/juno. The correct proxy configuration depends on your IT infrastructure. The following 3 typical configurations have been reported as working in the support forum:

 

  1. You can connect directly to the internet, i.e. don't need any proxy.
    Please configure 'Direct' as Active Provider.
  2. You connect to the internet via http proxy.
    Please configure 'Manual' as Active Provider and configure the proxy entries for the protocols http and https. Do not configure anything for SOCKS.
  3. You connect to the internet via SOCKS proxy.
    Please configure 'Manual' as Active Provider and configure the proxy entry for the protocol SOCKS.

To find the right setup, you could check the proxy settings in your browser.

 

After fixing the proxy configuration, please go to Windows > Preferences > Install/Update > Available Software Sites, select the software site "SAP Development Tools for Eclipse Kepler" and press 'Reload' to verify that the connection works now.

 

Additional hints:

 

 

If this does not solve your problems then please request support in the SAP HANA Cloud Platform Community .

 

 

FAQ #4: Installation fails with message 'Cannot complete the install because one or more required items could not be found'.

Please ensure that the 'Contact all update sites during install to find required software' check box is selected in the installation wizard. See also http://scn.sap.com/thread/3199711.

 

 

Known Issues

There are currently no known issues.


Dirigible on SAP HANA Cloud Platform

$
0
0

Have you ever wondered if it is possible to develop end to end your next cloud application directly via the browser? What language should you use? What kind of other tools should you need for the database management, authorization definitions, testing, life-cycle management, monitoring…?


What if you can write the whole application in JavaScript? You like Ruby? What about Groovy as well? And still in the same environment? 

What if you can run directly Apache Camel's Routes as simplified integration services and scheduled jobs?

What if you can browse your database schema or catalog and execute your query and update scripts again in the same environment?

What if you can have a jump start with your user interface by using predefined site templates based on OpenUI5? You are already familiar with other AJAX frameworks? Let me guess - jQuery? Bootstrap? AngularJS?

What if you can create your next SalesOrder entity from the table, through the CRUD service, to the user interface only via wizards, without a need to touch the code?

You want to share the project with the other members of your team? What about Git? What if you can collaborate also worldwide via the open place for exchange of samples?


Too many questions? We are just starting…


Dirigible is Open-Sourced

 

It’s a big pleasure to announce that the internal TGiF project Dirigible has been open sourced underApache Licenseand is available on GitHub joining the growing family of SAP HANA Cloud Labs projects.


Is it the answer to your questions? Could be…


Try it Now


The easiest way to taste the IDEaaS is to open the location http://trial.dirigible.io with your preferred browser.

 

dirigible_workspace.png

 

 

Deploy on Your HCP Account


Since the trial instance is shared, you have limited functionality (publish to registry, update SQL statements, etc. are forbidden), so it is better to run Dirigible on your own account on HANA Cloud Platform. How to do that?

 

Just download the latest release from GitHub: https://github.com/SAP/cloud-dirigible

github_main.png


Go to release section.


github_releases.png


Download both WAR files.


Get HCP SDK 1.x from https://tools.hana.ondemand.com/#cloud and unzip it on your local file system.


Go to neo-java-web-sdk-1.xxx/tools folder.

Deploy with command:

 

neo deploy --account <your_account> --application <application_name> --user <your_user> --host <target_landscape_host> --source <downloaded_wars_directory>

 

Start with command:

 

neo start --account <your_account> --application <application_name> --user <your_user> --host <target_landscape_host> -y

 

https://help.hana.ondemand.com/help/frameset.htm?7613dee4711e1014839a8273b0e91070.html

 



Congratulations! You have a Dirigible in your account!

 

Go to https://account.hanatrial.ondemand.com/cockpit at Authorizations section:

 

dirigible_authorization.png

 

Add both roles to your user (Developer and Operator) to have full access to all the features.

 

Now open the IDE link from the Cockpit:

 

dirigible_cockpit.png


Great you setup your own environment.



Need a Sample?

 

Would you like to create quickly a sample project?

 

Choose File->Import->Sample menu:

 

dirigible_import.png

 

Choose one from the list:

 

dirigible_sample.png

 

Click Finish and you are ready. You can explore the project structure.

 

dirigible_imported.png

Want to see it running? Select the project node (catalog) and choose the Activate action from the context menu.


dirigible_activate.png

It is done! Open the Web Viewer and select the catalog/WebContent/user/index.html from the Workspace Explorer.


dirigible_test.png

You can Publish the project and show to your buddies your own Pizza Catalog.


You do not have a Pizza Restaurant? It is high time you established one, isn't it?


References:

The project site: http://www.dirigible.io

The source code is available at GitHub - http://github.com/SAP/cloud-dirigible

Forum: http://forum.dirigible.io

Twitter: https://twitter.com/dirigible_io

Youtube: https://www.youtube.com/channel/UCYnsiVQ0M9iQLqP5DXCLMBA/

Help: http://help.dirigible.io

Samples: http://samples.dirigible.io

Google Group: https://plus.google.com/111171361109860650442/posts

Blog: http://dirigible-logbook.blogspot.com/


openSAP course guide for repetition of "Introduction to SAP HANA Cloud Platform"

$
0
0

Welcome

As I also did for the last course that ran in 2013 I've created again a course guide to help you through the repetition of the openSAP course "Introduction to SAP HANA Cloud Platform".  The course will start around June 2014.

Since we last ran this course we've improved some functionality in the platform so that we want to provide you also with some updates around those improvements as wells as providing in the course some best practices from the initial course.

 

Week Guides

At the start of each week I'll publish a document that is related to the corresponding week of the course. Those documents will provide you with additional material or explanations around the topic of the week. Depending on the feedback and questions inside the forum of the course I might also add additional material (e.g. videos) during and after the course to address the frequently asked questions so that you have a one-stop-shop for this course.

 

openSAP  guide SAP HANA Cloud PlatformAvailable
Week 1 - BasicsTBD
Week 2 - Persistency basicsTBD
Week 3 - Persistency advanced featuresTBD
Week 4 - User Authentication and SecurityTBD
Week 5 - ConnectivityTBD
Week 6 - Advanced featuresTBD

 

I hope you'll enjoy the course.

 

In case you find this useful feel free to either "Like" this blog post (at the top right of this page) or rate it (at the bottom of this blog post) with 1 to 5 stars.

 

Best,

Rui

Not authorized at ptime/query/checker/query_check.cc:2547

$
0
0

Hi All,

    I am using HCP.

   When I do a "Data Preview" operation on my Analytic views , i got an error :

       Cannot get the data provider outline

       SAP DBTech JDBC: [257]: sql syntax error: Error:insufficient privilege: Not authorized at ptime/query/checker/query_check.cc:2547

 

 

       what can i do to  fix the error?

 

 

Thanks very much!

Using ODATA Service for insert operation with SP

$
0
0

Hi there,

 

I'm just trying to use an ODATA-Service to insert records in a table.

That works fine, but now I want to use a stored procedure to bring in some business logic before writing the data to the DB.

 

I've found this video reagarding that:SAP HANA SPS 6 - What's New: Development - ODat... | SAP HANA

 

I've created the SP successfully and modified the ODATA-Service to use this SP when creating new records, however I'm not able to insert record due to insufficent priviliges.

Here's the exact return valie from ODATA-Service:

 

{ "error": { "code": "", "message": { "lang": "en-US", "value": "Service exception: insufficient privilege."}}}


Here's the coding of the SP:

 

PROCEDURE "NEO_1234"."p1787990323trial.myhanaxs.hello.procedures::userCreateMethod" (     in row "TBL_USER",    out error "TT_ERROR")     LANGUAGE SQLSCRIPT    SQL SECURITY INVOKER     DEFAULT SCHEMA "NEO_1234"    AS 
BEGIN
/*****************************     Write your procedure logic 
 *****************************/     declare lv_id integer;     declare lv_username string;          select id, username into lv_id, lv_username from :row;          if lv_username = '' then         error = select 400 as http_status_code, 'invalid username' as error_message, 'Username can not be empty' as detail from dummy;     else         insert into "1234"."TBL_USER" values(lv_id, lv_username);     end if;
END;

And here the definition of the ODATA-Service

 

service namespace "workshop.services" {

    "NEO_1234"."TBL_USER"  as "tbl_user"

    create using "p1234trial.myhanaxs.hello.procedures::userCreateMethod";

}

 

Since I'm using the SAP HANA Cloud Trial I've executed

 

CALL "HCP"."HCP_GRANT_SELECT_ON_ACTIVATED_OBJECTS"

after creating the service/SP

 

Any ideas what I'm doing wrong?

Thanks,

ben

Repository Checkout problem.

$
0
0

Hi all,

 

I am in the learning phase and got stuck at the very basic step. I have created a new subpackage testPackage1 under the root package in the Systems view.I have then added a repository workspace in Repository view and trying to check out the testPackage1 folder from there but the problem that I am facing is, the folder is not getting checked out and the tick mark is not appearing. Also no subfolder called testPackage1 is getting created in my local system under the root package in the workspace folder on checking out. I am using SAP HANA Studio Revision 70. Can you please suggest why the folder is not getting created and why the repository folder is not getting checked out?

 

I haven't created any Project yet but when I am doing so, it is asking for a folder in my local system where the Project will be saved. Since testPackage1 folder is not getting created as intended, I cannot create the Project.

HANA Cloud Trial downtime announcements

$
0
0

In this discussion we are going to announce NetWeaver Cloud Trial landscape infrastructure downtimes.

 

Regards,

NetWeaver Cloud operations team

Locked out of System in HANA Studio

$
0
0

The system locked me out saying that I had reached the maximum number of attempts. I am using a instance on the HANA Cloud Platform and connect to it by creating a tunnel. Once 24 hours are up the tunnel closed and when i started it up again it gave a new password to the system on HANA. When I started up HANA Studio the next day the system tried to reconnect but locked me out. Also locked out of the repository. Is there any way to fix this issue?


Consume view in ODATA-Service - "invalid view name"

$
0
0

Hello,

 

I want to consume a view in an ODATA-Service (on SAP HANA CLOUD Trial).

I have created and activated the view successfully and wanted to create the service.

But when I try to activate the service I get the error "Unknown view name "pXXXXtrial/myhanaxs/TEST"."

 

 

Definition of the service:

 

Structure of the packages:

Thanks for your help,

ben

Error in adding SAP HANA Cloud in the HANA studio (java.lang.NullPointerException)

$
0
0

Hi,

 

I am following the link to create an XS application in the SAP HANA cloud.

 

8 Easy Steps to Develop an XS application on the SAP HANA Cloud Platform

 

But during the step 2 which is for adding the Cloud system in the HANA studio I am getting the following error.

 

Could not add SAP HANA Cloud Platform system

java.lang.NullPointerException

 

In the first screen I have entered the Landscape host, Account name, User name and password. In the second screen the the Trial instance is selected.

Now clicked the 'Finish' button and the above error is raised.

 

Any help would be greatly appreciated.

 

Thanks

Vinod

Release Notes for SAP HANA Cloud Platform

$
0
0
Release Notes for SAP HANA Cloud Platform - 27 March 2014
FunctionType of ChangeDescription
Document ServiceNew
The Document Service features console client commands for managing document repositories.  For more information see Console Client Commands -> Document Service section.
SAP HANA Predictive Analytic LibraryNew

You can evaluate and work with SAP HANA Predictive Analytic Library (PAL) functions on SAP HANA Cloud Platform Trial landscape. For more information, see Using Predictive Analysis Library.

SecurityNew
A set of new commands in the console client allows the account administrator to modify the keystore of productive SAP HANA XS systems to upload, delete and list certificates. For more information, see upload-hanaxs-certificates, list-hanaxs-certificates and delete-hanaxs-certificates.
Console Client, DeployEnhancement

You can configure a custom downtime application to be used in case of unplanned downtime. For more information, see Handling Unplanned Downtime.

CockpitEnhancement
You can disable (and enable) Java application processes from the cockpit. Disabled Java application processes don't accept new session requests. For more information, see Starting and Stopping Applications.
CockpitEnhancement

You can put Java applications in and out of maintenance mode from the cockpit.  Java applications in maintenance mode redirect requests to a chosen target application until you put them again into normal operation. For more information, see Putting Applications into Maintenance Mode.

Connectivity Service, SecurityEnhancement
The list of certificate authorities that SAP HANA Cloud Platform trusts by default is now available. For more information, see Trusted Certificate Authorities.
SAPUI5Enhancement
New version 1.18.9 of SAPUI5 runtime and documentation has been released. For more information, see the release notes.
SAP HANA Cloud ConnectorDeprecation

SAP HANA Cloud Connector 1.x has reached end-of-life. It is no longer accessible on tools.hana.ondemand.com and its documentation has been removed as well. Use SAP HANA Cloud Connector 2.x as the major version that will be extended and maintained in the future.

MonitoringBugfix
An issue with custom monitoring metrics not reported correctly in case you have registered many custom metrics is fixed.
SAP HANA Cloud Platform Tools for Connecting to SAP HANA Systems
Bugfix
The following issues are fixed:
  • Unclear error message appeared if password for connecting to a SAP HANA system was wrong
  • The "Add Cloud System..." action was missing from the menu when the selection was on a system that is logged off.

 

 

 

Release Notes for SAP HANA Cloud Platform - 13 March 2014
FunctionType of ChangeDescription
LicensingNew
SAP HANA Cloud Platform has enlarged its scope and now encompasses SAP HANA Infrastructure Services, SAP HANA DB Services and SAP HANA Application Services. The new package offering comes with a new pricing model. For more information, seeSAP HANA Marketplaceand the blogpostThe full package.
Password Storage APINew

An API for storing, updating and deleting passwords is now available to applications. For more information, seeStoring Passwords.

Console Client, Java ApplicationsNew
A new command hot-update (beta) enables you to redeploy and update the binaries of an application faster than the normal deploy and restart. The update happens directly on the already running application process. For more information, seehot-update.
SAP Development Tools for Eclipse (Download Site)New

SAP HANA Tools Revision 72 are now delivered via the download site(https://tools.hana.ondemand.com/#hanatools). For more information, see

Setting Up the Tools.

MultitenancyEnhancement
The existingtenant APIhas been extended by a new execute() method to run background threads on behalf of a given tenant.
Cockpit, LogsEnhancement

The log viewer now opens in a new window, shows the log volume over time and supports you in finding time ranges of high activity. For more information, seeLog Viewers.

You can now configure loggers also via the Recent Logging panel in the Java Application Dashboard. For more information, seeUsing Logs in the Cockpit.

Cockpit, MonitoringEnhancement
You can now register availability checks for your Java applications also from the cockpit and check the application availability status from the Java Application Dashboard. For more information, seeConfiguring Availability Checks from the Cockpit.
SAP Development Tools for Eclipse (Download Site)Enhancement
The download site now uses geolocation-based load balancing for SAP Development Tools for Eclipse (tools.hana.ondemand.com). When installing tools, you are routed to the nearest data center. The response time and the download times are significantly improved for users in the US region.
Eclipse ToolsEnhancement
SAPUI5Enhancement
New version 1.18.8 of SAPUI5 runtime and documentation has been released. For more information, see therelease notes.
HTTPSDeprecation

SSL 3.0 is no longer supported as a communication protocol.

In case you have connection problems, make sure your HTTP client (e.g. browser) supports TLS 1.0, TLS 1.1, or TLS 1.2.

Eclipse Tools, SDKDeprecation

Deployment with SAP HANA Cloud Platform Tools with version older than 1.17.0 or SDK with version older than 1.16.0 is no longer supported.

Eclipse Tools
Bugfix
The following issues are now fixed in Eclipse tools:
  • "Landscape host" in the preference page is renamed to "Server's host name" to match the New Server wizard
  • Trailing white spaces are now ignored in the Cloud Server wizard
  • Starting a local server in an external directory which exists in the workspace is now possible
  • Stopping a local server from the Debug view is now possible
  • The Users editor does not throw an exception when you open it right after a server is created.

 

 

 

Release Notes for SAP HANA Cloud Platform - 27 February 2014
FunctionType of ChangeDescription
Java ApplicationsNew
SAP HANA Cloud Platform now supports JSR 356 Java API for WebSocket in productive state.
For more information, seeJava EE 6 Web Profile.
CockpitEnhancement
The cockpit now has integrated help. You can click the Help link next to a panel title in a cockpit page to access the contextual help for the respective panel and further links to the documentation.
CockpitEnhancement

A new dashboard serves as an entry page of the cockpit. The dashboard provides an overview of and access to the SAP HANA XS and Java applications available in the account and shows other key information about the account.

Cockpit, SAP HANA XSEnhancement
The use of packages in developer accounts on the trial landscape is simplified: a developer account can have only one  SAP HANA package, and you can create that package easily with one button click.

For more information, see Creating SAP HANA Packages.

Cockpit, LogsEnhancement
  • A new log viewer in the cockpit allows you to view trace and HTTP access logs directly in the browser and to sort and filter the log entries.
  • You can still download log files – for each file you can choose whether to open in the viewer or download to your machine.
  • Log files are also grouped by type.

For more information, see Using Logs in the Cockpit.

Cockpit, Logs, MonitoringEnhancement
The cockpit has now completely adopted the process ID as an identifier of application processes in logs and monitoring charts.
SDKEnhancement
  • The console client commands for the local server inside the SDK (install-local, start-local, andstop-local) now have port parameters that help avoid port collisions, thus enabling you to set up parallel builds and test procedures. These parameters are now visible by default in the console help. 
  • The install-local command now also supports setting non-proxy hosts for a local server (installed from the SDK for development purposes).
  • A new command deploy-local that allows you to deploy WAR files on a local server instance is now available.
TenancyEnhancement
Application logs now include tenant names in each log entry, which allows you to filter and explore relevant logs for a particular tenant.
For more information, seeViewing the Default Trace.
Cockpit, OAuthEnhancement
The UI for registering OAuth clients is now available for cross-account subscribed applications.

For more information, see Configuring OAuth Authorizations.

SAP UI5Enhancement
New version 1.18.6 of UI Development Toolkit has been released.
CockpitDeprecation
The cockpit no longer supports Internet Explorer 8. For more information about supported browsers, seeProduct Prerequisites and Restrictions.
SDK, DestinationsBugfix
The following bugfixes are provided for SDK 2.x:
  • You are now properly requested to enter your password for the console client commands (before there was an error with HTTP code: 401)
  • Тhe --application parameter in console client commands for managing connectivity destinations for subscribed applications now works with the format --application <provider_account>:<provider_application>. For more information, see Configuring Destinations from the Console Client.
Connectivity Service
Bugfix
The JCo runtime for SAP HANA Cloud Platform is upgraded and includes the following bugfixes:
  • When only modifying jco.client.cloud_connector_version, a JCoDestination was not recognized to be changed so that the old cached instance was still used.
  • Depending on the defined DDIC (Data Dictionary) types and structures and on the defined RFM (Remote Function Module) interfaces at SAP AS ABAP system side, a java.lang.StackOverflowError could have been thrown when a JCoRepository instance was storing the queried RFC meta data into its internal MetaDataStorage instance.
  • A java.lang.NullPointerException was thrown when saving a JCoRepository instance, which contained a remote function module template with an empty import parameter list.
  • The meta data information that specifies whether a parameter is optional or not was lost after loading a JCoRepository instance from a Java I/O character stream. Calling method JCoListMetaData.isOptional(<name|index>) on any parameter meta data that was loaded by a JCoRepository always returned false in this case.
  • A java.lang.NullPointerException was always thrown when trying to log on to a non-Unicode ABAP system using one of the new logon languages that are available in Unicode SAP systems only. Now an appropriate JCoException with error group RFC_ERROR_LOGON_FAILURE will be thrown in this case.

 

 

 

Release Notes for SAP HANA Cloud Platform - 13 February 2014
FunctionType of ChangeDescription
Console Client, DeployEnhancement
You can now use the following two new commands:
  • rolling-update - to run an update of an application without downtime in one run. Prerequisite is that the new version is compatible with the old one.
  • enable - to switch a previously disabled application process(es) to started state in the load balancer.

For more information, see rolling-updateandenable.

CockpitEnhancement
In the cockpit, you can now clearly differentiate infrastructure from application error states for Java applications which makes it easier for you to detect and fix application issues.

The status icons are improved, in particular the OK status icon which was sometimes confused with an action.

Cloud Environment VariablesEnhancement

There is now a new cloud environment variable HC_PROCESS_ID that contains the process id of the current application process.

For more information, seeUsing Cloud Environment Variables.

SDKEnhancement
The SDK samples will now demonstrate and make use of the SAP HANA Cloud Platform API which is now also published to Maven Central for easier consumption in Maven-based development projects.
SAP UI5Enhancement
New version 1.18.5 of UI Development Toolkit has been released.

For more information, see the release notes.

Feedback ServiceEnhancement
You can now provide feedback for the feedback service and its UIs.

For more information, see Getting Feedback for Applications.

Cockpit, DestinationsEnhancement
The Destinations editor in the cockpit is extended to support the new authentication type PrincipalPropagation. This new authentication type works for on-premise destinations (proxyType=OnPremise) and requires Cloud Connector version 2 (CloudConnectorVersion=2).
SAP HANA Cloud Connector
Enhancement
SAP HANA Cloud Connector 2.2 has been released with the following features:
  • Support of multiple accounts within a single installation. Account administration allows you to add/delete connections to several accounts. For more information, see Managing Accounts.
  • Redesigned UI experience, similar to the cockpit
  • Support for Principal Propagation has been added. By configuring trusted SAML IdPs, the identity, which is  logged on to the cloud, will also be logged on in the on-premise systems, if the prerequisites are fulfilled. For more information, see Setting Up Trust.
  • Audit logs can be checked for integrity so that it can be verified that no one has modified them. For more information, seeAudit Logging in the Cloud Connector.
  • Payload traces for the communication traffic can be activated for problem analysis. For more information, seeTroubleshooting.

 

 

 

Release Notes for SAP HANA Cloud Platform - 30 January 2014
FunctionType of ChangeDescription
Cockpit, HANA XSEnhancement
Users of productive HANA XS systems are now able to create their SAP HANA database users within the cockpit.
For more information, seeCreating Your Database User.
CockpitEnhancement
You can now see the runtime type, for example Java Web or Java EE 6 Web Profile, together with the runtime version.
CockpitEnhancement
You can now see the process ID for Java application processes in the UI. The process ID for processes that are still running is also shown with each log file, so that you can match a certain log file to a running process. 
CockpitEnhancement
In the process list of the application dashboard, you can now see the aggregated status of processes including run state, runtime version and metrics. This makes spotting problems with individual processes much easier.

For more information, seeChecking the Application Status.

Cockpit, MonitoringEnhancement
The following usability improvements are now available:
  • You can navigate to the metrics details from the Status Summary in the Process Dashboard
  • Current metrics are now shown in compact view in the Monitoring tab
  • You can now select a custom period when viewing history of metrics for whole applications.

For more information, see Viewing Monitoring Metrics.

SDK, Connectivity ServiceEnhancement
The existing SDK sample application “connectivity-outbound-internet” is renamed to "connectivity" and is also extended to cover an example for on-demand to on-premise connectivity. The tutorials below are adopted accordingly to describe both connectivity scenarios, fitting to the extended sample application:

Using Internet Services in Cloud Applications

Using On-Premise Back-End Services in Cloud Applications

SAP UI5Enhancement
New version 1.16.9 of UI Development Toolkit has been released.
DocumentationEnhancement
SAP HANA Cloud Platform now uses geolocation-based load balancing for SAP HANA Cloud Platform documentation (help.hana.ondemand.com). When opening the documentation, users are routed to the nearest data center. The response time for opening and browsing the documentation is significantly improved for users in the US region.
Connectivity Service: Destination ConfigurationIncompatibility
To support SAP HANA Cloud Platform service JNDI resource lookups in EJBs with the release of neo-sdk-javaee6-wp-2.25.7, an incompatible behavior had to be introduced concerning the time destinations need to be configured. For more information, seeIncompatibility announcement for neo-sdk-javaee6-wp-2.25.7 affecting destination configuration time.
Eclipse ToolsBugfix
The following issues are now fixed:
  • A user could not start a cloud server in debug mode if the Server Adapter was attached to an existing running application.
  • The profiling session name was incorrectly generated.
  • Servers used to hang if running with an older SAP JVM.
  • Applications created with migrated runtime and running on a cloud server, were deployed with wrong runtime version
  • Migration failed imperceptibly if SDK had been deleted.
  • Accessibility fixes in the Connectivity and Users editors in the Eclipse IDE.
Java EE 6 Web Profile
Bugfix
SAP HANA Cloud Platform services can be injected as JNDI resources in EJBs.

 

 

 

Release Notes for SAP HANA Cloud Platform - 16 January 2014

 

FunctionType of ChangeDescription
Cockpit, MonitoringEnhancement
You can now choose a custom time period when viewing history of metrics for a single process.
You can also compare the metrics history of different processes within an application.
For more information, see Viewing Monitoring Metrics.
ID Service, Authorization ManagementEnhancement
You can now directly assign users to groups.
Cloud ConnectorEnhancement
Version 1.3.2 improves the security of SCC traffic tracing by introducing a 4-eyes principle for the activation of HTTP and RFC protocol traces: activating a trace level that dumps traffic data requires the approval of two separate users.
SAP UI5Enhancement
New version 1.16.7 of UI Development Toolkit has been released.
Console ClientEnhancement
The disabled status for applications processes, as well as maintenance status for applications are now shown in the console client.
Console Client, DeployDeprecation
The parameter --severity for setting log severity during deploy has been deprecated.
Eclipse ToolsBugfix
An issue with applications deployed on a newly created cloud server (via Run → Run on Server) sporadically not being published on the server has been fixed.
Console Client, DeployBugfix
The deploy command now shows improved output in case you are trying to select a non-existing runtime version.
Console Client
Bugfix
It is no longer possible to start maintenance for an application that is used as a maintenance page.

For more information about older release notes, see:

Having fun with Apple™ PassKit passes - Part 1

$
0
0

As today's post title suggest I've been having some fun with Apple PassKit passes and I wanted to share my findings with you.

 

Disclaimer: As fellow developers know we have our own understanding of 'having fun' and in this particular case it involves messing around with certificates, digital signatures and SHA1 hashes, well-formed JSON syntax and firing up a precise chain of console commands...

 

Having spent a lot of time on the road the last couple of years I came to appreciate Apple's PassKit technology and the convenience it brings. Fortunately my favorite airline has been supporting it from early-on and so I enjoyed the ease of using a digital boarding pass & getting all relevant information auto-magically displayed on the lock-screen of my mobile phone as soon as I got close to the airport. Ever since I've been interested in being able to create my own passes in order to extend this convenience factor to other scenarios.

 

During my research I stumbled upon a great tutorial that explains the entire process of creating a Passkit pass by hand in great detail. Instead of repeating it all here I'd recommend everyone interested to read the following blog posts:

 

 

Once you've gone through it step-by-step you'll understand that it surely is no rocket science, yet the whole process of creating SHA1 hashes and obtaining certificates and signing them is ... well, tedious to say the least.

 

Being the lazy developer that I am I was of course quick to search for libraries that would ease the pain and I didn't have to search for to long until I stumbled upon the jPasskit project on github. It's a small library, but given that it gets the trick done that's a great thing!

 

By looking at the provide jUnit tests I was able to get the heck of it quite fast and in no time I had created a utility class that wraps the signing and packaging aspect into a single method - voilà.


I've compiled a little sample project on our github page, so if you're interested in giving it a try - please head over there:

 

https://github.com/SAP/cloud-passkit-demo

 

Oh, and before I call it a day... here's the result:

saphcp_devedition_coupon.jpg

You can download the pass here

 

In part 2 I'll dig a bit deeper and look into advanced topics such as relevance information (e.g. geo-fencing) and updating of passes. Until then... cheers & have fun coding!

Connecting to on-premise RESTful web services?

Unable to install HANA Cloud Platform Tools in HANA Dev Studio

$
0
0

When I try to install HANA Cloud Platform Tools into my HANA Dev Studio throgh link <https://community.wdf.sap.corp/groups/juno>, I am getting the following error:

 

Cannot complete the install because one or more required items could not be found.

  Software being installed: SAPUI5 ABAP Repository Team Provider (Developer Edition) 1.14.6 (com.sap.ide.ui5.team.feature.feature.group 1.14.6)

  Missing requirement: ABAP Communication Framework 2.16.0 (com.sap.adt.fwk.ci.feature.group 2.16.0) requires 'org.eclipse.mylyn.commons.feature.group [3.6.0,4.0.0)' but it could not be found

  Cannot satisfy dependency:

    From: SAPUI5 ABAP Repository Team Provider 1.14.6 (com.sap.ide.ui5.team.feature.external.feature.group 1.14.6)

    To: com.sap.adt.fwk.ci.feature.group 2.0.0

  Cannot satisfy dependency:

    From: SAPUI5 ABAP Repository Team Provider (Developer Edition) 1.14.6 (com.sap.ide.ui5.team.feature.feature.group 1.14.6)

    To: com.sap.ide.ui5.team.feature.external.feature.group [1.14.6]

 

How to resolve it? Any points would be of great help.

 

Regards,

Akhil

Second SAP CodeJam Sofia

$
0
0

logo.jpg

 

No, it's not April Fools' Day joke. We've just set the date for our second SAP CodeJam Sofia around SAP HANA Cloud Platform! It will be on May 15 at the SAP Labs Bulgaria office.

 

Now, I should also tell you this time it'll be a special one. And that's because it's organized together with University Alliances and designed especially for students from Bulgarian universities who are eager to get to know and make their first steps with this cool and innovative cloud platform from SAP!

 

As a participant you will:

  • get an introduction to SAP HANA Cloud Platform
  • get access to the technology, tools, experts and more
  • get your hands dirty developing on-demand applications using modern Java, Web UI and SAP HANA technologies
  • start small from “Hello World” and grow bigger step-by-step leveraging persistence, document management, identity management and other platform services to build an application for your desired use-case
  • all this in a fun and casual environment with your classmates and friends (and while enjoying some great food and beverages, btw )

 

So, why not put yourself to the test and sign up for SAP CodeJam now? The event is free, but space is limited.

 

http://scn.sap.com/servlet/JiveServlet/downloadImage/38-83496-207592/button.png

 

Meet you there!


can't open db tunnel

How to get the currently configured IDP for an application

$
0
0

With the Tenent Context API, the Tenant Runtime is able to identify the current consumer of the application (e.g. tenent ID).

Is there an API or a mechanism to get information about the currently configured IDP used by an application?

 

Thanks,

Jen

Connecting to #SAP #HANA Instances on #SAPHCP from #Eclipse IDE

$
0
0

I seem to be in a blogging mood recently. Unfortunately, I missed the chance to give a shout about a cool new feature which was released couple of weeks ago (on March 13, precisely speaking) but apparently has left unnoticed by many folks and friends of SAP HANA Cloud Platform. So - and as a wise man had once said - I thought "better late than never" and decided to try and fix this lapse.

 

What am I talking about? Well, until March 13, if you wanted to connect to an SAP HANA instance on SAP HCP, you had to open a DB tunnel in the Console Client by executing the open-db-tunnel command, copy the connection details it returned to you (including the instance number, DB user and password), go to your HANA Studio (and yes, it had to be a separate standalone IDE from your other Eclipse IDE which you were using for Java development on HCP and/or any other development you do!) and paste those connection details into the corresponding wizard pages. Oh, and did I mention that you had to keep the DB tunnel in the Console Client open while you were working on the remote HANA instance? Sounds fun? Guess not.

 

Well, forget about the above. We've put an end to all those tedious, awkward and error-prone steps within so many different tools. Now you can do everything in a single tool (Eclipse IDE) with just a couple of clicks. The prerequisite is that you have installed an Eclipse Kepler IDE and the SAP HANA Cloud Platform Tools on top, as described in Setting Up the Tools. (And yes, you got it right - all necessary SAP HANA Tools now can be installed as well from the SAP Development Tools for Eclipse - Kepler Software Repository, so you don't need a separate HANA Studio installation any longer.)

 

Now, if you already have a trial or productive SAP HANA instance in your account (see e.g. Creating a Trial SAP HANA Instance), you can just go to the SAP HANA Development perspective in your Eclipse IDE, right click in the Systems view and select Add Cloud System... which should open up this nice wizard:

add_cloud_system.png

Enter your account info and click Next. This will lead you to the next page where you have to select an instance from the list:

add_cloud_system_2.png

Click Finish and in a few seconds it will be added in the Systems view. If you are working with a productive instance, you also need to provide your own DB user and password. See in the official documentation how to create it. In this case, as a last step the wizard might ask you to change your DB password if it is an initial one and you haven't changed it yet.

 

That's it! Now you can go on and import some sample apps, play with them, or develop your own XS app - it's up to you. Enjoy! And don't hesitate to share your feedback and comments - we are always looking for further improvements and simplifications.

Gwaas is not running

Generating reports off of HANA Cloud Platform?

$
0
0

Hi all,

 

I have 3 reporting-related questions:

 

  1. How can I connect Crystal Reports to HANA Cloud Platform to generate reports?
  2. Does HCP come with BOE instance?
  3. If no to #2, is there any way to connect an on-premise BOE instance to HCP?

 

Many Thanks,

Johnny

Viewing all 3285 articles
Browse latest View live


Latest Images

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