SAP Reports / Programs | Production Planning and Control (PP) enhancements | Mill Products Industry Solution | Production Planning and Control (PP) enhancements(IS-MP-PP) SAP IS

MILL_PP_COKOX2 SAP ABAP INCLUDE - MILLPPCOKOX2







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

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:

MILL_UA1_POS_CONFIG CALL FUNCTION 'MILL_UA1_POS_CONFIG'.

MILL_UA1_POS_CONFIG_DIR CALL FUNCTION 'MILL_UA1_POS_CONFIG_DIR'.

MILL_UA1_POS_DEL CALL FUNCTION 'MILL_UA1_POS_DEL'.

MILL_UA1_POS_SEL CALL FUNCTION 'MILL_UA1_POS_SEL' EXPORTING selected = 'X'.

MILL_UA1_POS_SEL CALL FUNCTION 'MILL_UA1_POS_SEL' EXPORTING selected = ' '.

MILL_UA1_PROP CALL FUNCTION 'MILL_UA1_PROP'.

MILL_UA1_PROP_EXT CALL FUNCTION 'MILL_UA1_PROP_EXT' EXPORTING MILL_PP_SE_PROP_ART = 'MAN_PROP_022'.

MILL_UA1_PROP_EXT CALL FUNCTION 'MILL_UA1_PROP_EXT' EXPORTING MILL_PP_SE_PROP_ART = 'MAN_PROP_300'.

MILL_UA1_SET_EXT_ORDER_NUMBER CALL FUNCTION 'MILL_UA1_SET_EXT_ORDER_NUMBER' EXPORTING IM_EXTAUFNR = caufvd-aufnr IM_EXTERNIND = NK_EXTERN EXCEPTIONS ALREADY_EXIST = 1 OTHERS = 2 .

MILL_UA1_RESBD_SET CALL FUNCTION 'MILL_UA1_RESBD_SET' EXPORTING * RESBD_IMP = * RC27S_IMP = COMK_INIT_KZ = YX .

CO_MK_PROCEED_MAT_PROV CALL FUNCTION 'CO_MK_PROCEED_MAT_PROV' EXPORTING caufvdwa = caufvd dynnr = '0120' " T185V_SS-CDYNPRO fcode = 'KPU2' " T185_SS-FCODE rc27i_imp = rc27i rc27s_imp = rc27s matnr = caufvd-matnr werks = afpod-pwerk sttag = rc27s-sttag trtyp = rc27s-aktyp flg_general = yx flg_call = space r62clord_imp = r62clord IMPORTING r62clord_exp = r62clord * OK_CODE = OK-CODE rc27i_exp = rc27i.

MILL_UA1_RESBD_SET CALL FUNCTION 'MILL_UA1_RESBD_SET' EXPORTING * RESBD_IMP = * RC27S_IMP = COMK_INIT_KZ = space .

MILL_PC_CHVW CALL FUNCTION 'MILL_PC_CHVW' EXPORTING i_matnr = p_matnr i_werks = p_werks i_charg = p_charg i_aufnr = p_aufnr i_aufpl = p_aufpl i_dirkz = all_batches_in_order i_container_ctrl = container_ctrl * IT_PRROB = .

MILL_PC1_COMP_LIST CALL FUNCTION 'MILL_PC1_COMP_LIST'.

MILL_UA1_ROW_DOWN CALL FUNCTION 'MILL_UA1_ROW_DOWN'.

MILL_UA1_ROW_UP CALL FUNCTION 'MILL_UA1_ROW_UP'.

CO_BT_CAUFV_READ_WITH_KEY CALL FUNCTION 'CO_BT_CAUFV_READ_WITH_KEY' EXPORTING aufnr_act = caufvd-aufnr IMPORTING caufvd_exp = caufvd EXCEPTIONS not_found = 1 OTHERS = 2.

CO_BI_AFPO_READ_WITH_KEY CALL FUNCTION 'CO_BI_AFPO_READ_WITH_KEY' EXPORTING aufnr_act = caufvd-aufnr IMPORTING AFPOD_EXP = afpod EXCEPTIONS NOT_FOUND = 1 OTHERS = 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 MILL_PP_COKOX2 or its description.