SAP Reports / Programs | Basis Components | Basis Services / Communication Interfaces | Content Management Service(BC-SRV-KPR-CMS) SAP BC

RSIRCCON SAP ABAP Report - KPro: Test of data connections to memory repositories







RSIRCCON 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 RSIRCCON 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

SKPR09 - Test Content Repositories


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


Text pool values


KPro: Test of data connections to memory repositories
Title: KPro: Test of data connections to memory repositories
Text Symbol: 009 = Command error
Text Symbol: 010 = Data error
Text Symbol: 011 = Error downloading test file
Text Symbol: 012 = Error uploading test file
Text Symbol: 013 = Data corrupted in transfer
Text Symbol: 014 = Error deleting test file
Text Symbol: 015 = Number of multiple and runtime test passes:
Text Symbol: 008 = TCPIP error
Text Symbol: 001 = File server
Text Symbol: 002 = Database
Text Symbol: 003 = HTTP content server
Text Symbol: 004 = CD ROM
Text Symbol: 005 = Test successfully completed
Text Symbol: 006 = Error when setting up connection
Text Symbol: 007 = Unspecified error
Text Symbol: 016 = Timeout occurred
Text Symbol: 034 = Description
Text Symbol: 035 = Location
Text Symbol: 036 = Type
Text Symbol: 037 = Test result for runtime test:
Text Symbol: 038 = Hierarchy storage
Text Symbol: 033 = Result of single test:
Text Symbol: 018 = SAP Knowledge Provider: Data connection test
Text Symbol: 019 = System:
Text Symbol: 020 = Local date:
Text Symbol: 021 = Local time:
Text Symbol: 030 = Command causes error
Text Symbol: 031 = Result
Text Symbol: 032 = Result of multiple test:


INCLUDES used within this REPORT RSIRCCON

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:

SDOK_LOG_DISPLAY_DETAIL CALL FUNCTION 'SDOK_LOG_DISPLAY_DETAIL' TABLES msg_text_list = object_list-result_details EXCEPTIONS OTHERS = 1.

RFC_CONNECTION_CLOSE CALL FUNCTION 'RFC_CONNECTION_CLOSE' EXPORTING destination = 'SAPHTTP' exceptions destination_not_open = 1 others = 2.

SCMS_SDOKSTRE_LIST CALL FUNCTION 'SCMS_SDOKSTRE_LIST' TABLES i_sdokstre = isdokstre EXCEPTIONS not_found = 0 OTHERS = 0.

SCMS_SDOKSTRET_GET CALL FUNCTION 'SCMS_SDOKSTRET_GET' EXPORTING stor_rep = isdokstre-stor_rep langu = sy-langu IMPORTING descript = isdokstret-descript EXCEPTIONS not_found = 1 OTHERS = 2.

SCMS_URL_GENERATE CALL FUNCTION 'SCMS_URL_GENERATE' EXPORTING command = http_api-command contrep = http_api-contrep signature = ' ' security = 'F' IMPORTING absolute_uri = uri EXCEPTIONS error_parameter = 1 error_signature = 2 OTHERS = 3.

WS_ULDL_PATH CALL FUNCTION 'WS_ULDL_PATH' IMPORTING download_path = path EXCEPTIONS OTHERS = 1.

SCMS_DOWNLOAD CALL FUNCTION 'SCMS_DOWNLOAD' EXPORTING filename = path_file filesize = filesize * BINARY = 'X' * FRONTEND = 'X' TABLES data = data_tab EXCEPTIONS error = 1 OTHERS = 2.

WS_DOWNLOAD * CALL FUNCTION 'WS_DOWNLOAD' * EXPORTING * bin_filesize = filesize ** CODEPAGE = ' ' * filename = path_file * filetype = 'BIN' * TABLES * data_tab = data_tab * EXCEPTIONS * file_open_error = 1 * file_write_error = 2 * invalid_filesize = 3 ** invalid_table_width = 4 * invalid_type = 5 * no_batch = 6 * unknown_error = 7 ** gui_refuse_filetransfer = 8 * OTHERS = 9.

FTP_CONNECT CALL FUNCTION 'FTP_CONNECT' EXPORTING user = u_object-ftp_user password = u_object-ftp_pwd host = u_object-server rfc_destination = sdoki_ftp_pres_server_rfc_dest IMPORTING handle = ftp_handle EXCEPTIONS not_connected = 1 OTHERS = 2.

FTP_CONNECT CALL FUNCTION 'FTP_CONNECT' EXPORTING user = u_object-ftp_user password = u_object-ftp_pwd host = u_object-server rfc_destination = sdoki_ftp_pres_server_rfc_dest IMPORTING handle = ftp_handle EXCEPTIONS not_connected = 1 OTHERS = 2.

FTP_COMMAND CALL FUNCTION 'FTP_COMMAND' EXPORTING handle = u_ftp_handle command = u_cmd TABLES data = ftp_result EXCEPTIONS tcpip_error = 1 command_error = 2 data_error = 3 OTHERS = 4.

FTP_COMMAND_LIST CALL FUNCTION 'FTP_COMMAND_LIST' EXPORTING handle = u_ftp_handle IMPORTING command_index = cmd_index TABLES data = ftp_result commands = t_command_list EXCEPTIONS tcpip_error = 1 command_error = 2 data_error = 3 OTHERS = 4.

SDOK_UNIQUE_ID_GET CALL FUNCTION 'SDOK_UNIQUE_ID_GET' IMPORTING unique_id = unique_id EXCEPTIONS OTHERS = 1.

SDOK_UNIQUE_ID_GET CALL FUNCTION 'SDOK_UNIQUE_ID_GET' IMPORTING unique_id = guids-unique_id.

SCMS_URL_GENERATE CALL FUNCTION 'SCMS_URL_GENERATE' EXPORTING command = u_archive_api-command contrep = u_archive_api-contrep docid = u_archive_api-docid accessmode = u_archive_api-accessmode signature = 'X' docprot = u_archive_api-docprot security = 'F' IMPORTING absolute_uri = t_uri_list-uri EXCEPTIONS error_parameter = 1 error_signature = 2 OTHERS = 3.

HTTP_POST_FILES CALL FUNCTION 'HTTP_POST_FILES' EXPORTING absolute_uri = t_uri_list-uri rfc_destination = rfc_destination component_path = path IMPORTING status_code = status_code status_text = status_text TABLES response_headers = response_headers components = components EXCEPTIONS connect_failed = 1 timeout = 2 internal_error = 3 component_error = 4 tcpip_error = 5 OTHERS = 6.

HTTP_GET_FILES CALL FUNCTION 'HTTP_GET_FILES' EXPORTING absolute_uri = t_uri_list-uri rfc_destination = rfc_destination component_path = path IMPORTING status_code = status_code status_text = status_text TABLES response_headers = response_headers components = components EXCEPTIONS connect_failed = 1 timeout = 2 internal_error = 3 component_error = 4 tcpip_error = 5 OTHERS = 6.

HTTP_GET CALL FUNCTION 'HTTP_GET' EXPORTING absolute_uri = t_uri_list-uri rfc_destination = rfc_destination IMPORTING status_code = status_code status_text = status_text TABLES response_entity_body = response_entity_body response_headers = response_headers EXCEPTIONS connect_failed = 1 timeout = 2 internal_error = 3 tcpip_error = 4 OTHERS = 5.

SCMS_UPLOAD





CALL FUNCTION 'SCMS_UPLOAD' EXPORTING filename = path_file * BINARY = 'X' * FRONTEND = 'X' IMPORTING filesize = filesize TABLES data = data_tab_copy * EXCEPTIONS * ERROR = 1 * OTHERS = 2 .

WS_UPLOAD * CALL FUNCTION 'WS_UPLOAD' * EXPORTING * filename = path_file * filetype = 'BIN' * IMPORTING * filelength = filesize * TABLES * data_tab = data_tab_copy * EXCEPTIONS * conversion_error = 1 * file_open_error = 2 * file_read_error = 3 ** invalid_table_width = 4 * invalid_type = 5 * no_batch = 6 * unknown_error = 7 ** gui_refuse_filetransfer = 8 * OTHERS = 9.

WS_FILE_DELETE CALL FUNCTION 'WS_FILE_DELETE' EXPORTING file = path_file IMPORTING return = return EXCEPTIONS OTHERS = 1.



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