SAP Reports / Programs | Controlling | Product Cost Controlling | Product Cost by Period(CO-PC-OBJ-PER) SAP CO

MKKP4F30 SAP ABAP INCLUDE - documentation and ABAP source code







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

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_KKB_JOB_GET CALL FUNCTION 'K_KKB_JOB_GET' EXPORTING ianw = anw_hp "K11K096992 choice = x iobj = tkkb1-obj "K11K096992 rgjnr = tkkb1-bgr uname = uname IMPORTING exit = flg_exit jtext = jtext eobj = tkkb1-obj "K11K096992 par = tkkb1-par rgjnr = tkkb1-bgr EXCEPTIONS not_generated = 01 no_authority = 02 no_job = 03 no_job_chosen = 04.

K_KKB_KSTAR_SET_GET CALL FUNCTION 'K_KKB_KSTAR_SET_GET' EXPORTING ianw = anw_hp "K11K096992 choice = xchoice "K11K096992 kst = param-kst IMPORTING exit = exit kst = param-kst EXCEPTIONS no_authority = 01 no_kstar_set = 02 no_set_picked = 03 set_broken = 04.

K_KKB_GLOBALS_GET CALL FUNCTION 'K_KKB_GLOBALS_GET' EXPORTING dialog = x initialize = initialize rgjnr = bgr st_col = 15 st_row = 08 IMPORTING exit = exit TABLES exc_tab = exc_globals globals = globals EXCEPTIONS internal_error = 01 job_does_not_exist = 02 not_generated = 03 no_authorization = 04 no_globals = 05.

BP_JOB_SELECT CALL FUNCTION 'BP_JOB_SELECT' EXPORTING jobselect_dialog = 'Y' jobsel_param_in = ld_btcselect IMPORTING jobsel_param_out = ld_btcselect TABLES jobselect_joblist = lt_joblist EXCEPTIONS no_jobs_found = 1 OTHERS = 99.

BP_JOBLIST_PROCESSOR CALL FUNCTION 'BP_JOBLIST_PROCESSOR' EXPORTING joblist_opcode = '21' joblist_refr_param = ld_btcselect TABLES joblist = lt_joblist EXCEPTIONS OTHERS = 99.

K_GET_HIERARCHY * CALL FUNCTION 'K_GET_HIERARCHY' * EXPORTING * OBJECT_NR = KKP_CH-OBJNR * HIART = '1' * OBART = '1' * LOEKZ = 'X' "P30K107788 * TOTAL = 'X' * TABLES * KKHIE_I = T_KKHIE * EXCEPTIONS * NOT_FOUND = 01.

KKRS_COST_OBJECT_TREE CALL FUNCTION 'KKRS_COST_OBJECT_TREE' EXPORTING i_kstrg = kkp_ch-kstrg i_kokrs = kkp_ch-kokrs i_anzart = anzart.

K_KKHIE_HIERARCHY_SHOW * CALL FUNCTION 'K_KKHIE_HIERARCHY_SHOW' * EXPORTING * " I_LEVEL = 1 * I_INIT = 'X' * I_KOKRS = KKP_CH-KOKRS * I_HIE_FOCUS = KKHIE * I_ANW = '6' "Anwendung TA KKP6 * I_ANZART = ANZART "Berichtsobjektart * I_PROGRAM = PROG_NAME * I_FORM = FORM_NAME * " importing * " e_function = * " e_tabix = * " e_hie_focus = * TABLES * T_EXCL_FUNC = T_EXCL_FUNC * T_KKHIE = T_KKHIE * EXCEPTIONS * INVALID_INPUT = 01 * NO_HIERARCHY = 02 * OTHERS = 03.



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