Field Control in SAP SRM
This Blog provides details on Field Control in SAP SRM .
In SRM 5.0 we can use BADIs BBP_CUF_BADI_2, BBP_UI_CONTROL_BADI to control the visibility of fields where as in SRM 7.0 these are replaced by table frame work and meta data frame work.
In SRM 5.0 , BADI BBP_UI_CONTROL_BADI is used to control field settings .BBP_UI_CONTROL_BADI is a filter dependent BADI.
Based on the methods available as below, we can override visibility and ready-to-input status of header and item fields, pushbuttons, and navigation links.
BADI BBP_CUF_BADI_2 can be used to change the display for customer-defined fields.
We can use MODIFY_SCREEN method to make fields editable and how they can be displayed. In table parameter ET_FIELDS the field FIELDNAME contains technical names of the field.
In SRM 7.0,Standard field settings can be easily maintained with Configurations.
Follow below path for field control:
SRM Server → Cross application basic settings → Extensions and field controls (personalization) → Configure field control. Here we can define display of fields at both item and header level.
SRM Server → Cross application basic settings → Extensions and field controls (personalization) → Configure customer fields. Here we can define display of customer fields at both header and item levels.
The tables which hold customer Meta data are as below:
/SAPSRM/V_MDF_HC Customer Meta Data Configuration for Header Fields
/SAPSRM/V_MDF_IC Customer Metadata Configuration of Item Fields