DO_REDUCTION SAP Method Perform Reduction
Below is documentation, parameters and attributes of ABAP Method DO_REDUCTION within SAP class IF_EX_HRIV_REDUCE_AMOUNT. 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_EX_HRIV_REDUCE_AMOUNT 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 DO_REDUCTION can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method DO_REDUCTION
.| Name | Type | Data Type | Description | Default Value |
| BEGDA | Importing | TYPE PREL-BEGDA | Valid-From Date | |
| FLT_VAL | Importing | TYPE MODKO | Reduction method for indirect valuation | |
| INFTY | Importing | TYPE PREL-INFTY | Infotype | |
| MOLGA | Importing | TYPE T001P-MOLGA | Country Grouping | |
| PERNR | Importing | TYPE PREL-PERNR | Personnel Number | |
| SUBTY | Importing | TYPE SUBTYP | Subtype | |
| TCLAS | Importing | TYPE TCLAS | Transaction Class for Data Storage | |
| AMOUNT | Changing | TYPE P | Amount | |
| ENDDA | Changing | TYPE PREL-ENDDA | Valid To Date |
Exceptions of Method DO_REDUCTION
STANDARD_PROCEDURE - Standard processing, leave exitExample ABAP coding
DATA: lo_class TYPE REF TO IF_EX_HRIV_REDUCE_AMOUNT.
DATA: lv_AMOUNT TYPE P,
lv_BEGDA TYPE PREL-BEGDA,
lv_ENDDA TYPE PREL-ENDDA,
lv_FLT_VAL TYPE MODKO,
lv_INFTY TYPE PREL-INFTY,
lv_MOLGA TYPE T001P-MOLGA,
lv_PERNR TYPE PREL-PERNR,
lv_SUBTY TYPE SUBTYP,
lv_TCLAS TYPE TCLAS,
lv_other TYPE c.
CALL METHOD lo_class=>DO_REDUCTION(
EXPORTING
BEGDA = lv_BEGDA
FLT_VAL = lv_FLT_VAL
INFTY = lv_INFTY
MOLGA = lv_MOLGA
PERNR = lv_PERNR
SUBTY = lv_SUBTY
TCLAS = lv_TCLAS
CHANGING
AMOUNT = lv_AMOUNT
ENDDA = lv_ENDDA ).
Links to Related Class(s)
IF_EX_HR...Full list of available SAP object classes
Search for further information about these or an SAP related objects