Show TOC

Procedure documentationAdd and Configure the List GUIBB

Procedure

In order to add the List GUIBB to your OVP configuration, proceed as follows:

  1. In the Hierarchy on the left, in the element list, choose the ContentArea MAIN_SCREEN, then select Start of the navigation path Add UIBB Next navigation step Add List Component End of the navigation path.

    The system adds a new UIBB.

  2. Enter a new configuration name, for example ZYEC_CC_LIST_REPORTING and choose Save.

  3. Enter 1 in the sequence index, so that the Document Display is located below the form GUIBB in this example).

  4. Enter the newly created configuration name and choose Save.

  5. Choose Configure UIBB.

    With forward navigation, you are now creating your own component configuration for the List UIBB.

  6. On the next screen, the system will point out the configuration does not yet exist, therefore choose Create.

    A dialog box is displayed.

  7. In this dialog box, enter description and package.

    A new dialog box is displayed.

  8. In this new dialog box, choose Cancel.

    Note Note

    End of the note.

    This is because our feeder class has no parameters.

  9. In the next dialog box that is displayed, enter your feeder class.

    Note Note

    If you cannot find your class, check that it is active and that it inherits the correct super class, for example the super class AC_HRGRT_REPORTING_LIST_FEEDER in the case of a List GUIBB.

    End of the note.
  10. Once you have entered the class, choose Edit parameters (although you do not have parameters in this example).

    A new dialog box is displayed.

  11. In this dialog box, confirm with OK.

  12. Choose Save. You are now on the component configuration screen for the List GUIBB.

    Note Note

    At this stage, you can see how your screen will finally look. In the following steps, see how to configure the Form GUIBB by arranging the fields on the screen (from the field catalogue provided by the feeder class).

    End of the note.
  13. Select Configure Columns.

    A new dialog box is displayed.

  14. In this dialog box, you can choose fields to display. The fields at left are from your field catalog.

  15. If necessary, change the texts for the column headers.

  16. Choose OK.

  17. Choose Assign Action.

    A new dialog boy is displayed.

  18. In the dialog box, choose the FPM Event ID, HRGRT_LINESELECT.

    Note Note

    You should handle this event in your feeder class. When the end user chooses a line in the table, this is the event (or for the user, also known as an ‘Action’) that is triggered. In method GET_DATA, your code should react to this event and the HRGRT_NEXT and HRGRT_PREVIOUS events by producing the output to go into the Data Container

    End of the note.
  19. Choose Settings in the hierarchy, and make the following attribute settings

    Selection Event = only lead selection produces an FPM event

    Row Count = 0 (This is a standard default setting, that means that 5 rows are shown)

    Selection Mode = Single (This means that the event is triggered only when the end user selects a single row. Indeed the user is only able to select a single row)

  20. Choose Save.