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.Class: CL_GUI_FRONTEND_SERVICES 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.
DISABLEHISTORYFORFIELD Method Type:
This is a Static Method so you can call it directlyImporting Parameters:
Below is a list of importing parameters associated with this method, including its name, description and data type
FIELDNAME " Field name to disable TYPE STRINGExceptions: FIELD_NOT_FOUND
- Field does not exist in history list DISABLEHISTORYFORFIELD_FAILED
- Access denied CNTL_ERROR
- Control error UNABLE_TO_DISABLE_FIELD
- Field is read-onlyExample ABAP coding
ld_FIELDNAME TYPE STRING.
" ld_FIELDNAME = "
- CALL METHOD CL_GUI_FRONTEND_SERVICES=>DISABLEHISTORYFORFIELD(
- FIELDNAME = ld_FIELDNAME
- FIELD_NOT_FOUND = 1
- DISABLEHISTORYFORFIELD_FAILED =