DO_ON_CUSTOM_BUTTON SAP Method Handle a custom button action
Below is documentation, parameters and attributes of ABAP Method DO_ON_CUSTOM_BUTTON within SAP class CL_BS_SOA_SIW_SYNC_MASTER. 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 CL_BS_SOA_SIW_SYNC_MASTER 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 DO_ON_CUSTOM_BUTTON can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method DO_ON_CUSTOM_BUTTON
.| Name | Type | Data Type | Description | Default Value |
| ID_BUTTON | Importing | TYPE INT1 | Id of the button to handle | |
| IO_PROJECT | Importing | TYPE REF TO IF_SIW_PROJECT | Service Implementation Project | |
| I_FLG_EDITMODE | Importing | TYPE SIW_DTE_FLG | general flag | |
| E_HANDLED | Exporting | TYPE FLAG | General Flag |
Exceptions of Method DO_ON_CUSTOM_BUTTON
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO CL_BS_SOA_SIW_SYNC_MASTER.
DATA: lv_E_HANDLED TYPE FLAG,
lv_ID_BUTTON TYPE INT1,
lv_IO_PROJECT TYPE IF_SIW_PROJECT,
lv_I_FLG_EDITMODE TYPE SIW_DTE_FLG,
lv_other TYPE c.
CALL METHOD lo_class=>DO_ON_CUSTOM_BUTTON(
EXPORTING
ID_BUTTON = lv_ID_BUTTON
IO_PROJECT = lv_IO_PROJECT
I_FLG_EDITMODE = lv_I_FLG_EDITMODE
IMPORTING
E_HANDLED = lv_E_HANDLED ).
Links to Related Class(s)
CL_BS_SO...Full list of available SAP object classes
Search for further information about these or an SAP related objects