SAP Reports / Programs

RSCMSTH2 SAP ABAP Report - HTTP interface test using function group SCMS_HTTP (docProt)







RSCMSTH2 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 RSCMSTH2 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 RSCMSTH2. "Basic submit
SUBMIT RSCMSTH2 AND RETURN. "Return to original report after report execution complete
SUBMIT RSCMSTH2 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: M_KB = Medium [KB]
Selection Text: NCOMPS = No. of components
Selection Text: SECUR = Test security
Selection Text: S_KB = Small [KB]
Selection Text: TIMED = Maximum time interval
Selection Text: ARCHIVE = Repository
Selection Text: CHKERR = Test erroneous behavior
Selection Text: COUNT = Number of test runs
Selection Text: L_KB = Large [KB]
Title: HTTP interface test using function group SCMS_HTTP (docProt)


INCLUDES used within this REPORT RSCMSTH2

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:

SYSTEM_UUID_C_CREATE call function 'SYSTEM_UUID_C_CREATE' importing uuid = docid_u.

SCMS_HTTP_SERVER_INFO call function 'SCMS_HTTP_SERVER_INFO' exporting crep_id = archive 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_HTTP_CREATE_TABLE call function 'SCMS_HTTP_CREATE_TABLE' exporting crep_id = archive * DOC_ID = * SIGNATURE = 'X' doc_prot = prot * SECURITY = ' ' importing doc_id_out = docid tables comps = doc-scms_comp data = doc-data exceptions error_http = 1 others = 2 .

SCMS_HTTP_UPDATE_TABLE call function 'SCMS_HTTP_UPDATE_TABLE' exporting crep_id = archive doc_id = docid * SIGNATURE = 'X' accessmode = prot * SECURITY = ' ' no_log = nolog tables comps = doc-scms_comp data = doc-data exceptions not_found = 1 unauthorized = 2 others = 3 .

SCMS_HTTP_GET call function 'SCMS_HTTP_GET' exporting crep_id = archive doc_id = docid comp_id = compid * OFFSET = 0 length = -1 * SIGNATURE = 'X' * SECURITY = ' ' no_cache = no_cache importing length = comp-size mimetype = comp-type * CHARSET = * VERSION = tables data = comp-bin exceptions not_found = 1 others = 2 .

SCMS_HTTP_GET call function 'SCMS_HTTP_GET' exporting crep_id = archive doc_id = docid comp_id = compid * OFFSET = 0 length = -1 SIGNATURE = ' ' * SECURITY = ' ' no_cache = no_cache importing length = comp-size mimetype = comp-type * CHARSET = * VERSION = tables data = comp-bin exceptions not_found = 1 others = 2 .

SCMS_HTTP_DELETE call function 'SCMS_HTTP_DELETE' exporting crep_id = archive doc_id = docid comp_id = compid * SIGNATURE = 'X' accessmode = accessmode no_log = nolog exceptions not_found = 1 unauthorized = 2 others = 3 .

SCMS_HTTP_INFO call function 'SCMS_HTTP_INFO' exporting crep_id = archive doc_id = doc_id comp_id = comp_id * SIGNATURE = 'X' accessmode = accessmode no_log = nolog importing * STATUS = arch_date = info-datec arch_time = info-timec chng_date = info-datem chng_time = info-timem * DATA_MIMETYPE = * DATA_VERSION = * DATA_CHARSET = tables comps = info-comps exceptions error_http = 1 unauthorized = 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_TEXT_TO_BINARY call function 'SCMS_TEXT_TO_BINARY' * EXPORTING * FIRST_LINE = 0 * LAST_LINE = 0 * APPEND_TO_TABLE = ' ' * MIMETYPE = ' ' importing output_length = comp-size tables text_tab = text_tab binary_tab = comp-bin 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 RSCMSTH2 or its description.