SAP Reports / Programs | Global Trade Services | Global Trade Services(SLL-LEG) SAP SLL

/SAPSLL/SEARCH_LOAD_TREX_F01 SAP ABAP INCLUDE - /SAPSLL/SEARCHLOADTREXF01







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


INCLUDES used within this REPORT /SAPSLL/SEARCH_LOAD_TREX_F01

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:

TREX_EXT_DELETE_INDEX CALL FUNCTION 'TREX_EXT_DELETE_INDEX' EXPORTING i_index_id = iv_index_name i_rfc_destination = iv_rfc IMPORTING e_return_code = l_return_code e_return_text = l_return_text EXCEPTIONS OTHERS = 1.

TREX_EXT_DELETE_INDEX CALL FUNCTION 'TREX_EXT_DELETE_INDEX' EXPORTING i_index_id = iv_index_addr i_rfc_destination = iv_rfc IMPORTING e_return_code = l_return_code e_return_text = l_return_text EXCEPTIONS OTHERS = 1.

TREX_FILL_ATTRDEF_BY_TABNAME CALL FUNCTION 'TREX_FILL_ATTRDEF_BY_TABNAME' EXPORTING i_table_name = lv_tabname IMPORTING e_key_attributes = lt_key_attrs e_attribute_definitions = lt_attributes.

TREX_EXT_CREATE_INDEX CALL FUNCTION 'TREX_EXT_CREATE_INDEX' EXPORTING i_index_id = lv_index_id i_rfc_destination = iv_rfc i_use_queueserver = ' ' i_textmining_relevant = ' ' i_attribute_definitions = lt_attributes i_key_attributes = lt_key_attrs i_fast_preprocessing = '1' i_pattern_queries_use_cp = lv_pattern_queries_use_cp IMPORTING e_return_code = l_return_code e_return_text = l_return_text EXCEPTIONS OTHERS = 1.

TREX_BUILD_COMP_DESCR CALL FUNCTION 'TREX_BUILD_COMP_DESCR' EXPORTING i_tabname = lv_tabname IMPORTING e_comp_descr = lt_comp_descr.

TREX_EXT_INDEX_CELL_TABLE CALL FUNCTION 'TREX_EXT_INDEX_CELL_TABLE' EXPORTING i_index_id = lv_index_id i_rfc_destination = iv_rfc i_use_queueserver = ' ' i_index_table = i_comp_descr = lt_comp_descr i_language = 'EN' i_auto_optimize = 1 IMPORTING e_return_code = l_return_code e_return_text = l_return_text e_component_runtime = ls_runtime EXCEPTIONS OTHERS = 1.

ENQUEUE_/SAPSLL/ETSPLIDX CALL FUNCTION 'ENQUEUE_/SAPSLL/ETSPLIDX' EXPORTING mode_/sapsll/tsplidx_enq_s = 'E' mandt = sy-mandt lgreg = iv_lgreg _wait = 'X' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

ENQUEUE_/SAPSLL/ETSPLTRX CALL FUNCTION 'ENQUEUE_/SAPSLL/ETSPLTRX' EXPORTING mode_/sapsll/tspltrx_enq_s = 'E' mandt = sy-mandt lgreg = iv_lgreg _wait = 'X' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_/SAPSLL/ETSPLIDX CALL FUNCTION 'DEQUEUE_/SAPSLL/ETSPLIDX' EXPORTING mode_/sapsll/tsplidx_enq_s = 'E' mandt = sy-mandt lgreg = iv_lgreg.

DEQUEUE_/SAPSLL/ETSPLTRX CALL FUNCTION 'DEQUEUE_/SAPSLL/ETSPLTRX' EXPORTING mode_/sapsll/tspltrx_enq_s = 'E' mandt = sy-mandt lgreg = iv_lgreg.

/SAPSLL/AB_SPL_CUS_CHK_GET CALL FUNCTION '/SAPSLL/AB_SPL_CUS_CHK_GET' EXPORTING iv_lgreg = iv_lgreg IMPORTING es_cus_spl_chk = ls_cus_spl_chk.

/SAPSLL/CMPT_DB_SGL_READ CALL FUNCTION '/SAPSLL/CMPT_DB_SGL_READ' EXPORTING is_pk = ls_pk iv_flag_bypass_buffer = ' ' iv_flag_no_db_access = ' ' iv_flag_fill_buffer = 'X' is_debug = gs_debug IMPORTING es_result = ls_cmpt EXCEPTIONS no_data = 1 invalid_call = 2 OTHERS = 3.

/SAPSLL/CONVERT_DATE_TO_STAMP CALL FUNCTION '/SAPSLL/CONVERT_DATE_TO_STAMP' EXPORTING iv_date = iv_updab iv_time = gc_time-begin IMPORTING ev_timestamp = lv_time_stamp_ab.

/SAPSLL/CONVERT_DATE_TO_STAMP CALL FUNCTION '/SAPSLL/CONVERT_DATE_TO_STAMP' EXPORTING iv_date = iv_updbi iv_time = gc_time-end IMPORTING ev_timestamp = lv_time_stamp_bi.

/SAPSLL/CONVERT_DATE_TO_STAMP CALL FUNCTION '/SAPSLL/CONVERT_DATE_TO_STAMP' EXPORTING iv_date = iv_updab iv_time = gc_time-end IMPORTING ev_timestamp = lv_time_stamp_bi.

/SAPSLL/APPEND_RANGE_EXT CALL FUNCTION '/SAPSLL/APPEND_RANGE_EXT' EXPORTING iv_sign = 'I' iv_option = 'BT' iv_value_low = lv_time_stamp_ab iv_value_high = lv_time_stamp_bi is_debug = gs_debug CHANGING ct_range = cr_crtsp[].

/SAPSLL/APPEND_RANGE_EXT CALL FUNCTION '/SAPSLL/APPEND_RANGE_EXT' EXPORTING iv_sign = 'I' iv_option = 'LE' iv_value_low = lv_time_stamp_bi iv_value_high = lv_time_stamp_ab is_debug = gs_debug CHANGING ct_range = cr_crtsp[].



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 /SAPSLL/SEARCH_LOAD_TREX_F01 or its description.