FPM OVP Application- Using Page Master Area


 The below post helps to create a page master area and displaying a list uibb on the page master area and also list uibb on the normal section of an OVP application. Any row of the list selected from the master section, it dependent records displayed on the right side uibb.

33.png


Let’s display scarr table records on the list uibb of the page master area.

Below table type of scarr structure.

 1

Create a class- ZCL_SCARR_LIST_MSATER and implement the list uibb inetrfaces.

2

create a table attribute.

3

Put codes in teh highlighted methods( others methods just activate)

4

put the below shown code in GET_DEFINITION method.

5

put the below shown code in GET_DATA method.6

Now we are done with the feeder class for the list uibb that is going to be shown on the page master area.

 

Also now we have to show a dependent list uibb on the right  section . Let’s create another feeder class also.

The list uibb on the right section displays data from SPFLI table. So here is the table type.

7

Create a class- ZCL_SPFLI_LIST_CHILD  and implement the list uibb interfaces.

8

Create one table attribute.

9

Put the code  in the highlighted method( other methods just activate )

10

Put the below code in the GET_DEFINITION method.

11


 

Now we created the two feeder classes for two list uibbs. 

Now let’s create list uibb configuration.

12

Provide a configuration name and click on NEW button.

13

Provide the feeder class.

14

In general settings section, put some values as marked.15

Under list  uibb schema, choose fields to be displayed as columns of the list.

16

Save the configuration. So we finished the list uibb configuration that is going to be  displayed on the page master area.

17

Create one more list uibb configuration.

18

Provide a configuration name and click on NEW button.

19

Provide its feeder class.

20

Make some value settings on the general settings area.

21

Add  needed fields under list uibb schema.

22

Save the configuration.

23

 


Now let’s create an ovp application and integrating the two list uibb configuration.

Run Tx- FPM_WB. Select the marked link.

24

provide application name and choose overview page and click on next button.

25

Save this.26

Select marked line.

27

Provide page title. Now click on the PAGE MASTER AREA under OVERVIEW PAGE SCHEMA.

28

From UIBB choose LIST COMPONENT.

29

provide the list uibb configuration name that we want to show on the page master area.

30

Then add a list component uibb configuration under the SECTION_1.

31

test the application.

32.png

And here we have the list uibb on the page master area and another list uibb on the right side.

Now the task is when any row on the left hand side uibb selected, its dependent records should be displayed on the right side list uibb.

33

Now go to the feeder class of the left side list uibb and go to the PROCESS_EVENT method.

34

Put the below code.

35

Now go to the feeder class of the right side list uibb and go to the PROCESS_EVENT method and the GET_DATA method.

36

Put below code on PROCESS_EVENT method.

37

Put below code on GET_DATA method.

38

test the

394041


 

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s