TER_CHANGE_EMPLOYEE_DATA SAP Method Change data for Layout Termination by employee
Below is documentation, parameters and attributes of ABAP Method TER_CHANGE_EMPLOYEE_DATA within SAP class IF_HRPAYMX_RUSP. 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_HRPAYMX_RUSP 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 TER_CHANGE_EMPLOYEE_DATA can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method TER_CHANGE_EMPLOYEE_DATA
.Name | Type | Data Type | Description | Default Value |
IV_BEGDA | Importing | TYPE BEGDA | Valid from date | |
IV_BTRTL | Importing | TYPE BTRTL | Personnel subarea | |
IV_BUKRS | Importing | TYPE BUKRS | Company Code | |
IV_ENDDA | Importing | TYPE BEGDA | Valid from date | |
IV_PAY_AREA | Importing | TYPE ABKRS | Payroll area | |
IV_PAY_PERIOD | Importing | TYPE NUM2 | Two digits numeric value | |
IV_PAY_YEAR | Importing | TYPE NUM4 | 4 digits number | |
IV_PERSG | Importing | TYPE PERSG | Employee group | |
IV_PERSK | Importing | TYPE PERSK | Employee subgroup | |
IV_WERKS | Importing | TYPE WERKS_D | Center | |
CS_TERMINATION_DATA | Changing | TYPE HRPAYMX_S_RUSP_TER | Structure for RUSP - Layout Basic Information |
Exceptions of Method TER_CHANGE_EMPLOYEE_DATA
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_HRPAYMX_RUSP.
DATA: lv_CS_TERMINATION_DATA TYPE HRPAYMX_S_RUSP_TER,
lv_IV_BEGDA TYPE BEGDA,
lv_IV_BTRTL TYPE BTRTL,
lv_IV_BUKRS TYPE BUKRS,
lv_IV_ENDDA TYPE BEGDA,
lv_IV_PAY_AREA TYPE ABKRS,
lv_IV_PAY_PERIOD TYPE NUM2,
lv_IV_PAY_YEAR TYPE NUM4,
lv_IV_PERSG TYPE PERSG,
lv_IV_PERSK TYPE PERSK,
lv_IV_WERKS TYPE WERKS_D,
lv_other TYPE c.
CALL METHOD lo_class=>TER_CHANGE_EMPLOYEE_DATA(
EXPORTING
IV_BEGDA = lv_IV_BEGDA
IV_BTRTL = lv_IV_BTRTL
IV_BUKRS = lv_IV_BUKRS
IV_ENDDA = lv_IV_ENDDA
IV_PAY_AREA = lv_IV_PAY_AREA
IV_PAY_PERIOD = lv_IV_PAY_PERIOD
IV_PAY_YEAR = lv_IV_PAY_YEAR
IV_PERSG = lv_IV_PERSG
IV_PERSK = lv_IV_PERSK
IV_WERKS = lv_IV_WERKS
CHANGING
CS_TERMINATION_DATA = lv_CS_TERMINATION_DATA ).
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