SAP ABAP Class CL_MILL_PCBT_CHECK (Analysis Services Single-Unit Batches)
Hierarchy
ECC-DIMP (Software Component) DIMP
   IS-MP-MM (Application Component) Materials Management (MM) enhancements
     MILL_MM (Package) IS: Mill Products - Materials Management
Properties
Class CL_MILL_PCBT_CHECK  
Short Description Analysis Services Single-Unit Batches    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package MILL_MM   IS: Mill Products - Materials Management 
Created 20010321   SAP 
Last change 20050301   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 MILLC Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_MILL_PCBT_CHECK has no interface implemented.
Friends
Class CL_MILL_PCBT_CHECK has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_AND Constant Private See coding 'AND' AND 20010322
2 GC_BATCHLEVEL_PLANT Constant Private Type reference (TYPE) KZDCH 0 Indicator: Definition of Batch Management Level 20010321
3 GC_CLASSTYPE_022 Static Attribute Private Type reference (TYPE) TCLA-KLART '022' Class Type 20010321
4 GC_CLASSTYPE_023 Static Attribute Private Type reference (TYPE) TCLA-KLART '023' Class Type 20010321
5 GC_DPCBT_FORBIDDEN Constant Private Type reference (TYPE) MILL_DPCBT SPACE Single-Unit Batch Def. Value 20010321
6 GC_DPCBT_MANDATORY Constant Private Type reference (TYPE) MILL_DPCBT 'C' Single-Unit Batch Def. Value 20010321
7 GC_KZWSM_PRODUOM Constant Private Type reference (TYPE) KZWSO 'B' Unit of measure types 20010321
8 GC_OBTAB_MCH1 Static Attribute Private Type reference (TYPE) INOB-OBTAB 'MCH1' Name of Database Table for Object 20010321
9 GC_OBTAB_MCHA Static Attribute Private Type reference (TYPE) INOB-OBTAB 'MCHA' Name of Database Table for Object 20010321
10 GC_SINGLE_UNIT_BATCH Constant Private Type reference (TYPE) MILL_XPCBT ABAP_TRUE Single-Unit Batch Indicator 20010321
11 GF_BATCHLEVEL Static Attribute Private Type reference (TYPE) KZDCH Indicator: Definition of Batch Management Level 20010321
12 GF_CLASSTYPE Static Attribute Private Type reference (TYPE) TCLA-KLART Class Type 20010321
13 GF_OBTAB Static Attribute Private Type reference (TYPE) INOB-OBTAB Name of Database Table for Object 20010321
Methods
# Method Level Visibility Method type Description Created on
1 ADD_QTY Instance method Private Method Adds Stocks Without Overflow 20010322
2 CHECK_MARA_DPCBT_WO_MARC_DPCBT Instance method Public Method Checks Against MARA Entries Without MARC-DPCBT 20010321
3 CHECK_MARC_DPCBT_WO_MARA_DPCBT Instance method Public Method Checks Against MARC Entries Without MARA-DPCBT 20010321
4 CHECK_MARC_DPCBT_WO_SMARM Instance method Public Method Checks Against MARC Entries With Incomplete SMARM 20010321
5 CHECK_NO_XPCBT_W_DPCBT_C Instance method Public Method Checks Against Stand. Batches for DPCBT "Sng.-Un. Bch Reqmt" 20010321
6 CHECK_SMARM_SUB_UOM Instance method Private Method Checks that Piece Unit of measure Exists 20010321
7 CHECK_STOCK_FACTOR Instance method Public Method Checks Consistency of Conversion Factor 20010321
8 CHECK_XPCBT_W_DPCBT_ Instance method Public Method Checks Againt MCHX-XPCBT f. DPCBT "Sng.-Un. Bchs Forbidden" 20010321
9 CLASS_CONSTRUCTOR Static method Public Constructor Constructor 20010321
10 GET_BATCH Static method Private Method Reads Batches with Particular Single-Unit Batch Indicators 20010321
11 GET_ERROR_TEXTS Instance method Public Method Reads Message Texts for the Errors 20010322
12 GET_SMARM Instance method Private Method Reads MARM Data Relevant to Single-Unit Batches 20010321
13 GET_STOCK Instance method Public Method Reads Batch Stock 20010322
14 GET_SUB_MATERIALS_MARA Instance method Private Method Reads all Single-Unit Batch Materials at MARA Level 20010321
15 GET_SUB_MATERIALS_MARC Instance method Private Method Reads all Single-Unit Batch Materials at MARC Level 20010321
16 OUTPUT_INFO_MESSAGE Instance method Public Method Issues Message for the Error Line 20010322
Events
Class CL_MILL_PCBT_CHECK has no event.
Types
Class CL_MILL_PCBT_CHECK has no local type.
Method Signatures

Method ADD_QTY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IF_QTY1 Call by reference Type reference (TYPE) MCHB-CLABS Wert1 20010322
2 Importing IF_QTY2 Call by reference Type reference (TYPE) MCHB-CLABS Wert2 20010322
3 Importing IF_QTY3 Call by reference Type reference (TYPE) MCHB-CLABS Wert3 20010322
4 Importing IF_QTY4 Call by reference Type reference (TYPE) MCHB-CLABS Wert4 20010322
5 Importing IF_QTY5 Call by reference Type reference (TYPE) MCHB-CLABS Wert5 20010322
6 Returning RF_QTY Value transfer Type reference (TYPE) MCHB-CLABS Summe 20010322

Method ADD_QTY on class CL_MILL_PCBT_CHECK has no exception.

Method CHECK_MARA_DPCBT_WO_MARC_DPCBT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ERROR Call by reference Type reference (TYPE) MILL_TY_T_PCBT_ERROR Fehlertabelle 20010321
2 Importing IR_MATNR Call by reference Type reference (TYPE) MILLC_R_MATNR Range von Materialnummern 20010321
3 Importing IR_WERKS Call by reference Type reference (TYPE) MILLC_R_WERKS Range von Werken 20010321

Method CHECK_MARA_DPCBT_WO_MARC_DPCBT on class CL_MILL_PCBT_CHECK has no exception.

Method CHECK_MARC_DPCBT_WO_MARA_DPCBT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ERROR Call by reference Type reference (TYPE) MILL_TY_T_PCBT_ERROR Fehlertabelle 20010321
2 Importing IR_MATNR Call by reference Type reference (TYPE) MILLC_R_MATNR Range von Materialnummern 20010321
3 Importing IR_WERKS Call by reference Type reference (TYPE) MILLC_R_WERKS Range von Werken 20010321

Method CHECK_MARC_DPCBT_WO_MARA_DPCBT on class CL_MILL_PCBT_CHECK has no exception.

Method CHECK_MARC_DPCBT_WO_SMARM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ERROR Call by reference Type reference (TYPE) MILL_TY_T_PCBT_ERROR Fehlertabelle 20010321
2 Importing IR_MATNR Call by reference Type reference (TYPE) MILLC_R_MATNR Range von Materialnummern 20010321
3 Importing IR_WERKS Call by reference Type reference (TYPE) MILLC_R_WERKS Range von Werken 20010321

Method CHECK_MARC_DPCBT_WO_SMARM on class CL_MILL_PCBT_CHECK has no exception.

Method CHECK_NO_XPCBT_W_DPCBT_C Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ERROR Call by reference Type reference (TYPE) MILL_TY_T_PCBT_ERROR Fehlertabelle 20010321
2 Importing IR_MATNR Call by reference Type reference (TYPE) MILLC_R_MATNR Range von Materialnummern 20010321
3 Importing IR_WERKS Call by reference Type reference (TYPE) MILLC_R_WERKS Range von Werken 20010321

Method CHECK_NO_XPCBT_W_DPCBT_C on class CL_MILL_PCBT_CHECK has no exception.

Method CHECK_SMARM_SUB_UOM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_SMARM Call by reference Type reference (TYPE) PTY_T_SMARM Mengeneinheiten zum Material 20010321
# Exception Resumable Description Created on
1 NO_SUB_UOM Keine Stückmengeneinheit 20010321
2 TOO_MANY_SUB_UOMS Mehr als eine Stückmengeneinheit 20010321

Method CHECK_STOCK_FACTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ERROR Call by reference Type reference (TYPE) MILL_TY_T_PCBT_ERROR Fehlertabelle 20010321
2 Importing IR_MATNR Call by reference Type reference (TYPE) MILLC_R_MATNR Range von Materialnummern 20010321
3 Importing IR_WERKS Call by reference Type reference (TYPE) MILLC_R_WERKS Range von Werken 20010321

Method CHECK_STOCK_FACTOR on class CL_MILL_PCBT_CHECK has no exception.

Method CHECK_XPCBT_W_DPCBT_ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ERROR Call by reference Type reference (TYPE) MILL_TY_T_PCBT_ERROR Fehlertabelle 20010321
2 Importing IR_MATNR Call by reference Type reference (TYPE) MILLC_R_MATNR Range von Materialnummern 20010321
3 Importing IR_WERKS Call by reference Type reference (TYPE) MILLC_R_WERKS Range von Werken 20010321

Method CHECK_XPCBT_W_DPCBT_ on class CL_MILL_PCBT_CHECK has no exception.

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_MILL_PCBT_CHECK has no parameter.
Method CLASS_CONSTRUCTOR on class CL_MILL_PCBT_CHECK has no exception.

Method GET_BATCH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MCHX Call by reference Type reference (TYPE) PTY_T_MCHX Chargendaten 20010321
2 Importing IF_MATNR Call by reference Type reference (TYPE) MATNR Materialnummer 20010321
3 Importing IF_WERKS Call by reference Type reference (TYPE) WERKS_D Werk 20010321
4 Importing IF_XPCBT Call by reference Type reference (TYPE) MILL_XPCBT SPACE Kennzeichen Stückcharge 20010321
# Exception Resumable Description Created on
1 NOT_FOUND Keine Charge zu den Selektionskriterien gefunden 20010321

Method GET_ERROR_TEXTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ERROR Call by reference Type reference (TYPE) MILL_TY_T_PCBT_ERROR Tabellentyp zur Fehlerstrukur Stückchargen 20010322

Method GET_ERROR_TEXTS on class CL_MILL_PCBT_CHECK has no exception.

Method GET_SMARM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SMARM Call by reference Type reference (TYPE) PTY_T_SMARM Mengeneinheiten zum Material 20010321
2 Importing IF_MATNR Call by reference Type reference (TYPE) MATNR Materialnummer 20010321

Method GET_SMARM on class CL_MILL_PCBT_CHECK has no exception.

Method GET_STOCK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IF_CHARG Call by reference Type reference (TYPE) CHARG_D Chargennummer 20010322
2 Importing IF_MATNR Call by reference Type reference (TYPE) MATNR Materialnummer 20010322
3 Importing IF_WERKS Call by reference Type reference (TYPE) WERKS_D Werk 20010322
4 Returning RF_QTY Value transfer Type reference (TYPE) MCHB-CLABS Bestand 20010322

Method GET_STOCK on class CL_MILL_PCBT_CHECK has no exception.

Method GET_SUB_MATERIALS_MARA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MARA Value transfer Type reference (TYPE) PTY_T_MARA MARA-Ausschnitt 20010321
2 Importing IF_DPCBT Call by reference Type reference (TYPE) MILL_DPCBT Vorschlagswert Stückcharge 20010321
3 Importing IR_MATNR Call by reference Type reference (TYPE) MILLC_R_MATNR Range von Materialnummern 20010321

Method GET_SUB_MATERIALS_MARA on class CL_MILL_PCBT_CHECK has no exception.

Method GET_SUB_MATERIALS_MARC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MARC Value transfer Type reference (TYPE) PTY_T_MARC MARC-Ausschnitt 20010321
2 Importing IF_DPCBT Call by reference Type reference (TYPE) MILL_DPCBT Vorschlagswert Stückcharge 20010321
3 Importing IR_MATNR Call by reference Type reference (TYPE) MILLC_R_MATNR Range von Materialnummern 20010321
4 Importing IR_WERKS Call by reference Type reference (TYPE) MILLC_R_WERKS Range von Werken 20010321

Method GET_SUB_MATERIALS_MARC on class CL_MILL_PCBT_CHECK has no exception.

Method OUTPUT_INFO_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ERROR Call by reference Type reference (TYPE) MILL_PCBT_ERROR Fehlerstrukur Stückchargen 20010322

Method OUTPUT_INFO_MESSAGE on class CL_MILL_PCBT_CHECK has no exception.
History
Last changed by/on SAP  20050301 
SAP Release Created in 46C1