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

KKA07F01 SAP ABAP INCLUDE - Subprograms for Parallel Processing of WIP







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


Text pool values


Title: Subprograms for Parallel Processing of WIP


INCLUDES used within this REPORT KKA07F01

INCLUDE KKA07T01.


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:

KKPA_PARA_PROCESS_START CALL FUNCTION 'KKPA_PARA_PROCESS_START' EXPORTING RFC_GROUP = P_KKAPARA_IN-RFC_GROUP START_TASK_FORM = 'WIP_START_PARALLEL_TASK' RECEIVE_TASK_FORM = 'WIP_PARA_RESULTS' CALLBACK_PROG = LD_REPID MAX_NO_OF_TASKS = LD_TASK_LIMIT DEBUG_MODE = LD_DEBUG_MODE * importing * statistics = CHANGING USER_PARAM = LD_USERPARAM.

KPEP_WLA_RFC_CONTEXT_PREPARE CALL FUNCTION 'KPEP_WLA_RFC_CONTEXT_PREPARE' "I_46A_SCMA IMPORTING "I_46A_SCMA WL_CONTEXT = SCMA_WORKLISTS_CONTEXT "I_46A_SCMA . "I_46A_SCMA

KKA_PARA_ORDER_WIP CALL FUNCTION 'KKA_PARA_ORDER_WIP' STARTING NEW TASK P_PARA_IMP-TASKNAME DESTINATION P_PARA_IMP-TASKDEST PERFORMING END_OF_TASK_PROC ON END OF TASK EXPORTING I_KKAPARA_IN = P_USER_PARAM-PARAMS TABLES OBJECTS_TAB = LT_OBJECTS VERSION_TAB = P_USER_PARAM-VERSIONS PROTOKOLL_TAB = LT_DUMMY_PROT FEHLAUFT_TAB = LT_DUMMY_FEHLAUFT SCMA_WORKLISTS_CONTEXT = SCMA_WORKLISTS_CONTEXT EXCEPTIONS SYSTEM_FAILURE = 1 MESSAGE LD_RFC_MSG COMMUNICATION_FAILURE = 2 MESSAGE LD_RFC_MSG OTHERS = 3.

CM_F_CMFMSG_MESSAGES_PUT CALL FUNCTION 'CM_F_CMFMSG_MESSAGES_PUT' EXPORTING APPEND_SAME_MSG = 'X' "weil z.Z. noch Meldungen pro Auft

CO_APPL_LOG_APPEND_AUFNR CALL FUNCTION 'CO_APPL_LOG_APPEND_AUFNR' EXPORTING AUFNR = LT_FEHLAUFT-AUFNR.

KPEP_WLA_RFC_CONTEXT_INTERPRET CALL FUNCTION 'KPEP_WLA_RFC_CONTEXT_INTERPRET' EXPORTING wl_context = SCMA_WORKLISTS_CONTEXT .

CM_F_SET_OBJECT * call function 'CM_F_SET_OBJECT' "30F_rk003 * exporting "30F_rk003 * object = t_auftrag-aufnr "30F_rk003 * object_id = abgr_object_id. "30F_rk003

CM_F_MESSAGE CALL FUNCTION 'CM_F_MESSAGE' EXPORTING ARBGB = 'RK' MSGNR = '003' MSGTY = 'E' MSGV1 = T_AUFTRAG-AUFNR MSGV2 = P_PARA_IMP-TASKDEST MSGV3 = KKPA_RFC_SUBRC_TXT-SYSTEM_FAILURE MSGV4 = LD_RFC_MSG OBJECT_DEPENDENT = 'X'.

CM_F_INFO CALL FUNCTION 'CM_F_INFO' "187150 EXPORTING all = 'X' aplid = abgr_aplid object = abgr_object_id IMPORTING msg_counter_pro = gd_num_msgs_new EXCEPTIONS wrong_object_id = 0 OTHERS = 0.

CO_APPL_LOG_APPEND_AUFNR CALL FUNCTION 'CO_APPL_LOG_APPEND_AUFNR' EXPORTING AUFNR = T_AUFTRAG-AUFNR.

CM_F_SET_OBJECT * call function 'CM_F_SET_OBJECT' "30F_rk003 * exporting "30F_rk003 * object = t_auftrag-aufnr "30F_rk003 * object_id = abgr_object_id. "30F_rk003

CM_F_MESSAGE CALL FUNCTION 'CM_F_MESSAGE' EXPORTING ARBGB = 'RK' MSGNR = '003' MSGTY = 'E' MSGV1 = T_AUFTRAG-AUFNR MSGV2 = P_PARA_IMP-TASKDEST MSGV3 = KKPA_RFC_SUBRC_TXT-APPLICATION_ERROR MSGV4 = LD_RFC_MSG OBJECT_DEPENDENT = 'X'.

CM_F_INFO CALL FUNCTION 'CM_F_INFO' "187150 EXPORTING all = 'X' aplid = abgr_aplid object = abgr_object_id IMPORTING msg_counter_pro = gd_num_msgs_new EXCEPTIONS wrong_object_id = 0 OTHERS = 0.

CO_APPL_LOG_APPEND_AUFNR CALL FUNCTION 'CO_APPL_LOG_APPEND_AUFNR' EXPORTING AUFNR = T_AUFTRAG-AUFNR.

KPEP_WLA_RFC_CONTEXT_INIT CALL FUNCTION 'KPEP_WLA_RFC_CONTEXT_INIT' EXPORTING wl_context = PT_SCMA_WL_CONTEXT[] .

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 OCS_ACTIV = NO REFRESH_OLD_LOG = YES NO_OTHER_INITIALIZE = YES "H400509 NO_DISPLAY_ON_ABORT = 'X' "45B_RFC SMSG_INITIALIZE = NO.

CM_F_MESSAGES_GET CALL FUNCTION 'CM_F_MESSAGES_GET' * EXPORTING * APLID = ' ' TABLES E_MSGPROT = PT_PROTOKOLL.

KPEP_WLA_RFC_CONTEXT_EXIT CALL FUNCTION 'KPEP_WLA_RFC_CONTEXT_EXIT' IMPORTING WL_CONTEXT = PT_SCMA_WL_CONTEXT[] .



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