Entering content frameProcedure documentation Maintaining Entries for MiniApps Locate the document in its SAP Library structure

Prerequisites

Procedure

Maintaining Other Attributes of the MiniApp

  1. In the Object Navigator (transaction SE80), choose a MiniApp object.
  2. Enter a short, medium, and long description for the MiniApp.
  3. 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.

  4. Specify the Implementation type.
  5. 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.

    This graphic is explained in the accompanying text

    Note

    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 This graphic is explained in the accompanying text 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.

  6. Specify the size of the MiniApp in the Workplace frame.
  7. 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.

    This graphic is explained in the accompanying text

    Caution

    Before you check the Autorefresh box (if it is available), read the SAP Note 0304438.

  8. If you want the MiniApp to available to other device types (such as WAP-enabled mobile telephones, Palm Pilots, or Pocket PCs), not just in mySAP.com, check the Pervasive enabled box.
  9. 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.

    This graphic is explained in the accompanying text

    Choose This graphic is explained in the accompanying text to confirm your entries.

  10. If you want, choose Personalization MiniApp.
  11. 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.

  12. Choose This graphic is explained in the accompanying text to save your entries.

Creating Parameters

Note

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.

  1. Choose the Parameters tab.
  2. Enter all the parameters that must be passed from the MiniApp to the assigned Internet service.

Note

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: Structure link Assigning MiniApps

Caution

To 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.

 

 

Leaving content frame