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

COOCMOLF06 SAP ABAP INCLUDE - documentation and ABAP source code







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

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_BT_AFVG_READ_WITH_APLZL CALL FUNCTION 'CO_BT_AFVG_READ_WITH_APLZL' EXPORTING APLZL = I_APLZL AUFNR_ACT = I_AUFNR IMPORTING OBJNR_OPR_EXP = L_OBJNR_OPR EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

STATUS_CHECK_EXTENDED_MULTI CALL FUNCTION 'STATUS_CHECK_EXTENDED_MULTI' TABLES OBJNR_STAT = LT_OBJST.

CO_IT_AFVG_PREDEC_DET_COMPLETE CALL FUNCTION 'CO_IT_AFVG_PREDEC_DET_COMPLETE' EXPORTING AUFNR_ACT = I_AUFNR TABLES PRE_DEC_TAB = LT_PRE_SUCC_REL EXCEPTIONS NO_PRE_DEC = 1 OTHERS = 2.

CO_BT_AFVG_READ_WITH_APLZL CALL FUNCTION 'CO_BT_AFVG_READ_WITH_APLZL' EXPORTING APLZL = LS_PRE_SUCC_REL-APLZL_B AUFNR_ACT = LS_PRE_SUCC_REL-AUFNR_B IMPORTING OBJNR_OPR_EXP = L_OBJNR_OPR EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

STATUS_CHECK_EXTENDED_MULTI CALL FUNCTION 'STATUS_CHECK_EXTENDED_MULTI' TABLES OBJNR_STAT = LT_OBJST.

CO_BT_CAUFV_READ_WITH_KEY CALL FUNCTION 'CO_BT_CAUFV_READ_WITH_KEY' EXPORTING AUFNR_ACT = I_AUFNR_PARENT IMPORTING OBJNR_EXP = L_OBJNR EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

STATUS_CHECK CALL FUNCTION 'STATUS_CHECK' EXPORTING OBJNR = L_OBJNR STATUS = STK_GEL EXCEPTIONS STATUS_NOT_ACTIVE = 1.

CO_BT_CAUFV_READ_WITH_KEY CALL FUNCTION 'CO_BT_CAUFV_READ_WITH_KEY' EXPORTING AUFNR_ACT = I_AUFNR_CHILD IMPORTING OBJNR_EXP = L_OBJNR EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

STATUS_CHECK CALL FUNCTION 'STATUS_CHECK' EXPORTING OBJNR = L_OBJNR STATUS = STK_RUE EXCEPTIONS STATUS_NOT_ACTIVE = 1.

STATUS_CHANGE_INTERN CALL FUNCTION 'STATUS_CHANGE_INTERN' EXPORTING OBJNR = L_OBJNR TABLES STATUS = LT_STATUS EXCEPTIONS OBJECT_NOT_FOUND = 1 STATUS_INCONSISTENT = 2 STATUS_NOT_ALLOWED = 3.



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