SAP Function RP_GR_READ_WAGETYPES - Garnishment: Read relevant wagetypes

Parameter Reference Type Length Default Optional Text
IT_WAGETYPES_ADD P02GP_GRDIFF_TAB 0 X Additional wagetypes to be considered
I_MOLGA MOLGA C 2 Country Grouping

Parameter Reference Type Length Text
ET_BASIS P02G_T52GK_TAB h 27 Table with data to form basis
ET_BASIS_ADJUST P02G_T52GM_TAB h 20 Table with data to adjustment basis
ET_WAGETYPES P02GP_GRDIFF_TAB 0 List of relevant wagetypes

Functionality
This function module reads the international customizing whichdescribes how the garnishment bases are formed. The user has to specifythe country modifier in parameter I_MOLGA, when calling this functionmodule.
The international customizing for garnishment bases consists of twoparts. The customizing for the general bases, which are independent ofa particular garnishment order, are returned in table ET_BASIS. Thecustomizing that allows to adjust the bases depending on thegarnishment order is returned in table ET_BASIS_ADJUST.
The function module returns in table ET_WAGETYPES a list of allwagetypes relevant for garnishment. This list is based on the wagetypesthat appear in this international customizing. In addition, the usercan add a list of additional wagetypes relevant for garnishment (e.g.,based on national customizing) in table IT_WAGETYPES_ADD. Because thisprogram may be called at different times and the complete list ofadditional wagetype may not be know in the first call, a list withadditional wagetypes can be supplied with each call.