CL_HRDEPBSVAVG_SEZ_PROZ - Model for Variants for Special Payment in PAdm
General Material Data General Data in Customer MasterThis documentation is copyright by SAP AG.
Functionality
This class contains the methods for calculating the special payment for the model delivered in the standardsystem for the percentage special payment based on a month. The class is instantiated and called infunction module HRPBSDEVAVG_SEZ_BASIS_MODULID. It enables you to implement new classes for additionalspecial payment country variants. These classes need to inherit class CL_HRDEPBSVAVG_SEZ_PROZ. Only redefinitions to reflect the required changes are required; all other components are copied from the standard model.
Relationships
Example
An example is class CL_HRDEPBSVAVG_SEZ_FEST, which implements the calculation for the special paymentas a fixed amount. It inherits class CL_HRDEPBSVAVG_SEZ_PROZ and only methods SOZA_OHNE_SONDERBETRAG and PROTOKOLL_SOZA are redefined.
Notes
This class enables you to store results and intermediate calculations in cluster NO so they can be subsequentlyadded to the notification and log. Tables CL_HRDEPBSVAVG_SEZ=>AT_CALC_TIME and CL_HRDEPBSVAVG_SEZ=>AT_RESULT_IDSare used for this purpose. Methods CL_HRDEPBSCA_CALC_FUNC=>FILL_CALC_TIME and CL_HRDEPBSCA_CALC_FUNC=>FILL_RESULT_IDcan be used to fill the tables. It is important that a calculation time ('l_calctime') is not written to the table more than once for each call.
If an error is found within the implementation, a message can be added to the message handler by callingmethod CL_HRDEPBSVAVG_SEZ=>A_MSG_HANDLER->ADD_MESSAGE. If an error occurs, the CL_HRDEPBSVAVG_SEZ=>A_IS_OK switch is to be set to SPACE.
Further information
Class CL_HRDEPBSVAVG_SEZ_FEST
CL_GUI_FRONTEND_SERVICES - Frontend Services PERFORM Short Reference
This documentation is copyright by SAP AG.
Length: 1770 Date: 20120526 Time: 161042 triton ( 99 ms )






