SAP Reports / Programs

RSCMSTAT SAP ABAP Report - Interface test using function group SCMS_API/SCMS_TR (transport)







RSCMSTAT 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 RSCMSTAT 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 RSCMSTAT. "Basic submit
SUBMIT RSCMSTAT AND RETURN. "Return to original report after report execution complete
SUBMIT RSCMSTAT 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: BE_PATH = Transport file (directory)
Selection Text: CAT = Category
Selection Text: FILE = Transport file (file name)
Selection Text: IGNTIME = Ignore time specifications
Selection Text: NCOMPS = No. of components
Selection Text: NDOCS = Number of documents
Selection Text: REP = Repository
Selection Text: RFCDEST = RFC destination (SAPKPROTP)
Selection Text: SIZE_KB = Size per Component [KB]
Title: Interface test using function group SCMS_API/SCMS_TR (transport)


INCLUDES used within this REPORT RSCMSTAT

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:

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING * CLIENT = SY-MANDT LOGICAL_FILENAME = 'KPRO_IMPORT_EXPORT' * PARAMETER_1 = ' ' * PARAMETER_2 = ' ' * PARAMETER_3 = ' ' * WITH_FILE_EXTENSION = ' ' * USE_BUFFER = ' ' * ELIMINATE_BLANKS = 'X' IMPORTING VALIDATION_ACTIVE = validate_file * TS_ALIAS = CHANGING PHYSICAL_FILENAME = path EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 3.

SYSTEM_UUID_C_CREATE call function 'SYSTEM_UUID_C_CREATE' importing uuid = id.

SYSTEM_UUID_C_CREATE call function 'SYSTEM_UUID_C_CREATE' importing uuid = id.

SCMS_TEXT_TO_BINARY call function 'SCMS_TEXT_TO_BINARY' exporting * FIRST_LINE = 0 * LAST_LINE = 0 append_to_table = 'X' * MIMETYPE = ' ' importing output_length = comp-size tables text_tab = text_tab binary_tab = data exceptions others = 1 .

SCMS_HTTP_SERVER_INFO call function 'SCMS_HTTP_SERVER_INFO' exporting crep_id = rep importing server_status = server_status server_vendor = server_vendor server_version = server_version server_build = server_build server_time = server_time server_date = server_date server_status_description = server_status_description server_pversion = server_pversion contrep_description = contrep_description contrep_status = contrep_status contrep_status_description = contrep_status_description exceptions error_http = 1 others = 2.

SCMS_DOC_CREATE call function 'SCMS_DOC_CREATE' exporting * MANDT = SY-MANDT stor_cat = cat crep_id = rep * DOC_ID = doc_prot = doc_prot importing doc_id_out = doc_id tables access_info = acinf * CONTENT_TXT = content_bin = cont_bin 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' importing from_cache = cache tables access_info = acinf content_txt = cont_txt content_bin = cont_bin exceptions error = 1 error_config = 1 others = 1 .

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_TR_EXPORT call function 'SCMS_TR_EXPORT' exporting datafile = path test_repository = rep destination = rfcdest request = request tables documents = documents protocol = prot.

SCMS_TR_IMPORT call function 'SCMS_TR_IMPORT' exporting datafile = path test_repository = rep destination = rfcdest request = request tables protocol = prot.

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 .

SCMS_BINARY_TO_TEXT 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 .

SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting * PERCENTAGE = 0 text = text .



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