ADD_TABLE SAP Method of class IF_HRPAYAT_PCALZ_LOG









Below is documentation, parameters and attributes of ABAP Method ADD_TABLE within SAP class IF_HRPAYAT_PCALZ_LOG. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.

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_HRPAYAT_PCALZ_LOG 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_TABLE can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method ADD_TABLE

.

NameTypeData TypeDescriptionDefault Value
IM_CATEGORIEImportingTYPE
HRPAD_PAL_CATEG_ID
HR Application Log: Category ID
IM_CLASS_NAMEImportingTYPE
SEOCLNAME
Class Name
IM_HEADERImportingTYPE
ANY
IM_IDENTImportingTYPE
CHAR4
Area Not More Closely Defined, Possibly Used for Patchlevels
IM_TABLEImportingTYPE
ANY TABLE
IM_TABLE_NAMEImportingTYPE
CHAR20
Char20
IS_BUTTONSImportingTYPE
HRPAD_PAL_S_PUSHBUTTONS
HR Application Log: Pushbuttons for Node Category
IT_FCATImportingTYPE
SLIS_T_FIELDCAT_ALV
I_DDIC_NAMEImportingTYPE
TABNAME
Table Name
I_ICONImportingTYPE
ICON_D
Text Field Icon (Alternative Display, Alias)
I_PAYROLL_NAMEImportingTYPE
TABNAME
Table Name
I_QUICKINFOImportingTYPE
GUI_INFO
Menu Painter: Info Text (4.0)
EX_IS_OKExportingTYPE
BOOLE_D
Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')



Exceptions of Method ADD_TABLE

This method does not have any exceptions

Example ABAP coding

This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.

DATA: lo_class TYPE REF TO IF_HRPAYAT_PCALZ_LOG.
DATA: lv_EX_IS_OK TYPE BOOLE_D,
lv_IM_CATEGORIE TYPE HRPAD_PAL_CATEG_ID,
lv_IM_CLASS_NAME TYPE SEOCLNAME,
lv_IM_HEADER TYPE ANY,
lv_IM_IDENT TYPE CHAR4,
lv_IM_TABLE TYPE ANY TABLE,
lv_IM_TABLE_NAME TYPE CHAR20,
lv_IS_BUTTONS TYPE HRPAD_PAL_S_PUSHBUTTONS,
lv_IT_FCAT TYPE SLIS_T_FIELDCAT_ALV,
lv_I_DDIC_NAME TYPE TABNAME,
lv_I_ICON TYPE ICON_D,
lv_I_PAYROLL_NAME TYPE TABNAME,
lv_I_QUICKINFO TYPE GUI_INFO,
lv_other TYPE c.

CALL METHOD lo_class=>ADD_TABLE(
EXPORTING
IM_CATEGORIE = lv_IM_CATEGORIE
IM_CLASS_NAME = lv_IM_CLASS_NAME
IM_HEADER = lv_IM_HEADER
IM_IDENT = lv_IM_IDENT
IM_TABLE = lv_IM_TABLE
IM_TABLE_NAME = lv_IM_TABLE_NAME
IS_BUTTONS = lv_IS_BUTTONS
IT_FCAT = lv_IT_FCAT
I_DDIC_NAME = lv_I_DDIC_NAME
I_ICON = lv_I_ICON
I_PAYROLL_NAME = lv_I_PAYROLL_NAME
I_QUICKINFO = lv_I_QUICKINFO
IMPORTING
EX_IS_OK = lv_EX_IS_OK ).

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!