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

M0COEF01 SAP ABAP INCLUDE - VCL CO_CALC: Routines for dates (maintaining the costing sheet)







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


Text pool values


Title: VCL CO_CALC: Routines for dates (maintaining the costing sheet)


INCLUDES used within this REPORT M0COEF01

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:

RS_TREE_CONSTRUCT CALL FUNCTION 'RS_TREE_CONSTRUCT' TABLES nodetab = lt_nodes.

RS_TREE_LIST_DISPLAY CALL FUNCTION 'RS_TREE_LIST_DISPLAY' EXPORTING status = 'OWN' callback_program = 'SAPM0COE' callback_user_command = 'CO_CALC_TREE_USER_COMMAND' callback_color_display = 'CO_CALC_COLORMAP'.

NAMETAB_GET

DDIF_NAMETAB_GET ** CALL FUNCTION 'NAMETAB_GET' CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = 'V_KONX' TABLES x031l_tab = lt_nametab EXCEPTIONS not_found = 1 OTHERS = 2.

K_VRGNG_AUTHORITY_CHECK CALL FUNCTION 'K_VRGNG_AUTHORITY_CHECK' EXPORTING actvt = '02' " Ändern kokrs = lt_kokrs-kokrs vrgng = 'KZPI' EXCEPTIONS user_not_authorized = 01.

K_VRGNG_AUTHORITY_CHECK CALL FUNCTION 'K_VRGNG_AUTHORITY_CHECK' EXPORTING actvt = '03' " Anzeigen kokrs = lt_kokrs-kokrs vrgng = 'KZPI' EXCEPTIONS user_not_authorized = 01.

RV_COND_TABLE_READ CALL FUNCTION 'RV_COND_TABLE_READ' EXPORTING ctr_kotabnr = tablist-kotabnr ctr_kvewe = tablist-kvewe ctr_langu = sy-langu TABLES kond_dfies_tab = kond_dfies_tab kond_fld_tab = kond_fld_tab vake_dfies_tab = vake_dfies_tab vake_dtl_tab = vake_dtl_tab vake_fld_tab = vake_fld_tab EXCEPTIONS condition_table_not_found = 1 t681_entry_not_found = 2 template_table_not_found = 3 tmc1_entry_not_found = 4 OTHERS = 5.

K_VRGNG_AUTHORITY_CHECK CALL FUNCTION 'K_VRGNG_AUTHORITY_CHECK' EXPORTING actvt = '02' " Ändern kokrs = lt_kokrs-kokrs vrgng = 'KZPI' EXCEPTIONS user_not_authorized = 01.

K_VRGNG_AUTHORITY_CHECK CALL FUNCTION 'K_VRGNG_AUTHORITY_CHECK' EXPORTING actvt = '03' " Anzeigen kokrs = lt_kokrs-kokrs vrgng = 'KZPI' EXCEPTIONS user_not_authorized = 01.

K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' EXPORTING popup = '0' IMPORTING e_kokrs = l_kokrs EXCEPTIONS OTHERS = 1. "alle Abfangen, dann halt kein Default

POPUP_GET_VALUES CALL FUNCTION 'POPUP_GET_VALUES' EXPORTING popup_title = l_kokrs_text IMPORTING returncode = l_retcode TABLES fields = l_sval.

RS_TREE_GET_CURRENT_TREE CALL FUNCTION 'RS_TREE_GET_CURRENT_TREE' TABLES nodelist = lt_streenode.

RS_TREE_EXPAND CALL FUNCTION 'RS_TREE_EXPAND' EXPORTING node_id = lt_streenode-parent.

RS_TREE_GET_NODE CALL FUNCTION 'RS_TREE_GET_NODE' EXPORTING node_id = lt_streenode-parent IMPORTING node_info = l_snodetext.

RS_TREE_EXPAND CALL FUNCTION 'RS_TREE_EXPAND' EXPORTING node_id = l_snodetext-parent.

RS_TREE_EXPAND CALL FUNCTION 'RS_TREE_EXPAND' EXPORTING * all = 'X' node_id = lt_streenode-id.



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