Procedure documentationCreating Form Component Configurations

 

The following procedure describes how you can create the form UIBB component configuration required for your infotype.

You need the form component configuration to make available the infotype fields that should be editable. The form component configuration is displayed in the following two instances:

  • When you are in the table view for the infotype, the form configuration is displayed in the details area below the table.

  • When you are in the dataset view and choose Edit.

Note Note

For a figure of a form component configuration and the prerequisites, see Creating FPM Configurations.

End of the note.

Procedure

  1. Choose transaction SE80.

  2. In the Repository Browser, choose Web Dynpro Comp./Intf. (= Web Dynpro Component or Interface) and enter the FPM component name FPM_FORM_UIBB_GL2.

  3. Position the cursor on the component name and choose Create/Change Configuration with a right-mouse click.

  4. In the Editor for the Web Dynpro ABAP Component Configuration, enter a new configuration ID and choose New.

    Example Example

    If you want to follow the SAP naming convention, you enter a configuration ID such as ZHRPAO_DTL_FORM_IT****_XX. **** stands for the infotype number. The XX stands for international infotype and should be replaced by a country ID such as US if the infotype is country-specific.

    End of the example.
  5. In the Create Configuration dialog box, enter a description and choose OK.

  6. In the Select Package dialog box, enter your customer-specific package and choose OK.

  7. In the dialog box Edit Feeder Class, enter the required feeder class:

    • CL_HRPAO_GUIBB_PA_DETAIL_FORM for infotypes for employee data

    • CL_HRPAO_GUIBB_OM_DETAIL_FORM for infotypes for organization data.

  8. Choose Edit Parameters.

  9. In the Edit Parameters dialog box, edit fields as described in the table below and choose OK.

    Field

    Value/Input

    Component

    • For infotypes for employee data: HRPAD

    • For infotypes for organization data: HRPD

    Object Name

    Enter the name of the infotype from the BOL model:

    IT**** (**** = the 4-digit infotype number), for example IT9987

    Editable

    X (Check)

    You are now on the Component Configuration screen.

  10. In the General Settings section, set the required Layout Type 16/2.

  11. In the Form UIBB Schema section of the Component Configuration screen, use the Add Element function to add the fields that you want to display on the Edit screen of the infotype.

    Note Note

    The validity fields and the last change fields are automatically provided by the master data application framework. Therefore, you should not add these fields here, or they will be displayed twice on the details screen.

    End of the note.
  12. In the menu bar of the component configuration screen, choose Attributes.

    Make sure that the following settings are maintained for each field in Attributes:

    Field

    Value/Input

    Under Position

    Define the layout for the fields, especially the Display Type.

    Under Display Type-Dependent Properties:

    Filter Method

    prefixSearch

    Note Note

    This attribute is only required for fields with Display Type = Input Field

    End of the note.

    Under Display Type-Dependent Properties:

    Suggest Values

    X (Select)

    Note Note

    This works only for input fields where the value help (F4) is DDIC-based. Value helps programmed in the UI conversion classes are not supported.

    End of the note.

    Under Action Assignment:

    FPM Event ID for on Enter

    • _Refresh_Values for input fields that need to be refreshed.

    • No Action Assigned for input fields that should not trigger a refresh action.

  13. Choose Save.

Result

You have created a form UIBB configuration for your infotype for the details area of the infotype-specific view and the Edit view with the following data:

Configuration Element

Technical Name

Form UIBB Configuration

ZHRPAO_DTL_FORM_IT****_XX

WD Component

FPM_FORM_UIBB_GL2

WD Window

FORM_WINDOW

Feeder Class

CL_HRPAO_GUIBB_PA_DETAIL_FORM

or

CL_HRPAO_GUIBB_OM_DETAIL_FORM

Feeder Parameters

Component: HRPAD or HRPD

Object Name: IT****(_XX)

Layout Type

16/2

More Information

For information about how to test your configuration, see Testing FPM Configurations.