SAP ABAP Class CL_IM_CO_MES_INTEGRATION (Imp. Class for BAdI Imp. CO_MES_INTEGRATION)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   PP-MES (Application Component) Integration with Manufacturing Execution Systems
     CO_MES_INT (Package) Integration of Production w. Manufacturing Execution Systems
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_BADI_INTERFACE Tag Interface for BAdIs 20091014
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_CO_MES_CONST Constants for MES Integration 20091015
3 Interface implementation (CLASS c. INTERFACES i_ref)  IF_EX_WORKORDER_UPDATE BAdI Interface IF_EX_WORKORDER_UPDATE 20091014
Properties
Class CL_IM_CO_MES_INTEGRATION  
Short Description Imp. Class for BAdI Imp. CO_MES_INTEGRATION    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package CO_MES_INT   Integration of Production w. Manufacturing Execution Systems 
Created 20091014   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CO Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 COBAI Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_BADI_INTERFACE Tag Interface for BAdIs 20091014
2 IF_CO_MES_CONST Constants for MES Integration 20091015
3 IF_EX_WORKORDER_UPDATE BAdI Interface IF_EX_WORKORDER_UPDATE 20091014
Friends
Class CL_IM_CO_MES_INTEGRATION has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_BADI_CALL Instance attribute Private Attribute reference (LIKE) 20091015
2 C_CLOSED_FOR_INPUT Instance attribute Private Attribute reference (LIKE) 20091022
3 C_CUSTOMIZING Instance attribute Private Attribute reference (LIKE) 20091015
4 C_DELETE Instance attribute Private Attribute reference (LIKE) 20091015
5 C_DISTRIBUTED Instance attribute Private Attribute reference (LIKE) 20091015
6 C_DISTRIBUTED_CH Instance attribute Private Attribute reference (LIKE) 20100713
7 C_DIST_COMPLETE Instance attribute Private Attribute reference (LIKE) 20091015
8 C_DIST_COMPLETE_CH Instance attribute Private Attribute reference (LIKE) 20100713
9 C_DIST_RELEVANT Instance attribute Private Attribute reference (LIKE) 20091015
10 C_DIST_RELEVANT_CH Instance attribute Private Attribute reference (LIKE) 20100721
11 C_DRF_CALL Instance attribute Private Attribute reference (LIKE) 20100721
12 C_INSERT Instance attribute Private Attribute reference (LIKE) 20091015
13 C_OLD Instance attribute Private Attribute reference (LIKE) 20091015
14 C_PRODUCTION_ORDER Instance attribute Private Attribute reference (LIKE) 20091015
15 C_SEVERITY_ERROR Instance attribute Private Attribute reference (LIKE) 20100817
16 C_SEVERITY_NO_ERROR Instance attribute Private Attribute reference (LIKE) 20100817
17 C_SEVERITY_WARNING Instance attribute Private Attribute reference (LIKE) 20100817
18 C_STAT_COMPLETE Instance attribute Private Attribute reference (LIKE) 20091109
19 C_STAT_CONFIRMED Instance attribute Private Attribute reference (LIKE) 20091016
20 C_STAT_DELETE_FLAG Instance attribute Private Attribute reference (LIKE) 20091109
21 C_STAT_DISD Instance attribute Private Attribute reference (LIKE) 20091015
22 C_STAT_DIST Instance attribute Private Attribute reference (LIKE) 20091015
23 C_STAT_PCONF Instance attribute Private Attribute reference (LIKE) 20100202
24 C_STAT_RDIS Instance attribute Private Attribute reference (LIKE) 20091015
25 C_STAT_TECH_COMPLETE Instance attribute Private Attribute reference (LIKE) 20091109
26 C_UPDATE Instance attribute Private Attribute reference (LIKE) 20091015
27 GC_WILDCARD Constant Private Type reference (TYPE) CHAR1 '*' Single-Character Indicator 20091015
28 GI_BADI_DIST Instance attribute Private Object reference (TYPE REF TO) CO_MES_INT_DISTRIBUTION Determination of Distribution Relevance for MES 20091022
29 GI_INSTANCE Static Attribute Private Object reference (TYPE REF TO) CL_IM_CO_MES_INTEGRATION Imp. Class for BAdI Imp. CO_MES_INTEGRATION 20091015
30 GS_ACTIVE_FILTERS Instance attribute Private Type reference (TYPE) COMES_ACTIVE_FILTERS Active Filter Criteria in DRF That Affect Order 20100929
31 GT_CLOSED_FIELDS_B Instance attribute Private Type reference (TYPE) COMES_SCREEN_FIELD_T Fields Not Ready to Accept Input with Distr. Status 'B' 20091022
32 GT_CLOSED_FIELDS_C Instance attribute Private Type reference (TYPE) COMES_SCREEN_FIELD_T Fields Not Ready to Accept Input with Distr. Status 'C' 20091022
33 GT_CLOSED_FIELDS_E Instance attribute Private Type reference (TYPE) COMES_SCREEN_FIELD_T Fields Not Ready to Accept Input w. Distribution Status 'E' 20100721
34 GT_CLOSED_FIELDS_F Instance attribute Private Type reference (TYPE) COMES_SCREEN_FIELD_T Fields Not Ready to Accept Input w. Distribution Status 'F' 20100721
35 GT_DFIES_TAB Instance attribute Private Type reference (TYPE) DFIES_TABLE Fields in Filter Structure 20100929
36 GT_DISABLED_FCODES_B Instance attribute Private Type reference (TYPE) CUAFCODE_T Excluded FCODEs with Distribution Status 'B' 20091023
37 GT_DISABLED_FCODES_C Instance attribute Private Type reference (TYPE) CUAFCODE_T Excluded FCODEs with Distribution Status 'C' 20091023
38 GT_DISABLED_FCODES_E Instance attribute Private Type reference (TYPE) CUAFCODE_T Excluded FCODEs with Distribution Status 'E' 20100721
39 GT_DISABLED_FCODES_F Instance attribute Private Type reference (TYPE) CUAFCODE_T Excluded FCODEs with Distribution Status 'F' 20100721
40 GT_FILTER_DEF Instance attribute Private Type reference (TYPE) COMES_T_DRF_PROD_FILT_ENH Last Change State of Filtered Attributes 20100929
41 GT_TCOPODIST Instance attribute Private Type reference (TYPE) TCOPODIST_T Control of Distribution of Production Orders to an MES 20091015
42 GV_CHANGE_FLAG Instance attribute Private Type reference (TYPE) ABAP_BOOL ABAP_TRUE Indicator: There Are Changes 20101022
43 GV_DISTRIBUTION_ERROR Instance attribute Private Type reference (TYPE) ABAP_BOOL ABAP_FALSE Indicator: Error in DRF Distribution 20100915
44 GV_FCODES_INITIALIZED Instance attribute Private Type reference (TYPE) ABAP_BOOL ABAP_FALSE Determination of Allowed FCODEs Carried Out 20091023
45 GV_FIELDS_INITIALIZED Instance attribute Private Type reference (TYPE) ABAP_BOOL ABAP_FALSE Determination of Field Properties Completed 20091022
46 GV_NO_DIALOG Instance attribute Private Type reference (TYPE) ABAP_BOOL ABAP_FALSE Indicator: No Dialog Output 20100823
47 GV_TCOPODIST_READ Instance attribute Private Type reference (TYPE) ABAP_BOOL ABAP_FALSE Customizing Read from Table TCOPODIST 20091019
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_ASSIGNED_DOCUMENTS Instance method Private Method Chec Assigned Documents for Release 20101216
2 CHECK_CONTROL_SETTINGS Instance method Private Method Checking of Customizing (Control Key) (n_1502536) 20100816
3 CHECK_CUSTOMIZING Instance method Public Method Evaluation Customizing from Table TCOPODIST 20091015
4 CHECK_DRF_FILTER Instance method Private Method Evaluate DRF Filter 20100728
5 CHECK_FCODE_STATUS Instance method Public Method Check of Allowed Function Codes After Distribution 20091023
6 CHECK_FIELD_CHANGES Instance method Private Method Check for Changes to Closed Fields 20100713
7 CHECK_FIELD_STATUS Instance method Public Method Check of Field Properties After Distribution 20091022
8 CHECK_FOR_DATA_CHANGE Instance method Public Method Check Whether There Are Any Changes in Order 20101022
9 CHECK_PREREQUISITES Instance method Private Method Prerequisites for Determination of Distribution Status 20091015
10 CHECK_SERIAL_NUMBERS Instance method Private Method Check of Assigned Serial Numbers (EhP 6) 20100713
11 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20091015
12 DETERMINE_DISTRIBUTION_STATUS Instance method Public Method Determination of Distr. Status and Logical System for MES 20091015
13 DETERMINE_DIST_COMPLETION Instance method Public Method Set Distribution Status to 'Completed' 20091016
14 DRF_CHECK_RESULTS Instance method Public Method Return Result of DRF Checks 20100914
15 FILL_CLOSED_FIELDS Instance method Private Method Initialize Table of Closed Fields 20091022
16 FILL_DISABLED_FCODES Instance method Private Method Initialize Table of Excluded Function Codes 20091023
17 GET_DATA_CHANGE_FLAG Instance method Public Method Return of "Order Changed" Indicator 20101022
18 GET_FIELD_DESCRIPTION Instance method Private Method Deliver Description for a Structure Field 20091026
19 GET_INSTANCE Static method Public Method Return of Current Instance 20091015
20 INIT_CUSTOMIZING Instance method Private Method Initial Reading and Preparation of Customizing 20091019
21 SET_DISTRIBUTION_STATUS Instance method Private Method Set or Reset Distribution Status 20100914
22 UPDATE_MAX_GAMNG Instance method Private Method Update Maximum Total Quantity After Release 20100818
Events
Class CL_IM_CO_MES_INTEGRATION has no event.
Types
Class CL_IM_CO_MES_INTEGRATION has no local type.
Method Signatures

Method CHECK_ASSIGNED_DOCUMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_NO_DIALOG Call by reference Type reference (TYPE) XFELD Kennzeichen: Kein Dialog 20101216
2 Importing IV_ORDER_NUMBER Call by reference Type reference (TYPE) AUFNR Auftragsnummer 20101216
# Exception Resumable Description Created on
1 DOCUMENT_NOT_RELEASED Auftrag enthält nicht freigegebene Dokumente 20101216

Method CHECK_CONTROL_SETTINGS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_HEADER_DIALOG Call by reference Type reference (TYPE) COBAI_S_HEADER_DIALOG Dialogstruktur für Fertigungsauftragskopf 20100816
# Exception Resumable Description Created on
1 ERROR_WITH_MESSAGE Fehler bei der Prüfung 20100816

Method CHECK_CUSTOMIZING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_BADI_CALL Call by reference Type reference (TYPE) ABAP_BOOL BAdI zur Ermittlung des logischen Systems aktiv = ABAP_TRUE 20091015
2 Exporting EV_DRF_CALL Call by reference Type reference (TYPE) ABAP_BOOL DRF zur Ermittlung des logischen Systems 20100721
3 Exporting EV_LOG_SYSTEM Call by reference Type reference (TYPE) LOGSYS Logisches System 20091015
4 Importing IV_ORDER_TYPE Call by reference Type reference (TYPE) AUFART Auftragsart für Fertigungsaufträge 20091015
5 Importing IV_PLANT Call by reference Type reference (TYPE) WERKS_D Werk 20091015

Method CHECK_CUSTOMIZING on class CL_IM_CO_MES_INTEGRATION has no exception.

Method CHECK_DRF_FILTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_CAUFVD Call by reference Type reference (TYPE) CAUFVD Dialogstruktur fuer Auftragskoepfe und -position 20100818
# Exception Resumable Description Created on
1 CX_DRF_EXCEPTION Root Klasse für Ausnahmen 20100728

Method CHECK_FCODE_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_EXCLUDED_FCODES Call by reference Type reference (TYPE) CUAFCODE_T Ausgeschlossene Funktionscodes 20091023
2 Importing IV_STATUS Call by reference Type reference (TYPE) CO_MES_DIST_STATUS Verteilungsstatus des Fertigungsauftrags 20091023

Method CHECK_FCODE_STATUS on class CL_IM_CO_MES_INTEGRATION has no exception.

Method CHECK_FIELD_CHANGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_HEADER_DIALOG Call by reference Type reference (TYPE) COBAI_S_HEADER_DIALOG Dialogstruktur für Fertigungsauftragskopf 20100713
2 Importing IT_CLOSED_FIELDS Call by reference Type reference (TYPE) COMES_SCREEN_FIELD_T Dynpro-Felder 20100713
# Exception Resumable Description Created on
1 ERROR_WITH_MESSAGE Fehler bei der Prüfung 20100713

Method CHECK_FIELD_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DIST_STATUS Call by reference Type reference (TYPE) CO_MES_DIST_STATUS 'B' Verteilungsstatus des Fertigungsauftrags 20091022
2 Importing IV_FIELD_NAME Call by reference Type reference (TYPE) SCRFNAME Name eines Dynproelementes 20091022
3 Returning RV_CLOSED_FOR_INPUT Value transfer Type reference (TYPE) ABAP_BOOL Feld nicht eingabebereit = ABAP_TRUE 20091022

Method CHECK_FIELD_STATUS on class CL_IM_CO_MES_INTEGRATION has no exception.

Method CHECK_FOR_DATA_CHANGE Signature

Method CHECK_FOR_DATA_CHANGE on class CL_IM_CO_MES_INTEGRATION has no parameter.
Method CHECK_FOR_DATA_CHANGE on class CL_IM_CO_MES_INTEGRATION has no exception.

Method CHECK_PREREQUISITES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_CAUFVD Call by reference Type reference (TYPE) CAUFVD Dialogstruktur fuer Auftragsköpfe und -positionen 20091015
2 Returning RV_DETERMINE_DISTRIB_STATUS Value transfer Type reference (TYPE) ABAP_BOOL Voraussetzungen für Ermittlung liegen vor = ABAP_TRUE 20091015

Method CHECK_PREREQUISITES on class CL_IM_CO_MES_INTEGRATION has no exception.

Method CHECK_SERIAL_NUMBERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_HEADER_DIALOG Call by reference Type reference (TYPE) COBAI_S_HEADER_DIALOG Dialogstruktur für Fertigungsauftragskopf 20100713
2 Importing IV_DIST_STATUS Call by reference Type reference (TYPE) CO_MES_DIST_STATUS Verteilungsstatus des Fertigungsauftrags 20100714
# Exception Resumable Description Created on
1 ERROR_WITH_MESSAGE Fehler bei der Prüfung 20100713

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_IM_CO_MES_INTEGRATION has no parameter.
Method CONSTRUCTOR on class CL_IM_CO_MES_INTEGRATION has no exception.

Method DETERMINE_DISTRIBUTION_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_AFPOD Call by reference Type reference (TYPE) AFPOD Auftragsposition Dialogstruktur 20091015
2 Importing IS_CAUFVD Call by reference Type reference (TYPE) CAUFVD Dialogstruktur fuer Auftragskoepfe und -position 20091015

Method DETERMINE_DISTRIBUTION_STATUS on class CL_IM_CO_MES_INTEGRATION has no exception.

Method DETERMINE_DIST_COMPLETION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_CAUFVD Call by reference Type reference (TYPE) CAUFVD Dialogstruktur fuer Auftragskoepfe und -position 20091016

Method DETERMINE_DIST_COMPLETION on class CL_IM_CO_MES_INTEGRATION has no exception.

Method DRF_CHECK_RESULTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ACTIVE_FILTERS Call by reference Type reference (TYPE) COMES_ACTIVE_FILTERS Aktive Filterkriterien im DRF 20110131
2 Importing IT_BUSINESS_SYSTEMS Call by reference Type reference (TYPE) COMES_BUSINESS_SYSTEM_T Zur Verteilung vorgesehene Business-Systeme 20110131
3 Importing IV_OBJECT_NUMBER Call by reference Type reference (TYPE) J_OBJNR Objektnummer 20110131
4 Importing IV_PP_ORDER Call by reference Type reference (TYPE) AUFNR Auftragsnummer 20110131
5 Importing P_TASK Call by reference Type reference (TYPE) CLIKE 20100914

Method DRF_CHECK_RESULTS on class CL_IM_CO_MES_INTEGRATION has no exception.

Method FILL_CLOSED_FIELDS Signature

Method FILL_CLOSED_FIELDS on class CL_IM_CO_MES_INTEGRATION has no parameter.
Method FILL_CLOSED_FIELDS on class CL_IM_CO_MES_INTEGRATION has no exception.

Method FILL_DISABLED_FCODES Signature

Method FILL_DISABLED_FCODES on class CL_IM_CO_MES_INTEGRATION has no parameter.
Method FILL_DISABLED_FCODES on class CL_IM_CO_MES_INTEGRATION has no exception.

Method GET_DATA_CHANGE_FLAG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_CHANGE_FLAG Value transfer Type reference (TYPE) ABAP_BOOL 20101022

Method GET_DATA_CHANGE_FLAG on class CL_IM_CO_MES_INTEGRATION has no exception.

Method GET_FIELD_DESCRIPTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_NAME Call by reference Type reference (TYPE) SCRFNAME Name eines Dynproelementes 20091026
2 Returning RV_DESCRIPTION Value transfer Type reference (TYPE) SCRTEXT_L Feldbezeichner lang 20091026

Method GET_FIELD_DESCRIPTION on class CL_IM_CO_MES_INTEGRATION has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RI_INSTANCE Value transfer Object reference (TYPE REF TO) CL_IM_CO_MES_INTEGRATION Imp.-Klasse zur BAdI-Imp. CO_MES_INTEGRATION 20091015

Method GET_INSTANCE on class CL_IM_CO_MES_INTEGRATION has no exception.

Method INIT_CUSTOMIZING Signature

Method INIT_CUSTOMIZING on class CL_IM_CO_MES_INTEGRATION has no parameter.
Method INIT_CUSTOMIZING on class CL_IM_CO_MES_INTEGRATION has no exception.

Method SET_DISTRIBUTION_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_BUSINESS_SYSTEM Call by reference Type reference (TYPE) MDG_BUSINESS_SYSTEM SPACE Business-System 20100915
2 Importing IV_DRF_APPL Call by reference Type reference (TYPE) DRF_APPL SPACE Replikationsmodell 20110525
3 Importing IV_LOG_SYSTEM Call by reference Type reference (TYPE) LOGSYS SPACE Logisches System 20100914
4 Importing IV_OBJECT_NUMBER Call by reference Type reference (TYPE) J_OBJNR Objektnummer 20100914
5 Importing IV_PP_ORDER Call by reference Type reference (TYPE) AUFNR Auftragsnummer 20100914

Method SET_DISTRIBUTION_STATUS on class CL_IM_CO_MES_INTEGRATION has no exception.

Method UPDATE_MAX_GAMNG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_HEADER_DIALOG Call by reference Type reference (TYPE) COBAI_S_HEADER_DIALOG 20100818

Method UPDATE_MAX_GAMNG on class CL_IM_CO_MES_INTEGRATION has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 605