Skip to Content
0
Former Member
Jan 03, 2013 at 02:03 PM

Unable to make rows in List Guibb table(IF_FPM_GUIBB_LIST) editable

49 Views

Hi Team,

Could someone please throw light on how to make a read-only row in a column editable. I am using a List Guibb table(screenshot provided below) that consumes the interface IF_FPM_GUIBB_LIST within its own feeder class. The 3rd and 4th row in my second column(Business Partner) show up as read-only by the system. To make them editable i have used the 2 below approaches as mention in previous forum discussions but the rows just don't get editable 🤯:

Approach 1: IF_FPM_GUIBB_LIST~GET_DATA

LOOP AT ct_field_usage ASSIGNING <ls_field_usage> WHERE name = 'PARTY_ID'.

<ls_field_usage>-READ_ONLY = abap_false.

<ls_field_usage>-ENABLED = abap_true.

endloop.

ev_field_usage_changed = abap_true.

Approach 2: IF_FPM_GUIBB_LIST~GET_DEFINITION

FIELD-SYMBOLS <ls_field_descr> TYPE FPMGB_S_LISTFIELD_DESCR.

loop at et_field_description ASSIGNING <ls_field_descr> WHERE name = 'PARTY_ID'.

if sy-subrc eq 0.

<ls_field_descr>-read_only = abap_false.

<ls_field_descr>-read_only_ref = <ls_field_descr>-name.

ENDIF.
endloop.

Thanks in advance,

Vijay

Attachments