Solution : https://service.sap.com/sap/support/notes/1008751 (SAP Service marketplace login required)
Key words :
period call function 'hr_read_infotype' exporting pernr = pernr infty = '0008' begda = l_begda_20080217a endda = l_endda_20080217a bypass_buffer = 'x' tables infty_tab = infty_tab_20080217a exceptions, call method message_handler-> add_message exporting message = l_message_20080217a, payroll switzerland -> tax -> wage statement 2005 -> customer enhancements -> badi, switzerland->tax->wage statement 2005 ->customer enhancements, c_infotype_20080217a type prelp-infty, error-message l_message_20080217a type symsg, previous period l_date_20080217a = l_wa_partt_20080217a-endda + 1, infotype l_wa_partt_20080217a-begda = l_wa_0008_20080217a-begda, table infty_tab_20080217a clear sy-subrc, constant c_infotype error_occured = 'x'
Related Notes :
1564105 | Documentation: Wage statement 2005, BAdI |
1425517 | LAW 2005: Address w/ district (BAdI example implementation) |