EWUMMBEW_40 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Report for comparing the value in the totals record of the table MBEW from the total of the individual valuation records with split valuation for the current period, the previous period and the previous year...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 EWUMMBEW_40 into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: BWKEY = Valuation Area
Selection Text: UPDATE = Update
Title: MBEW: Compare Totals Segment from the Valuation Segments
Text Symbol: 010 = Updated
Text Symbol: 011 = Error on Update
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 = g_program 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.
EWU_PAKET_GET CALL FUNCTION 'EWU_PAKET_GET' CHANGING paket = g_paket EXCEPTIONS OTHERS = 1.
EWU_AUTHORITY_CHECK CALL FUNCTION 'EWU_AUTHORITY_CHECK' EXPORTING e_paket = g_paket EXCEPTIONS no_permission = 1 OTHERS = 2.
FI_EWU_CONVERTED_COMPANYCODES CALL FUNCTION 'FI_EWU_CONVERTED_COMPANYCODES' EXPORTING p_paket = g_paket p_10 = 'X' p_w2 = ' ' p_w3 = ' ' p_lw = ' ' p_11 = ' ' TABLES t_bukrs = t_t001 EXCEPTIONS OTHERS = 1.
EWU_PROTOCOL_APPEND CALL FUNCTION 'EWU_PROTOCOL_APPEND' EXPORTING level = ls_messages-level msgty = ls_messages-msgty langu = ls_messages-langu msgid = ls_messages-msgid msgno = ls_messages-msgno msgv1 = ls_messages-msgv1 msgv2 = ls_messages-msgv2 msgv3 = ls_messages-msgv3 msgv4 = ls_messages-msgv4 EXCEPTIONS OTHERS = 1.
EWU_STATUS_UPDATE CALL FUNCTION 'EWU_STATUS_UPDATE' EXPORTING status = g_status 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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
EWUMMBEW_40 - MBEW: Compare Totals Segment from the Valuation Segments EWUMMBEW_40 - MBEW: Compare Totals Segment from the Valuation Segments EWUMGRID - INCLUDE for Frames in Lists EWUMFPST - Post adjustment documents EWUMFPST - Post adjustment documents EWUMEKAB - Set company code and plant in contract release documentation