HR_UPDATE_CUM_TABLES_AU is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name HR_UPDATE_CUM_TABLES_AU into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
HRCCEAU
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'HR_UPDATE_CUM_TABLES_AU' "Update AU cumulation tables via ADDCU
EXPORTING
imp_molga = " molga Country Grouping
imp_rt = " hrpay99_rt Results table
imp_fixed_day_for_cumul = " d Pay date
* imp_currency = " t500c-waers Payroll currency
* log = " c Payroll log flag
payroll_result = " All payroll tables
imp_aper = " pc2aper Struktur der Tabelle APER in der Personalabrechnung
imp_employeenumber = " pernr-pernr Personnel number
* im_is_rt_pers = " c Person Flag
* imp_sw_ce_payroll = ' ' " c CE Abrechnung
* imp_gprsn = " pcce_gprsn Gruppierungsgrund für Beschäftigungsverträge
* imp_gpval = " pcce_gprsn Gruppierungsgrund für Beschäftigungsverträge
TABLES
logtext = " plog_text Structure for HR Function Log
errortext = " plog_text Structure for HR Function Log
CHANGING
cumul_tab_all = "
EXCEPTIONS
CUMULATION_FAILED = 1 "
. " HR_UPDATE_CUM_TABLES_AU
The ABAP code below is a full code listing to execute function module HR_UPDATE_CUM_TABLES_AU including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| it_logtext | TYPE STANDARD TABLE OF PLOG_TEXT,"TABLES PARAM |
| wa_logtext | LIKE LINE OF it_logtext , |
| it_errortext | TYPE STANDARD TABLE OF PLOG_TEXT,"TABLES PARAM |
| wa_errortext | LIKE LINE OF it_errortext . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_cumul_tab_all | TYPE STRING , |
| ld_imp_molga | TYPE MOLGA , |
| it_logtext | TYPE STANDARD TABLE OF PLOG_TEXT , |
| wa_logtext | LIKE LINE OF it_logtext, |
| ld_imp_rt | TYPE HRPAY99_RT , |
| it_errortext | TYPE STANDARD TABLE OF PLOG_TEXT , |
| wa_errortext | LIKE LINE OF it_errortext, |
| ld_imp_fixed_day_for_cumul | TYPE D , |
| ld_imp_currency | TYPE T500C-WAERS , |
| ld_log | TYPE C , |
| ld_payroll_result | TYPE STRING , |
| ld_imp_aper | TYPE PC2APER , |
| ld_imp_employeenumber | TYPE PERNR-PERNR , |
| ld_im_is_rt_pers | TYPE C , |
| ld_imp_sw_ce_payroll | TYPE C , |
| ld_imp_gprsn | TYPE PCCE_GPRSN , |
| ld_imp_gpval | TYPE PCCE_GPRSN . |
This function module is a country exit for Payroll Australia.
During retrospective calculations, the function module cumulates CRT
...See here for full SAP fm documentation
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name HR_UPDATE_CUM_TABLES_AU or its description.