INITIALIZE SAP Method Initialize









Below is documentation, parameters and attributes of ABAP Method INITIALIZE within SAP class IF_HRPAYAT_SI_PERIOD. 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_HRPAYAT_SI_PERIOD 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 INITIALIZE can also be found below:

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


Parameters of Method INITIALIZE

.

NameTypeData TypeDescriptionDefault Value
IM_ACTIVEImportingTYPE
BOOLE_D
SI Period Is Before Date of Leaving
IM_BEGDAImportingTYPE
BEGDA
Valid-From Date
IM_COMPENSATIONImportingTYPE
BOOLE_D
SI Period for Pay in Lieu of Notice
IM_CONTEXTImportingTYPE REF TO
IF_HRPAYAT_FACTORY_CONTEXT
Context for Dynamic Generation
IM_ENDDAImportingTYPE
ENDDA
End of Validity Period
IM_FACTORYImportingTYPE REF TO
IF_HRPAYAT_FACTORY
Instance Creation Factory
IM_PSKEYImportingTYPE
PSKEY
PSKEY of Original IT
IM_RECURRINGImportingTYPE
BOOLE_D
SI Period for Regular Payment



Exceptions of Method INITIALIZE

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO IF_HRPAYAT_SI_PERIOD.
DATA: lv_IM_ACTIVE TYPE BOOLE_D,
lv_IM_BEGDA TYPE BEGDA,
lv_IM_COMPENSATION TYPE BOOLE_D,
lv_IM_CONTEXT TYPE IF_HRPAYAT_FACTORY_CONTEXT,
lv_IM_ENDDA TYPE ENDDA,
lv_IM_FACTORY TYPE IF_HRPAYAT_FACTORY,
lv_IM_PSKEY TYPE PSKEY,
lv_IM_RECURRING TYPE BOOLE_D,
lv_other TYPE c.

CALL METHOD lo_class=>INITIALIZE(
EXPORTING
IM_ACTIVE = lv_IM_ACTIVE
IM_BEGDA = lv_IM_BEGDA
IM_COMPENSATION = lv_IM_COMPENSATION
IM_CONTEXT = lv_IM_CONTEXT
IM_ENDDA = lv_IM_ENDDA
IM_FACTORY = lv_IM_FACTORY
IM_PSKEY = lv_IM_PSKEY
IM_RECURRING = lv_IM_RECURRING ).

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!