SAP Reports / Programs | Controlling | Product Cost Controlling | Cost Object Controlling(CO-PC-OBJ) SAP CO

RKKPKTR0 SAP ABAP Report - CO-PC: Create Cost Objects/Product Groups (List Processing)







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


Transaction Code(s):

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

KKPH - Collective Entry


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 RKKPKTR0. "Basic submit
SUBMIT RKKPKTR0 AND RETURN. "Return to original report after report execution complete
SUBMIT RKKPKTR0 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: 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.


INCLUDES used within this REPORT RKKPKTR0

INCLUDE RKKPHDAT.


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:

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'.



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