Show TOC

Creating Own Analytical and Planning ApplicationsLocate this document in the navigation structure

Use

You can create your own applications with the Floorplan Manager.

Procedure

Substep A: Creating Application

  1. Call the Object Navigator transaction (SE80) to access the ABAP Development Workbench.

  2. Select a package if you want to transport the application. If not, select Local Objects from the dropdown list.

  3. Right-click the root node and choose Start of the navigation path Create Next navigation step Web Dynpro Application End of the navigation path.

  4. In the dialog box, enter the name and description of the application, and choose Continue.

  5. Enter the following information to create, for example, an application for overview pages (Overview Page floorplan):

    • Component: FPM_OVP_COMPONENT

    • Interface view: FPM_WINDOW

    • Plug name: STANDARD

    Note

    This procedure applies to all applications with overview pages (OVP). You can also use the Object Instance floorplan (FPM_OIF_COMPONENT) or the Guided Activity floorplan (FPM_GAF_COMPONENT) and adapt them accordingly.

    See Floorplan for Overview Page (OVP, Floorplan for Object Instances (OIF) and Guided Activity Floorplan (GAF).

  6. Save your entries. In the Create Object Directory Entry dialog box, enter a package name and choose OK.

Substep B: Creating Application Configuration

  1. In the Object Navigator, right-click the new Web Dynpro application and choose Create/Change Configuration. You reach the Editor for Web Dynpro ABAP Application Configuration screen.

  2. Enter the name of your application configuration in the Configuration ID field and choose New.

    Note

    Note that configuration names are global. In other words, you cannot use the same configuration name for different applications.

  3. Choose New. In the Create Configuration dialog box, enter a description and choose OK.

  4. In the Choose Package dialog box, enter the relevant package and choose OK.

    In the configuration interface of the application, you see that the FPM_OVP_COMPONENT component was assigned to the application.

  5. Choose Save.

Note

Your new configuration is also displayed in the Object Navigator (transaction SE80).

Substep C: Creating Component Configuration

In the configuration interface of the application, you see that the Web Dynpro component FPM_OVP_COMPONENT was automatically assigned to the application. You now have to create a component configuration for this component.

  1. In the list with the assigned Web Dynpro components, select the row with the FPM_OVP_COMPONENT component.

  2. Choose Assign Configuration Name. The Assign Configuration Name dialog box appears.

  3. Enter the name of your configuration and choose OK.

  4. Click the name of the configuration. You reach the Editor for Web Dynpro ABAP Components Configuration screen.

  5. Choose New to create the new component configuration.

  6. In the Create Configuration dialog box, enter a description and choose OK.

  7. In the Choose Package dialog box, enter the relevant package and choose OK. The Component Configuration <Name of Configuration> screen appears.

  8. Choose Save.

A simple application requires only one page (the scheme page) and one section. These entities with standard IDs and names are defaulted in the configuration of the Floorplan Manager.

You can now edit the component configuration and add analytical components.

Substep D: Adding Analytical Components

In the component configuration, you can do the following:

  • Adding Analytics List Component

    This component displays data on the basis of an analytic query in a list. In case of an input-enabled BW query, the analytics list component is also input-enabled.

    See Adding Analytics List Component.

  • Adding Hierarchical List Component with Analytics Feeder Class

    If the query fulfills certain prerequisites, the result can be displayed as a hierarchical list.

    See Hierarchical List Component with Analytics Feeder Class.

  • Adding Chart Component

    This component displays the results list of an analytic query in graphic form.

    See Adding Chart Component.

  • Adding Analytics Search Component with Analytics Feeder Class

    This component allows you to enter variables for queries, filters, planning functions, and planning sequences.

    See Adding Analytics Search Component.

  • Using FPM Events that Trigger Planning Functions or Planning Sequences

    You can use predefined events if you want to execute planning functions and planning sequences:

    • The FPM event for executing a planning function is BSA_PLFUNC with the parameters PLFUNC and FILTER for the name of the planning function and the filter.

    • The FPM event for executing a planning sequence is BSA_PLSEQU with parameter PLSEQU for the planning sequence.

    You can use these events in toolbar elements such as buttons or button choices.

    You can create toolbars either in the component configuration of the floorplan used in your application (such as FPM_OVP_COMPONENT) or in the component configurations of your individual UIBB.

  • Assigning and Configuring Application Controller for Analytical and Planning Applications

    You must use an application controller (Web Dynpro component WDC_BS_ANLY_APPCONTROLLER) that handles the following steps in a generic way for any analytical and planning application:

    • Writing back and checking data that was manually entered in the planning-enabled query

    • Writing back and checking variable values that were entered

    • Executing planning functions and sequences defined by means of an FPM event

    To edit the application controller, start the application configuration and choose Start of the navigation path General Settings Next navigation step Floorplan Settings Next navigation step Application Controller Settings End of the navigation path. Enter WDC_BS_ANLY_APPCONTROLLER in the Change Application-Specific Parameters dialog window in the Web Dynpro Component field and choose OK.