on 03-20-2012 11:26 PM
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?
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'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.