OVS in FPM Search UIBB

The post describes how to get the F4 help for a field missing with F4 option. The OVS in FPM application can be adopted by implementing the interface IF_FPM_GUIBB_OVS.

The post describes how to can get the F4 help for a field  in search uibb. First part is let’s design a search uibb .

So here we have the search UIBB structure.

1

Create a search uibb feeder class by implementing the needed interfaces.

2

Implement the method GET_DEFINITION.

3

Provide the below code.

4

Create an OVP application in Tx- FPM_WB.

5

Create a search uibb configuration and provide the feeder class.

6

78

Test the application. So here we are missing with the F4 option for the field CARRID. So let’s get the F$ functionality by OVP approach.

9

So go to the search uibb feeder class and implement the interface IF_FPM_GUIBB_OVS.

10

So here we get 4 methods. Go to the GET_DEFINITION method. Here we have to enable the F4 option for the CARRID field.

11

provide the below code.

12

IF_FPM_GUIBB_OVS provides 4 methods.

HANDLE_PHASE_0 – Configuring the popup screen when F4 is pressed.

HANDLE_PHASE_1 – Getting the search field value 

HANDLE_PHASE_2 – reading the search input value and preparing the result list to be displayed

HANDLE_PHASE_3- Reading the selected line from the result list and populaing the value in the input field.


 

1314

 

15

Read if any value is provided in the search option of the F4  popup.

16

For the result list we have the structure.

1817

Prepare the result list.

19

20

read the selected line and populate the value.

21

Test the application. Press F4 key.

22

The OVS pop up is displayed. Press Search button.

23

by HANDLE_PHASE_2 method , the result list is displayed. Select a line.

24

HANDLE_PHASE_3 method , the value is populated.

25

Again press F4 key. We can provide a search value and get the result list satisfying to that value.

26

27



 

One comment

Leave a Reply