SAP Reports / Programs | Controlling | Overhead Cost Controlling | Activity Types(CO-OM-ACT) SAP CO

MKACTF21 SAP ABAP INCLUDE - Form Routines: Additional Program Parts







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


Text pool values


Title: Form Routines: Additional Program Parts


INCLUDES used within this REPORT MKACTF21

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:

K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' EXPORTING DISPLAY = ' ' I_KOKRS = KSC00-KOKRS POPUP = R_FLG_POPUP IMPORTING E_KOKRS = KSC00-KOKRS.

K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING * GJAHR = '0000' KOKRS = KSC00-KOKRS IMPORTING * E_TKA00 = E_TKA01 = TKA01 EXCEPTIONS NOT_FOUND = 01 NOT_FOUND_GJAHR = 02.

K_LOGSYSTEM_CHECK CALL FUNCTION 'K_LOGSYSTEM_CHECK' EXPORTING I_KOKRS = KSC00-KOKRS I_TKA01 = TKA01.

K_VRGNG_AUTHORITY_CHECK CALL FUNCTION 'K_VRGNG_AUTHORITY_CHECK' EXPORTING ACTVT = LD_ACTVT KOKRS = KSC00-KOKRS VRGNG = CON_VRGNG_SPL.

K_VERSN_READ CALL FUNCTION 'K_VERSN_READ' EXPORTING I_GJAHR = KSC00-GJAHR I_KOKRS = KSC00-KOKRS I_VERSN = KSC00-VERSN * BYPASSING_BUFFER = I_ACTVT = LD_ACTVT IMPORTING * E_TKA09 = LD_TKA09 E_TKA07 = LD_TKA07 E_TKT09 = LD_TKT09.

G_POSTING_DATE_OF_PERIOD_GET CALL FUNCTION 'G_POSTING_DATE_OF_PERIOD_GET' EXPORTING PERIOD = LD_PERIO VARIANT = TKA01-LMONA YEAR = KSC00-GJAHR IMPORTING FROM_DATE = IT_PERIODS-DATAB TO_DATE = IT_PERIODS-DATBI.

CO_PERIOD_BLOCKING_CHECK CALL FUNCTION 'CO_PERIOD_BLOCKING_CHECK' EXPORTING GJAHR = KSC00-GJAHR KOKRS = KSC00-KOKRS PERAB = KSC00-PERIO_FROM PERBI = KSC00-PERIO_TO VERSN = KSC00-VERSN VRGNG = CON_VRGNG_SPL.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE' EXPORTING * COLLECT_AND_SEND = ' ' * RESET = 'X' * LINE_FROM = ' ' * LINE_TO = ' ' I_IDENTIFICATION = LD_IDENTIFICATION CHECK_ON_COMMIT = ' ' IMPORTING E_IDENTIFICATION = LD_IDENTIFICATION.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING ARBGB = R_ARBGB * ZEILE = MSGTY = R_MAGTY TXTNR = LD_MSGNO MSGV1 = R_MSGV1 MSGV2 = R_MSGV2 MSGV3 = R_MSGV3 MSGV4 = R_MSGV4.

MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' EXPORTING SHOW_LINNO = ' '.

MESSAGES_STOP CALL FUNCTION 'MESSAGES_STOP' EXCEPTIONS A_MESSAGE = 01 E_MESSAGE = 02 I_MESSAGE = 03 W_MESSAGE = 04.

ENQUEUE_EKACTVE CALL FUNCTION 'ENQUEUE_EKACTVE' EXPORTING CLIENT = SY-MANDT KOKRS = KSC00-KOKRS ACTIVITY = CON_VRGNG_SPL X_KOKRS = ' ' X_ACTIVITY = ' ' _SCOPE = '3' _WAIT = ' '.

DEQUEUE_EKACTVE CALL FUNCTION 'DEQUEUE_EKACTVE' EXPORTING CLIENT = SY-MANDT KOKRS = KSC00-KOKRS ACTIVITY = CON_VRGNG_SPL X_KOKRS = ' ' X_ACTIVITY = ' ' _SCOPE = '3'.



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