ADD_PUSHBUTTON SAP Method Add a pushbutton to the ALV
Below is documentation, parameters and attributes of ABAP Method ADD_PUSHBUTTON within SAP class IF_HRPAYIT_LOGGER. 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 IF_HRPAYIT_LOGGER 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 ADD_PUSHBUTTON can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method ADD_PUSHBUTTON
.Name | Type | Data Type | Description | Default Value |
P_ICON_ID | Importing | TYPE ICON_D | Icon in text fields (subst. rappr., alias) | |
P_ICON_TEXT | Importing | TYPE GUI_ICTEXT | Icon text | |
P_LOG_REPNAME | Importing | TYPE BALUEP | Application log: callback: programme name | |
P_LOG_UCOMM | Importing | TYPE BALUEF | Application log: callback: routine name | |
P_LOG_UETYPE | Importing | TYPE BALUET | Application log: callback: callback type | |
P_PATH | Importing | TYPE CUA_PATH | Fastpath code | |
P_QUICKINFO | Importing | TYPE GUI_INFO | Icon tooltip | |
P_SEQNO | Importing | TYPE BALPUSHPOS | Number of the button | |
P_TEXT | Importing | TYPE GUI_TEXT | Function text (right of icon) |
Exceptions of Method ADD_PUSHBUTTON
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_HRPAYIT_LOGGER.
DATA: lv_P_ICON_ID TYPE ICON_D,
lv_P_ICON_TEXT TYPE GUI_ICTEXT,
lv_P_LOG_REPNAME TYPE BALUEP,
lv_P_LOG_UCOMM TYPE BALUEF,
lv_P_LOG_UETYPE TYPE BALUET,
lv_P_PATH TYPE CUA_PATH,
lv_P_QUICKINFO TYPE GUI_INFO,
lv_P_SEQNO TYPE BALPUSHPOS,
lv_P_TEXT TYPE GUI_TEXT,
lv_other TYPE c.
CALL METHOD lo_class=>ADD_PUSHBUTTON(
EXPORTING
P_ICON_ID = lv_P_ICON_ID
P_ICON_TEXT = lv_P_ICON_TEXT
P_LOG_REPNAME = lv_P_LOG_REPNAME
P_LOG_UCOMM = lv_P_LOG_UCOMM
P_LOG_UETYPE = lv_P_LOG_UETYPE
P_PATH = lv_P_PATH
P_QUICKINFO = lv_P_QUICKINFO
P_SEQNO = lv_P_SEQNO
P_TEXT = lv_P_TEXT ).
Links to Related Class(s)
IF_HRPAY...Full list of available SAP object classes
Search for further information about these or an SAP related objects