Show TOC

Creating Your Own ApplicationLocate this document in the navigation structure

If you want to create your own APF-based application, we recommend using the generic APF runtime application, which is shipped with APF. This generic application already contains important elements that are required for an APF-based application. For example, a BSP application along with the manifest.json file is already there so that you only need to create a configuration using the APF Configuration Modeler. In addition, the semantic object and the action, which you need to integrate the application with SAP Smart Business, are already defined for the generic application so that you can easily configure a Smart Business KPI tile to launch the app.

To use the generic runtime application, proceed as follows:

  1. Open the APF Configuration Modeler
  2. Click the + icon to create a new application and enter a description. The Semantic Object field is already filled with FioriApplication. Save your application.

    Note

    This step is not required if you create an additional configuration in an already existing APF application.

  3. Create a configuration using the APF Configuration Modeler app and save it.

  4. You can now execute your application immediately from the APF Configuration Modeler using the Execute button or you can launch it from a Smart Business KPI tile or a Fiori app launcher tile.

Generic APF Runtime Application

The generic APF runtime application can be used to execute APF configurations that have been created with the APF Configuration Modeler.

Some restrictions exist for the generic APF runtime application:

  • You can run it in one language only. This is because the generic application reads texts from the text table and not from the text properties files. In addition, the APF Configuration Modeler supports one language only, which is the development language.
  • It cannot have coded elements, such as additional footer elements.
  • Using functions for setting default values in the filters is not possible. You can only select Fixed Values as the default value mode when configuring the filters.

If you don’t need more than one language, a footer toolbar, nor a function for defaults in the filters, you can use the generic application to set up an APF-based application in a quick and easy way.

Settings for the Generic APF Runtime Application

The following settings are relevant when you use the generic APF runtime application:

  • You must activate the service af_apf_launch using transaction SICF in the Fiori frontend server system.

  • If you use BW OData queries, set the URL parameter sap-apf-filter-reduction to true.