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

SAPKKA04 SAP ABAP Report - List Error Logs for Results Analysis and WIP Calculation







SAPKKA04 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 SAPKKA04 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

KKAL - Results Analysis: Display Log


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


Text pool values


List of Error Logs for Results Analysis and WIP Calculation
Selection Text: MSGDATUM = Date
Selection Text: MSGNR = Number
Selection Text: MSGUNAME = User Name
Title: List Error Logs for Results Analysis and WIP Calculation
Text Symbol: AUF = Order
001 Number Date User Name


INCLUDES used within this REPORT SAPKKA04

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:

CM_F_INFO CALL FUNCTION 'CM_F_INFO' EXPORTING ALL = YES APLID = ABGR_APLID * object_id = abgr_object_id "P30K049339 OBJECT_ID = PAR_OBJ_ID "P30K049339 * OBJECT = ' ' IMPORTING A_MSG_COUNTER_PRO = A_MSG_NR E_MSG_COUNTER_PRO = E_MSG_NR I_MSG_COUNTER_PRO = I_MSG_NR MSG_COUNTER_PRO = MSG_NR W_MSG_COUNTER_PRO = W_MSG_NR.

CM_F_ANALYSIS CALL FUNCTION 'CM_F_ANALYSIS' EXPORTING APLID = ABGR_APLID.

CM_F_PROTOCOL_PRINT CALL FUNCTION 'CM_F_PROTOCOL_PRINT' EXPORTING APLID = ABGR_APLID HEADLINE = ' ' * OBJECT_ID = ABGR_OBJECT_ID "99.DEL

CM_F_INITIALIZE CALL FUNCTION 'CM_F_INITIALIZE' EXPORTING ABORT_MSGTY = ABGR_ABORT_MSGTY APLID = ABGR_APLID MSG_ON_SCREEN = NO * object_id = abgr_object_id "P30K049339 OBJECT_ID = PAR_OBJ_ID "P30K049339 OCS_ACTIV = NO REFRESH_OLD_LOG = YES SMSG_INITIALIZE = NO.

CM_F_LOAD CALL FUNCTION 'CM_F_LOAD' EXPORTING CMF_NR = NR.

CM_F_DELETE_LOG_ON_DB CALL FUNCTION 'CM_F_DELETE_LOG_ON_DB' EXPORTING APLID = ABGR_APLID CMF_NR = NR.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = I_REPID I_CALLBACK_PF_STATUS_SET = LC_PFSTATUS IT_FIELDCAT = LT_FIELDCAT IT_EVENTS = LT_EVENTTAB TABLES T_OUTTAB = IT_OUTPUT_FIELDS EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_STRUCTURE_NAME = LC_STRNAME CHANGING CT_FIELDCAT = XT_FIELDCAT EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = XT_EVENTTAB EXCEPTIONS LIST_TYPE_WRONG = 1 OTHERS = 2.



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