SAP ABAP Class CL_MES_INT_EQUIPMENT (Integration of Equipment)
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
Properties
Class CL_MES_INT_EQUIPMENT  
Short Description Integration of Equipment    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package CO_MES_INT   Integration of Production w. Manufacturing Execution Systems 
Created 20130606   SAP 
Last change 20131127   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_MES_INT_EQUIPMENT has no forward declaration.
Interfaces
Class CL_MES_INT_EQUIPMENT has no interface implemented.
Friends
Class CL_MES_INT_EQUIPMENT has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_CHAR_CAPACITY_CATEG Constant Private Type reference (TYPE) ATNAM 'MES_CAPACITY_CATEGORY' Characteristic Name 20130614
2 GC_CHAR_INDIVIDUAL_CAPA Constant Private Type reference (TYPE) ATNAM 'MES_INDIVIDUAL_CAPACITY' Characteristic Name 20130614
3 GC_CHAR_RESTYPE1 Constant Private Type reference (TYPE) ATNAM 'MES_RESOURCE_TYPE_1' Characteristic Name 20130704
4 GC_CHAR_RESTYPE2 Constant Private Type reference (TYPE) ATNAM 'MES_RESOURCE_TYPE_2' Characteristic Name 20130704
5 GC_CHAR_RESTYPE3 Constant Private Type reference (TYPE) ATNAM 'MES_RESOURCE_TYPE_3' Characteristic Name 20130704
6 GC_CLASSNUM_CAPACITY Constant Private Type reference (TYPE) KLASSE_D 'MES_CAPACITY_ALLOC' Class Number 20130704
7 GC_CLASSNUM_RESTYPE Constant Private Type reference (TYPE) KLASSE_D 'MES_RESTYPE_ALLOC' Class Number 20130704
8 GI_INSTANCE Static Attribute Private Object reference (TYPE REF TO) CL_MES_INT_EQUIPMENT Integration of Equipment 20130614
9 GT_BUFFER_KAPART Instance attribute Private Type reference (TYPE) TT_BUFFER_KAPART 20130614
10 GT_BUFFER_KAPNAME Instance attribute Private Type reference (TYPE) TT_BUFFER_KAPNAME 20130614
11 GT_BUFFER_RESTYPE Instance attribute Private Type reference (TYPE) TT_BUFFER_RESTYPE Table Type: Buffering of Resource Types per Equipment 20130704
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Private Constructor Constructor 20130614
2 GET_EQUIPMENT_FOR_CAPACITY Instance method Public Method Determines the Equipment for the Individual Capacity 20130614
3 GET_INSTANCE Static method Public Method Procures Class Instance (Singleton) 20130614
4 READ_ALL_ASSIGNMENTS Instance method Public Method Provides All Assignments Equipment - Individual Capacity 20130614
Events
Class CL_MES_INT_EQUIPMENT has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_ASSIGNMENTS Public See coding Structure: Assignments Between Equipment and Indiv. Capacity 20130614 BEGIN OF ts_assignments, equnr TYPE equnr, plant type swerk, kapart TYPE kapart, kapname TYPE kapname, restype1 TYPE co_mes_me_resource_type, restype2 TYPE co_mes_me_resource_type, restype3 TYPE co_mes_me_resource_type, END OF ts_assignments
2 TS_BUFFER_KAPART Private See coding Structure: Buffering of Capacity Categories per Equipment 20130614 BEGIN OF ts_buffer_kapart, object TYPE objnum, kapart TYPE kapart, END OF ts_buffer_kapart
3 TS_BUFFER_KAPNAME Private See coding 20130614 BEGIN OF ts_buffer_kapname, object TYPE objnum, plant TYPE iwerk, kapname TYPE kapname, END OF ts_buffer_kapname
4 TS_BUFFER_RESTYPE Private See coding Structure: Buffering of Resource Types per Equipment 20130704 BEGIN OF ts_buffer_restype, object TYPE objnum, restype1 TYPE co_mes_me_resource_type, restype2 TYPE co_mes_me_resource_type, restype3 TYPE co_mes_me_resource_type, END OF ts_buffer_restype
5 TT_ASSIGNMENTS Public See coding Table: Assignments Between Equipment and Individual Capacity 20130614 tt_assignments TYPE STANDARD TABLE OF ts_assignments
6 TT_BUFFER_KAPART Private See coding Table Type: Buffering of Capacity Categories per Equipment 20130614 tt_buffer_kapart TYPE STANDARD TABLE OF ts_buffer_kapart
7 TT_BUFFER_KAPNAME Private See coding 20130614 tt_buffer_kapname TYPE STANDARD TABLE OF ts_buffer_kapname
8 TT_BUFFER_RESTYPE Private See coding Table Type: Buffering of Resource Types per Equipment 20130704 tt_buffer_restype TYPE STANDARD TABLE OF ts_buffer_restype
Method Signatures

Method CONSTRUCTOR Signature

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

Method GET_EQUIPMENT_FOR_CAPACITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_EQUIPMENT Call by reference Type reference (TYPE) EQUNR Equipmentnummer 20130614
2 Exporting EV_RESOURCE_TYPE_1 Call by reference Type reference (TYPE) CO_MES_ME_RESOURCE_TYPE Ressourcentyp (SAP ME) 20130704
3 Exporting EV_RESOURCE_TYPE_2 Call by reference Type reference (TYPE) CO_MES_ME_RESOURCE_TYPE Ressourcentyp (SAP ME) 20130704
4 Exporting EV_RESOURCE_TYPE_3 Call by reference Type reference (TYPE) CO_MES_ME_RESOURCE_TYPE Ressourcentyp (SAP ME) 20130704
5 Importing IV_CAP_CATEG Call by reference Type reference (TYPE) KAPART Kapazitätsart 20130614
6 Importing IV_CAP_NAME Call by reference Type reference (TYPE) KAPNAME Name der Kapazität 20130614
7 Importing IV_PLANT Call by reference Type reference (TYPE) WERKS_D Werk 20130614
# Exception Resumable Description Created on
1 ASSIGNMENT_NOT_UNIQUE Mehrere Equipments für eine Einzelkapazität 20130614
2 MISSING_PARAMETERS Obligatorische Parameter fehlen 20130614
3 NO_ASSIGNMENT Kein Equipment zugeordnet 20130614

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_MES_INT_EQUIPMENT Integration von Equipment 20130614

Method GET_INSTANCE on class CL_MES_INT_EQUIPMENT has no exception.

Method READ_ALL_ASSIGNMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ASSIGNMENTS Call by reference Type reference (TYPE) TT_ASSIGNMENTS Tabelle: Zuordnungen zwischen Equipment und Einzelkapazität 20130614

Method READ_ALL_ASSIGNMENTS on class CL_MES_INT_EQUIPMENT has no exception.
History
Last changed by/on SAP  20131127 
SAP Release Created in