SAP Reports / Programs | Cross-Application Components | Classification | Classes(CA-CL-CLS) SAP CA

RMCLTEXT SAP ABAP Report - Copy Long Texts to Existing Classes in Background







RMCLTEXT is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Program for copying long texts to existing classes...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RMCLTEXT into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

CL6T - Copy Text for Classes


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 RMCLTEXT. "Basic submit
SUBMIT RMCLTEXT AND RETURN. "Return to original report after report execution complete
SUBMIT RMCLTEXT VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Copy Long Texts to Existing Classes in Background
Text Symbol: 001 = Text already exists:
Text Symbol: 002 = Class


INCLUDES used within this REPORT RMCLTEXT

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_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING logical_filename = gc_input including_dir = 'X' IMPORTING file_name = ds_name EXCEPTIONS others = 1.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_input CHANGING physical_filename = ds_name EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 4.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_input CHANGING physical_filename = ds_name EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 4.

INIT_TEXT CALL FUNCTION 'INIT_TEXT' EXPORTING ID = THEADER-TDID LANGUAGE = THEADER-TDSPRAS OBJECT = THEADER-TDOBJECT NAME = THEADER-TDNAME IMPORTING HEADER = THEADER TABLES LINES = TLINES EXCEPTIONS ID = 1 LANGUAGE = 2 NAME = 3 OBJECT = 4.

COMMIT_TEXT CALL FUNCTION 'COMMIT_TEXT' IMPORTING COMMIT_COUNT = SY-INDEX.

CLMA_CLASS_EXIST CALL FUNCTION 'CLMA_CLASS_EXIST' EXPORTING CLASS = LCLASS CLASSTYPE = LKLART DESCRIPTION_ONLY = SPACE DATE = SY-DATUM IMPORTING RET_CODE = RETCODE XKLAH = KLAH NOT_VALID = INVALID NO_AUTHORITY_MAINTAIN = NOAUTH EXCEPTIONS NO_VALID_SIGN = 1.

SAVE_TEXT CALL FUNCTION 'SAVE_TEXT' EXPORTING HEADER = THEADER IMPORTING NEWHEADER = THEADER TABLES LINES = TLINES EXCEPTIONS ID = 1 LANGUAGE = 2 NAME = 3 OBJECT = 4.



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