!--a11y-->
Field 
You mainly use field objects in two situations:
· You want to apply standard ALV functions (ALV services) to the ALV output before displaying it (see Predefining Standard ALV Functions).
· You want to assign properties to the cells of a field that are defined for another field (see Assigning Properties to Columns and Rows).
In addition to these standard ALV functions, you can also make settings for field objects:
· Get field object
· Get field name
· Create and delete field object
In order to make the required settings for a field, you first have to get the instance of the field. You can decide whether you address a specific field object by its name or get all field objects at once in order to handle them one after another. In both cases you use the methods of the interface class IF_SALV_WD_FIELD_SETTINGS for this (implementing class CL_SALV_WD_CONFIG_TABLE).
Methods for Getting Field Objects
Function |
Method |
Get single field object |
GET_FIELD |
Get all field objects |
GET_FIELDS |
Use the class CL_SALV_WD_FIELD to get the name of the current field instance.
Method for Getting Field Names
Function |
Method |
Get field name |
GET_FIELDNAME |
When you call the ALV, appropriate field objects are created automatically from the specifications for the attributes of your context node (see Getting the ALV Configuration Model). However, in exceptional cases you may need to create or delete field objects.

When creating a field object you enter its technical name. This name must match the name of an attribute in the context node of your application.
You use the methods of the interface class IF_SALV_WD_FIELD_SETTINGS for this (implementing class CL_SALV_WD_CONFIG_TABLE).
Methods for Creating and Deleting Field Objects
Function |
Method |
Create field object |
CREATE_FIELD |
Deleted field object |
DELETE_FIELD |