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
.Name | Type | Data Type | Description | Default Value |
IM_ACTIVE | Importing | TYPE BOOLE_D | SI Period Is Before Date of Leaving | |
IM_BEGDA | Importing | TYPE BEGDA | Valid-From Date | |
IM_COMPENSATION | Importing | TYPE BOOLE_D | SI Period for Pay in Lieu of Notice | |
IM_CONTEXT | Importing | TYPE REF TO IF_HRPAYAT_FACTORY_CONTEXT | Context for Dynamic Generation | |
IM_ENDDA | Importing | TYPE ENDDA | End of Validity Period | |
IM_FACTORY | Importing | TYPE REF TO IF_HRPAYAT_FACTORY | Instance Creation Factory | |
IM_PSKEY | Importing | TYPE PSKEY | PSKEY of Original IT | |
IM_RECURRING | Importing | TYPE BOOLE_D | SI Period for Regular Payment |
Exceptions of Method INITIALIZE
This method does not have any exceptionsExample 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