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

RSCMSTH1 SAP ABAP Report - HTTP interface test using function group SCMS_HTTP







RSCMSTH1 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 RSCMSTH1 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 RSCMSTH1. "Basic submit
SUBMIT RSCMSTH1 AND RETURN. "Return to original report after report execution complete
SUBMIT RSCMSTH1 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: ARCHIVE = Repository
Selection Text: BEPATH = Backend path
Selection Text: FEPATH = Frontend path
Title: HTTP interface test using function group SCMS_HTTP


INCLUDES used within this REPORT RSCMSTH1

INCLUDE SCMS_DEFS.


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

SYSTEM_UUID_C_CREATE CALL FUNCTION 'SYSTEM_UUID_C_CREATE' IMPORTING UUID = UNKNOWN.

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_HTTP_CREATE_FILES CALL FUNCTION 'SCMS_HTTP_CREATE_FILES' EXPORTING CREP_ID = ARCHIVE * DOC_ID = PATH = PATH * SIGNATURE = 'X' DOC_PROT = PROT FRONTEND = FE IMPORTING DOC_ID_OUT = DOCID TABLES COMPS = COMPS EXCEPTIONS ERROR_HTTP = 1 OTHERS = 2 .

SCMS_HTTP_UPDATE CALL FUNCTION 'SCMS_HTTP_UPDATE' EXPORTING CREP_ID = ARCHIVE DOC_ID = DOC_ID COMP_ID = COMP_ID MIMETYPE = MIMETYPE LENGTH = LEN * SIGNATURE = 'X' TABLES DATA = DATA EXCEPTIONS ERROR_HTTP = 1 OTHERS = 2 .

SCMS_HTTP_DELETE CALL FUNCTION 'SCMS_HTTP_DELETE' EXPORTING CREP_ID = ARCHIVE DOC_ID = DOCID COMP_ID = COMPID * SIGNATURE = 'X' EXCEPTIONS NOT_FOUND = 1 OTHERS = 2 .

SCMS_HTTP_COPY CALL FUNCTION 'SCMS_HTTP_COPY' EXPORTING SRC_CREP_ID = ARCHIVE SRC_DOC_ID = DOC_ID_1 * SRC_SIGNATURE = 'X' DST_CREP_ID = ARCHIVE * DST_DOC_ID = * DST_SIGNATURE = 'X' * DST_DOC_PROT = ' ' IMPORTING DOC_ID = DOC_ID_2 EXCEPTIONS ERROR_HTTP = 1 OTHERS = 2 .

SCMS_HTTP_INFO CALL FUNCTION 'SCMS_HTTP_INFO' EXPORTING CREP_ID = ARCHIVE DOC_ID = DOC_ID COMP_ID = COMP_ID * SIGNATURE = 'X' * IMPORTING * STATUS = * ARCH_DATE = * ARCH_TIME = * DATA_MIMETYPE = * DATA_VERSION = * DATA_CHARSET = TABLES COMPS = COMPS EXCEPTIONS ERROR_HTTP = 1 OTHERS = 2 .

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_PUT_CERT CALL FUNCTION 'SCMS_HTTP_PUT_CERT' EXPORTING CREP_ID = ARCHIVE EXCEPTIONS ERROR_HTTP = 1 OTHERS = 2.

SCMS_UPLOAD CALL FUNCTION 'SCMS_UPLOAD' EXPORTING FILENAME = FILENAME * BINARY = 'X' FRONTEND = ' ' IMPORTING FILESIZE = LEN TABLES DATA = BUFFER EXCEPTIONS ERROR = 1 OTHERS = 2 .

SCMS_DOWNLOAD CALL FUNCTION 'SCMS_DOWNLOAD' EXPORTING FILENAME = FE_FILENAME FILESIZE = LEN * BINARY = 'X' * FRONTEND = 'X' TABLES DATA = BUFFER EXCEPTIONS ERROR = 1 OTHERS = 2 .

WS_FILE_DELETE CALL FUNCTION 'WS_FILE_DELETE' EXPORTING FILE = FILENAME * IMPORTING * RETURN = .



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