Display/Edit mode settings in FPM OVP Application

The post describes how we can achieve the display & edit functionality without coding as FPM already provides this. The below post describes this by using an OVP application with form UIBB.

Create a feeder class & implement the interfaces. Create attribute and implementing the GET_DEFINITION & GET_DATA method.

12345

So the form feeder class is ready. Now create an OVP application by executing the Tx- FPM_WB.

6

Provide application name & choose OVP. Click on next button.

78

Provide page title . Now we have the EDIT mode set as – No Mode Handling(Default)

9

Add a form UIBB and create its configuration.

101112131415

Provide the feeder class.

161718

Add few fields and make sure these are input field as Display Type.

1920

In preview adjusted the width. Go back to the application configuration.

21

Go to the toolbar schema & add the SAVE, CANCEL Y& EDIT button.

222324

Go back.

25

test the application.

26

The fields appear as input field and the SAVE, CANCEL & EDIT button doesn’t have any impact you they are clicked.

27

Now in General Settings->Additional Setting->Set Edit Mode.

28

Set as EDIT. Now test the application.

29

As the mode is EDIT- The fields appear in edit mode and also SAVE & CANCEL button are enabled while EDIT button is disabled as we are already in edit mode. Here user can change the value and SAVE. Then the fields automatically turns into display mode.

30

Click on EDIT.

3132

Now set the mode to Read-Only and test the application.

33

So the application data appears in display mode/read only mode. EDIT button is active.

343536



 

One comment

Leave a Reply