SAP Reports / Programs

RSRETIP01 SAP ABAP Report - Import of full text indices delivered by SAP for training







RSRETIP01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Report for the import of a full-text index delivered by SAP for Training ..see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RSRETIP01 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

SRIP - Import of Training Indexes


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


Text pool values


Title: Import of full text indices delivered by SAP for training
Text Symbol: 008 = Version of search engine :
Text Symbol: 009 = Version of SAP RFC server :
Text Symbol: 011 = No connection to the search engine could be established
Text Symbol: 012 = The RFC destination for training does not exist :
Text Symbol: 013 = Created the RFC destination using transaction SM 59
Text Symbol: 014 = Check whether the search engine and the SAP gateway are installed
Text Symbol: 007 = No connection to the search engine could be established
Text Symbol: 001 = Specification of languages for installed indices for training
Text Symbol: 002 = SSR for training indices
Text Symbol: 003 = The search server relation for training was created :
Text Symbol: 004 = Internal error during creation of search server relation SY-SUBRC :
Text Symbol: 005 = Program was not ended properly
Text Symbol: 006 = INFO : The search server relation for training has already been created :
Text Symbol: 022 = Check the RFC destination and the search engine
Text Symbol: 023 = The index was installed correctly for the following index :
Text Symbol: 024 = At least one training index has already been installed !
Text Symbol: 025 = No more indices can be installed
Text Symbol: 026 = The program was ended properly - No index was imported!
Text Symbol: 027 = The index category is marked as deleted - It will be recreated !
Text Symbol: 021 = A problem occurred when the indices for the following language were checked :
Text Symbol: 015 = The search engine returned the following value :
Text Symbol: 016 = Check the search engine installation
Text Symbol: 017 = The training index was not installed for the following language :
Text Symbol: 018 = Install the index on the search engine
Text Symbol: 019 = An error occurred for the following index (language) :
Text Symbol: 020 = The search engine gave the following result :
Text Symbol: 038 = Internal error during creation of languages SY-SUBRC :
Text Symbol: 039 = Internal error during creation of document attributes SY-SUBRC :
Text Symbol: 040 = Index category for training
Text Symbol: 041 = INFO : The index category for training was created successfully
Text Symbol: 042 = INFO : The KPRO delivery flag was set successfully
Text Symbol: 043 = An internal error occurred when setting the delivery flag
Text Symbol: 037 = Internal error during creation of category attributes SY-SUBRC :
Text Symbol: 030 = INFO : The index category does not yet exist and will be created
Text Symbol: 031 = No document area was found for training
Text Symbol: 032 = No indexing area was found for training (application key)
Text Symbol: 033 = A general error occurred during retrieval of index category information





Text Symbol: 034 = The KPRO class for training does not exist
Text Symbol: 036 = INFO : Data retrieval for creating the KPro index category was successful
Text Symbol: 103 = Step 3 : Check whether indices were installed
Text Symbol: 104 = Step 4 : Check whether index category exists
Text Symbol: 105 = Step 5 : Read KPRO information on creating the index category
Text Symbol: 106 = Step 6 : Create the index category
Text Symbol: 107 = Step 7 : Set the delivery flag in KPRO
Text Symbol: 102 = Step 2 : Check whether a connection to the search engine can be established
Text Symbol: 044 = Full text search for training is now fully installed
Text Symbol: 045 = The program was ended successfully
Text Symbol: 050 = Specify at least one language
Text Symbol: 099 = ------------
Text Symbol: 100 = Number of following steps : 7
Text Symbol: 101 = Step 1 : Create the search server relation for training
Text Symbol: 028 = An internal error occurred. SY-SUBRC :


INCLUDES used within this REPORT RSRETIP01

INCLUDE RSRETERR.
INCLUDE RSRETCON.
INCLUDE RSRETTRAI.


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:

SRET_SRSVR_CREATE CALL FUNCTION 'SRET_SRSVR_CREATE' EXPORTING SRSVRID = CONST_SRSVR_TRAINING SEARCHENG = CONST_SE_TRAINING DESCRIPT = TEXT-002 * DEFAULTSSR = TABLES SRRFCDEST = ITAB_SRSVRDEST EXCEPTIONS ID_IS_EMPTY = 1 ID_IS_NOT_VALID = 2 ID_EXISTS = 3 TO_MANY_INDEX_DEST = 4 NO_INDEX_DEST = 5 DESCRIPT_IS_SPACE = 6 ACTION_UNKNOWN = 7 STATUS_UNKNOWN = 8 SRCHENG_UNKNOWN = 9 CATDEV_EXISTS = 10 XERROR = 11 OTHERS = 12 .

SRET_SE_VERSION_GET CALL FUNCTION 'SRET_SE_VERSION_GET' EXPORTING SRSVRINFO = TMP_SRETSRFCI IMPORTING VERRFC = TMP_VERRFC VERSE = TMP_VERSE RCODE = RCODE EXCEPTIONS NO_RFC_DEST = 1 VER_UNKNOWN = 2 RFC_SYS_FAILURE = 3 RFC_COM_FAILURE = 4 XERROR = 5 OTHERS = 6.

SRET_TEST_EXT_SEARCH CALL FUNCTION 'SRET_TEST_EXT_SEARCH' EXPORTING CATID = CONST_CATID_TRAINING * langu = LAISO = LAISOTAB-LAISO * client = * indexonly = SRSVRINFO = TMP_SRETSRFCI IMPORTING RCODE = RCODE EXCEPTIONS CADID_UNKNOWN = 1 LANGUAGE_ERROR = 2 RFC_SYS_FAILURE = 3 RFC_COM_FAILURE = 4 NO_RFC_DEST = 5 XERROR = 6 OTHERS = 7 .

SRET_IDXCAT_READ CALL FUNCTION 'SRET_IDXCAT_READ' EXPORTING CATID = CONST_CATID_TRAINING * CLIENT = * GIVEALL = IMPORTING CATINFO = CATINFO MODIFYCLS = MODIFYCLS SRSVRID = SRSVRID TABLES DOCATTRIBUTETAB = DOCATTRIBUTETAB LANGUAGETAB = LANGUAGETAB CATTATTRIBUTTAB = CATTATTRIBUTTAB * TECHATTRTAB = EXCEPTIONS CATID_UNKNOWN = 1 IDXCAT_IS_INACTIVE = 2 XERROR = 3 OTHERS = 4 .

SDOK_INDEX_IMPORT_INFO CALL FUNCTION 'SDOK_INDEX_IMPORT_INFO' IMPORTING PH_CLASS = ph_class DOCUSPACE = docuspace TABLES catattrtab = catattrtab docattrtab = docattrtab EXCEPTIONS NO_DOCUSPACE_FOUND = 1 CLASS_NOT_EXISTING = 2 OTHERS = 3 .

SDOK_SET_INDEX_DELIVERY_FLAG CALL FUNCTION 'SDOK_SET_INDEX_DELIVERY_FLAG' EXPORTING PH_CLASS = PH_CLASS X_DELIVERY = SPACE * IMPORTING * INDEX_SPC = EXCEPTIONS CLASS_NOT_EXISTING = 1 NO_DOCUSPACE_FOUND = 3 XERROR = 4 OTHERS = 5 .

SRET_CATATTR_INSERT CALL FUNCTION 'SRET_CATATTR_INSERT' EXPORTING CATID = STR_SRETIDCAT-CATID APPLICATIONKEY = P_DOCUSPACE TABLES CATATTRTAB = P_CATATTRTAB EXCEPTIONS CATID_UNKNOWN = 1 IDXCAT_IS_INACTIVE = 2 CATID_ALREADY_INSERT = 3 NO_APPLICATIONKEY = 4 ATTRSET_ALREADY_DEF = 5 NO_ATTR_GIVEN = 6 XERROR = 7 LOCKED = 8 OTHERS = 9.

SRET_IDX_LANGUAGES_INSERT CALL FUNCTION 'SRET_IDX_LANGUAGES_INSERT' EXPORTING CATID = STR_SRETIDCAT-CATID TABLES LANGUAGETAB = TP_LANTAB EXCEPTIONS NO_LANGUAGE = 1 LAISO_UNKNOWN = 2 SPRAS_UNKOWN = 3 XERROR = 4 OTHERS = 5.

SRET_IDX_ATTRIBUTES_INSERT CALL FUNCTION 'SRET_IDX_ATTRIBUTES_INSERT' EXPORTING CATID = STR_SRETIDCAT-CATID TABLES INDEXATTRIBUTETAB = P_DOCATTRTAB EXCEPTIONS CATID_UNKNOWN = 1 SPRAS_UNKOWN = 2 RESERVED_NAME_USED = 3 ATTR_NAME_NOT_VALID = 4 ATTR_TYPE_UNKNOWN = 5 ATTRIBUTE_EXISTS = 6 PARAMETER_ERROR = 7 XERROR = 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 RSRETIP01 or its description.