Show TOC

Procedure documentationCreating and Editing an Adaptation of an Adaptable Application Locate this document in the navigation structure

 

You can create context-specific adaptations of an application. For example, an application that displays a form to both employees and managers can be adapted so that when a manager opens the application, he or she is presented with a form that looks different to that which the employee sees.

Prerequisites

You have an existing adaptable application.

To check whether your application is adaptable, open the application using FLUID. If the application is opened at floorplan level, an Adaptations toggle button is visible in the main toolbar. If it is an adaptable application, an additional component, FPM_ADAPTABLE_<FLOORPLAN_ID> is visible in the standard Web Dynpro application editor.

Procedure

  1. In the ABAP Workbench, select the application you want to edit and choose Start Configurator.

  2. Choose Continue in Change Mode in the Editor for Web Dynpro ABAP Application Configuration window.

  3. Choose the link to the floorplan component of the application.

    The FPM configuration editor, FLUID, is displayed.

  4. From the main toolbar, open the Adaptations panel.

    The Adaptations panel appears under the main toolbar. There is at least one row in the Schema table; this is the base configuration.

  5. Select the base configuration and choose one of following buttons:

    • Add

      Enter values for the adaptation dimensions in the Add Adaptation dialog box that appears and press OK.

    • Change Dimension Values

      Edit existing values for the adaptation dimensions in the Change Dimension Values dialog box that appears and press OK.

  6. A new adaptation appears in the Schema table underneath the base configuration.

    Using the Preview panel or the tab pages below the Adaptation panel, you can now make the desired changes to this adaptation (for example, add an extra field in a form for the manager role).

  7. To test your new adaptations, run the application as you would normally. You see the original application, unchanged. To see how the adapted application looks, add the relevant parameter and values to the URL (for example &ROLE=MANAGER and refresh the screen. Note that the values you enter for your parameter in the URL are case-sensitive.

Note Note

Any changes you make in the base configuration are inherited by the adaptations, even if you make changes after you have created an adaptation.

End of the note.