SAP Reports / Programs | Payroll | Switzerland(PY-CH) SAP PY

RPU40AC0 SAP ABAP Report - HR-CH: Automatic Wage Type Maintenance for SI Calculation Changeover







RPU40AC0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Automatic Wage Type Maintenance for SI Calculation Transition (Report RPU40AC0) The calculation of social insurance contributions (SI) was reprogrammed for Release 4...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RPU40AC0 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT RPU40AC0. "Basic submit
SUBMIT RPU40AC0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPU40AC0 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_TEST = Test run
Selection Text: P_599VER = Backup of T599U
Title: HR-CH: Automatic Wage Type Maintenance for SI Calculation Changeover
Text Symbol: 003 = Table T512B cannot be locked
Text Symbol: 014 = 'Error when importing memory'
Text Symbol: 015 = 'T512W changes cannot be written to
Text Symbol: 016 = request
Text Symbol: P01 = For the following wage types, the & was moved
Text Symbol: P04 = old &:
Text Symbol: P05 = new:
Text Symbol: P09 = Total:
Text Symbol: P10 = Wage types
Text Symbol: P12 = Delimit.Date
Text Symbol: P13 = Start date
Text Symbol: P14 = End date
Text Symbol: P20 = TEST RUN
Text Symbol: P21 = PRODUCTIVE RUN
Text Symbol: P23 = WAGE TYPES
Text Symbol: P25 = PAY STATEMENT (PAY FORM)
Text Symbol: P30 = View:
Text Symbol: P32 = The following wage types were added:
Text Symbol: P33 = /5E1 /5E2 /5E3 /5E4 /5E5 /5E6 /5E7 /5E8 /5E9
Text Symbol: 002 = Table T599U cannot be locked
Text Symbol: P34 = The following wage types totals were added:
Text Symbol: SE3 = Version number '000' not allowed
Text Symbol: SE2 = Defined start date &1
Text Symbol: SE1 = New SI not possible before 01.01.1998
Text Symbol: S25 = W: The start date of the new SI calculation has passed.
Text Symbol: S22 = ( Table &1 Constant &2 )
Text Symbol: S20 = The new SI calculation was defined as start date:
Text Symbol: S11 = Test run
Text Symbol: P60 = Forms
Text Symbol: P54 = because the Si rule is already correctly maintained
Text Symbol: P52 = because the SI rule is not used in the standard system.
Text Symbol: P51 = because the wage types /5B* are not used in the standard system.
Text Symbol: P50 = Forms were not changed
Text Symbol: P45 = Year number was changed in SI rule.
Text Symbol: P41 = /5E. /5E: /5EA /5EB /5EC





Text Symbol: P40 = Texts from client 000 were transferred to the following wage type totals:
Text Symbol: P37 = SI rule was added.
Text Symbol: P35 = /5E. /5E: /5EA /5EB /5EC


INCLUDES used within this REPORT RPU40AC0

INCLUDE RPU40ACF.


TABLES used within REPORT and the associated SELECT statement:

No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

DDIF_VIEW_GET CALL FUNCTION 'DDIF_VIEW_GET' EXPORTING name = p_view state = 'A' langu = sy-langu IMPORTING * GOTSTATE = dd25v_wa = l_dd25v_wa * DD09L_WA = * TABLES * DD26V_TAB = * DD27P_TAB = * DD28J_TAB = * DD28V_TAB = EXCEPTIONS illegal_input = 1 OTHERS = 2 .

ENQUEUE_E_TABLE CALL FUNCTION 'ENQUEUE_E_TABLE' EXPORTING TABNAME = 'T599U' EXCEPTIONS FOREIGN_LOCK = 4 SYSTEM_FAILURE = 8.

ENQUEUE_E_TABLE CALL FUNCTION 'ENQUEUE_E_TABLE' EXPORTING TABNAME = 'T512B' EXCEPTIONS FOREIGN_LOCK = 4 SYSTEM_FAILURE = 8.

DEQUEUE_E_TABLE CALL FUNCTION 'DEQUEUE_E_TABLE' "XYM EXPORTING TABNAME = 'T599U'.

DEQUEUE_E_TABLE CALL FUNCTION 'DEQUEUE_E_TABLE' "XAWAL0K041391 EXPORTING TABNAME = 'T512B'.

VIEW_ENQUEUE CALL FUNCTION 'VIEW_ENQUEUE' EXPORTING action = 'E' enqueue_mode = 'S' view_name = p_view * ENQUEUE_RANGE = ' ' * TABLES * SELLIST = EXCEPTIONS client_reference = 1 foreign_lock = 2 invalid_action = 3 invalid_enqueue_mode = 4 system_failure = 5 table_not_found = 6 OTHERS = 7.

VIEW_ENQUEUE CALL FUNCTION 'VIEW_ENQUEUE' EXPORTING action = 'D' enqueue_mode = 'S' view_name = p_view.

VIEW_GET_CLIENT_STATE CALL FUNCTION 'VIEW_GET_CLIENT_STATE' IMPORTING transp_state = tr_state.

TR_ORDER_CHOICE_CORRECTION CALL FUNCTION 'TR_ORDER_CHOICE_CORRECTION' EXPORTING iv_category = 'CUST' iv_cli_dep = 'X' IMPORTING ev_order = g_order ev_task = g_task EXCEPTIONS invalid_category = 1 no_correction_selected = 2 OTHERS = 3.

TR_APPEND_TO_COMM_OBJS_KEYS CALL FUNCTION 'TR_APPEND_TO_COMM_OBJS_KEYS' EXPORTING * WI_SIMULATION = ' ' * WI_SUPPRESS_KEY_CHECK = ' ' wi_trkorr = g_task TABLES wt_e071 = i_e071 wt_e071k = i_e071k EXCEPTIONS key_char_in_non_char_field = 1 key_check_keysyntax_error = 2 key_inttab_table = 3 key_longer_field_but_no_generc = 4 key_missing_key_master_fields = 5 key_missing_key_tablekey = 6 key_non_char_but_no_generic = 7 key_no_key_fields = 8 key_string_longer_char_key = 9 key_table_has_no_fields = 10 key_table_not_activ = 11 key_unallowed_key_function = 12 key_unallowed_key_object = 13 key_unallowed_key_objname = 14 key_unallowed_key_pgmid = 15 key_without_header = 16 ob_check_obj_error = 17 ob_devclass_no_exist = 18 ob_empty_key = 19 ob_generic_objectname = 20 ob_ill_delivery_transport = 21 ob_ill_lock = 22 ob_ill_parts_transport = 23 ob_ill_source_system = 24 ob_ill_system_object = 25 ob_ill_target = 26 ob_inttab_table = 27 ob_local_object = 28 ob_locked_by_other = 29 ob_modif_only_in_modif_order = 30 ob_name_too_long = 31 ob_no_append_of_corr_entry = 32 ob_no_append_of_c_member = 33 ob_no_consolidation_transport = 34 ob_no_original = 35 ob_no_shared_repairs = 36 ob_no_systemname = 37 ob_no_systemtype = 38 ob_no_tadir = 39 ob_no_tadir_not_lockable = 40 ob_privat_object = 41 ob_repair_only_in_repair_order = 42 ob_reserved_name = 43 ob_syntax_error = 44 ob_table_has_no_fields = 45 ob_table_not_activ = 46 tr_enqueue_failed = 47 tr_errors_in_error_table = 48 tr_ill_korrnum = 49 tr_lockmod_failed = 50 tr_lock_enqueue_failed = 51 tr_not_owner = 52 tr_no_systemname = 53 tr_no_systemtype = 54 tr_order_not_exist = 55 tr_order_released = 56 tr_order_update_error = 57 tr_wrong_order_type = 58 ob_invalid_target_system = 59 tr_no_authorization = 60 ob_wrong_tabletyp = 61 ob_wrong_category = 62 ob_system_error = 63 ob_unlocal_objekt_in_local_ord = 64 tr_wrong_client = 65 ob_wrong_client = 66 key_wrong_client = 67 OTHERS = 68 .



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RPU40AC0 or its description.