Ansicht
Dokumentation

PAY_BR_PROV_005 - Specify function module for calculation of contribution

PAY_BR_PROV_005 - Specify function module for calculation of contribution

CL_GUI_FRONTEND_SERVICES - Frontend Services   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

In this step of the Implementation Guide, you specify the function module that should be used to calculate the percentage of each contribution. You can use the function module provided by SAP or create your own, using the sample function module.

You have already configured the corresponding cntribution code in the previous IMG step:

The system supplies the following function modules for the calculation of the contribution percentage:

  • HRBR_PORCENT_FGTS for calculating the FGTS percentage
  • HRBR_PORCENT_EMPC for calculating the total of the contribution percentages handled as a whole: employer's percentage, option for percentage of self-employed or aliquot of special retirement (15, 20 or 25) and third-party aliquot

When creating your own function modules, use the following interface:

Local interface

*" IMPORTING

*" REFERENCE(PERNR) TYPE PERNR-PERNR

*" REFERENCE(DATE) TYPE DATUM

*" REFERENCE(SW_PROT) TYPE C

*" EXPORTING

*" REFERENCE(PORCENTAGE) TYPE PRZNT

*" REFERENCE(ERROR_MESSAGE) TYPE SYMSGV

*" TABLES

*" BRCONT STRUCTURE PC2QY

*" P0001 STRUCTURE P0001 OPTIONAL

*" PTEXT STRUCTURE PLOG_TEXT

*" EXCEPTIONS

*" ERROR_MESSAGE

  1. Specify the name of the function module you wish to use to calculate each type of contribution
  2. Save your entries.






Vendor Master (General Section)   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 2144 Date: 20240523 Time: 201348     sap01-206 ( 35 ms )