In order to add the List GUIBB to your OVP configuration, proceed as follows:
In the Hierarchy on the left, in the element list, choose the ContentArea
MAIN_SCREEN
, then select .
The system adds a new UIBB.
Enter a new configuration name, for example ZYEC_CC_LIST_REPORTING
and choose Save
.
Enter 1 in the sequence index, so that the Document Display is located below the form GUIBB in this example).
Enter the newly created configuration name and choose Save
.
Choose Configure UIBB
.
With forward navigation, you are now creating your own component configuration for the List UIBB.
On the next screen, the system will point out the configuration does not yet exist, therefore choose Create
.
A dialog box is displayed.
In this dialog box, enter description and package.
A new dialog box is displayed.
In this new dialog box, choose Cancel
.
Note
This is because our feeder class has no parameters.
In the next dialog box that is displayed, enter your feeder class.
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.
Once you have entered the class, choose Edit parameters
(although you do not have parameters in this example).
A new dialog box is displayed.
In this dialog box, confirm with OK
.
Choose Save
. You are now on the component configuration screen for the List GUIBB.
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).
Select Configure Columns
.
A new dialog box is displayed.
In this dialog box, you can choose fields to display. The fields at left are from your field catalog.
If necessary, change the texts for the column headers.
Choose OK
.
Choose Assign Action
.
A new dialog boy is displayed.
In the dialog box, choose the FPM Event ID, HRGRT_LINESELECT
.
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
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)
Choose Save
.