COTPL_ECP_POS 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 COTPL_ECP_POS into the relevant SAP transactions such as SE38 or SE80
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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
K_ABC_PROD_COST_FILL_GLOBTPLPO CALL FUNCTION 'K_ABC_PROD_COST_FILL_GLOBTPLPO' EXPORTING tpl_pos_imp = p_gen_index linetype_imp = p_gen_line_type sourcetpl_imp = l_ecp_subtempl "TODO tpl_class_imp = abc_con-class. "TODO
K_ABC_PROD_COST_FILL_GLOBTPLPO CALL FUNCTION 'K_ABC_PROD_COST_FILL_GLOBTPLPO' EXPORTING tpl_pos_imp = p_gen_index linetype_imp = p_gen_line_type sourcetpl_imp = abc_con-template tpl_class_imp = abc_con-class.
K_ABC_PROD_COST_FILL_GLOBRES CALL FUNCTION 'K_ABC_PROD_COST_FILL_GLOBRES' EXPORTING * SOURCE_TEMPLATE = * TPL_CLASS = s_pos_wa = ld_pos_wa.
K_ABC_PROD_COST_FILL_GLBPOAMNT CALL FUNCTION 'K_ABC_PROD_COST_FILL_GLBPOAMNT' EXPORTING pd_pos_wa_imp = ld_pos_wa kokrs_imp = abc_con-kokrs.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.