SAP Reports / Programs

RKC_COMMENT_CONVERT_40C SAP ABAP Report - Conversion of comments from 30 - 31 after 4.0C and later







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


Text pool values


Title: Conversion of comments from 30 - 31 after 4.0C and later
Text Symbol: DON = Comment was already converted
Text Symbol: NRD = Old comment can not be read
Text Symbol: NWR = Converted comment can not be written
Text Symbol: PGR = &1 of &2 comments converted


INCLUDES used within this REPORT RKC_COMMENT_CONVERT_40C

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:

RKC_OFFICE_DOCUMENT_MAINTAIN CALL FUNCTION 'RKC_OFFICE_DOCUMENT_MAINTAIN' EXPORTING I_FUNCTION = C_O_METH_DISP CHANGING CH_OBJ_KEY = G_OBJ_KEY.

EDIT_TEXT CALL FUNCTION 'EDIT_TEXT' EXPORTING * DISPLAY = ' ' * EDITOR_TITLE = ' ' HEADER = L_SCR_HEAD * PAGE = ' ' * WINDOW = ' ' * SAVE = 'X' * LINE_EDITOR = ' ' * CONTROL = ' ' * PROGRAM = ' ' * IMPORTING * FUNCTION = * NEWHEADER = * RESULT = TABLES LINES = L_TEXT_LINES EXCEPTIONS ID = 1 LANGUAGE = 2 LINESIZE = 3 NAME = 4 OBJECT = 5 TEXTFORMAT = 6 COMMUNICATION = 7 OTHERS = 8.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING * PERCENTAGE = 0 TEXT = L_TEXT.

INIT_TEXT CALL FUNCTION 'INIT_TEXT' EXPORTING ID = C_COMM LANGUAGE = SY-LANGU NAME = L_SCR_KEY OBJECT = C_SCR_OBJ IMPORTING HEADER = E_SCR_HEAD TABLES LINES = L_DUMMY_LINES EXCEPTIONS ID = 1 LANGUAGE = 2 NAME = 3 OBJECT = 4 OTHERS = 5.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING * CLIENT = SY-MANDT ID = C_COMM LANGUAGE = SY-LANGU NAME = L_SCR_KEY OBJECT = C_SCR_OBJ * ARCHIVE_HANDLE = 0 IMPORTING HEADER = E_SCR_HEAD TABLES LINES = E_TEXT_LINES EXCEPTIONS ID = 1 LANGUAGE = 2 NAME = 3 NOT_FOUND = 4 OBJECT = 5 REFERENCE_CHECK = 6 WRONG_ACCESS_TO_ARCHIVE = 7 OTHERS = 8.

SO_FOLDER_ROOT_ID_GET CALL FUNCTION 'SO_FOLDER_ROOT_ID_GET' EXPORTING REGION = 'B' IMPORTING FOLDER_ID = L_FOLDER_ID_1.

SO_DOCUMENT_INSERT_API1 CALL FUNCTION 'SO_DOCUMENT_INSERT_API1' EXPORTING FOLDER_ID = L_FOLDER_ID_2 DOCUMENT_DATA = L_DOCUMENT_DATA DOCUMENT_TYPE = L_DOCUMENT_TYPE IMPORTING DOCUMENT_INFO = L_DOCUMENT_INFO TABLES OBJECT_CONTENT = L_OBJCONT EXCEPTIONS FOLDER_NOT_EXIST = 1 DOCUMENT_TYPE_NOT_EXIST = 2 OPERATION_NO_AUTHORIZATION = 3 PARAMETER_ERROR = 4 X_ERROR = 5 ENQUEUE_ERROR = 6 OTHERS = 7.

REPORT_DIRECTORY_READ CALL FUNCTION 'REPORT_DIRECTORY_READ' EXPORTING REPORT_PARAMETER_IN = L_RKB1D IMPORTING REPORT_PARAMETER = L_RKB1D EXCEPTIONS NO_REPORT = 1 UMSETZEN = 2 OTHERS = 3.

RKD_RKB1X_SET CALL FUNCTION 'RKD_RKB1X_SET' EXPORTING APPLCLASS = 'KC' I_GET_TABLE = '0' I_RKB1X = L_RKB1X IMPORTING E_RKB1X = L_RKB1X.

RKD_REPORT_IMPORT_C CALL FUNCTION 'RKD_REPORT_IMPORT_C' EXPORTING I_RKB1X = L_RKB1X IMPORT_MODE = '1' GENERATE_SUPPRESS = 'X' IMPORTING E_REPORT = L_S_REPORT CHANGING C_RKB1D = L_RKB1D.

RKD_REPORT_EXPORT_C CALL FUNCTION 'RKD_REPORT_EXPORT_C' EXPORTING I_RKB1D = L_RKB1D I_REPORT = L_S_REPORT.



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