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

.

NameTypeData TypeDescriptionDefault Value
P_ICON_IDImportingTYPE
ICON_D
Icon in text fields (subst. rappr., alias)
P_ICON_TEXTImportingTYPE
GUI_ICTEXT
Icon text
P_LOG_REPNAMEImportingTYPE
BALUEP
Application log: callback: programme name
P_LOG_UCOMMImportingTYPE
BALUEF
Application log: callback: routine name
P_LOG_UETYPEImportingTYPE
BALUET
Application log: callback: callback type
P_PATHImportingTYPE
CUA_PATH
Fastpath code
P_QUICKINFOImportingTYPE
GUI_INFO
Icon tooltip
P_SEQNOImportingTYPE
BALPUSHPOS
Number of the button
P_TEXTImportingTYPE
GUI_TEXT
Function text (right of icon)



Exceptions of Method ADD_PUSHBUTTON

This method does not have any exceptions

Example 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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!