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

.

NameTypeData TypeDescriptionDefault Value
BEGDAImportingTYPE
PREL-BEGDA
Valid-From Date
FLT_VALImportingTYPE
MODKO
Reduction method for indirect valuation
INFTYImportingTYPE
PREL-INFTY
Infotype
MOLGAImportingTYPE
T001P-MOLGA
Country Grouping
PERNRImportingTYPE
PREL-PERNR
Personnel Number
SUBTYImportingTYPE
SUBTYP
Subtype
TCLASImportingTYPE
TCLAS
Transaction Class for Data Storage
AMOUNTChangingTYPE
P
Amount
ENDDAChangingTYPE
PREL-ENDDA
Valid To Date



Exceptions of Method DO_REDUCTION

STANDARD_PROCEDURE - Standard processing, leave exit

Example 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



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!