RKKPKTR0 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 RKKPKTR0 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
KKPH - Collective Entry
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.
Selection Text: P_KTRAT = Cost Object Category
Title: CO-PC: Create Cost Objects/Product Groups (List Processing)
Text Symbol: ABR = Cancel
Text Symbol: COM = Please confirm the entries to be saved by saving again.
Text Symbol: END = Exit
Text Symbol: ERR = The faulty entries cannot be saved.
INCLUDE RKKPHDAT.
No SAP DATABASE tables are accessed within this REPORT code!
K_KKP0_ROLLBACK_WORK CALL FUNCTION 'K_KKP0_ROLLBACK_WORK'.
K_COST_OBJECTS_CREATE CALL FUNCTION 'K_COST_OBJECTS_CREATE' EXPORTING I_SCREEN = 'X' I_MSG_SEND = KKP0_C_MSG-PROT I_KTRAT = P_KTRAT I_WITH_PROFILE = X IMPORTING E_COMMIT = L_COMMIT E_EXIT_BY_USER = L_EXIT E_CKPHS = G_CKPHS TABLES T_OBJECT_ENTRY = PT_ENTRY EXCEPTIONS OTHERS = 1.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = G_REPID I_CALLBACK_PF_STATUS_SET = 'LIST_STATUS_SET' I_CALLBACK_USER_COMMAND = 'LIST_USER_COMMAND' IS_LAYOUT = G_LAYOUT IT_FIELDCAT = GT_FIELDCAT IT_EVENTS = GT_EVENT TABLES T_OUTTAB = GT_ENTRY.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gd_alv_listheader[].
K_COST_OBJECT_GET_FIELD_CAT CALL FUNCTION 'K_COST_OBJECT_GET_FIELD_CAT' EXPORTING I_KTRTP = P_KTRTP TABLES T_FIELD_CAT = LT_FNAME.
K_KSTRG_FIELD_GET_INFO CALL FUNCTION 'K_KSTRG_FIELD_GET_INFO' EXPORTING I_KTRTP = P_KTRTP I_FIELDNAME = 'KSTRG' IMPORTING E_TABNAME = P_FIELD-REF_TABNAME E_FIELDNAME = P_FIELD-REF_FIELDNAME.
K_KSTRG_FIELD_GET_INFO CALL FUNCTION 'K_KSTRG_FIELD_GET_INFO' EXPORTING I_KTRTP = P_KTRTP I_FIELDNAME = 'UEKTR' IMPORTING E_TABNAME = P_FIELD-REF_TABNAME E_FIELDNAME = P_FIELD-REF_FIELDNAME.
CM_F_INITIALIZE CALL FUNCTION 'CM_F_INITIALIZE' EXPORTING APLID = 'KKP' SMSG_INITIALIZE = 'X'.
MESSAGES_COUNT CALL FUNCTION 'MESSAGES_COUNT' IMPORTING COUNT = P_COUNT MAX_SEVERITY = P_SEVERITY.
CM_F_SMSG_MESSAGES_READ CALL FUNCTION 'CM_F_SMSG_MESSAGES_READ' EXPORTING APPEND_SAME_MSG = 'X'.
CM_F_ANALYSIS CALL FUNCTION 'CM_F_ANALYSIS' EXPORTING APLID = 'KKP'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RKKPKTR0 - CO-PC: Create Cost Objects/Product Groups (List Processing) RKKPKTR0 - CO-PC: Create Cost Objects/Product Groups (List Processing) RKKPINC0 - Process Mfg: Auxiliary Functions for General Hierarchy Table KKHIE RKKPHIE2 - Maintain Cost Object Hierarchy RKKPHIE2 - Maintain Cost Object Hierarchy RKKPHIE1 - Display Cost Object Hierarchy: Selection