TREX_INDEX_SOURCE_CODE 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 TREX_INDEX_SOURCE_CODE 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: Program TREX_INDEX_SOURCE_CODE
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
TR_CHECK_TYPE CALL FUNCTION 'TR_CHECK_TYPE' EXPORTING wi_e071 = ls_e071 IMPORTING we_tadir = ls_tadir.
TR_CHECK_TYPE CALL FUNCTION 'TR_CHECK_TYPE' EXPORTING wi_e071 = ls_e071 IMPORTING we_tadir = ls_tadir.
RS_PROGNAME_DECIDER * CALL FUNCTION 'RS_PROGNAME_DECIDER' * EXPORTING * include =
-name * IMPORTING * object = lv_objtype * obj_name = lv_objname * enclosing_obj_name = lv_enclobj_name * enclosing_object = lv_enclobj * EXCEPTIONS * not_decideable = 1 * OTHERS = 2.
TREX_EXT_INDEX * CALL FUNCTION 'TREX_EXT_INDEX' * EXPORTING * i_index_id = index_id * i_rfc_destination = rfc_dest * i_use_queueserver = 'X' * i_index_document_list = lt_doc * IMPORTING * e_return_error_doc = lt_error_doc * e_return_code = l_rcode * e_return_text = l_rtext * EXCEPTIONS * conversion_error = 1 * error = 2 * OTHERS = 3.
TR_CHECK_TYPE * CALL FUNCTION 'TR_CHECK_TYPE' * EXPORTING * wi_e071 = ls_e071 * IMPORTING * we_tadir = ls_tadir.
TR_CHECK_TYPE * CALL FUNCTION 'TR_CHECK_TYPE' * EXPORTING * wi_e071 = ls_e071 * IMPORTING * we_tadir = ls_tadir.
RS_PROGNAME_DECIDER ** CALL FUNCTION 'RS_PROGNAME_DECIDER' ** EXPORTING ** include =
-name ** IMPORTING ** object = lv_objtype ** obj_name = lv_objname ** enclosing_obj_name = lv_enclobj_name ** enclosing_object = lv_enclobj ** EXCEPTIONS ** not_decideable = 1 ** OTHERS = 2.
TREX_EXT_INDEX ** CALL FUNCTION 'TREX_EXT_INDEX' ** EXPORTING ** i_index_id = index_id ** i_rfc_destination = rfc_dest ** i_use_queueserver = 'X' ** i_index_document_list = lt_doc ** IMPORTING ** e_return_error_doc = lt_error_doc ** e_return_code = l_rcode ** e_return_text = l_rtext ** EXCEPTIONS ** conversion_error = 1 ** error = 2 ** OTHERS = 3.
ZZ_RS_PROGNAME_DECIDER
TR_CHECK_TYPE ** CALL FUNCTION 'TR_CHECK_TYPE' ** EXPORTING ** wi_e071 = ls_e071 ** IMPORTING ** we_tadir = ls_tadir.
TR_CHECK_TYPE ** CALL FUNCTION 'TR_CHECK_TYPE' ** EXPORTING ** wi_e071 = ls_e071 ** IMPORTING ** we_tadir = ls_tadir.
TR_TADIR_INTERFACE ** CALL FUNCTION 'TR_TADIR_INTERFACE' ** EXPORTING ** wi_tadir_pgmid = ls_tadir-pgmid ** wi_tadir_object = ls_tadir-object ** wi_tadir_obj_name = ls_tadir-obj_name ** wi_read_only = 'X' ** IMPORTING ** new_tadir_entry = ps_tadir_new ** EXCEPTIONS ** OTHERS = 1.
RS_PROGNAME_DECIDER *** CALL FUNCTION 'RS_PROGNAME_DECIDER' *** EXPORTING *** include =
-name *** IMPORTING *** object = lv_objtype *** obj_name = lv_objname *** enclosing_obj_name = lv_enclobj_name *** enclosing_object = lv_enclobj *** EXCEPTIONS *** not_decideable = 1 *** OTHERS = 2. TREX_EXT_INDEX *** CALL FUNCTION 'TREX_EXT_INDEX' *** EXPORTING *** i_index_id = index_id *** i_rfc_destination = rfc_dest *** i_use_queueserver = 'X' *** i_index_document_list = lt_doc *** IMPORTING *** e_return_error_doc = lt_error_doc *** e_return_code = l_rcode *** e_return_text = l_rtext *** EXCEPTIONS *** conversion_error = 1 *** error = 2 *** OTHERS = 3.
ZZ_RS_PROGNAME_DECIDER
TR_CHECK_TYPE *** CALL FUNCTION 'TR_CHECK_TYPE' *** EXPORTING *** wi_e071 = ls_e071 *** IMPORTING *** we_tadir = ls_tadir.
TR_CHECK_TYPE *** CALL FUNCTION 'TR_CHECK_TYPE' *** EXPORTING *** wi_e071 = ls_e071 *** IMPORTING *** we_tadir = ls_tadir.
TR_TADIR_INTERFACE *** CALL FUNCTION 'TR_TADIR_INTERFACE' *** EXPORTING *** wi_tadir_pgmid = ls_tadir-pgmid *** wi_tadir_object = ls_tadir-object *** wi_tadir_obj_name = ls_tadir-obj_name *** wi_read_only = 'X' *** IMPORTING *** new_tadir_entry = ps_tadir_new *** EXCEPTIONS *** OTHERS = 1.
RS_PROGNAME_DECIDER CALL FUNCTION 'RS_PROGNAME_DECIDER' EXPORTING include =
-name IMPORTING object = lv_objtype obj_name = lv_objname enclosing_obj_name = lv_enclobj_name enclosing_object = lv_enclobj EXCEPTIONS not_decideable = 1 OTHERS = 2.
CALL FUNCTION 'TREX_EXT_INDEX' EXPORTING i_index_id = index_id i_rfc_destination = rfc_dest i_use_queueserver = 'X' i_index_document_list = lt_doc IMPORTING e_return_error_doc = lt_error_doc e_return_code = l_rcode e_return_text = l_rtext EXCEPTIONS conversion_error = 1 error = 2 OTHERS = 3.DB_COMMIT CALL FUNCTION 'DB_COMMIT' .
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 TREX_INDEX_SOURCE_CODE or its description.
TREX_INDEX_SOURCE_CODE - Program TREX_INDEX_SOURCE_CODE TREX_INDEX_SOURCE_CODE - Program TREX_INDEX_SOURCE_CODE TREX_HDB_CREATE_CONNECTION - Report TREX_HDB_CREATE_CONNECTION TREX_HDB_CREATE_CONNECTION - Report TREX_HDB_CREATE_CONNECTION TREX_EXT_LOAD_REORG_PLAN======FT - TREXEXTLOADREORGPLAN======FT TREX_EXT_LIST_CRUISES=========FT - TREXEXTLISTCRUISES=========FT