RSCMSTA0 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 RSCMSTA0 into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: FILNAM_1 = File name
Selection Text: FTP_DST = RFC Destination (SAPFTP)
Selection Text: HTTP_DST = RFC Destination (SAPHTTP)
Selection Text: LONGNAME = Long Component IDs
Selection Text: REP_1 = Repository 1
Selection Text: REP_2 = Repository 2
Selection Text: BEPATH = Backend path
Selection Text: BIN_FLG = Binary flag (' ', 'X', or 'A')
Selection Text: CAT_1 = Category 1
Selection Text: CAT_2 = Category 2
Selection Text: FEPATH = Frontend path
Title: Interface test using function group SCMS-API
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING CLIENT = SY-MANDT LOGICAL_FILENAME = 'KPRO_IMPORT_EXPORT' * PARAMETER_1 = lstfile * PARAMETER_2 = ' ' * PARAMETER_3 = ' ' WITH_FILE_EXTENSION = 'X' * USE_BUFFER = ' ' * ELIMINATE_BLANKS = 'X' IMPORTING VALIDATION_ACTIVE = validate_file * TS_ALIAS = CHANGING PHYSICAL_FILENAME = bepath EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 3 .
SCMS_FILE_CHECK_EXISTENCE CALL FUNCTION 'SCMS_FILE_CHECK_EXISTENCE' EXPORTING FILENAME = filename_temp FRONTEND = ' ' EXCEPTIONS NOT_FOUND = 1 OTHERS = 2 .
SCMS_FILE_CHECK_EXISTENCE CALL FUNCTION 'SCMS_FILE_CHECK_EXISTENCE' EXPORTING FILENAME = filename_temp FRONTEND = 'X' EXCEPTIONS NOT_FOUND = 1 OTHERS = 2 .
SCMS_FE_SET_REG_SERVER call function 'SCMS_FE_SET_REG_SERVER' exporting destname = 'SAPHTTP' destination = http_dst.
SCMS_FE_SET_REG_SERVER call function 'SCMS_FE_SET_REG_SERVER' exporting destname = 'SAPFTP' destination = ftp_dst.
SYSTEM_UUID_C_CREATE call function 'SYSTEM_UUID_C_CREATE' importing uuid = docid_1_in.
SCMS_FE_UNSET_REG_SERVER call function 'SCMS_FE_UNSET_REG_SERVER' exporting destname = 'SAPHTTP' destination = http_dst.
SCMS_FE_UNSET_REG_SERVER call function 'SCMS_FE_UNSET_REG_SERVER' exporting destname = 'SAPFTP' destination = ftp_dst.
SCMS_DOC_CREATE call function 'SCMS_DOC_CREATE' exporting * MANDT = SY-MANDT stor_cat = cat crep_id = rep doc_id = doc_in doc_prot = doc_prot importing doc_id_out = doc_out tables access_info = acinf content_txt = cont_txt content_bin = cont_bin exceptions error = 1 error_config = 2 others = 3 .
SCMS_DOC_COPY call function 'SCMS_DOC_COPY' exporting * SRC_MANDT = SY-MANDT src_stor_cat = cat_1 src_crep_id = rep_1 src_doc_id = doc_1 * SRC_SIGNATURE = 'X' * DST_MANDT = SY-MANDT dst_stor_cat = cat_2 dst_crep_id = rep_2 * DST_DOC_ID = dst_doc_prot = doc_prot importing doc_id_out = doc_2 exceptions error = 1 error_config = 2 others = 3 .
SCMS_DOC_READ call function 'SCMS_DOC_READ' exporting * MANDT = SY-MANDT stor_cat = cat crep_id = rep doc_id = doc * SIGNATURE = 'X' no_cache = no_cache tables access_info = acinf content_txt = cont_txt content_bin = cont_bin exceptions error = 1 error_config = 1 others = 1 .
SCMS_DOC_INFO call function 'SCMS_DOC_INFO' exporting * MANDT = SY-MANDT stor_cat = cat crep_id = rep doc_id = doc * SIGNATURE = 'X' * IMPORTING * CREA_TIME = * CREA_DATE = * CHNG_TIME = * CHNG_DATE = tables comps = comps exceptions error = 1 not_found = 1 error_config = 2 others = 3 .
SCMS_DOC_DELETE call function 'SCMS_DOC_DELETE' exporting * MANDT = SY-MANDT stor_cat = cat crep_id = rep doc_id = doc * SIGNATURE = 'X' exceptions others = 1 .
SCMS_DOC_READ_FILES call function 'SCMS_DOC_READ_FILES' exporting * MANDT = SY-MANDT stor_cat = cat crep_id = rep doc_id = doc path = path frontend = fe * SIGNATURE = 'X' tables comps = comps comp_names = comp_names exceptions error = 1 error_config = 2 others = 3 .
SCMS_DOC_CREATE_FILES call function 'SCMS_DOC_CREATE_FILES' exporting * MANDT = SY-MANDT stor_cat = cat crep_id = rep doc_id = doc path = path frontend = fe doc_prot = doc_prot importing doc_id_out = doc_out tables comps = comps exceptions error = 1 error_config = 2 others = 3 .
SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting * PERCENTAGE = 0 text = text .
SX_MESSAGE_TEXT_BUILD call function 'SX_MESSAGE_TEXT_BUILD' exporting msgid = sy-msgid msgnr = sy-msgno msgv1 = sy-msgv1 msgv2 = sy-msgv2 msgv3 = sy-msgv3 msgv4 = sy-msgv4 importing message_text_output = message_text.
SCMS_BINARY_TO_TEXT call function 'SCMS_BINARY_TO_TEXT' exporting input_length = ac_inf-comp_size first_line = ac_inf-first_line last_line = ac_inf-last_line * APPEND_TO_TABLE = ' ' mimetype = ac_inf-mimetype * WRAP_LINES = ' ' * IMPORTING * OUTPUT_LENGTH = tables binary_tab = cont_bin text_tab = tmp_txt exceptions others = 1 .
call function 'SCMS_BINARY_TO_TEXT' exporting input_length = ac_inf2-comp_size first_line = ac_inf2-first_line last_line = ac_inf2-last_line * APPEND_TO_TABLE = ' ' mimetype = ac_inf2-mimetype * WRAP_LINES = ' ' * IMPORTING * OUTPUT_LENGTH = tables binary_tab = cont_bin2 text_tab = tmp_txt exceptions others = 1 .
SCMS_DOC_ADJUST call function 'SCMS_DOC_ADJUST' exporting crep_id = space docid = space tables req_access_info = req_inf access_info = ac_inf_1 content_txt = cont_txt_1 content_bin = cont_bin_1 exceptions error_parameter = 1 comp_missing = 2 others = 3.
WS_FILE_DELETE call function 'WS_FILE_DELETE' exporting file = filename IMPORTING RETURN = return.
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 RSCMSTA0 or its description.
RSCMSTA0 - Interface test using function group SCMS-API RSCMSTA0 - Interface test using function group SCMS-API RSCMST - CMS: Test programs RSCMST - CMS: Test programs RSCMSSVI - Initialization for Downtime Management for Content Server RSCMSSVI - Initialization for Downtime Management for Content Server