Below is documentation, parameters and attributes of ABAP Method DISABLEHISTORYFORFIELD within SAP class CL_GUI_FRONTEND_SERVICES. There is also a number of example ABAP code snipts to help you implement this method.
This method is available within SAP systems depending on your version and release level and you can view further information by entering the class name CL_GUI_FRONTEND_SERVICES into relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in. Also check out the contributions below to view or add related hints, tips, example screen shots and any other information.
SAP Class belongs too CL_GUI_FRONTEND_SERVICES
Static Method: This is a Static Method so you can call it directly
Below is a list of importing parameters associated with this method, including its name, description and data type
FIELDNAME " Field name to disable TYPE STRING
- Field does not exist in history list
- Access denied
- Control error
- Field is read-only
Example ABAP coding
ld_FIELDNAME TYPE STRING.
" ld_FIELDNAME = "
- CALL METHOD CL_GUI_FRONTEND_SERVICES=>DISABLEHISTORYFORFIELD(
- FIELDNAME = ld_FIELDNAME
- FIELD_NOT_FOUND = 1
- DISABLEHISTORYFORFIELD_FAILED = 2
- CNTL_ERROR = 3
- UNABLE_TO_DISABLE_FIELD = 4 ).