CALCULATE_STEP SAP Method Execute Calculation Step Specified by Parameter









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

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


Parameters of Method CALCULATE_STEP

.

NameTypeData TypeDescriptionDefault Value
IO_ACCESS_PROXYImportingTYPE REF TO
IF_HRPAYCH_PYF_ACCESS_PR
Base Interface for Access Proxy
IO_MSG_HANDLERImportingTYPE REF TO
IF_HRPAYCH_MSG_HANDLER_V2
Message Handler Switzerland 2.0
RV_IS_OKReturningTYPE
BOOLE_D
Errors Occurred: FALSE (=' '); Otherwise: TRUE (='X')



Exceptions of Method CALCULATE_STEP

CX_HRPAYCH_PYF_WHT_NOT_WHT - Exception for Employees without WHT

Example ABAP coding


DATA: lo_class TYPE REF TO IF_HRPAYCH_PYF.
DATA: lv_IO_ACCESS_PROXY TYPE IF_HRPAYCH_PYF_ACCESS_PR,
lv_IO_MSG_HANDLER TYPE IF_HRPAYCH_MSG_HANDLER_V2,
lv_RV_IS_OK TYPE BOOLE_D,
lv_other TYPE c.

CALL METHOD lo_class=>CALCULATE_STEP(
EXPORTING
IO_ACCESS_PROXY = lv_IO_ACCESS_PROXY
IO_MSG_HANDLER = lv_IO_MSG_HANDLER
RECEIVING
RV_IS_OK = lv_RV_IS_OK )



"Alternate coding for Method Call with returning parameter
lv_RV_IS_OK = lo_class=>CALCULATE_STEP(
EXPORTING
IO_ACCESS_PROXY = lv_IO_ACCESS_PROXY
IO_MSG_HANDLER = lv_IO_MSG_HANDLER ).

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!