SAP ABAP Class CL_MILL_PCBT_BATCH_MASTER (Single-Unit Batches at Batch Level)
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_BATCH_MASTER  
Short Description Single-Unit Batches at Batch Level    
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 20010119   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)
Interfaces
Class CL_MILL_PCBT_BATCH_MASTER has no interface implemented.
Friends
Class CL_MILL_PCBT_BATCH_MASTER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_BATCHLEVEL_PLANT Constant Public Type reference (TYPE) KZDCH 0 Indicator: Definition of Batch Management Level 20010123
2 GC_INPUT Constant Private Type reference (TYPE) MIGO_FS_STATUS 6 Field selection status MIGO 20010119
3 GC_INVISIBLE Constant Private Type reference (TYPE) MIGO_FS_STATUS 0 Field selection status MIGO 20010119
4 GC_MOD_OFF Constant Private Type reference (TYPE) C '0' Off 20010123
5 GC_MOD_ON Constant Private Type reference (TYPE) C '1' On 20010123
6 GC_NO_PCBT_ALLOWED Constant Public Type reference (TYPE) MILL_DPCBT SPACE Single-Unit Batch not Allowed 20010119
7 GC_PCBT_ALLOWED Constant Private Type reference (TYPE) MILL_DPCBT 'A' Single-Unit Batch Allowed but not Proposed 20010119
8 GC_PCBT_ALLW_PROPOSED Constant Private Type reference (TYPE) MILL_DPCBT 'B' Single-Unit Batches Allowed and Proposed 20010119
9 GC_PCBT_ALWAYS Constant Private Type reference (TYPE) MILL_DPCBT 'C' Handled in Single-Unit Batches 20010119
10 GC_VISIBLE Constant Private Type reference (TYPE) MIGO_FS_STATUS 2 Field selection status MIGO 20010119
11 PF_BATCHLEVEL Static Attribute Private Type reference (TYPE) KZDCH Indicator: Definition of Batch Management Level 20010129
12 PF_PLANT_NOT_PROVIDED Instance attribute Private Type reference (TYPE) ABAP_BOOL Do Not Transfer a Plant 20010123
13 PS_BATCHDATA Instance attribute Private Type reference (TYPE) PTY_S_BATCHDATA Batch Data 20010119
14 PS_MATDATA Instance attribute Private Type reference (TYPE) MILL_PCBT_MAT_DATA Single-Unit Batch: Material Data 20010119
15 PS_REFBATCHDATA Instance attribute Private Type reference (TYPE) PTY_S_REFBATCHDATA Batch Data for Source Batch 20010129
16 PT_BATCHDATA_MCH1 Static Attribute Private Type reference (TYPE) PTY_T_BATCHDATA_MCH1 Buffer Batch Data MCH1 20020605
17 PT_BATCHDATA_MCHA Static Attribute Private Type reference (TYPE) PTY_T_BATCHDATA_MCHA Buffer Batch Data MCHA 20020605
18 PT_XPCBT_MEM Static Attribute Private Type reference (TYPE) /SAPMP/XPCBT_MEM_T Single-Unit Batch - User Data 20031218
Methods
# Method Level Visibility Method type Description Created on
1 BATCHDATA_GET Static method Private Method Read Batch Data from Own Buffer 20020605
2 BATCHDATA_SET Static method Private Method Write Batch Data to Own Buffer 20020605
3 BATCHLEVEL_SET Instance method Private Method Determines Batch Definition Level 20010129
4 CONSTRUCTOR Instance method Public Constructor Constructor 20010119
5 DPCBT_GET Instance method Private Method Reads Default Value of Single-Unit Batch from Matl Master to 20010129
6 DPCBT_OLD_TRANSACTIONS Static method Public Method Controls Messaging for Single-Unit Batches in old Bch Master 20010314
7 FLOATS_EQUAL Static method Private Method Compares Two Float Numbers 20010214
8 FLOAT_FACTORS_NEEDED Static method Public Method Checks if Five-Digit Conversion Factors Are Sufficient 20010214
9 IS_NEW_BATCH Instance method Private Method Determines if Batch Already in DB or Is Newly Created 20010126
10 LWEDT_FIELDSELECTION Instance method Private Method Field Selection - Date of Last GR 20010119
11 MCHA_XPCBT_FIELDSELECT Instance method Private Method Field Selection - Single-Unit Batch Default Value 20010123
12 PAI Instance method Public Method PAI 20010124
13 PBO Instance method Public Method PBO 20010123
14 XPCBT_FIELDSELECTION Instance method Private Method Field Selection for Single-Unit Batch Indicator 20010119
15 XPCBT_GET Instance method Public Method Exports the Private XPCBT 20010126
16 XPCBT_GET_BATCHDATA Static method Public Method Read Single-Unit Batch from Dialog - Key Mat/Plant/Batch 20031218
17 XPCBT_GET_EXT Static method Public Method Read Single-Unit Batch from Dialog or BAPI - Key Index 20031218
18 XPCBT_GET_FROM_BATCH_DB Static method Public Method Reads the Single-Unit Batch Indicator of an Existing Batch 20010129
19 XPCBT_GET_FROM_DPCBT Static method Public Method Copy Single-Unit Batch Indicator from Material Master 20010126
20 XPCBT_REFRESH_EXT Static method Public Method Initialize Single-Unit Batch from Dialog or BAPI 20031218
21 XPCBT_REF_GET Instance method Public Method Exports the Private XPCBT of the Source Batch 20010129
22 XPCBT_SET_EXT Static method Public Method Set Single-Unit Batch from Dialog or BAPI - Key Index 20031218
23 XPCBT_SET_TO_BATCHDATA Static method Public Method Set Single-Unit Batch from Dialog - Key Mat/Plant/Batch 20031218
Events
Class CL_MILL_PCBT_BATCH_MASTER has no event.
Types
Class CL_MILL_PCBT_BATCH_MASTER has no local type.
Method Signatures

Method BATCHDATA_GET 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 20020605
2 Importing IF_MATNR Call by reference Type reference (TYPE) MATNR Materialnummer 20020605
3 Importing IF_WERKS Call by reference Type reference (TYPE) WERKS_D Werk 20020605
4 Returning RS_BATCHDATA Value transfer Type reference (TYPE) PTY_S_BATCHDATA Chargendaten 20020605
# Exception Resumable Description Created on
1 NOT_FOUND Chargendaten im eigenen Puffer nicht vorhanden 20020605

Method BATCHDATA_SET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IF_MATNR Call by reference Type reference (TYPE) MATNR Materialnummer 20020605
2 Importing IF_WERKS Call by reference Type reference (TYPE) WERKS_D Werk 20020605
3 Importing IS_BATCHDATA Call by reference Type reference (TYPE) PTY_S_BATCHDATA Chargendaten 20020605

Method BATCHDATA_SET on class CL_MILL_PCBT_BATCH_MASTER has no exception.

Method BATCHLEVEL_SET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IF_BATCHLEVEL Call by reference Type reference (TYPE) KZDCH Definition der Ebene der Chargenführung 20010129

Method BATCHLEVEL_SET on class CL_MILL_PCBT_BATCH_MASTER has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IF_BATCH Call by reference Type reference (TYPE) CHARG_D Chargennummer 20010129
2 Importing IF_BATCHLEVEL Call by reference Type reference (TYPE) KZDCH Definition der Ebene der Chargenführung 20010129
3 Importing IF_LWEDT_DB Call by reference Type reference (TYPE) LWEDT Datum des letzten Wareneingangs 20010124
4 Importing IF_XPCBT_DB Call by reference Type reference (TYPE) MILL_XPCBT Kennzeichen Stückcharge 20010124
5 Importing IF_XREF_BATCH Call by reference Type reference (TYPE) XFELD Anlage mit Vorlage 20010125
6 Importing IS_MAT_DATA Call by reference Type reference (TYPE) MILL_PCBT_MAT_DATA Stückcharge: Materialdaten 20010123
7 Importing IS_REF_BATCH_KEY Call by reference Type reference (TYPE) MILL_PCBT_BATCH_KEY Allgemeiner Schlüssel Chargenstammsatz 20010129

Method CONSTRUCTOR on class CL_MILL_PCBT_BATCH_MASTER has no exception.

Method DPCBT_GET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_MAT_DATA Call by reference Type reference (TYPE) MILL_PCBT_MAT_DATA Stückcharge: Materialdaten 20010129
2 Returning RF_DPCBT Value transfer Type reference (TYPE) MILL_DPCBT Vorschlagswert Stückcharge 20010129

Method DPCBT_GET on class CL_MILL_PCBT_BATCH_MASTER has no exception.

Method DPCBT_OLD_TRANSACTIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IF_AKTYP Call by reference Type reference (TYPE) T148M-AKTYP Aktivitätstyp in der Transaktion 20010314
2 Importing IF_CHARG Call by reference Type reference (TYPE) CHARG_D Chargennummer 20010314
3 Importing IF_MATNR Call by reference Type reference (TYPE) MATNR Materialnummer 20010314
4 Importing IF_WERKS Call by reference Type reference (TYPE) WERKS_D Werk 20010314

Method DPCBT_OLD_TRANSACTIONS on class CL_MILL_PCBT_BATCH_MASTER has no exception.

Method FLOATS_EQUAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IF_FLOAT1 Call by reference Type reference (TYPE) F Zahl 20010214
2 Importing IF_FLOAT2 Call by reference Type reference (TYPE) F Andere Zahl 20010214
3 Returning RF_EQUAL Value transfer Type reference (TYPE) ABAP_BOOL Die Zahlen sind gleich 20010214

Method FLOATS_EQUAL on class CL_MILL_PCBT_BATCH_MASTER has no exception.

Method FLOAT_FACTORS_NEEDED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IF_UMREN_F Call by reference Type reference (TYPE) F Umrechnungsnenner 20010214
2 Importing IF_UMREZ_F Call by reference Type reference (TYPE) F Umrechnungszähler 20010214
3 Returning RF_FLOATS_NEEDED Value transfer Type reference (TYPE) XFELD Feld zum Ankreuzen 20010214

Method FLOAT_FACTORS_NEEDED on class CL_MILL_PCBT_BATCH_MASTER has no exception.

Method IS_NEW_BATCH 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 20010126
2 Importing IF_MATNR Call by reference Type reference (TYPE) MATNR Materialnummer 20010126
3 Importing IF_WERKS Call by reference Type reference (TYPE) WERKS_D Werk 20010126
4 Returning RF_IS_NEW_BATCH Value transfer Type reference (TYPE) ABAP_BOOL Chargenneuanlage 20010126
# Exception Resumable Description Created on
1 NO_BATCH Charge wurde nicht übergeben 20010417

Method LWEDT_FIELDSELECTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RF_STATUS Value transfer Type reference (TYPE) MIGO_FS_STATUS Feldauswahlstatus MIGO 20010119

Method LWEDT_FIELDSELECTION on class CL_MILL_PCBT_BATCH_MASTER has no exception.

Method MCHA_XPCBT_FIELDSELECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RF_STATUS Value transfer Type reference (TYPE) MIGO_FS_STATUS Feldauswahlstatus MIGO 20010123

Method MCHA_XPCBT_FIELDSELECT on class CL_MILL_PCBT_BATCH_MASTER has no exception.

Method PAI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IF_XPCBT Call by reference Type reference (TYPE) MILL_XPCBT Kennzeichen Stückcharge 20010124

Method PAI on class CL_MILL_PCBT_BATCH_MASTER has no exception.

Method PBO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EF_XPCBT Call by reference Type reference (TYPE) MILL_XPCBT Kennzeichen Stückcharge 20010123

Method PBO on class CL_MILL_PCBT_BATCH_MASTER has no exception.

Method XPCBT_FIELDSELECTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RF_STATUS Value transfer Type reference (TYPE) MIGO_FS_STATUS Feldauswahlstatus MIGO 20010119

Method XPCBT_FIELDSELECTION on class CL_MILL_PCBT_BATCH_MASTER has no exception.

Method XPCBT_GET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RF_XPCBT Value transfer Type reference (TYPE) MILL_XPCBT Kennzeichen Stückcharge 20010126

Method XPCBT_GET on class CL_MILL_PCBT_BATCH_MASTER has no exception.

Method XPCBT_GET_BATCHDATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EF_LWEDT Value transfer Type reference (TYPE) LWEDT Datum des letzten Wareneingangs 20031218
2 Exporting EF_XNEWB Value transfer Type reference (TYPE) XFELD Neue Charge 20031222
3 Exporting EF_XPCBT Value transfer Type reference (TYPE) MILL_XPCBT Kennzeichen Stückcharge 20031218
4 Importing IF_CHARG Call by reference Type reference (TYPE) CHARG_D Chargennummer 20031218
5 Importing IF_MATNR Call by reference Type reference (TYPE) MATNR Materialnummer 20031218
6 Importing IF_WERKS Call by reference Type reference (TYPE) WERKS_D Werk 20031218
# Exception Resumable Description Created on
1 NOT_FOUND Chargendaten im eigenen Puffer nicht vorhanden 20031218

Method XPCBT_GET_EXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EF_UMXPC Call by reference Type reference (TYPE) /SAPMP/UMXPC Kennzeichen Stückcharge Umbuchung 20031218
2 Exporting EF_XPCBT Call by reference Type reference (TYPE) MILL_XPCBT Kennzeichen Stückcharge 20031218
3 Importing IF_COUNTER Call by reference Type reference (TYPE) MIGO_GLOBAL_COUNTER Eindeutige Nummer für eine Zeile 20031218
4 Importing IF_UMXPC Call by reference Type reference (TYPE) /SAPMP/UMXPC Kennzeichen Stückcharge Umbuchung 20031218
5 Importing IF_XPCBT Call by reference Type reference (TYPE) MILL_XPCBT Kennzeichen Stückcharge 20031218
6 Importing IF_ZEILE Call by reference Type reference (TYPE) MBLPO Position im Materialbeleg 20031218
# Exception Resumable Description Created on
1 NOT_FOUND Kein Eintrag gefunden 20031218

Method XPCBT_GET_FROM_BATCH_DB 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 20010130
2 Importing IF_MATNR Call by reference Type reference (TYPE) MATNR Materialnummer 20010130
3 Importing IF_WERKS Call by reference Type reference (TYPE) WERKS_D Werk 20010130
4 Returning RF_XPCBT Value transfer Type reference (TYPE) MILL_XPCBT Kennzeichen Stückcharge 20010129

Method XPCBT_GET_FROM_BATCH_DB on class CL_MILL_PCBT_BATCH_MASTER has no exception.

Method XPCBT_GET_FROM_DPCBT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IF_DPCBT Call by reference Type reference (TYPE) MILL_DPCBT Vorschlagswert Stückcharge 20010126
2 Returning RF_XPCBT Value transfer Type reference (TYPE) MILL_XPCBT Kennzeichen Stückcharge 20010126

Method XPCBT_GET_FROM_DPCBT on class CL_MILL_PCBT_BATCH_MASTER has no exception.

Method XPCBT_REFRESH_EXT Signature

Method XPCBT_REFRESH_EXT on class CL_MILL_PCBT_BATCH_MASTER has no parameter.
Method XPCBT_REFRESH_EXT on class CL_MILL_PCBT_BATCH_MASTER has no exception.

Method XPCBT_REF_GET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RF_XPCBT Value transfer Type reference (TYPE) MILL_XPCBT Kennzeichen Stückcharge 20010129

Method XPCBT_REF_GET on class CL_MILL_PCBT_BATCH_MASTER has no exception.

Method XPCBT_SET_EXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IF_COUNTER Call by reference Type reference (TYPE) MIGO_GLOBAL_COUNTER Eindeutige Nummer für eine Zeile 20031218
2 Importing IF_UMXPC Call by reference Type reference (TYPE) /SAPMP/UMXPC Kennzeichen Stückcharge Umbuchung 20031218
3 Importing IF_XPCBT Call by reference Type reference (TYPE) MILL_XPCBT Kennzeichen Stückcharge 20031218
4 Importing IF_ZEILE Call by reference Type reference (TYPE) MBLPO Position im Materialbeleg 20031218

Method XPCBT_SET_EXT on class CL_MILL_PCBT_BATCH_MASTER has no exception.

Method XPCBT_SET_TO_BATCHDATA 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 20031218
2 Importing IF_MATNR Call by reference Type reference (TYPE) MATNR Materialnummer 20031218
3 Importing IF_WERKS Call by reference Type reference (TYPE) WERKS_D Werk 20031218
4 Importing IF_XPCBT Call by reference Type reference (TYPE) MILL_XPCBT Kennzeichen Stückcharge 20031218

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