Ansicht
Dokumentation
PAY_DE_PS_FZ17 - BAdI: Adjustment of Family-Related and Cost-of-Living Bonus per Child
SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up CPI1466 during BackupThis documentation is copyright by SAP AG.
Adjustment of Family-Related and Cost-of-Living Bonus per Child.
Business Add-In (BAdI) HRPAYDE_B_OZ_ANTEIL_KIND allows you to adjust the proportion of the family-related bonus, cost-of-living allowance, and social bonus for a child that is calculated in the standard SAP system according to regulations for specific federal states
The BAdI is called for each child with an entitlement to a family-related bonus, cost-of-living allowance, and social bonus,but not for counted children. By implementing this BAdI, you can map the requirements for individual federal states (appropriate provision for families with a lot of children).
Interface method IF_HRPAYDE_OZ_ANTEIL_KINDER~CHANGE_ANTEIL_KIND has changing parameter CV_BETRAG_KIND of type HR_CURR_17_S that is filled, in the standard SAP system, with the amount according to the previously valid regulations for the relevant child. You can find the sequence number of the child entitled to the COLA in import parameter IV_LAUFENDE_NR_OZ_KIND.
Import parameter IS_DATEN_ZUM_KIND of type P01_STRCT_OZ_CHILDREN contains data about the child such as the date of birth (FGBDT) from infotype Family/Related Person (0021) and the child component (OZBEK) from infotype Family-Related Bonuses (0595) .
The BAdI is called from function module HR_PSD_OZ_KINDERBESTANDTEIL, which allows you to make an changes at a central point of the calculation of the chlid proportion of the family-related bonus, cost-of-living allowance, and social bonus.
The complete interface of the method CHANGE_ANTEIL_KIND is as follows:
Import parameter | Type | Meaning |
---|---|---|
IV_LAUFENDE_NR_OZ_KIND | HRPAYDE_OZ_LFD_KINDNR | Sequence number of child |
IS_DATEN_ZUM_KIND | P01_STRCT_OZ_CHILDREN | Child data |
IV_TCLAS | TCLAS | Transaction class for data storage |
IV_PERNR | PERNR_D | Personnel number |
IV_MODULE_SPEC | PADIV_MODULE_SPEC | Module variant of indirect evaluation |
IV_TARIFKLASSE | ORTZK | Cost-of-living allowance classs |
IV_SELDA | D | Selection date |
Changing parameter | Type | Meaning |
---|---|---|
CV_BETRAG_KIND | HR_CURR_17_S | Amount for individual child |
Change parameter CV_BETRAG_KIND is filled with the amount for the relevant child as calculated in the standard system. This can be changed, if required. |
Without a customer-defined implementation of the BAdI, the child components remain unchanged in the standard system.
Create your own individual implementation if required. Depending on the relevant child number, you can make an adjustment for this child, differing from what would be in the standard system. In this case, change the change parameter CV_BETRAG_KIND or assign the new amount. If the standard calculation should be used for the corresponding child, parameter CV_BETRAG_KIND remains unchanged.
In the BAdI implementation, you can access the amounts of view V_T510Q for OZ components and also use new OZ components that you previously defined using view V_T77PAYDE_OZBST. You can use Customer Namespaces X*, Y*, and Z* . Use function module HR_PSD_OZ_T510Q_READ to read the entries from table T510Q as you can see in sample class CL_HRPAYDE_IM_OZ_KINDERBST_BSP.
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.
Sample class CL_HRPAYDE_IM_OZ_KINDERBST_BSP provides a suggestion for the implementation of this BAdI using an example for adjusting the child component as of the 4th child.
Read the class documentation in relation to the entries for the new, customer-defined OZ components Z3, Z4, and Z5 that should be included in Customizing view V_T510Q.
Addresses (Business Address Services) BAL_S_LOG - Application Log: Log header data
This documentation is copyright by SAP AG.
Length: 6280 Date: 20240523 Time: 185122 sap01-206 ( 149 ms )