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

FKMAXF01 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

KEO_FIELDS_NOT_ACTIVE CALL FUNCTION 'KEO_FIELDS_NOT_ACTIVE' EXPORTING i_otype = p_otype i_realo = p_realo i_begda = p_datab i_endda = p_datbi TABLES t_fieldlist = lt_fieldlist EXCEPTIONS OTHERS = 0.

KEO_DIRECT_MDATA_MAINTENANCE CALL FUNCTION 'KEO_DIRECT_MDATA_MAINTENANCE' EXPORTING i_kokrs = p_kokrs i_application = '1' " means cost center i_modus = ld_modus.

K_TRANSACTION_DATA_CHECK CALL FUNCTION 'K_TRANSACTION_DATA_CHECK' EXPORTING kokrs = p_kokrs datab = p_datab datbi = p_datbi objart = p_objart TABLES pt_objects = lt_objects pt_objects_with_data = lt_with_data pt_objects_no_data = lt_no_data.

DDUT_DOMVALUES_GET CALL FUNCTION 'DDUT_DOMVALUES_GET' EXPORTING name = 'CMDT_STATUS' TABLES dd07v_tab = lt_dd07v_tab.

F4IF_DETERMINE_SEARCHHELP CALL FUNCTION 'F4IF_DETERMINE_SEARCHHELP' EXPORTING tabname = 'CMDT' fieldname = 'STATUS' IMPORTING shlp = ls_shlp.

F4IF_SELECT_VALUES CALL FUNCTION 'F4IF_SELECT_VALUES' EXPORTING shlp = ls_shlp TABLES record_tab = lt_record_tab recdescr_tab = lt_recdescr_tab.

F4IF_DISPLAY_VALUES CALL FUNCTION 'F4IF_DISPLAY_VALUES' TABLES record_tab = lt_record_tab CHANGING shlp = ls_shlp callcontrol = ls_callcontrol.

CO_CMDT_EXISTENCE_CHECK CALL FUNCTION 'CO_CMDT_EXISTENCE_CHECK' EXPORTING co_area = pd_kokrs cost_center = pd_objnr EXCEPTIONS OTHERS = 1.

CO_CMDT_EXISTENCE_CHECK CALL FUNCTION 'CO_CMDT_EXISTENCE_CHECK' EXPORTING co_area = pd_kokrs business_process = pd_objnr EXCEPTIONS OTHERS = 1.

CONVERT_DATE_TO_EXTERNAL CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL' EXPORTING date_internal = ld_from_new IMPORTING date_external = ld_new_out-from EXCEPTIONS date_internal_is_invalid = 1 OTHERS = 2.

CONVERT_DATE_TO_EXTERNAL CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL' EXPORTING date_internal = ld_to_new IMPORTING date_external = ld_new_out-to EXCEPTIONS date_internal_is_invalid = 1 OTHERS = 2.

CONVERT_DATE_TO_EXTERNAL CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL' EXPORTING date_internal = go_application->edit_window-from IMPORTING date_external = ld_out_ew-from EXCEPTIONS date_internal_is_invalid = 1 OTHERS = 2.

CONVERT_DATE_TO_EXTERNAL CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL' EXPORTING date_internal = go_application->edit_window-to IMPORTING date_external = ld_out_ew-to EXCEPTIONS date_internal_is_invalid = 1 OTHERS = 2.

KEO_OV_GET_SCENARIO CALL FUNCTION 'KEO_OV_GET_SCENARIO' IMPORTING eo_scenario = ld_eo_scenario EXCEPTIONS no_scenario_found = 1 OTHERS = 2.

K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING kokrs = p_kokrs IMPORTING e_tka01 = ls_tka01 EXCEPTIONS not_found = 1 OTHERS = 2.

G_SET_ENCRYPT_SETID CALL FUNCTION 'G_SET_ENCRYPT_SETID' EXPORTING setclass = ld_setclass shortname = ld_set kokrs = p_kokrs IMPORTING setid = ld_setid EXCEPTIONS OTHERS = 1.

G_SET_ENQUEUE_WITH_FATHERS CALL FUNCTION 'G_SET_ENQUEUE_WITH_FATHERS' EXPORTING setid = ld_setid EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

RS_HDSYS_GET_TC_VARIANT CALL FUNCTION 'RS_HDSYS_GET_TC_VARIANT' IMPORTING tcvariant = ld_tcvariant flag_client_independent = ld_xclientind rc = ld_rc.

RS_HDSYS_CALL_TC_VARIANT





CALL FUNCTION 'RS_HDSYS_CALL_TC_VARIANT' EXPORTING tcode = tcode variant = ld_tcvariant i_flag_client_independent = ld_xclientind call_mode = ' ' authority_check = ' ' EXCEPTIONS no_variant = 01 no_authority_tcode = 02 OTHERS = 03.

KEO_OV_GET_SCENARIO CALL FUNCTION 'KEO_OV_GET_SCENARIO' IMPORTING eo_scenario = ld_eo_scenario EXCEPTIONS no_scenario_found = 1 OTHERS = 2.

NF_PM_GET_CURRENT_ORGOBJECTS CALL FUNCTION 'NF_PM_GET_CURRENT_ORGOBJECTS' IMPORTING OVERVIEW_MAIN_ORGOBJECT = overview_main_orgobject.

G_SET_DECRYPT_SETID CALL FUNCTION 'G_SET_DECRYPT_SETID' EXPORTING SETID = ld_setid IMPORTING SETCLASS = ld_setclass SHORTNAME = ld_set KOKRS = ld_kokrs EXCEPTIONS OTHERS = 1.

G_SET_BUF_PREPARE_MODIFICATION CALL FUNCTION 'G_SET_BUF_PREPARE_MODIFICATION' EXPORTING i_setid = ld_setid EXCEPTIONS OTHERS = 1.

ENQUEUE_EKCSKSE CALL FUNCTION 'ENQUEUE_EKCSKSE' EXPORTING kokrs = ld_hr_key_ks-kokrs kostl = ld_hr_key_ks-kostl _scope = 1 EXCEPTIONS OTHERS = 1.

ENQUEUE_EKCBPRE CALL FUNCTION 'ENQUEUE_EKCBPRE' EXPORTING kokrs = ld_hr_key_bp-kokrs prznr = ld_hr_key_bp-prznr _scope = 1 EXCEPTIONS OTHERS = 1.

ENQUEUE_EKCEPCE CALL FUNCTION 'ENQUEUE_EKCEPCE' EXPORTING prctr = ld_hr_key_pc-prctr kokrs = ld_hr_key_pc-kokrs "note 1407510 _scope = '1' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

OM_EM_GET_SY_UCOMM CALL FUNCTION 'OM_EM_GET_SY_UCOMM' IMPORTING current_ok_code = ld_fcode.



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