FPM OVP Application: Drag & Drop in List UIBB


We have  to display the list UIBB. So we have the table type for SCARR structure.

2

First prepare the  feeder class  for the  Drag UIBB and implement the interfaces.

1

Create an attribute.3

Provide code in the marked method.

4

Put code in IF_FPM_GUIBB_LIST~GET_DEFINITION method.

5

Put below code in IF_FPM_GUIBB_LIST~GET_DATA method.

6

Now we have to create a feeder class for DROP list UIBB. Implement the interfaces.

7

Create an attribute.

8

Put code in the marked method.

9

Put the below code in IF_FPM_GUIBB_LIST~GET_DEFINITION method.

10

GET_DATA method.

11

Create an OVP Application & application configuration..

12

Provide the page title and add two list UIBB and provide the name and click on Configure UIBB to create LIST UIBB configuration.

13

Provide the feeder class.

16

IN general settings provide the below values as shown.

14

Add some fields that we want to display. Go back by selecting the marked link.

15

Configure the next list uibb confoguration.

17

Provide the feeder class and general settings values.

18

Add the fields to display on the list uibb.

19

test the application.

20

So we have the two list UIBB . Now we have to select some or all rows from the top uibb and drop all that rows on the down list uibb.

21

Now go to the feeder class of the top list uibb.

22

Provide the below code in IF_FPM_GUIBB_LIST~PROCESS_EVENT method. here we want to delete all the selected dragged rows from the top list uibb.

23

Provide the below code in IF_FPM_GUIBB_LIST~GET_DATA  method.

24

Go to the feeder class of the DROP List UIBB and pet the below code in the marked methods.

25

Put the below code in IF_FPM_GUIBB_LIST~PROCESS_EVENT method. Here we want to fill the table with the selected dragged rows.

26

also put the below code in GET_DATA method.

27

Now again test the  application. Select a line and drag it and then drop it on the down List UIBB.

2829

Multiple lines or all rows can be selected & drag & drop these.

3031



 

Leave a Reply