RFEWA014 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program adds up all totals records from the current fiscal year/company code for period 000 and checks whether the balance is correct (debits = credits)...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 RFEWA014 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.
Title: Adds Summary Records from a Ledger and Displays Differences (if not 0)
INCLUDE RFEWAXXX_CLS_DEFINITIONSF01.
No SAP DATABASE tables are accessed within this REPORT code!
FI_EWU_GET_CUSTOMIZING CALL FUNCTION 'FI_EWU_GET_CUSTOMIZING' EXPORTING i_ewudif = '003' TABLES i_bukrs = t_bukrs e_glacc = t_glacc e_msg = t_msg EXCEPTIONS OTHERS = 0.
EWU_PROTOCOL_APPEND CALL FUNCTION 'EWU_PROTOCOL_APPEND' EXPORTING level = '2' msgty = t_msg-msgty langu = sy-langu msgid = t_msg-msgid msgno = t_msg-msgno newobj = '' msgv1 = t_msg-msgv1 msgv2 = t_msg-msgv2 msgv3 = t_msg-msgv3 msgv4 = t_msg-msgv4 EXCEPTIONS protocol_error = 0 OTHERS = 0.
FAGL_CHECK_GLFLEX_ACTIVE * CALL FUNCTION 'FAGL_CHECK_GLFLEX_ACTIVE' * IMPORTING * e_glflex_active = ld_flex_active * EXCEPTIONS * error_in_setup = 0 * OTHERS = 0.
FAGL_CHECK_GLFLEX_ACTIVE CALL FUNCTION 'FAGL_CHECK_GLFLEX_ACTIVE' EXPORTING id_bukrs = t_bukrs-bukrs IMPORTING e_glflex_active = ld_flex_active EXCEPTIONS error_in_setup = 0 OTHERS = 0.
EWU_PROTOCOL_APPEND CALL FUNCTION 'EWU_PROTOCOL_APPEND' EXPORTING level = '2' msgty = sy-msgty langu = sy-langu msgid = sy-msgid msgno = sy-msgno msgv1 = sy-msgv1 msgv2 = sy-msgv2 msgv3 = sy-msgv3 msgv4 = sy-msgv4 EXCEPTIONS protocol_error = 0 OTHERS = 0.
FAGL_CHECK_GLFLEX_ACTIVE CALL FUNCTION 'FAGL_CHECK_GLFLEX_ACTIVE' EXPORTING id_bukrs = t_tgbl-bukrs IMPORTING e_glflex_active = ld_flex_active EXCEPTIONS error_in_setup = 0 OTHERS = 0.
FI_EWU_CHECK_LEDGERS CALL FUNCTION 'FI_EWU_CHECK_LEDGERS' EXPORTING ledger = t_tgbl-rldn1 ryear = t_tgbl-cyear per_fr = '000' per_to = '000' pst_also = buchen account = t_tgbl-hkont msgtyp = p_msgtyp limit2 = p_limit limit3 = p_limit IMPORTING error = p_error difference = p_difference TABLES fieldvl1 = p_sel_bukrs EXCEPTIONS error = 1.
FI_EWU_CHECK_LEDGERS CALL FUNCTION 'FI_EWU_CHECK_LEDGERS' EXPORTING ledger = t_tgbl-rldn2 ryear = t_tgbl-cyear per_fr = '000' per_to = '000' pst_also = buchen account = t_tgbl-hkont msgtyp = p_msgtyp limit2 = p_limit limit3 = p_limit IMPORTING error = p_error difference = p_difference TABLES fieldvl1 = p_sel_bukrs EXCEPTIONS error = 1.
FI_EWU_CHECK_LEDGERS CALL FUNCTION 'FI_EWU_CHECK_LEDGERS' EXPORTING ledger = t_tgbl-rldn3 ryear = t_tgbl-cyear per_fr = '000' per_to = '000' pst_also = buchen account = t_tgbl-hkont msgtyp = p_msgtyp limit2 = p_limit limit3 = p_limit IMPORTING error = p_error difference = p_difference TABLES fieldvl1 = p_sel_bukrs EXCEPTIONS error = 1.
EWU_PROTOCOL_APPEND CALL FUNCTION 'EWU_PROTOCOL_APPEND' EXPORTING level = '2' msgty = 'E' langu = sy-langu msgid = 'FAGL_EMU' msgno = 807 msgv1 = p_progname EXCEPTIONS protocol_error = 0 OTHERS = 0.
EWU_PROTOCOL_WRITE CALL FUNCTION 'EWU_PROTOCOL_WRITE' EXCEPTIONS error_in_function_call = 0 table_empty = 0 sql_error = 0 wrong_call = 0 OTHERS = 0.
EWU_STATUS_UPDATE CALL FUNCTION 'EWU_STATUS_UPDATE' EXPORTING status = 'ERR' EXCEPTIONS no_paket_entry = 0 foreign_lock = 0 system_failure = 0 no_program_entry = 0 wrong_call = 0 active_paket_not_found = 0 update_denied = 0 OTHERS = 0.
EWU_STATUS_UPDATE CALL FUNCTION 'EWU_STATUS_UPDATE' EXPORTING status = 'WRG' EXCEPTIONS no_paket_entry = 0 foreign_lock = 0 system_failure = 0 no_program_entry = 0 wrong_call = 0 active_paket_not_found = 0 update_denied = 0 OTHERS = 0.
EWU_STATUS_UPDATE CALL FUNCTION 'EWU_STATUS_UPDATE' EXPORTING status = 'OK' EXCEPTIONS no_paket_entry = 0 foreign_lock = 0 system_failure = 0 no_program_entry = 0 wrong_call = 0 active_paket_not_found = 0 update_denied = 0 OTHERS = 0.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RFEWA014 - Adds Summary Records from a Ledger and Displays Differences (if not 0) RFEWA014 - Adds Summary Records from a Ledger and Displays Differences (if not 0) RFEWA013 - Adds Summary Records from a Ledger and Displays Differences (if not 0) RFEWA013 - Adds Summary Records from a Ledger and Displays Differences (if not 0) RFEWA012 - Adds Summary Records from a Ledger and Displays Differences (if not 0) RFEWA012 - Adds Summary Records from a Ledger and Displays Differences (if not 0)