SAP Reports / Programs

ECMUNDO SAP ABAP Report - Undo Changes with Engineering Change Management







ECMUNDO is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

CCUNDO - Undo Changes


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 ECMUNDO. "Basic submit
SUBMIT ECMUNDO AND RETURN. "Return to original report after report execution complete
SUBMIT ECMUNDO 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_AENNR = D .
Title: Undo Changes with Engineering Change Management
Text Symbol: 001 = Undo
Text Symbol: ALV = The following changes are supported:
Text Symbol: POP = Do you want to irrevocably undo all selected changes?


INCLUDES used within this REPORT ECMUNDO

No INCLUDES are used within this REPORT code!


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:

HELP_OBJECT_SHOW CALL FUNCTION 'HELP_OBJECT_SHOW' EXPORTING dokclass = 'NA' doklangu = sy-langu dokname = lf_dokname doktitle = lf_title msg_var_1 = gs_undo-msgv1 msg_var_2 = gs_undo-msgv2 msg_var_3 = gs_undo-msgv3 msg_var_4 = gs_undo-msgv4 TABLES links = lt_links EXCEPTIONS OTHERS = 0.

CC_CHANGE_NUMBER_CHECK CALL FUNCTION 'CC_CHANGE_NUMBER_CHECK' EXPORTING eccin = ls_ccin flg_enqueue = 'X' flg_msg_s193 = 'X' EXCEPTIONS OTHERS = 1.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = 'Wollen Sie alle markierten Änderungen unwiderruflich zurücknehmen?'(pop) default_button = '2' "no display_cancel_button = space IMPORTING answer = lf_answer EXCEPTIONS OTHERS = 1.

CC_DATA_INIT CALL FUNCTION 'CC_DATA_INIT'.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = -icon add_stdinf = 'X' IMPORTING RESULT = -icon EXCEPTIONS OTHERS = 0.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = gs_log_handle i_s_msg = ls_s_msg EXCEPTIONS OTHERS = 1.

BAL_DB_SAVE CALL FUNCTION 'BAL_DB_SAVE' EXPORTING i_t_log_handle = lt_log_handle EXCEPTIONS OTHERS = 1.

CC_ECM_UNLOCK CALL FUNCTION 'CC_ECM_UNLOCK'.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

BAL_DB_SEARCH CALL FUNCTION 'BAL_DB_SEARCH' EXPORTING i_s_log_filter = ls_filter IMPORTING e_t_log_header = lt_log_header EXCEPTIONS log_not_found = 1 no_filter_criteria = 2 OTHERS = 3.

BAL_DB_LOAD CALL FUNCTION 'BAL_DB_LOAD' EXPORTING i_t_log_header = lt_log_header IMPORTING e_t_log_handle = lt_log_handle EXCEPTIONS no_logs_specified = 1 log_not_found = 2 log_already_loaded = 3 OTHERS = 4.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = ls_s_log IMPORTING e_log_handle = gs_log_handle EXCEPTIONS OTHERS = 0.

BAL_DSP_PROFILE_SINGLE_LOG_GET CALL FUNCTION 'BAL_DSP_PROFILE_SINGLE_LOG_GET' IMPORTING e_s_display_profile = ls_profile EXCEPTIONS OTHERS = 1.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = c_bal_context TABLES dfies_tab = lt_dfies EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_log_filter = ls_filter i_s_display_profile = ls_profile EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.



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 ECMUNDO or its description.