cancel
Showing results for 
Search instead for 
Did you mean: 

Can UIBB Form Edit/Display mode be determined at run-time?

Former Member
0 Kudos

I'm trying to use a form UIBB in an OIF scenario to edit an object. In certain cases, if the object is locked, I would like to still display the form but disabling all fields. I haven't found any method in the feeder class that enables me to do that. Am I looking in the right place? Or should I disable the form from the AppCC? I'm not sure of which method to use there.

Basically, what I'm asking is that can we dynamically change the display properties of field in a Form UIBB at run-time?

Accepted Solutions (1)

Accepted Solutions (1)

J_R
Employee
Employee
0 Kudos

Method GET_DATA of the Form Feeder Interface IF_FPM_GUIBB_FORM offers a table CT_FIELD_USAGE that allows controlling form field attributes, such as ReadOnly, Mandatory, Enabled, etc. If you change any attributes don't forget to set the exporting parameter EV_FIELD_USAGE_CHANGED of method GET_DATA to 'X'.

Answers (0)