

Personal collective of ideas, thoughts and notes


32 43 19,722

For me (and I am sure many others!), UI5 has become a really useful toolkit for easily developing web apps and POC’s with little effort around the SAP Ecosystem. The OData support, rich controls and business inspired examples lend itself well to the mantra of “Don’t reinvent the wheel”. At a recent SAP Inside Track event in NY, I made reference to the fact, that while developing a mobile app, I, or a graphic designer, can spend close to 40% of the total design & development phase/hours on the UI. Building “consumer grade” enterprise apps is a different way of thinking for app developers. I am sure many of you, like me, started out with a redefined canvas of boring, grey .NET controls or a “Enjoy” SAP CXTAB_CONTROL. But times are changing and we should all look to the creative and vibrant consumer world of both web and mobile apps to reconsider our methods and processes for developing great apps.




From Tammy Pawlas:
Paul Aschmann pictured above, made Gateway on mobile sound easy. His slides contain resources and a life cycle of how to do a Gateway mobile project. He showed us an application from a manufacturing side and how he gathers requirements, design, and handles development. A good discussion ensued about native mobile application development.

On saturday I published a blog about a small app I wrote called xSync – basically a XS Engine app for Mac developers where you can sync a local development folder with your HANA repository. This is for rapid development and to encourage the “bring your own IDE” approach to application development on HANA. Here is a look behind the scenes on how the app works and some of the challenges of the project.

As mentioned in my previous blog – I started using the IDE Lightweight editor after doing the upgrade of my AWS HANA box last weekend. I enjoyed the experience but after working with it for nearly a full day was wanting a little more. Syntax highlighting, easy commenting, easy indentation, CSS autocomplete and hints, etc. etc. so I started doing some peaking around the editor itself and came to find the editor is something called ACE, a pretty nice little open source IDE (written in JS). This got me thinking … maybe I could insert text directly into the Lightweight IDE browser text box, and submit the form as a save …. hmmm …. not a terrible idea …. just need to scrape the page, find the elements and submit the form via some injected JS. Pretty simple … I did some digging and found the HTML objects I needed by using Firebug when a lightbulb went off … instead of populating the form via a HTML page, why not rather check the HTTP methods it is calling when doing the actual save, since there must be some integration with HANA directly … which is when I came across the mother load … a small file called reposervice.xsjs 🙂 It seemed that every time I was saving or modifying my objects through the IDE, it was calling this file. After checking out the parameters it was `, it was very clear that the methods and text were easy to simulate. I fired up REST Client and within a couple minutes the concept was POC’ed. Pass your file contents as your body with a path param and a POST and you were off to the races 🙂
Using Firefox Rest Client to monitor system calls showed each save, create, delete operation was using a small file called reposervice.xsjs, which references the libraries needed for the repository modifications.
Update: March 7th 2014
– Added support for SAP HANA SPS07
– Ability to ignore local deletes, which would leave the files on the server
– Shortcut link opens the Web Editor, and another to open IDE in your browser
– Stability and speed improvements
– Corrected multiple minor bugs
————————————————————————————————————————————————
A couple of weeks ago, I started playing with HANA development after going through a couple of the opensapcourses. One of my biggest surprises was that HANA Studio was windows only. As a Web/Mobile/App developer spending majority of my time on the Mac platform, having to get my Dell out was a walk down memory lane, and caused me to not spend as much time working on the projects as I would have liked. Since Rev 52 of HANA included a XS Engine Lite IDE, a useful web based IDE for your XSJS/SAPUI5 development. I was been looking forward to getting it installed on my AWS machine and giving it a test drive. Last weekend Juergen Schmerderposted a updated really easy to follow and simple guide of going through the process and within a hour, I was up and running on the newest available rev.
Skill Level: Beginner
Time Needed: 20 minutes
I recently assisted someone on the forums when they were having trouble creating records in their SAP ECC instance while using Gateway. I thought I would share some very simple code showing what it takes to write an entry into a service via JSON from iOS (Objective C). The reason the title of the document is “Simple Sample” – there are no frills. Whenever I develop a new app, I start small, get the basic functionality working, and proof out the process before getting too creative.
*** If you do not have your own gateway server, you might be able to connect this to the SAP Gateway System which can be found here. Create an account and utilize this service *** DISCLAIMER: Untested as the signup form does not work 🙁
In my ever growing quest to provide quick and easy access to SAP Notes (which Dagfinn Parnas started a couple of years ago with the Android Note Viewer), I recently finished creating a windows version of a small app to make opening notes just a little easier.
When deciding if I should get this done, it was purely out of personal need. Having spent the last few months building up a couple of Gateway test, stage and Prod systems, the ability to open a SAP note quickly, always seemed to elude me. Open service.sap.com/support -> click on Help & Support -> Type the note and go. Albeit the app developed still has some user interaction (until Google Glass arrives?) … it does make it a little simpler. I also found a small cmd script online which looked helpful.
Source:
https://www.kaggle.com/wiki/DataScienceUseCases
For each type of analysis think about:
Discount targeting – What is the probability of inducing the desired behavior with a discount – usage: online algorithm and static report
Agriculture
Here is a list of useful SAP Netweaver Gateway TCodes, please add a comment for any I am missing and I will gladly update. The intent of this post is to summarize the relevant TCodes for posterity and to be used as a quick lookup.
Gateway Runtime
| Title | T Code | Description | SP Required |
|---|---|---|---|
| Gateway Client | /IWFND/GW_CLIENT | SAP NetWeaver Gateway is a powerful tool that enhances the existing Error Log. Also allows you to simulate service execution. (Similar to tools like RESTClient for Firefox) | SP04 + |
| Error Log | /IWFND/ERROR_LOG | The Error Log for SAP NetWeaver Gateway hub systems is a helpful addition to the existing Application Log Viewerand provides detailed context information about errors that have occurred at runtime. | |
| Application Log | /IWFND/APPS_LOG (Gateway Hub System) | Log and Trace Filesa specific viewer for application log entries created by SAP NetWeaver Gateway processes. | |
| Application Log | /IWBEP/VIEW_LOG (Business Suite Backend) | Log and Trace Filesa specific viewer for application log entries created by SAP NetWeaver Gateway processes. | |
| Application Log Cleanup | Over time the application log amasses a lot of entries, which periodically need to be cleared. As default the application log should only store one entry per request. In addition, there is no need to store these entries for more than a day or a few days. Application log cleanup is a standard requirement in productive systems and helps to improve the performance of the systems in your system landscape. | ||
| Clear Cache | /IWFND/CACHE_CLEANUP | Cleanup Gateway Metadata Cache | |
| Disable Cache | /IWFND/MED_ACTIVATE | Disable Gateway Metadata Cache | |
| Gateway Node Activation | SICF | Includes various functions for monitoring, analysis, and troubleshooting in the ICF environment. You can also make use of the central Application Server analysis functions to identify issues such as performance problems in ICF applications. | |
| Alert Monitoring | RZ20 | SAP NetWeaver Gateway is monitored automatically within the Computing Center Management System (CCMS) in SAP CCMS Monitors for Optional Componentsfor Information Worker.In the monitoring process, information is collected about SAP NetWeaver Gateway. Here you can see which applications are in use, and how often they are called up. The information is updated hourly and relates to today’s date, since on the first collection after midnight all values are initialized once they have been read out. | |
| Performance Trace | /IWFND/TRACES | The Support Utilities offering for SAP NetWeaver Gateway has been extended to include a Performance Trace tool. This tool enables developers, administrators, support consultants, and end users to monitor system performance at service call level. You can trace the performance of both the SAP Business Suite backend system and the SAP NetWeaver Gateway hub system. |
Gateway Design
| Title | T Code | Description | SP Required |
|---|---|---|---|
| Gateway Service Builder | SEGW | A completely new design-time transaction, which provides developers with an easy-to-use set of tools for creating services. It has been conceived for the code-based OData Channel and supports developers throughout the entire development life cycle of a service. | SP04+ |
| Model Composition for Integration | Model composition is provided for complex scenarios for the integration topics, such as SAP Business Warehouse, GenIL and SPI. It allows mashing up multiple services within IW-BEP. | ||
| Service Validation | /IWFND/SRV_VALIDATE | SAP NetWeaver Gateway Service Validation Tool validates the runtime for all the SAP NetWeaver Gateway services to ensure that all the services work fine. Service Validation tool runs without user intervention and performs the runtime validation on a single service document. | |
| Register/Test Backend System | SM59 | Your backend system has to be registered as an SAP system alias in the SAP NetWeaver Gateway Implementation Guide (IMG) on your SAP NetWeaver Gateway system. In addition, an RFC destination has to be defined in transaction SM59. | |
| Create a Service | SE80 | Design time ABAP Workbench | |
| Register a Service | /IWFND/REG_SERVICE | Replaced with SEGW | |
| Maintain a Service | /IWFND/MAINT_SERVICE | Replaced with SEGW | |
| Activate a Service | /IWFND/IWF_ACTIVATE | Activate or Deactivate a service | |
| MOC | /IWFND/MOC_PARALLEL | Parallelize Multi-Origin Composition | |
| WebGUI Workflow | /IWFND/WF_WEBGUI | WebGUI For Executing Workflow Item | |
| Configure Message based Authentication | /IWFND/WSS_SETUP | Configure Web Service Message-Based Authentication | |
| GenIL Generator | /IWGIL/GENIL_SRV_GEN | Gateway Service Generator for GenIL |
You must be logged in to post a comment.