SAP Reports / Programs | Production Planning and Control | Production Orders(PP-SFC) SAP PP

COOCM_COMMON SAP ABAP INCLUDE - COOCMCOMMON







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

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:

CO_NB_GET_LOWER_TREE call function 'CO_NB_GET_LOWER_TREE' exporting aufnr_imp = i_lead_aufnr tables lower_tree = et_nbau_net exceptions others = 1.

CO_BT_CAUFV_READ_WITH_KEY call function 'CO_BT_CAUFV_READ_WITH_KEY' exporting aufnr_act = i_lead_aufnr flg_sel_ignore = const-flg_yes importing caufvd_exp = caufvd_parent exceptions not_found = 1 others = 2.

CO_BT_CAUFV_READ_WITH_KEY call function 'CO_BT_CAUFV_READ_WITH_KEY' exporting aufnr_act = aufnr flg_sel_ignore = 'X' importing afpod_exp = es_afpod caufvd_exp = es_caufvd exceptions not_found = 1 others = 2.

CO_BO_GET_OPR_OF_SEQ call function 'CO_BO_GET_OPR_OF_SEQ' exporting aplfl_imp = i_aplfl aufnr_imp = i_aufnr tables tabexp = t_ind.

CO_BT_AFVG_READ_WITH_INDEX call function 'CO_BT_AFVG_READ_WITH_INDEX' exporting index = t_ind-index importing afvgd_exp = es_afvgd_pred exceptions error_read_afvg = 1.

CO_BT_AFVG_READ_WITH_INDEX call function 'CO_BT_AFVG_READ_WITH_INDEX' exporting index = t_ind-index importing afvgd_exp = es_afvgd_post exceptions error_read_afvg = 1.

STATUS_CHECK call function 'STATUS_CHECK' exporting objnr = i_objnr status = stk_vorb exceptions status_not_active = 1.

STATUS_CHECK call function 'STATUS_CHECK' exporting objnr = i_objnr status = stk_rmvb exceptions status_not_active = 1.

CO_BT_RESB_READ_WITH_KEY call function 'CO_BT_RESB_READ_WITH_KEY' exporting rsnum_imp = i_rsnum rspos_imp = i_rspos rsart_imp = space importing resbd_exp = resb_old index_exp = index_resb_old exceptions not_found = 1.

CO_BT_RESB_UPDATE call function 'CO_BT_RESB_UPDATE' exporting resb_new = resb_old tabix_old = index_resb_old flg_ocm = 'X'.

CO_BT_RESB_DELETE call function 'CO_BT_RESB_DELETE' exporting flg_del = flg_del_physical index = index_resb_old dont_del_lower_tree = const-flg_yes exceptions error_message = 01.

CO_OCM_BT_MSEG_DATA_GET call function 'CO_OCM_BT_MSEG_DATA_GET' exporting i_rsnum = cs_resbd-rsnum i_rspos = cs_resbd-rspos exceptions nothing_found = 1 error = 2.



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