Method FMOD_TABLE

Use

Using method FMOD_TABLE you can also perform field modifications in table controls. The method is used similarly to method FMOD.

Since there are now only very few table controls in the maintenance of standard BRF objects, this method is becoming less and less important.

Sample source text:

METHOD IF_MAINTENANCE_BRF~FMOD_TABLE .

IF iv_screen <> '2013' OR iv_program <> 'SAPLBRF_MAINTENANCE'.

ELSE.

CASE mv_edit_mode.

WHEN '1' OR '2'.

WHEN '3'.

IF cs_screen-group1 = 'INP'.

cs_screen-input = '0'.

ENDIF.

ENDCASE.

ENDIF.

ENDMETHOD.

Description:

In this sample source text you can see how you can set all fields as being ready for input or not ready for input (depending on the activity type) without having to know the concrete field name.

Here it is permissible to apply the field modification to a whole column.

However, it is not permissible to apply the field modification to a single cell.