Ansicht
Dokumentation

PAY_DE_EEL_130 - BAdI: Transfer of Compensation Benefits Infotype 0700 to Wage Types

PAY_DE_EEL_130 - BAdI: Transfer of Compensation Benefits Infotype 0700 to Wage Types

PERFORM Short Reference   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Transfer of compensation benefits from infotype Electronic data Exchange (0700) to wage types

Business Add-In (BAdI) HRPAYDE_B_DKRAN determines which wage types and which amount (gross or net) should be used when transferring the compensation benefit from infotype 0700 for each of the four social benefit types with an allowance.

The following social benefit types (SBtype) are considered when transferring the compensation benefits:

SBtype Description
D Sick Pay (Days) with Supplement
F Transition Pay with Supplement
H Subsequent Sick Pay with Supplement
J Care of Child Sick Pay with Supplement

You can override the fallback implementation for this BAdI using your own implementation If you do not activate any implementation, fallback class CL_HRPAYDE_FB_DKRAN with the evaluation of view V_T77PAYDE_DKRAN applies.

Interface method IF_HRPAYDE_DKRAN_LGART~GET_LGART_AND_SPEC_DATA has the returning parameter RS_RESULT of type HRPAYDE_S_BADI_DKRANwith two components.

Component Type Meaning
LGART LGART Wage type for amount infotype 0700
BRUTTO_NETTO HRPAYDE_DKRAN_AUSWAHL_BRUT_NET 'B' for gross, 'N' for net

The complete interface of the method is as follows:

Import parameter Type Meaning
IV_SLART P01_SVKTG Social Benefit Type
IV_MOLGA MOLGA Country Grouping
IV_PERNR PERNR_D Personnel number
IT_P0001 P0001_TAB Records Infotype 0001
IT_P0008 P0008_TAB Records Infotype 0008
IT_P0016 P0016_TAB Records Infotype 0016
IS_APER PC2APER APER from payroll
IO_LOG_DKRAN Ref To IF_HRPAYDE_LOG_DKRAN Reference for LOG class

Return parameter Type Meaning
RS_RESULT HRPAYDE_S_BADI_DKRAN Wage type and 'N'/'B'

The wage type to be used in each case and the gross or net indicator should be defined using the query of the social benefit type from import parameter IV_SLART.

HRPAYDE_S_BADI_DKRAN

The BAdI is used in payroll function DKRAN (Transfer of Reported Compensation Benefit Infotype 0700, Subtype DBHE) and only called if the payroll function was activated using subapplication KGUE.

HRPAYDE_S_BADI_DKRAN

In the standard SAP system, the implementation is used with fallback class CL_HRPAYDE_FB_DKRAN. This standard implementation uses view V_T77PAYDE_DKRAN to determine the wage types to be formed and the amount to be used.
In addition, indicator D (Dynamic Determination) offers the public sector regulations (TVoed/TV-L) in the Gross/Net column .
If you have different requirements in relation to the transfer of compensation benefits, a customer-specific implementation of the BAdI is necessary.

HRPAYDE_S_BADI_DKRAN

Create your own individual implementation if required. Your own class must be inherited from fallback class CL_HRPAYDE_FB_DKRAN in order to be able to use the standard coding available. If necessary, methods must be implemented again using redefinition. Therefore, when creating your BAdI implementation, use one of the two sample classes as a copy template (without inheriting from this):

Both sample classes are inherited from the fallback class. Alternatively, you can use fallback class CL_HRPAYDE_FB_DKRAN as a copy template with inheritance.

For information about how to create an implementation for the private sector if you want to partially use the gross amount and partially use the net amount of the reported compensation benefit for a social benefit type, see the documentation of sample class CL_HRPAYDE_IM_DKRAN_BSP_PRIV_W.

For information about how to create an implementation, for example, as a service provider for the private sector and the public sector who would like to store different wage types with the reported compensation benefit, see the documentation of sample class CL_HRPAYDE_IM_DKRAN_BSP_OED.

For information about the implementation of BAdIs in the context of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

HRPAYDE_S_BADI_DKRAN






CPI1466 during Backup   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 7861 Date: 20240523 Time: 195129     sap01-206 ( 169 ms )