SAP Reports / Programs

NOTE_1860706 SAP ABAP Report - Report NOTE_1860706







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


Text pool values


Title: Report NOTE_1860706


INCLUDES used within this REPORT NOTE_1860706

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.

DDIF_SHLP_GET * "CALL FUNCTION 'DDIF_SHLP_GET' has different result * l_object_name = i_shlpname.

SVRS_GET_VERSION_SHLD_40 * CALL FUNCTION 'SVRS_GET_VERSION_SHLD_40' * EXPORTING * object_name = l_object_name * versno = 0 * TABLES * dd30tv_tab = lt_dd30tv * dd30v_tab = lt_dd30v * dd31v_tab = lt_dd31v * dd32v_tab = lt_dd32v * dd33v_tab = lt_dd33v * EXCEPTIONS * no_version = 1 * system_failure = 2 * communication_failure = 3 * OTHERS = 4.

FUNCTION_EXISTS * CALL FUNCTION 'FUNCTION_EXISTS' * EXPORTING * funcname = i_selmexit * EXCEPTIONS * function_not_exist = 1 * OTHERS = 0.

RS_FUNCTIONMODULE_INSERT * CALL FUNCTION 'RS_FUNCTIONMODULE_INSERT' * EXPORTING * funcname = i_selmexit * function_pool = l_area * namespace = l_namespace * short_text = l_text * suppress_corr_check = ' ' * suppress_language_check = 'X' * authority_check = 'X' * suppress_upgrade_check = 'X' * TABLES * tables_parameter = lt_tables * changing_parameter = lt_changing * EXCEPTIONS * OTHERS = 1.

DDIF_SHLP_PUT * CALL FUNCTION 'DDIF_SHLP_PUT' * EXPORTING * name = i_shlpname * dd30v_wa = ls_dd30v * TABLES * dd31v_tab = it_dd31v * dd32p_tab = it_dd32p * dd33v_tab = it_dd33v * EXCEPTIONS * shlp_not_found = 1 * name_inconsistent = 2 * shlp_inconsistent = 3 * put_failure = 4 * put_refused = 5 * OTHERS = 6.

DDIF_TABL_GET * CALL FUNCTION 'DDIF_TABL_GET' * EXPORTING * name = i_tabname * state = 'M' "newest version (e.g. inactive)

DDIF_TABL_PUT * CALL FUNCTION 'DDIF_TABL_PUT' * EXPORTING * name = i_tabname * dd02v_wa = ls_dd02v * dd09l_wa = ls_dd09l * TABLES * dd03p_tab = lt_dd03p * dd05m_tab = lt_dd05m * dd08v_tab = lt_dd08v * dd35v_tab = lt_dd35v * dd36m_tab = lt_dd36m * EXCEPTIONS * tabl_not_found = 1 * name_inconsistent = 2 * tabl_inconsistent = 3 * put_failure = 4 * put_refused = 5 * OTHERS = 6.

DDIF_TABL_GET * CALL FUNCTION 'DDIF_TABL_GET' * EXPORTING * name = i_tabname * state = 'M' "newest version (e.g. inactive)

DDIF_TABL_PUT





* CALL FUNCTION 'DDIF_TABL_PUT' * EXPORTING * name = i_tabname * dd02v_wa = ls_dd02v * dd09l_wa = ls_dd09l * TABLES * dd03p_tab = lt_dd03p * dd05m_tab = lt_dd05m * dd08v_tab = lt_dd08v * dd35v_tab = lt_dd35v * dd36m_tab = lt_dd36m * EXCEPTIONS * tabl_not_found = 1 * name_inconsistent = 2 * tabl_inconsistent = 3 * put_failure = 4 * put_refused = 5 * OTHERS = 6.

DDIF_TABL_GET * CALL FUNCTION 'DDIF_TABL_GET' * EXPORTING * name = i_tabname * state = 'M' "newest version (e.g. inactive)

DDIF_TABL_PUT * CALL FUNCTION 'DDIF_TABL_PUT' * EXPORTING * name = i_tabname * dd02v_wa = ls_dd02v * dd09l_wa = ls_dd09l * TABLES * dd03p_tab = lt_dd03p * dd05m_tab = lt_dd05m * dd08v_tab = lt_dd08v * dd35v_tab = lt_dd35v * dd36m_tab = lt_dd36m * EXCEPTIONS * tabl_not_found = 1 * name_inconsistent = 2 * tabl_inconsistent = 3 * put_failure = 4 * put_refused = 5 * OTHERS = 6.

DD_VIEW_GET * CALL FUNCTION 'DD_VIEW_GET' * EXPORTING * view_name = i_viewname * langu = i_langu * withtext = 'X' * IMPORTING * dd25v_wa_a = ls_dd25v * dd09l_wa_a = ls_dd09l * TABLES * dd26v_tab_a = lt_dd26v * dd27p_tab_a = lt_dd27p * dd28v_tab_a = lt_dd28v * EXCEPTIONS * access_failure = 1 * OTHERS = 2.

DD_VIEW_PUT * CALL FUNCTION 'DD_VIEW_PUT' * EXPORTING * view_name = i_viewname * put_state = 'N' "new * dd25v_wa = ls_dd25v * dd09l_wa = ls_dd09l * TABLES * dd26v_tab = it_dd26v * dd27p_tab = lt_dd27p "fields: emtpy * dd28v_tab = it_dd28v * EXCEPTIONS * db_access_failure = 1 * OTHERS = 2.

DDIF_VIEW_GET * CALL FUNCTION 'DDIF_VIEW_GET' * EXPORTING * name = i_viewname * state = 'M' "most recent, e.g. inactive

DDIF_VIEW_PUT * CALL FUNCTION 'DDIF_VIEW_PUT' * EXPORTING * name = i_viewname * dd25v_wa = ls_dd25v * dd09l_wa = ls_dd09l * TABLES * dd26v_tab = lt_dd26v * dd27p_tab = lt_dd27p * dd28j_tab = lt_dd28j * dd28v_tab = lt_dd28v * EXCEPTIONS * view_not_found = 1 * name_inconsistent = 2 * view_inconsistent = 3 * put_failure = 4 * put_refused = 5 * OTHERS = 6.

RS_WORKING_OBJECT_ACTIVATE * CALL FUNCTION 'RS_WORKING_OBJECT_ACTIVATE' * EXPORTING * dictionary_only = '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.

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

RFC_READ_TABLE * CALL FUNCTION 'RFC_READ_TABLE' DESTINATION 'NONE' * 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.

RS_INSERT_INTO_WORKING_AREA * CALL FUNCTION 'RS_INSERT_INTO_WORKING_AREA' * EXPORTING * object = i_objtype * obj_name = l_obj_name * EXCEPTIONS * wrong_object_name = 1 * OTHERS = 2.

RS_TREE_OBJECT_PLACEMENT * CALL FUNCTION 'RS_TREE_OBJECT_PLACEMENT' * EXPORTING * type = i_treetype * object = l_obj_name.

RS_TREE_OBJECT_PLACEMENT * CALL FUNCTION 'RS_TREE_OBJECT_PLACEMENT' * EXPORTING * type = i_objtype * object = l_obj_name.

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