Solution : https://service.sap.com/sap/support/notes/1425517 (SAP Service marketplace login required)
Key words :
call function 'address_into_printform' exporting address_1 = l_addr_1_hw1425517 address_type = '1' sender_country = 'ch' receiver_language = output-langu number_of_lines = 5 street_has_priority = 'x' line_priority = ' ' country_name_in_receiver_langu = ' ' language_for_country_name = ' ' no_upper_case_for_city = ' ' importing address_printform = l_addr_print_hw1425517, call function 'hr_feature_backfield' exporting feature = 'chadr' struc_content = l_pmec1_hw1425517 importing back = l_backfield_hw1425517 exceptions dummy = 1 error_operation = 2 no_backvalue = 3 feature_not_generated = 4 invalid_sign_in_funid = 5 field_in_report_tab_in_pe03 = 6, call function 'rp_edit_name' exporting format = l_knznm_hw1425517 langu = langu molga = l_molga_hw1425517 pp0002 = l_w0002_hw1425517 importing edit_name = ls_out_empl_addr_hw1425517-ead_name1, call function 'rp_set_name_format' exporting repid = l_repid_hw1425517 importing format = l_knznm_hw1425517, message id sy-msgid type sy-msgty number sy-msgno, sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4, call method message_handler-> add_message exporting message = l_message_hw1425517, payroll switzerland -> tax -> wage statement 2005 -> customer enhancements -> badi, statements 'call method message_handler->add_message, evaluate address l_pmec1_hw1425517-molga = l_molga_hw1425517
Related Notes :
1008751 | F&A wage statement RPLLAWC2 |
739882 | HR-CH: Wage statement 2005 |