SAP Reports / Programs

NOTE_1884880 SAP ABAP Report - Note_1884880 correction instructions







NOTE_1884880 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 NOTE_1884880 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 NOTE_1884880. "Basic submit
SUBMIT NOTE_1884880 AND RETURN. "Return to original report after report execution complete
SUBMIT NOTE_1884880 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Note_1884880 correction instructions


INCLUDES used within this REPORT NOTE_1884880

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:

BAL_LOG_MSG_READ * CALL FUNCTION 'BAL_LOG_MSG_READ' * EXPORTING * i_s_msg_handle = c_state-list_msgh * IMPORTING * e_s_msg = ls_msg * EXCEPTIONS * log_not_found = 1 * msg_not_found = 2 * OTHERS = 3.

RS_TOOL_ACCESS * CALL FUNCTION 'RS_TOOL_ACCESS' * EXPORTING * operation = 'SHOW' * object_name = ls_tadir-obj_name * object_type = ls_tadir-object * EXCEPTIONS * OTHERS = 1.

AUTHORITY_CHECK_TCODE * CALL FUNCTION 'AUTHORITY_CHECK_TCODE' * EXPORTING * tcode = 'SNOTE' * EXCEPTIONS * ok = 0 * OTHERS = 1.

BAL_LOG_CREATE * CALL FUNCTION 'BAL_LOG_CREATE' * EXPORTING * i_s_log = ls_log * IMPORTING * e_log_handle = gv_log_handle * EXCEPTIONS * log_header_inconsistent = 1 * OTHERS = 2.

SCWB_NOTE_IMPL_STATUS_SIMPLE * CALL FUNCTION 'SCWB_NOTE_IMPL_STATUS_SIMPLE' * EXPORTING * iv_numm = i_note * IMPORTING * ev_status = l_status * EXCEPTIONS * OTHERS = 1.

SCWB_NOTE_READ * CALL FUNCTION 'SCWB_NOTE_READ' * EXPORTING * iv_read_corr_instructions = 'X' * CHANGING * cs_note = ls_note * EXCEPTIONS * note_not_found = 1 * language_not_found = 2 * unreadable_text_format = 3 * corr_instruction_not_found = 4 * OTHERS = 5.

SCWB_CINST_CHECK_VALID * CALL FUNCTION 'SCWB_CINST_CHECK_VALID' * IMPORTING * ev_valid = l_valid * CHANGING * cs_corr_instruction = * EXCEPTIONS * corr_inst_not_found = 1 * inconsistent_delivery_data = 2 * undefined = 3 * OTHERS = 4.

SCWG_TOOLFLAG_SET * CALL FUNCTION 'SCWG_TOOLFLAG_SET'. "Reset will happen at leave of program

TR_OBJECT_TABLE * CALL FUNCTION 'TR_OBJECT_TABLE' * TABLES * wt_object_text = lt_object_text.

DDIF_DOMA_GET * CALL FUNCTION 'DDIF_DOMA_GET' * EXPORTING * name = 'DOK_ID' * langu = sy-langu * TABLES * dd07v_tab = lt_doktypes * EXCEPTIONS * OTHERS = 0.

RS_WORKING_OBJECT_ACTIVATE * CALL FUNCTION 'RS_WORKING_OBJECT_ACTIVATE' * EXPORTING * dictionary_only = 'X' * TABLES * objects = lt_dwinactiv * EXCEPTIONS * OTHERS = 5.

RS_DD_CHECK_ACTIVATE * CALL FUNCTION 'RS_DD_CHECK_ACTIVATE' * EXPORTING * objtype = -object * objname = -obj_name ** i_no_ui = 'X' "not in all sap_basis releases * EXCEPTIONS * OTHERS = 1.

RS_WORKING_OBJECT_ACTIVATE * CALL FUNCTION 'RS_WORKING_OBJECT_ACTIVATE' * EXPORTING * dictionary_only = ' ' ** cwb_mode = 'X' * TABLES * objects = lt_dwinactiv * EXCEPTIONS * OTHERS = 5.

POPUP_TO_CONFIRM * CALL FUNCTION 'POPUP_TO_CONFIRM' * EXPORTING * titlebar = 'Activation' "#EC NOTEXT * text_question = 'How do you want to activate DDIC?' "#EC NOTEXT * text_button_1 = 'Online' "#EC NOTEXT * text_button_2 = 'Batch' "#EC NOTEXT * display_cancel_button = 'X' * IMPORTING * answer = lv_answer * EXCEPTIONS * OTHERS = 1.

RFC_READ_TABLE * CALL FUNCTION 'RFC_READ_TABLE' DESTINATION 'NONE' "#EC FB_PAR_MIS * EXPORTING * query_table = ls_tabname-low * rowcount = 1 * EXCEPTIONS * system_failure = 1 MESSAGE l_message * table_not_available = 0 * OTHERS = 0.

JOB_OPEN * CALL FUNCTION 'JOB_OPEN' * EXPORTING * jobname = ls_job-jobname * IMPORTING * jobcount = ls_job-jobcount * CHANGING * ret = lv_rc * EXCEPTIONS * cant_create_job = 1 * invalid_job_data = 2 * jobname_missing = 3 * OTHERS = 4.

JOB_CLOSE * CALL FUNCTION 'JOB_CLOSE' * EXPORTING * jobcount = ls_job-jobcount * jobname = ls_job-jobname * strtimmed = 'X' * EXCEPTIONS * OTHERS = 1.

TR_READ_LOG * CALL FUNCTION 'TR_READ_LOG' * EXPORTING * iv_log_type = 'DB' * iv_logname_db = i_logname * TABLES * et_lines = lt_log * EXCEPTIONS * invalid_input = 1 * access_error = 2 * OTHERS = 3.

TR_TADIR_INTERFACE





* CALL FUNCTION 'TR_TADIR_INTERFACE' * EXPORTING ** WI_DELETE_TADIR_ENTRY = ' ' * wi_test_modus = space * wi_tadir_pgmid = 'R3TR' * wi_tadir_object = i_object * wi_tadir_obj_name = l_tadir_name * wi_tadir_devclass = i_devclass * wi_tadir_masterlang = i_langu * EXCEPTIONS * OTHERS = 25.

RS_CORR_INSERT * CALL FUNCTION 'RS_CORR_INSERT' "and create TADIR-entry * EXPORTING * object = l_object_name * object_class = l_object_class * devclass = i_devclass * korrnum = gv_trkorr * global_lock = l_global_lock ** AUTHOR = ' ' * master_language = i_langu ** GENFLAG = ' ' ** PROGRAM = ' ' ** OBJECT_CLASS_SUPPORTS_MA = ' ' * extend = l_extend ** SUPPRESS_DIALOG = ' ' ** MOD_LANGU = ' ' ** ACTIVATION_CALL = ' ' * IMPORTING * korrnum = gv_trkorr ** ORDERNUM = ** NEW_CORR_ENTRY = ** AUTHOR = * transport_key = ls_trkey ** NEW_EXTEND = * EXCEPTIONS * cancelled = 1 * permission_failure = 2 * unknown_objectclass = 3 * OTHERS = 4.

DOCU_OBJECT_NAME_CONCATENATE * CALL FUNCTION 'DOCU_OBJECT_NAME_CONCATENATE' * EXPORTING * docu_id = 'NA' * element = i_msgid * addition = i_msgno * IMPORTING * object = l_obj_name * EXCEPTIONS * OTHERS = 0.

RPY_TRANSACTION_READ * CALL FUNCTION 'RPY_TRANSACTION_READ' * EXPORTING * transaction = i_tcode ** TABLES ** TCODES = ** GUI_ATTRIBUTES = * EXCEPTIONS * permission_error = 1 * cancelled = 2 * not_found = 3 * object_not_found = 4 * OTHERS = 5.

RPY_TRANSACTION_INSERT * CALL FUNCTION 'RPY_TRANSACTION_INSERT' "performs rs_corr_insert * EXPORTING * transaction = i_tcode * program = i_program * dynpro = i_dynpro * language = i_langu * development_class = i_devclass * transaction_type = i_type * shorttext = i_text ** CALLED_TRANSACTION = ** CALLED_TRANSACTION_SKIP = ** VARIANT = i_param ** CL_INDEPENDEND = ** EASY_WEB_TRANSACTION = ** PROFESSIONEL_USER_TRANSACTION = * html_enabled = i_htmlgui * java_enabled = i_javagui * wingui_enabled = i_wingui ** SERVICEFILE = ** GENFLAG = ' ' ** TABLES ** DOCU_TABLE_USER = ** DOCU_TABLE_TECH = ** PARAM_VALUES = * EXCEPTIONS * cancelled = 1 * already_exist = 2 * permission_error = 3 * name_not_allowed = 4 * name_conflict = 5 * illegal_type = 6 * object_inconsistent = 7 * db_access_error = 8 * OTHERS = 9.

RS_TREE_OBJECT_PLACEMENT * CALL FUNCTION 'RS_TREE_OBJECT_PLACEMENT' * EXPORTING * type = 'TRAN' * object = i_tcode.

RPY_PROGRAM_READ * CALL FUNCTION 'RPY_PROGRAM_READ' * EXPORTING * language = i_langu * program_name = i_progname * with_includelist = space * only_texts = 'X' * read_latest_version = 'X' * with_lowercase = 'X' * TABLES * textelements = lt_textpool * EXCEPTIONS * cancelled = 1 * not_found = 2 * permission_error = 3 * OTHERS = 4.

RV_REPORT_WRITE_LANGU ** CALL FUNCTION 'RV_REPORT_WRITE_LANGU' "not in SAP_BASIS ** EXPORTING ** rw_langu = i_langu ** rw_reportname = i_progname ** TABLES ** rw_docu = lt_docu ** rw_textpool = lt_textpool.

RS_CUA_INTERNAL_FETCH * CALL FUNCTION 'RS_CUA_INTERNAL_FETCH' * EXPORTING * program = i_progname * language = i_langu * state = 'A' * TABLES * sta = lt_sta * fun = lt_fun * men = lt_men * mtx = lt_mtx * act = lt_act * but = lt_but * pfk = lt_pfk * set = lt_set * doc = lt_doc * tit = lt_tit * biv = lt_biv * EXCEPTIONS * not_found = 1 * OTHERS = 99.

RS_CUA_INTERNAL_WRITE * CALL FUNCTION 'RS_CUA_INTERNAL_WRITE' * EXPORTING * program = i_progname * language = i_langu * tr_key = ls_tr_key * adm = ls_adm * state = 'I' "I = inactive A = activ * TABLES * sta = it_sta * fun = it_fun * men = it_men * mtx = it_mtx * act = it_act * but = it_but * pfk = it_pfk * set = it_set * doc = it_doc * tit = it_tit * biv = it_biv * EXCEPTIONS * not_found = 1 * OTHERS = 2.

RS_CUA_INTERNAL_GENERATE * CALL FUNCTION 'RS_CUA_INTERNAL_GENERATE' * EXPORTING * program = i_progname * EXCEPTIONS * OTHERS = 0.

BAL_LOG_MSG_ADD * CALL FUNCTION 'BAL_LOG_MSG_ADD' * EXPORTING * i_log_handle = gv_log_handle * i_s_msg = ls_msg * EXCEPTIONS * OTHERS = 0.

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_DSP_PROFILE_SINGLE_LOG_GET * CALL FUNCTION 'BAL_DSP_PROFILE_SINGLE_LOG_GET' * IMPORTING * e_s_display_profile = ls_profile * EXCEPTIONS * OTHERS = 0.

BAL_DSP_PROFILE_DETLEVEL_GET * CALL FUNCTION 'BAL_DSP_PROFILE_DETLEVEL_GET' * IMPORTING * e_s_display_profile = ls_profile * EXCEPTIONS * OTHERS = 0.

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_t_log_handle = lt_log_handle * i_s_display_profile = ls_profile * i_amodal = space * EXCEPTIONS * OTHERS = 0.

BAL_DB_SAVE * CALL FUNCTION 'BAL_DB_SAVE' * EXPORTING * i_t_log_handle = lt_log_handle * EXCEPTIONS * OTHERS = 0.

BAL_GLB_MSG_DEFAULTS_SET * CALL FUNCTION 'BAL_GLB_MSG_DEFAULTS_SET' * EXPORTING * i_s_msg_defaults = ls_msg_defaults * EXCEPTIONS * OTHERS = 0.




SCWB_GET_TADIR_REM * CALL FUNCTION 'SCWB_GET_TADIR_REM' * EXPORTING * is_e071 = ls_e071 * IMPORTING * es_tadir_key = ls_tadir_key * es_tadir = ls_tadir.

SCWB_GET_TADIR_REM * CALL FUNCTION 'SCWB_GET_TADIR_REM' * EXPORTING * is_e071 = ls_e071 * IMPORTING * es_tadir_key = ls_tadir_key * es_tadir = ls_tadir.

BAL_LOG_MSG_ADD_FREE_TEXT * CALL FUNCTION 'BAL_LOG_MSG_ADD_FREE_TEXT' * EXPORTING * i_msgty = 'I' * i_text = l_text * EXCEPTIONS * OTHERS = 0.



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