SAP Reports / Programs | Basis Components | Basis Services / Communication Interfaces | ABAP Search Engine for ERP Solution Database(BC-SRV-SEN) SAP BC

SRTV_TEST_DR SAP ABAP Report - Text Retrieval: Test Document Retriever







SRTV_TEST_DR 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 SRTV_TEST_DR 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 SRTV_TEST_DR. "Basic submit
SUBMIT SRTV_TEST_DR AND RETURN. "Return to original report after report execution complete
SUBMIT SRTV_TEST_DR 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_LOG = Output log?
Selection Text: P_LANGU = Language
Selection Text: P_CORPID = Corpus ID
Title: Text Retrieval: Test Document Retriever
Text Symbol: 001 = Text Retrieval: Entry


INCLUDES used within this REPORT SRTV_TEST_DR

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:

SRTV_CALL_DOCUMENT_RETRIEVER CALL FUNCTION 'SRTV_CALL_DOCUMENT_RETRIEVER' EXPORTING id_corpusid = p_corpid id_langu = p_langu it_query_text = lt_query_text ib_log = p_log CHANGING ct_result = lt_result EXCEPTIONS lexicon_does_not_exist = 1 customizing_incorrect = 2 OTHERS = 3.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING id = ls_header-tdid language = ls_header-tdspras name = ls_header-tdname object = ls_header-tdobject IMPORTING header = ls_header TABLES lines = lt_lines EXCEPTIONS id = 1 language = 2 name = 3 not_found = 4 object = 5 reference_check = 6 wrong_access_to_archive = 7 OTHERS = 8.

EDIT_TEXT CALL FUNCTION 'EDIT_TEXT' EXPORTING display = ' ' editor_title = lc_title header = ls_header TABLES lines = lt_lines EXCEPTIONS id = 1 language = 2 linesize = 3 name = 4 object = 5 textformat = 6 communication = 7 OTHERS = 8.



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