SAP Reports / Programs | Supplier Relationship Management | Enterprise Buyer | Schnellsuche und erweiterte Suche(SRM-EBP-CA-SRH) SAP SRM

/SAPSRM/TREX_INDEX_SH SAP ABAP Report - SRM TREX Index Administration







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


Text pool values


Selection Text: P_ACTION = Action for SRM TREX Index
Selection Text: P_OBJNAM = Search Help Name
Selection Text: P_QUEUE = Use TREX Queue Server
Title: SRM TREX Index Administration


INCLUDES used within this REPORT /SAPSRM/TREX_INDEX_SH

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:

/SAPSRM/TREX_INIT_SH CALL FUNCTION '/SAPSRM/TREX_INIT_SH' EXPORTING iv_object_name = iv_object_name IMPORTING et_return = lt_return ev_subrc = lv_subrc.

/SAPSRM/TREX_ENQUEUE_INDEX_SH CALL FUNCTION '/SAPSRM/TREX_ENQUEUE_INDEX_SH' EXPORTING iv_object_name = iv_object_name iv_enqmode = iv_enqmode IMPORTING et_return = lt_return ev_subrc = lv_subrc.

/SAPSRM/TREX_DEQUEUE_INDEX_SH CALL FUNCTION '/SAPSRM/TREX_DEQUEUE_INDEX_SH' EXPORTING iv_object_name = iv_object_name iv_enqmode = iv_enqmode iv_all = 'X' IMPORTING et_return = lt_return ev_subrc = lv_subrc.

/SAPSRM/TREX_CREATE_INDEX_SH CALL FUNCTION '/SAPSRM/TREX_CREATE_INDEX_SH' EXPORTING iv_object_name = iv_object_name IMPORTING ev_created = lv_created et_return = lt_return ev_subrc = lv_subrc.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

/SAPSRM/TREX_DELETE_INDEX_SH CALL FUNCTION '/SAPSRM/TREX_DELETE_INDEX_SH' EXPORTING iv_object_name = iv_object_name IMPORTING ev_deleted = lv_deleted et_return = lt_return ev_subrc = lv_subrc.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

/SAPSRM/TREX_INDEX_SH CALL FUNCTION '/SAPSRM/TREX_INDEX_SH' EXPORTING iv_object_name = iv_object_name iv_use_queueserver = iv_use_queueserver IMPORTING * EV_DOCS_INDEXED = * EV_OPTIMIZED = et_return = lt_return ev_subrc = lv_subrc * ET_ERROR_GUID_LIST = .

/SAPSRM/TREX_DEINDEX_SH CALL FUNCTION '/SAPSRM/TREX_DEINDEX_SH' EXPORTING iv_object_name = iv_object_name iv_use_queueserver = iv_use_queueserver IMPORTING * EV_DOCS_INDEXED = * EV_OPTIMIZED = et_return = lt_return ev_subrc = lv_subrc * ET_ERROR_GUID_LIST = .



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 /SAPSRM/TREX_INDEX_SH or its description.