SAP Reports / Programs | Controlling | Overhead Cost Controlling | Cost Center Accounting(CO-OM-CCA) SAP CO

MKPU2F30 SAP ABAP INCLUDE - Include-Baustein







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


INCLUDES used within this REPORT MKPU2F30

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_COSPA_READ_MULTI CALL FUNCTION 'K_COSPA_READ_MULTI' EXPORTING von_periode = rkpu2-frper bis_periode = rkpu2-toper progname = 'SAPMKPU2' formname = 'MOVE_COSPA_TO_ICOSPA' TABLES t_cosel = icosel.

K_COSSA_READ_MULTI CALL FUNCTION 'K_COSSA_READ_MULTI' EXPORTING von_periode = rkpu2-frper bis_periode = rkpu2-toper progname = 'SAPMKPU2' formname = 'MOVE_COSSA_TO_ICOSSA' TABLES t_cosel = icosel.

K_COSPA_READ_MULTI CALL FUNCTION 'K_COSPA_READ_MULTI' EXPORTING von_periode = rkpu2-frper bis_periode = rkpu2-toper progname = 'SAPMKPU2' formname = 'MOVE_COSPA_TO_ICOSPA' TABLES t_cosel = icosel.

K_COSSA_READ_MULTI CALL FUNCTION 'K_COSSA_READ_MULTI' EXPORTING von_periode = rkpu2-frper bis_periode = rkpu2-toper progname = 'SAPMKPU2' formname = 'MOVE_COSSA_TO_ICOSSA' TABLES t_cosel = icosel.

K_KOSTL_OBJECT_KEYS_GET CALL FUNCTION 'K_KOSTL_OBJECT_KEYS_GET' EXPORTING KOKRS = RKPU2-KOKRS TABLES TAB_KOSTL = TAB_KOSTL TAB_OBJNR = TAB_OBJNR.

CJPN_PROJEKTNUMMER_UNEDIT CALL FUNCTION 'CJPN_PROJEKTNUMMER_UNEDIT' EXPORTING input = it823k-valmin IMPORTING output = tab_posid-low.

CJPN_PROJEKTNUMMER_UNEDIT CALL FUNCTION 'CJPN_PROJEKTNUMMER_UNEDIT' EXPORTING input = it823k-valmax IMPORTING output = tab_posid-high.

G_SET_MAXIMUM_AND_MINIMUM_GET CALL FUNCTION 'G_SET_MAXIMUM_AND_MINIMUM_GET' EXPORTING * table = act-set_table * class = act-set_class setname = t823k-setid IMPORTING valmax = it823k-valmax valmin = it823k-valmin EXCEPTIONS set_not_found = 4.

K_DECRYPT_RESOURCE CALL FUNCTION 'K_DECRYPT_RESOURCE' EXPORTING i_subkey = cospa-hrkft IMPORTING e_resrc = ld_resrc EXCEPTIONS subkey_not_found = 1 no_resource_found = 2.

G_SET_INSERT CALL FUNCTION 'G_SET_INSERT' EXPORTING * table = act-set_table * class = act-set_class setname = setname IMPORTING index = index header = set_header.

G_OBJECT_SELECT CALL FUNCTION 'G_OBJECT_SELECT' EXPORTING index = index control_block = 1 value = h_val IMPORTING header = set_header subrc = subrc.

G_CONTROL_BLOCK_RESET CALL FUNCTION 'G_CONTROL_BLOCK_RESET' EXPORTING control_block = 1.

OBJECT_KEY_GET CALL FUNCTION 'OBJECT_KEY_GET' TABLES onr_tab = onr_tab.

CJPN_GET_WBS_ELEMENT CALL FUNCTION 'CJPN_GET_WBS_ELEMENT' EXPORTING I_PSPNR = ONR_TAB-PSPNR IMPORTING E_PRPS = LS_PRPS.

COTB_INITIALIZE_OBART CALL FUNCTION 'COTB_INITIALIZE_OBART' EXPORTING i_obart = ls_ionr-obart EXCEPTIONS OTHERS = 0.

G_RECORD_CHECK CALL FUNCTION 'G_RECORD_CHECK' EXPORTING ACTIVITY = cospa-vrgng CHECK_TYP = '2' RECORD_KEY = ls_ccss T800D_TABLE = 'CCSS' TABLE = 'CCSS' TABLES COMB_FIELDS = lt_gmd02 PERIOD = perio_tab EXCEPTIONS RECORD_INVALID = 4.



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