CHANGE_TOOLBAR SAP Method Change Toolbar
Below is documentation, parameters and attributes of ABAP Method CHANGE_TOOLBAR within SAP class /DSD/ME_IF_CPT_MODIFY_LAYOUT. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /DSD/ME_IF_CPT_MODIFY_LAYOUT into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method CHANGE_TOOLBAR can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CHANGE_TOOLBAR
.| Name | Type | Data Type | Description | Default Value |
| IF_ASSIGN_LAYOUT | Changing | TYPE LVC_S_LAYO | ALV Control: Layout Structure | |
| IF_ASSIGN_VARIANT | Changing | TYPE DISVARIANT | Layout (External Use) | |
| IT_FIELDCATALOG | Changing | TYPE LVC_T_FCAT | Field Catalog for SAP List Viewer Control | |
| IT_TOOLBAR_EXCLUDING | Changing | TYPE UI_FUNCTIONS | Function Code Table |
Exceptions of Method CHANGE_TOOLBAR
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /DSD/ME_IF_CPT_MODIFY_LAYOUT.
DATA: lv_IF_ASSIGN_LAYOUT TYPE LVC_S_LAYO,
lv_IF_ASSIGN_VARIANT TYPE DISVARIANT,
lv_IT_FIELDCATALOG TYPE LVC_T_FCAT,
lv_IT_TOOLBAR_EXCLUDING TYPE UI_FUNCTIONS,
lv_other TYPE c.
CALL METHOD lo_class=>CHANGE_TOOLBAR(
CHANGING
IF_ASSIGN_LAYOUT = lv_IF_ASSIGN_LAYOUT
IF_ASSIGN_VARIANT = lv_IF_ASSIGN_VARIANT
IT_FIELDCATALOG = lv_IT_FIELDCATALOG
IT_TOOLBAR_EXCLUDING = lv_IT_TOOLBAR_EXCLUDING ).
Links to Related Class(s)
/DSD/ME_...Full list of available SAP object classes
Search for further information about these or an SAP related objects