Here the OVP application contains two list UIBBs. One is header UIBB which displays records form SCARR table and another one is ITEM UIBB which displays the records from the SPFLI table depending upon the row selected in the HEADER UIBB.

If more than one line selected in the header UIBB then the ITEM UIBB is set as invisible/hidden.

More than one line are selected in the header, So the ITEM UIBB is hidden.

Create a table type and structure for the header list UIBB.

Create a table type and structure for the item list UIBB.

Create a feeder class for the header list UIBB and implement the interfaces.

Activate all the methods.

Provide the below code in the GET_DEFINITION method.

Create a feeder class for the ITEM list UIBB and implement the interfaces.

Activate all the methods.

Provide the below code in the GET_DEFINITION method.

Create another class which will be the application controller class. Implement the interfaces.

Activate all the methods.

Create a configuration for the header list UIBB.

Mark all necessary attribute and provide the feeder class.

Create a configuration for the ITEM list UIBB.

Provide the feeder class and maintain all attributes.

Create a configuration for the FPM_OVP_COMPONENT.

Add two list UIBB’s and the application controller class and mention the PAGE ID.

Here is the controller class.

Maintain the below code in the header list feeder class.

Very first screen is loaded, the first line is made selected and an event ‘SET_SPFLI_LIST’ is raised which is handled in the ITEM list feeder class.

After onwards for any line selection and multiple line selection different events are triggered which is handled in the ITEM list feeder class and in the application controller class.

Event handled in ITEM LIST feeder class.

When multiple line are selected, then in the controller class , the ITEM list UIBB is set as hidden .