Procedure documentationTesting FPM Configurations

 

With this procedure, you can test the UI configurations that you have created for the Personnel & Organization master data application (Web Dynpro application HRPAO_PAOM_MASTERDATA) without making changes to the database tables: All entries that you enter in the test mode are user-dependent and are only temporarily stored.

This allows you to test how the configurations would be displayed in the master data application by simulating the required Customizing settings for the UI configurations before you enter them in Customizing for Personnel & Organization.

In particular, you can test the following configurations:

  • The Floorplan Manager (FPM) master configurations (for biz cards, tables, and datasets) used by the master data application.

  • The FPM detail configurations for the details area of the infotype-specific screen.

    When the user selects an infotype record in one of the master configurations, details for this record are displayed using one or more detail configurations. This can be a single-form configuration or it can be a set of form and/or list configurations, which means you can also test the combination of these by entering more than one detail configuration.

  • The properties configurations.

  • The FPM configurations for the short profiles.

Note Note

For each configuration, you have the option of going directly to the FPM Editor for the Web Dynpro ABAP Component Configuration by clicking on the glasses icon next to each configuration. There, you can edit the actual configurations directly.

End of the note.

Prerequisites

You have created the required FPM configurations that you want to test.

For more information, see Creating FPM Configurations.

Procedure

  1. Choose transaction SE80. You are now in the Object Navigator of the ABAP Workbench.

  2. In the menu, choose Start of the navigation path Workbench Next navigation step Edit Object End of the navigation path.

    The Object Selection dialog window is displayed.

  3. In the Object Selection dialog window, choose the Web Objects tab.

  4. Select Application Configuratn (= Web Dynpro Application Configuration) .

  5. Enter the technical name of the master data application HRPAO_PAOM_MASTERDATA and choose Enter or Display.

  6. Choose Test/Execute (F8). The master data application is launched in the browser.

  7. Add the parameter &TEST_MODE=X to the URL that is displayed in the browser and press Enter.

    You are now in the test mode for master data application configurations.

    Recommendation Recommendation

    You can save the enhanced URL for the test mode to your browser favorites or SAP Easy Access.

    End of the recommendation.
  8. Choose the object for testing, for example, Plan Version = 01, Object Type = P (employee) and the Object ID (= personnel number) of the employee.

  9. Next to the Object ID field, choose Go.

  10. Under Configurations, choose New.

  11. Under General, enter the following data:

    • Description: Enter the name of your infotype.

    • Configuration ID: Enter the Configuration ID for your infotype, according to the following naming convention: ZIT<infotype number>.

      Note Note

      The Object Type field is already filled out according to your entries under Object for Testing.

      End of the note.

    You can now enter the relevant data for the configurations that you want to test:

Testing the Configurations for the Infotype-Specific Page

This section explains how you can test your configurations for the infotype-specific page before you make the required Customizing settings in Customizing for Personnel & Organization under Start of the navigation path Infotypes Next navigation step Infotype UI Configurations for Master Data Application Next navigation step Define Customer UI Configurations/Display Standard/Customer: Override UI Configurations End of the navigation path:

  1. To test the basic UI configurations for the master data application, under Master Configuration, enter the following data for the FPM configurations that you want to test:

    • Dataset: WD Configuration (+ Component, + Interface View): To test a Form Repeater Component configuration for the dataset view of the infotype data, enter the configuration ID that you have created in step Creating Form Repeater Component Configurations.

    • Table: WD Configuration (+ Component, + Interface View): To test a List Component configuration for the table view of the infotype data in the master area of the infotype-specific page, enter the configuration ID that you have created in step Creating List Component Configurations.

    • Connector Type:

      Enter Relation here.

      Note Note

      The No Connector option is relevant only for special SAP infotypes that are not contained in the BOL model.

      End of the note.
    • Relation Name: Enter the relation name of your infotype in the relevant BOL model.

    • Relation Name 2: If required, enter the relation name 2 of your infotype. This is the case if the infotype data is accessed using a relation path with depth 2 in the BOL model. You need this, for example, for country-specific infotype configurations.

    • Hook: Enter a hook class here if your configuration uses a specific hook class or if you want to test a specific hook class. If no class is entered, the system assumes the following hook classes:

      • For object type "employee" (P): CL_HRPAO_PA_CONFIG_HOOK

      • For object types "organizational unit" (O) and "position" (S): CL_HRPAO_OM_CONFIG_HOOK

  2. To test the detail configurations of the master configurations, under Details 1 and (if required in addition) under Details 2 and Details 3, enter the following data:

    • Detail: WD Configuration (+ Component, + Interface View):

    • To test various Customizing settings, make entries in the following fields as required:

      • Connector Type

      • Connector

      • Relation Name

      • Tab-OTR-Alias

      • Relation Name 2

      • Sub-Configuration ID

      Note Note

      For detailed information regarding each field, perform a right-mouse click on the relevant field and choose More Field Help.

      End of the note.
  3. To test the properties configurations of the master configurations, enter under Properties the following data as required:

    • “New” Button: Here you can select various settings for a New button.

    • Cost Assignment: Here you can select whether the infotype should have a section for entering cost assignment data if defined in Customizing (Automatic) or whether it should not have this type of section.

    • Infotype Text: Here you can select whether the infotype should have a notes section if defined in Customizing (Automatic) or whether it should not have this type of section.

  4. At the end of the row where you have entered the individual configuration IDs, choose Display Configuration for each configuration. You are now on the Component Configuration screen. Here you can check the configuration and choose Edit to change the configuration directly.

  5. To simulate how the master data application would generate the infotype-specific page with the data you have entered, in the table under Configurations, for your configuration ID, choose the arrow for Data Records at the end of the row.

Testing Configurations for the Object Profile Page

This section explains how you can test your configurations for the object profile page and the required Customizing settings in Customizing for Personnel & Organization under Start of the navigation path Master Data Application Next navigation step Object Profile Page End of the navigation path.

  1. To test the object profile page for the object type that you have entered under Object for Testing, enter the following data:

  2. At the end of the row where you have entered the configuration IDs, choose Display Configuration for each configuration. You are now on the Component Configuration screen. Here you can check the configuration and choose Edit to change the configuration directly.

  3. To simulate how the master data application would generate the object profile page with the data you have entered, in the table under Configurations, for your configuration ID, choose the arrow for Biz Card at the end of the row.