SAP Reports / Programs

RK2PCHIT SAP ABAP INCLUDE - Text elements for RKEVRK2P







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


Text pool values


Title: Text elements for RKEVRK2P
Text Symbol: 010 = Text selection


INCLUDES used within this REPORT RK2PCHIT

INCLUDE RKEPL001.
INCLUDE KPPXI001.
INCLUDE KPPXI003.


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:

RKE_SHORT_TEXT_ALL CALL FUNCTION 'RKE_SHORT_TEXT_ALL' EXPORTING I_ERKRS = G_ERKRS I_PA_TYPE = L_PATYPE IS_CE0 = IS_CE0 I_EXIT_AFTER_FIRST_ERROR = RKEA1_ON IMPORTING E_SUBRC = L_SUBRC TABLES IT_CHECK_FIELDS = LT_CHECK_FIELDS.

RKE_TRANSFORM_STRUCTURE CALL FUNCTION 'RKE_TRANSFORM_STRUCTURE' EXPORTING ERKRS = G_ERKRS FROM_AREA = I_CE0 FROM_TABNAME = CE0NAME * POS = '1' TO_AREA_IMPORT = I_CE4 TO_TABNAME = CE4NAME IMPORTING * POS = TO_AREA_EXPORT = I_CE4.

RKE_GET_ALL_OBJECT_NUMBERS CALL FUNCTION 'RKE_GET_ALL_OBJECT_NUMBERS' EXPORTING ERKRS = G_ERKRS I_CE4 = I_CE4 TABLES T_CE4 = T_CE4.

SELECT_TEXT CALL FUNCTION 'SELECT_TEXT' EXPORTING * DATABASE_ONLY = ' ' ID = C_TDID LANGUAGE = SY-LANGU NAME = TDNAME OBJECT = C_TDOBJECT * TEXTMEMORY_ONLY = ' ' * ARCHIVE_HANDLE = 0 IMPORTING ENTRIES = TFILL.

RKE_GET_CE4KEY CALL FUNCTION 'RKE_GET_CE4KEY' EXPORTING I_ERKRS = G_ERKRS I_PA_TYPE = V_PA_TYPE I_APPLY_CCU = ' ' TABLES OBJECT_TABLE = T_CE4.

READ_TEXT_INLINE CALL FUNCTION 'READ_TEXT_INLINE' EXPORTING ID = C_TDID INLINE_COUNT = 1 LANGUAGE = SY-LANGU NAME = TDNAME OBJECT = C_TDOBJECT IMPORTING HEADER = THEAD TABLES INLINES = T_INLINETAB LINES = T_LINETAB EXCEPTIONS NOT_FOUND = 1.

RKE_SEND_SELECTION_SCREEN CALL FUNCTION 'RKE_SEND_SELECTION_SCREEN' EXPORTING * DETAIL = ' ' * DISPLAY_MODUS = '1' * D_FORM_NAME = ' ' * D_PROGRAM_NAME = ' ' EINF_MEHRF = 'E' * START_COLUMN = 6 * START_ROW = 4 * TEXT_LENGTH = 40 * WINDOW_LENGTH = 12 WINDOW_TITLE = TEXT-010 WINDOW_WIDTH = 50 * EXECUTE = ' ' TABLES SEL_TABLE = SEL EXCEPTIONS ABNORMAL_LEAVE = 1.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING ID = C_TDID LANGUAGE = SY-LANGU NAME = TDNAME OBJECT = C_TDOBJECT * ARCHIVE_HANDLE = 0 IMPORTING HEADER = THEAD TABLES LINES = T_LINETAB EXCEPTIONS NOT_FOUND = 8.

INIT_TEXT CALL FUNCTION 'INIT_TEXT' EXPORTING ID = C_TDID LANGUAGE = SY-LANGU NAME = TDNAME OBJECT = C_TDOBJECT IMPORTING HEADER = THEAD TABLES LINES = T_LINETAB.

EDIT_TEXT CALL FUNCTION 'EDIT_TEXT' EXPORTING DISPLAY = V_DISPLAY * EDITOR_TITLE = ' ' HEADER = THEAD * SAVE = 'X' * CONTROL = ' ' IMPORTING FUNCTION = TXFUNCTION TABLES LINES = T_LINETAB.

RKE_FILL_FIELD_TABLE CALL FUNCTION 'RKE_FILL_FIELD_TABLE' EXPORTING ERKRS = G_ERKRS TABNAME = G_CE0NAME PA_TYPE = G_PA_TYPE TABLES FIELDTAB = GT_FIELDTAB.

RECHERCHE_READ_TR_PREPARE CALL FUNCTION 'RECHERCHE_READ_TR_PREPARE' EXPORTING APPLCLASS = 'KE' TABNAME = G_TABNAME IMPORTING HANDLE = L_HANDLE MODE = L_MODE TABLES SELECTION_TABLE = IT_SELTAB SELECTED_FIELDS = IT_SELECTED_FIELDS.

RKE_READ_OBJECTS CALL FUNCTION 'RKE_READ_OBJECTS' EXPORTING ERKRS = G_ERKRS S_FORM_NAME = 'GET_PAKET' S_PROGRAM_NAME = L_REPNAM PA_TYPE = G_PA_TYPE TABLES SELECTION_TABLE = IT_SELTAB EXCEPTIONS NO_RECORD_FOUND = 05.

RECHERCHE_READ_TR_HANDLE_INFO CALL FUNCTION 'RECHERCHE_READ_TR_HANDLE_INFO' EXPORTING HANDLE = L_HANDLE IMPORTING TRCATNR = E_TRCATNR.

RECHERCHE_READ_TR_READ CALL FUNCTION 'RECHERCHE_READ_TR_READ' EXPORTING HANDLE = L_HANDLE READ_ACTUAL = 'X' READ_DIRTY = ' ' SHOW_PROGRESS = 'X' S_PROGRAM_NAME = L_REPNAM S_FORM_NAME = 'GET_PAKET' EXCEPTIONS FOREIGN_LOCK = 1.

RECHERCHE_READ_TR_CLOSE CALL FUNCTION 'RECHERCHE_READ_TR_CLOSE' EXPORTING HANDLE = L_HANDLE.

RKE_PLANNING_EXIT_CALL CALL FUNCTION 'RKE_PLANNING_EXIT_CALL' EXPORTING I_ERKRS = G_ERKRS I_PA_TYPE = G_PA_TYPE I_EXITNR = I_EXITNR I_EXITM = I_EXITM IS_PLANNING_EXIT = IS_PLANNING_EXIT TABLES XTH_CE0_TARGET = LT_CE0_WORK XTH_CE0_REFERENCE = LT_CE0_REF EXCEPTIONS ERROR = 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 RK2PCHIT or its description.