Developing an ITS-based MiniApp
By Alfred Barzewski
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
Using the Web Application Builder in the ABAP Workbench, you can easily develop useful ITS-based MiniApps that allow you to access your various SAP component systems via the mySAP Workplace. This tip, excerpted from Alfred Barzewski's article "Ready to Build Your First MiniApp? It's Quick and Easy with the ABAP Workbench!" in the May/June 2001 issue of SAP Professional Journal, covers the steps you'll need to follow in order to develop an ITS-based MiniApp.
There are five steps to building an ITS-based MiniApp:
Pick the appropriate BAPI or function module. In this step, you specify the underlying business logic and data collection mechanism for your MiniApp. ITS-based MiniApps perform data retrieval by calling a function module or a BAPI, so you need to identify the appropriate one(s). In most cases, you can use an existing function module or BAPI. MiniApps will support any function module or BAPI from Release 4.0B onward.*
Design the interface. In this step, you specify the look and feel of your MiniApp's user interface. The interfaces and functions of a MiniApp are much less complicated that those of a full-fledged application. Take advantage of this. A typical interaction between the user and the system takes place on just a single screen. Make your design simple, uniform, and task-oriented.**
Implement the Internet service. This step constitutes the bulk of the development effort. At the heart of every ITS-based MiniApp is an Internet service. A typical Internet service includes:- A service definition
- HTML templates
- Language resources
- MIME objects (where applicable)
- A theme
Your job is to build the HTML templates, specify the parameters of the service definition, specify a theme, and identify which textual elements need to be earmarked as "language resources" so that they can be isolated from the logic of your application and dealt with in a way that facilitates multilingual support of your MiniApp. The Web Application Builder provides you with the tools you will need to do all this and prompts and guides you every step of the way.
Publish the Internet service on the ITS. After you have developed an Internet service in the Web Application Builder, you publish it on the ITS. Publishing is the process by which you transfer, or copy, all the components of your Internet service from the SAP Repository to the ITS file system.
Integrate the MiniApp in the Workplace. The last step is to create a MiniApp definition development object in the Web Application Builder. This object contains the administrative information that the system needs to be able to integrate an Internet service in the Workplace and to use the generic functions of the MiniApp framework. This MiniApp definition can be assigned to one Internet service, or to any URL, and is used as part of a role definition.
* You can implement the development of cross-release MiniApps using an encapsulation module, which you create in a development system of Release 4.6 or higher. This encapsulation module acts as a cross release interface between the development system and the different releases of component systems in which MiniApps will access data. (Go back to top)
To subscribe to SAP Professional Journal, visit the SAP Publications home page.