Prerequisites
Procedure
Maintaining Other Attributes of the MiniApp
The description is used by the system as the long text title (or tray header) for the MiniApp. After the system has included the MiniApp in the Workplace, one of these descriptions will be used as the MiniApp frame title. The description used is determined by the dimensions of the MiniApp in the Workplace frame.
The default option is ITS service. By default, this is set to ITS service, which assigns the MiniApp to an Internet service in the same system. If you choose this option, you must enter the name of the service from which the MiniApp is to be called, in the appropriate field. This service also contains the implementation of this MiniApp in the HTML template.
You can assign several MiniApp objects to the same Internet service.
To assign a URL to the MiniApp as a service, choose the Generic URL radio button. This implementation method allows you to attach each MiniApp to any number of Web addresses, as alternatives to the ITS service.
To do this, choose the icon. In the dialog box that appears, enter a complete HTTP address (including all the necessary parameters).
You can enter either the complete URL template or specify the URL parameters, with values.
A URL template can take the following form:
<web_protcl>://<web_server>/<web_path_prefix>/my_service/!?~language=<language>&~client=<client>
For more information on URL templates, see the mySAP.com Workplace documentation.
Make sure that all the contents of the MiniApp fit the frame. The dimensions of the MiniApp do not change dynamically when the data are changed. If the content is too big for the size defined, scroll bars appear. Wherever possible, however, you should avoid having scroll bars in MiniApps.
Note that you must enter the number of lines if you selected Full width. This means the number of screen lines and not the number of pixel lines.
Before you check the Autorefresh box (if it is available), read the SAP Note 0304438.
The system displays the Device types button. You can then call a dialog box, where you can assign each device type to a service.
Select the device types you want and enter the name of the service to be called.
Choose to confirm your entries.
This type of MiniApp is displayed in an automatically generated MiniApp frame when the user chooses Edit in the Workplace. Users can then customize MiniApp data or change their personal settings.
Creating Parameters
These parameters must already be available as variables in the source code for the HTML template associated with this service so that you can create parameters for the MiniApp. The system does not check to ensure that this is the case.
Choose Add service interface to add all the interface parameters for the service to the list of MiniApp parameters.
Result
You have created a MiniApp object and entered all the administrative data that is needed to use the generic functions of the MiniApp framework for workplace integration.
You can now assign the MiniApp to one or more single roles. Open the Role maintenance transaction (PFCG) and follow the appropriate documentation. See also:
Assigning MiniAppsTo display the MiniApp in the mySAP.com Workplace immediately after assigning it to a role, you must make it known to the mySAP.com Workplace Server , so that the URL can be generated. To this, start the transaction S_WP_CACHE_RELOAD on the mySAP.com Workplace Server, choose the destination of the component system where the MiniApp object was created and control the data transfer manually.