SAP Reports / Programs | Financial Accounting | Accounts Receivable | Payment Transactions(FI-AR-AR-PT) SAP FI

NOTE_1865193 SAP ABAP Report - Report NOTE_1865193







NOTE_1865193 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_1865193 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_1865193. "Basic submit
SUBMIT NOTE_1865193 AND RETURN. "Return to original report after report execution complete
SUBMIT NOTE_1865193 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_1865193


INCLUDES used within this REPORT NOTE_1865193

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_DOMA_GET CALL FUNCTION 'DDIF_DOMA_GET' EXPORTING name = i_domname langu = i_langu "reads all values, returns value without language/text if text does not exist in i_langu state = 'M' "newest version (e.g. inactive)

DDIF_DOMA_PUT CALL FUNCTION 'DDIF_DOMA_PUT' EXPORTING name = i_domname dd01v_wa = ls_dd01v TABLES dd07v_tab = lt_dd07v EXCEPTIONS doma_not_found = 1 name_inconsistent = 2 doma_inconsistent = 3 put_failure = 4 put_refused = 5 OTHERS = 6.

DDIF_DTEL_GET CALL FUNCTION 'DDIF_DTEL_GET' EXPORTING name = i_rollname langu = i_langu state = 'M' "newest version (e.g. inactive)

DDIF_DTEL_PUT CALL FUNCTION 'DDIF_DTEL_PUT' EXPORTING name = i_rollname dd04v_wa = ls_dd04v EXCEPTIONS dtel_not_found = 1 name_inconsistent = 2 dtel_inconsistent = 3 put_failure = 4 put_refused = 5 OTHERS = 6.

DD_DTEL_PUT CALL FUNCTION 'DD_DTEL_PUT' EXPORTING dd04l_wa = ls_dd04l prid = -2 "no_log put_state = l_gotstate rollname = ls_dd04v-rollname TABLES dd04t_tab = lt_dd04t EXCEPTIONS object_inconsistent = 1 OTHERS = 2.

DDIF_TTYP_GET CALL FUNCTION 'DDIF_TTYP_GET' EXPORTING name = i_typename state = 'M' langu = i_langu "with text IMPORTING dd40v_wa = ls_dd40v TABLES dd42v_tab = lt_dd42v dd43v_tab = lt_dd43v ">=SAPBASIS702 * dd43v_tab = lt_dd43v EXCEPTIONS illegal_input = 1 OTHERS = 2.

DDIF_TTYP_PUT CALL FUNCTION 'DDIF_TTYP_PUT' EXPORTING name = i_typename dd40v_wa = ls_dd40v TABLES dd42v_tab = it_dd42v * dd43v_tab = it_dd43v dd43v_tab = it_dd43v ">=SAPBASIS702 EXCEPTIONS ttyp_not_found = 1 name_inconsistent = 2 ttyp_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.

CTO_OBJECT_GET_TADIR_KEY CALL FUNCTION 'CTO_OBJECT_GET_TADIR_KEY' EXPORTING iv_objectname = i_objectname iv_objecttype = i_objecttype IMPORTING ev_pgmid = ls_tadir-pgmid ev_object = ls_tadir-object ev_obj_name = ls_tadir-obj_name.

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.

DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = i_tabname IMPORTING x030l_wa = ls_x030l EXCEPTIONS not_found = 1 OTHERS = 2.

TR_OBJECTS_CHECK CALL FUNCTION 'TR_OBJECTS_CHECK' TABLES wt_ko200 = lt_ko200 * WT_E071K = EXCEPTIONS cancel_edit_other_error = 1 show_only_other_error = 2 OTHERS = 3.

TR_OBJECTS_INSERT CALL FUNCTION 'TR_OBJECTS_INSERT' EXPORTING wi_order = gv_trkorr IMPORTING we_order = gv_trkorr TABLES wt_ko200 = lt_ko200 wt_e071k = lt_e071k * TT_TADIR = EXCEPTIONS cancel_edit_other_error = 1 show_only_other_error = 2 OTHERS = 3.




GET_TABLE_KEYLIST_RFC *CALL FUNCTION 'GET_TABLE_KEYLIST_RFC' * EXPORTING * tabname = i_tabname * get_systab = 'X' * rfc_dest = space ** MTYPE = ** MTABNAME = ** IMPORTING ** NR_OF_ROWS = ** RFC_MSG_TEXT = ** ET_KEYCONVERT_ERRORS = ** ET_CONVERT_ERRORS = * TABLES ** NAME_TAB = * inttab = * tabkey = lt_e071k * EXCEPTIONS * CLIENT_NOT_FOUND = 1 * PROTECTED = 2 * READ_ERROR = 3 * TABLE_NOT_FOUND = 4 * TOO_SMALL = 5 * CONVERT_ERROR = 6 * WRONG_TYPE = 7 * FIELDTAB_ERROR = 8 * NO_RIGHTS = 9 * RFC_ERROR = 10 * LENGTH_ERROR = 11 * STRING_ERROR = 12 * OTHERS = 13 * .

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.

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.

DOCU_GET CALL FUNCTION 'DOCU_GET' EXPORTING id = ls_head-tdid(2) langu = ls_head-tdspras object = ls_head-tdname(60) TABLES line = lt_line_old EXCEPTIONS OTHERS = 0.

DOCU_UPDATE CALL FUNCTION 'DOCU_UPDATE' EXPORTING * ACTCLASS = ' ' head = ls_head no_masterlang = lv_no_masterlang state = 'A' typ = 'E' version = l_dokversion TABLES line = lt_line.

DOCU_GET CALL FUNCTION 'DOCU_GET' EXPORTING id = ls_head-tdid(2) langu = ls_head-tdspras object = ls_head-tdname(60) TABLES line = lt_line_old EXCEPTIONS OTHERS = 0.

DOCU_UPDATE CALL FUNCTION 'DOCU_UPDATE' EXPORTING * ACTCLASS = ' ' head = ls_head no_masterlang = lv_no_masterlang state = 'A' typ = 'E' version = l_dokversion TABLES line = lt_line.

RPY_EXISTENCE_CHECK_FUGR CALL FUNCTION 'RPY_EXISTENCE_CHECK_FUGR' EXPORTING name = i_area * LIMU_KEY = EXCEPTIONS not_exist = 1 OTHERS = 2.

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

RS_FUNCTION_POOL_ADD CALL FUNCTION 'RS_FUNCTION_POOL_ADD' EXPORTING aktion = 'INSR' "UPDA area = i_area corrnum = gv_trkorr text = l_text uname = sy-uname * WITH_MONITOR = ' ' * with_korr = ' ' "pass ' ' if add_to_transport has happend! save_active = 'X' * WB_FB_MANAGER = * IMPORTING * NEW_NAME = EXCEPTIONS canceled_in_corr = 1 enqueue_system_failure = 2 function_pool_exist = 3 not_executed = 4 no_modify_permission = 5 no_show_permission = 6 permission_failure = 7 OTHERS = 8.

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.

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