EWUMMRTL_40 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report is used to compare sales values between the material view and the accounting view for
If you would like to execute this report or see the full code listing simply enter EWUMMRTL_40 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
EWM3 - Match MM Sales Values
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.
Title: EMU Reconciliation Report for Sales Values
Text Symbol: 011 = Update error
Text Symbol: 012 = No rounding difference for value-only article found
Text Symbol: 013 = Inconsistency in MBEW-VKSAL for following mat.:
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
EWU_STATUS_INITIALIZE CALL FUNCTION 'EWU_STATUS_INITIALIZE' EXPORTING programm = progname EXCEPTIONS no_program_entry = 1 wrong_phase = 2 precessor_not_ok = 3 program_already_started = 4 program_already_finished = 5 no_paket_entry = 6 foreign_lock = 7 system_failure = 8 active_paket_not_found = 9 OTHERS = 10.
SYSTEM_SWITCH_GET * call function 'SYSTEM_SWITCH_GET' * importing * sysdef = i_tsysdef * exceptions * error = 1 * others = 2.
EWU_PAKET_GET CALL FUNCTION 'EWU_PAKET_GET' CHANGING paket = paket EXCEPTIONS OTHERS = 1.
FI_EWU_CONVERTED_COMPANYCODES CALL FUNCTION 'FI_EWU_CONVERTED_COMPANYCODES' EXPORTING p_paket = paket p_10 = 'X' p_w2 = ' ' p_w3 = ' ' p_lw = ' ' p_11 = ' ' TABLES t_bukrs = bukrs EXCEPTIONS OTHERS = 1.
EWU_PROTOCOL_APPEND CALL FUNCTION 'EWU_PROTOCOL_APPEND' EXPORTING level = '1' msgty = sy-msgty langu = sy-langu msgid = sy-msgid msgno = sy-msgno * newobj = msgv1 = sy-msgv1 msgv2 = sy-msgv2 msgv3 = sy-msgv3 msgv4 = sy-msgv4 EXCEPTIONS OTHERS = 1.
EWU_STATUS_UPDATE CALL FUNCTION 'EWU_STATUS_UPDATE' EXPORTING status = 'ERR' EXCEPTIONS no_paket_entry = 1 foreign_lock = 2 system_failure = 3 no_program_entry = 4 wrong_call = 5 active_paket_not_found = 6 update_denied = 7 OTHERS = 8.
EWU_PROTOCOL_WRITE CALL FUNCTION 'EWU_PROTOCOL_WRITE' EXPORTING clear_old_prot = ' ' EXCEPTIONS error_in_function_call = 1 table_empty = 2 sql_error = 3 wrong_call = 4 OTHERS = 5.
EWU_PROTOCOL_APPEND CALL FUNCTION 'EWU_PROTOCOL_APPEND' EXPORTING level = '1' msgty = sy-msgty langu = sy-langu msgid = sy-msgid msgno = sy-msgno * newobj = msgv1 = sy-msgv1 msgv2 = sy-msgv2 msgv3 = sy-msgv3 msgv4 = sy-msgv4 EXCEPTIONS OTHERS = 1.
EWU_STATUS_UPDATE CALL FUNCTION 'EWU_STATUS_UPDATE' EXPORTING status = 'OK' EXCEPTIONS no_paket_entry = 1 foreign_lock = 2 system_failure = 3 no_program_entry = 4 wrong_call = 5 active_paket_not_found = 6 update_denied = 7 OTHERS = 8.
EWU_PROTOCOL_WRITE CALL FUNCTION 'EWU_PROTOCOL_WRITE' EXPORTING clear_old_prot = ' ' EXCEPTIONS error_in_function_call = 1 table_empty = 2 sql_error = 3 wrong_call = 4 OTHERS = 5.
EWU_PROTOCOL_APPEND CALL FUNCTION 'EWU_PROTOCOL_APPEND' EXPORTING level = p_level msgty = sy-msgty langu = sy-langu msgid = sy-msgid msgno = sy-msgno * newobj = msgv1 = sy-msgv1 msgv2 = sy-msgv2 msgv3 = sy-msgv3 msgv4 = sy-msgv4 EXCEPTIONS OTHERS = 1.
EWU_PROTOCOL_WRITE CALL FUNCTION 'EWU_PROTOCOL_WRITE' EXPORTING clear_old_prot = ' ' EXCEPTIONS error_in_function_call = 1 table_empty = 2 sql_error = 3 wrong_call = 4 OTHERS = 5.
EWU_STATUS_UPDATE CALL FUNCTION 'EWU_STATUS_UPDATE' EXPORTING status = p_result EXCEPTIONS no_paket_entry = 1 foreign_lock = 2 system_failure = 3 no_program_entry = 4 wrong_call = 5 active_paket_not_found = 6 update_denied = 7 OTHERS = 8.
EWU_AUTHORITY_CHECK * CALL FUNCTION 'EWU_AUTHORITY_CHECK' * EXCEPTIONS * no_permission = 1 * OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
EWUMMRTL_40 - EMU Reconciliation Report for Sales Values EWUMMRTL_40 - EMU Reconciliation Report for Sales Values EWUMMPRS_40 - MVAR: re-calculation of prices in accounting segment EWUMMPRS_40 - MVAR: re-calculation of prices in accounting segment EWUMMPOH - Adjustment of Purchase Order History EWUMMPOH - Adjustment of Purchase Order History