Beruflich Dokumente
Kultur Dokumente
Now Available!
Release Date: Release Date: Release Date: Coming Soon Coming Soon
March 18, 2016 March 31, 2016 April 14, 2016
3. Creating an XS Project
2. About Us
Now lets begin with your next lesson by creating an SAP HANA Trial
instance in the SAP HANA Cloud Platform Cockpit
From the main SAP HANA Cloud Platform Cockpit, select Databases
& Schemas.
All available account databases will be listed along w/ ID, Type, Database
System, & Database Version (none are currently available below for this trial).
To view database details (state & existing bindings) select a database list & click the link name.
Database overviews allow you to perform actions such as database deletion, etc.
To create a new trial instance, simply click the New button.
In the Show View pop-up, open the SAP HANA folder, and select Systems.
Click the OK button.
After clicking OK, you will see the Systems view in the main Eclipse IDE.
From the Systems menu bar, in the bottom right-hand portion of the screen,
select the Add System icon and then select the Add Cloud System option.
Eclipse is now connected to your SAP HANA Cloud Platform zhanaxs schema.
Proceed to the SAP HANA Development perspective.
If not already in this perspective, click the Open Perspectives icon seen
below, then select SAP HANA Development & click OK.
Select your SAP HANA system from the displayed SAP HANA Systems list.
If your system is not listed, click the Add System button and add it to the list.
If you have more than one system, ensure the correct system is selected.
Enter Workspace Name zhanaxs (the same name as the root package name).
In the Workspace Root field, browse and select the desired folder that will
contain the workspace you are creating. Click Finish.
The workspace now appears in the Repositories view, and a folder has been
added to your local system (e.g. C:\Users\Erin\hana_work), which will contain
all your development files.
In the New XS Project dialog box, de-select the default XS Application Access
(.xsaccess) and XS Application Descriptor (.xsapp) Access Objects.
Click Finish.
The new project (e.g. connectivity) now appears in the Project Explorer view.
Insert the coding seen below and click the Save icon.
Then click the Activate SAP HANA Development Object icon.
Insert the coding below & replace <package name> with the package name
where the project is shared.
Please note that the brackets <> are only placeholders and should be deleted.
For this tutorial, the code should appear similar to p1941908884trial.zhanaxs.connectivity.
Save the file, then click the Activate SAP HANA Development Object icon.
Insert the below destination configuration settings, then click the Save icon.
Click the Activate SAP HANA Development Object icon.
Insert the XSJS JavaScript coding below, then click the Save icon.
Click the Activate SAP HANA Development Object icon.
Note: A larger view of the full JavaScript coding can be seen on the next slide.
An enhanced visual of the full XSJS JavaScript coding can be seen below:
Replace <SAP HANA Cloud user> w/ your user ID, & replace the sample trial
instance w/ your own trial information as depicted below:
Now test the application. Return to the SAP HANA Cloud Platform Cockpit.
Navigate to HANA XS Applications.
The new HANA XS Application will now display in your SAP HANA
Cloud Platform Cockpit.
In the HANA XS Applications table, click the application URL link to
launch the application.
Since SAP HANA Cloud Cockpit only displays the root of an applications
URL path, a possible 404 (Not found) error may appear after clicking the
new applications URL.
To resolve this issue, the following steps may be required:
Add the application name to the URL address in the internet browser (hello.xsjs).
Create an index.html file, which is the default setting for the file displayed when the
package is accessed without specifying a file name in the URL.
Override the above default setting by specifying the default_file keyword in the .xsaccess
file. For example:
To correct the 404 error (if required), return to the Repositories view in
Eclipse.
Navigate to the connectivity subpackage, and right-click it.
Select New - > Other.
In the Wizard, open the Web folder, then select HTML File.
Click Next.
Return to the 404 error page, and add index.html to the end of the URL below:
https://s12hanaxs.hanatrial.ondemand.com/p1941908884trial/zhanaxs/connectivity/
Now use the new URL to test your application, as seen here:
https://s12hanaxs.hanatrial.ondemand.com/p1941908884trial/zhanaxs/connectivity/index.html
Your Hello, World! HANA XS Trial Application is now connected & displayed.
Email: info@blackvard.com
Technical project leads and ABAP architects responsible for quality in technical scope and budget in global
roll-outs of SAP Logistics applications (SAP LE / LO)
Conducted multiple SAP ABAP, SAP HANA, and SAP Fiori trainings for various US companies
Implementation of a standard SAP software solution for Spend Management within SAP AG & ARIBA (annual
spend volume 3 Bill. EUR) which can be used in all SAP systems
Improved claims management using SAP FS-CM which is generating annual savings of 15 Mio for a huge
German public healthcare organization
Implemented a global solution for procurement processes at BMW AG using SAP SRM / B2B
Blueprinting and implementation of SAP software for banking credit cancelations for VOLKSWAGEN
Short Bio:
Lukas M. Dietzsch is managing director at Blackvard
Management Consulting, LLC. He is holding a Masters
degree in Information Technology and is an experienced IT
solution architect and project lead.
His strong background in adapting to requirements and
standards in different industries and on various platforms are
valuable assets for Blackvard customers.