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 SAP ABAP INCLUDE - MILLPP







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

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_BI_AFPO_READ_WITH_KEY CALL FUNCTION 'CO_BI_AFPO_READ_WITH_KEY' EXPORTING AUFNR_ACT = CAUFVD-AUFNR IMPORTING AFPOD_EXP = LS_AFPOD EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

MARC_SINGLE_READ CALL FUNCTION 'MARC_SINGLE_READ' EXPORTING MATNR = CAUFVD-MATNR WERKS = CAUFVD-WERKS IMPORTING WMARC = L_MATDATEN EXCEPTIONS LOCK_ON_MARC = 1 LOCK_SYSTEM_ERROR = 2 WRONG_CALL = 3 NOT_FOUND = 4 OTHERS = 5.

CE_C_PROCESSING CALL FUNCTION 'CE_C_PROCESSING' EXPORTING INSTANCE = 0 REFERENCE_INSTANCE = LS_AFPOD-CUOBJ DATE = CAUFVD-AUFLD DISPLAY = ' ' OBJECT_ID = 'MARA' OBJECT = L_OBJECT TYPE = ' ' IMPORTING RETURN_WITH_FUNCTIONKEY = L_UCOMM NEW_INSTANCE = L_CUOBJ EXCEPTIONS INTERNAL_ERROR = 1 INSTANCE_NOT_FOUND = 2 REFERENCE_INSTANCE_NOT_FOUND = 3 NO_PLANT = 4 NO_QUANTITY = 5 NO_CONNECTION_TO_CONFIGURATION = 6 * PLANT_NOT_ALLOWED = 7 MATERIAL_VARIANT_NOT_ALLOWED = 8 INTERNAL_ERROR_ECM = 9 EOASL_NOT_ALLOWED = 10 MAXASL_NOT_ALLOWED = 11 OTHERS = 12.

CE_C_PROCESSING CALL FUNCTION 'CE_C_PROCESSING' EXPORTING INSTANCE = L_CUOBJ DATE = CAUFVD-AUFLD OBJECT_ID = 'MARA' OBJECT = L_OBJECT TYPE = ' ' IMPORTING RETURN_WITH_FUNCTIONKEY = L_UCOMM NEW_INSTANCE = L_CUOBJ EXCEPTIONS INTERNAL_ERROR = 1 INSTANCE_NOT_FOUND = 2 REFERENCE_INSTANCE_NOT_FOUND = 3 NO_PLANT = 4 NO_QUANTITY = 5 NO_CONNECTION_TO_CONFIGURATION = 6 * PLANT_NOT_ALLOWED = 7 MATERIAL_VARIANT_NOT_ALLOWED = 8 INTERNAL_ERROR_ECM = 9 EOASL_NOT_ALLOWED = 10 MAXASL_NOT_ALLOWED = 11 OTHERS = 12.

CO_BT_CAUFV_UPD CALL FUNCTION 'CO_BT_CAUFV_UPD' EXPORTING CAUFVD_UPD = CAUFVD.



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