on 12-31-2012 2:08 PM
Hi SAP Gurus,
I have a standard FORM UIBB which fetches the fileds from a standard table. I have a requirement to add one field on the standard UIBB, so I have enhanced the standard Structure and add one custom filed. In configuration of FORM UIBB, added this custom filed using enahcement of configuration. I am able so see the added field on FORM but its coming in DISPLAY mode always while other existing fields are coming in Editable mode.
Can anybody help me out on this as to how to make field ediatable/non-ediatble in FORM UIBB?
Thanks in advance.
Regards,
Sumesh
Hi Sumesh,
data: ls_field_descr type fpmgb_s_formfield_descr.
CLEAR ls_field_descr
" check before read only mode is required based on condition, otherwise use directly..
ls_fields_descr-name = 'FIELD_NAME'.
ls_fields_descr-read_only = ' ABAP_TRUE' . " OR ABAP_FALSE
INSERT ls_field_descr INTO TABLE et_field_description.
Regards,
Kishorekumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
in debugger check value of READ_ONLY component of structure type FPMGB_S_FORMFIELD_DESCR when you are appending field in GET_DEFINATION method into
ET_FIELD_DESCRIPTION
if helpful reward points
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.