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

RSCMSTCV SAP ABAP Report - Test program for function module SCMS_CVT







RSCMSTCV 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 RSCMSTCV 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 RSCMSTCV. "Basic submit
SUBMIT RSCMSTCV AND RETURN. "Return to original report after report execution complete
SUBMIT RSCMSTCV 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: FILENAM2 = Filename 2
Selection Text: FILENAME = Filename 1
Title: Test program for function module SCMS_CVT


INCLUDES used within this REPORT RSCMSTCV

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 = FILENAME EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 3 .

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

SCMS_TEXT_UNPACK CALL FUNCTION 'SCMS_TEXT_UNPACK' EXPORTING CONTENT_LENGTH = LENGTH * APPEND_TO_TABLE = ' ' * FIRST_LINE = 0 * LAST_LINE = 0 * TRANSLATE = 'X' TABLES DATA_BIN = BIN DATA_TXT = TXT EXCEPTIONS FAILED = 1 OTHERS = 2 .

SCMS_TEXT_PACK CALL FUNCTION 'SCMS_TEXT_PACK' * EXPORTING * FIRST_LINE = 0 * LAST_LINE = 0 * APPEND_TO_TABLE = ' ' * TRANSLATE = 'X' IMPORTING CONTENT_LENGTH = LENGTH2 TABLES DATA_TXT = TXT DATA_BIN = BIN2 EXCEPTIONS FAILED = 1 OTHERS = 2 .

SCMS_TEXT_UNPACK CALL FUNCTION 'SCMS_TEXT_UNPACK' EXPORTING CONTENT_LENGTH = LENGTH2 * APPEND_TO_TABLE = ' ' * FIRST_LINE = 0 * LAST_LINE = 0 * TRANSLATE = 'X' TABLES DATA_BIN = BIN2 DATA_TXT = TXT2 EXCEPTIONS FAILED = 1 OTHERS = 2 .

SCMS_DOWNLOAD CALL FUNCTION 'SCMS_DOWNLOAD' EXPORTING FILENAME = FILENAM2 FILESIZE = LENGTH2 * BINARY = 'X' * FRONTEND = 'X' TABLES DATA = BIN2 EXCEPTIONS ERROR = 1 OTHERS = 2 .

SCMS_TEXT_PACK CALL FUNCTION 'SCMS_TEXT_PACK' * EXPORTING * FIRST_LINE = 0 * LAST_LINE = 0 * APPEND_TO_TABLE = ' ' * TRANSLATE = 'X' IMPORTING CONTENT_LENGTH = LENGTH2 TABLES DATA_TXT = TXT2 DATA_BIN = BIN EXCEPTIONS FAILED = 1 OTHERS = 2 .

SCMS_TEXT_UNPACK CALL FUNCTION 'SCMS_TEXT_UNPACK' EXPORTING CONTENT_LENGTH = LENGTH * APPEND_TO_TABLE = ' ' * FIRST_LINE = 0 * LAST_LINE = 0 * TRANSLATE = 'X' TABLES DATA_BIN = BIN DATA_TXT = TXT EXCEPTIONS FAILED = 1 OTHERS = 2 .



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