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 | 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 | Constant | Public | Type reference (TYPE) | KZDCH | 0 | Indicator: Definition of Batch Management Level | 20010123 | ||
| 2 | Constant | Private | Type reference (TYPE) | MIGO_FS_STATUS | 6 | Field selection status MIGO | 20010119 | ||
| 3 | Constant | Private | Type reference (TYPE) | MIGO_FS_STATUS | 0 | Field selection status MIGO | 20010119 | ||
| 4 | Constant | Private | Type reference (TYPE) | C | '0' | Off | 20010123 | ||
| 5 | Constant | Private | Type reference (TYPE) | C | '1' | On | 20010123 | ||
| 6 | Constant | Public | Type reference (TYPE) | MILL_DPCBT | SPACE | Single-Unit Batch not Allowed | 20010119 | ||
| 7 | Constant | Private | Type reference (TYPE) | MILL_DPCBT | 'A' | Single-Unit Batch Allowed but not Proposed | 20010119 | ||
| 8 | Constant | Private | Type reference (TYPE) | MILL_DPCBT | 'B' | Single-Unit Batches Allowed and Proposed | 20010119 | ||
| 9 | Constant | Private | Type reference (TYPE) | MILL_DPCBT | 'C' | Handled in Single-Unit Batches | 20010119 | ||
| 10 | Constant | Private | Type reference (TYPE) | MIGO_FS_STATUS | 2 | Field selection status MIGO | 20010119 | ||
| 11 | Static Attribute | Private | Type reference (TYPE) | KZDCH | Indicator: Definition of Batch Management Level | 20010129 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | Do Not Transfer a Plant | 20010123 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | PTY_S_BATCHDATA | Batch Data | 20010119 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | MILL_PCBT_MAT_DATA | Single-Unit Batch: Material Data | 20010119 | |||
| 15 | Instance attribute | Private | Type reference (TYPE) | PTY_S_REFBATCHDATA | Batch Data for Source Batch | 20010129 | |||
| 16 | Static Attribute | Private | Type reference (TYPE) | PTY_T_BATCHDATA_MCH1 | Buffer Batch Data MCH1 | 20020605 | |||
| 17 | Static Attribute | Private | Type reference (TYPE) | PTY_T_BATCHDATA_MCHA | Buffer Batch Data MCHA | 20020605 | |||
| 18 | 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 | Static method | Private | Method | Read Batch Data from Own Buffer | 20020605 | |
| 2 | Static method | Private | Method | Write Batch Data to Own Buffer | 20020605 | |
| 3 | Instance method | Private | Method | Determines Batch Definition Level | 20010129 | |
| 4 | Instance method | Public | Constructor | Constructor | 20010119 | |
| 5 | Instance method | Private | Method | Reads Default Value of Single-Unit Batch from Matl Master to | 20010129 | |
| 6 | Static method | Public | Method | Controls Messaging for Single-Unit Batches in old Bch Master | 20010314 | |
| 7 | Static method | Private | Method | Compares Two Float Numbers | 20010214 | |
| 8 | Static method | Public | Method | Checks if Five-Digit Conversion Factors Are Sufficient | 20010214 | |
| 9 | Instance method | Private | Method | Determines if Batch Already in DB or Is Newly Created | 20010126 | |
| 10 | Instance method | Private | Method | Field Selection - Date of Last GR | 20010119 | |
| 11 | Instance method | Private | Method | Field Selection - Single-Unit Batch Default Value | 20010123 | |
| 12 | Instance method | Public | Method | PAI | 20010124 | |
| 13 | Instance method | Public | Method | PBO | 20010123 | |
| 14 | Instance method | Private | Method | Field Selection for Single-Unit Batch Indicator | 20010119 | |
| 15 | Instance method | Public | Method | Exports the Private XPCBT | 20010126 | |
| 16 | Static method | Public | Method | Read Single-Unit Batch from Dialog - Key Mat/Plant/Batch | 20031218 | |
| 17 | Static method | Public | Method | Read Single-Unit Batch from Dialog or BAPI - Key Index | 20031218 | |
| 18 | Static method | Public | Method | Reads the Single-Unit Batch Indicator of an Existing Batch | 20010129 | |
| 19 | Static method | Public | Method | Copy Single-Unit Batch Indicator from Material Master | 20010126 | |
| 20 | Static method | Public | Method | Initialize Single-Unit Batch from Dialog or BAPI | 20031218 | |
| 21 | Instance method | Public | Method | Exports the Private XPCBT of the Source Batch | 20010129 | |
| 22 | Static method | Public | Method | Set Single-Unit Batch from Dialog or BAPI - Key Index | 20031218 | |
| 23 | 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 | IF_CHARG | Call by reference | Type reference (TYPE) | CHARG_D | Chargennummer | 20020605 | |||
| 2 | IF_MATNR | Call by reference | Type reference (TYPE) | MATNR | Materialnummer | 20020605 | |||
| 3 | IF_WERKS | Call by reference | Type reference (TYPE) | WERKS_D | Werk | 20020605 | |||
| 4 | RS_BATCHDATA | Value transfer | Type reference (TYPE) | PTY_S_BATCHDATA | Chargendaten | 20020605 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IF_MATNR | Call by reference | Type reference (TYPE) | MATNR | Materialnummer | 20020605 | |||
| 2 | IF_WERKS | Call by reference | Type reference (TYPE) | WERKS_D | Werk | 20020605 | |||
| 3 | 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 | 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 | IF_BATCH | Call by reference | Type reference (TYPE) | CHARG_D | Chargennummer | 20010129 | |||
| 2 | IF_BATCHLEVEL | Call by reference | Type reference (TYPE) | KZDCH | Definition der Ebene der Chargenführung | 20010129 | |||
| 3 | IF_LWEDT_DB | Call by reference | Type reference (TYPE) | LWEDT | Datum des letzten Wareneingangs | 20010124 | |||
| 4 | IF_XPCBT_DB | Call by reference | Type reference (TYPE) | MILL_XPCBT | Kennzeichen Stückcharge | 20010124 | |||
| 5 | IF_XREF_BATCH | Call by reference | Type reference (TYPE) | XFELD | Anlage mit Vorlage | 20010125 | |||
| 6 | IS_MAT_DATA | Call by reference | Type reference (TYPE) | MILL_PCBT_MAT_DATA | Stückcharge: Materialdaten | 20010123 | |||
| 7 | 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 | IS_MAT_DATA | Call by reference | Type reference (TYPE) | MILL_PCBT_MAT_DATA | Stückcharge: Materialdaten | 20010129 | |||
| 2 | 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 | IF_AKTYP | Call by reference | Type reference (TYPE) | T148M-AKTYP | Aktivitätstyp in der Transaktion | 20010314 | |||
| 2 | IF_CHARG | Call by reference | Type reference (TYPE) | CHARG_D | Chargennummer | 20010314 | |||
| 3 | IF_MATNR | Call by reference | Type reference (TYPE) | MATNR | Materialnummer | 20010314 | |||
| 4 | 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 | IF_FLOAT1 | Call by reference | Type reference (TYPE) | F | Zahl | 20010214 | |||
| 2 | IF_FLOAT2 | Call by reference | Type reference (TYPE) | F | Andere Zahl | 20010214 | |||
| 3 | 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 | IF_UMREN_F | Call by reference | Type reference (TYPE) | F | Umrechnungsnenner | 20010214 | |||
| 2 | IF_UMREZ_F | Call by reference | Type reference (TYPE) | F | Umrechnungszähler | 20010214 | |||
| 3 | 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 | IF_CHARG | Call by reference | Type reference (TYPE) | CHARG_D | Chargennummer | 20010126 | |||
| 2 | IF_MATNR | Call by reference | Type reference (TYPE) | MATNR | Materialnummer | 20010126 | |||
| 3 | IF_WERKS | Call by reference | Type reference (TYPE) | WERKS_D | Werk | 20010126 | |||
| 4 | RF_IS_NEW_BATCH | Value transfer | Type reference (TYPE) | ABAP_BOOL | Chargenneuanlage | 20010126 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Charge wurde nicht übergeben | 20010417 |
Method LWEDT_FIELDSELECTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | 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 | 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 | 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 | 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 | 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 | EF_LWEDT | Value transfer | Type reference (TYPE) | LWEDT | Datum des letzten Wareneingangs | 20031218 | |||
| 2 | EF_XNEWB | Value transfer | Type reference (TYPE) | XFELD | Neue Charge | 20031222 | |||
| 3 | EF_XPCBT | Value transfer | Type reference (TYPE) | MILL_XPCBT | Kennzeichen Stückcharge | 20031218 | |||
| 4 | IF_CHARG | Call by reference | Type reference (TYPE) | CHARG_D | Chargennummer | 20031218 | |||
| 5 | IF_MATNR | Call by reference | Type reference (TYPE) | MATNR | Materialnummer | 20031218 | |||
| 6 | IF_WERKS | Call by reference | Type reference (TYPE) | WERKS_D | Werk | 20031218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | EF_UMXPC | Call by reference | Type reference (TYPE) | /SAPMP/UMXPC | Kennzeichen Stückcharge Umbuchung | 20031218 | |||
| 2 | EF_XPCBT | Call by reference | Type reference (TYPE) | MILL_XPCBT | Kennzeichen Stückcharge | 20031218 | |||
| 3 | IF_COUNTER | Call by reference | Type reference (TYPE) | MIGO_GLOBAL_COUNTER | Eindeutige Nummer für eine Zeile | 20031218 | |||
| 4 | IF_UMXPC | Call by reference | Type reference (TYPE) | /SAPMP/UMXPC | Kennzeichen Stückcharge Umbuchung | 20031218 | |||
| 5 | IF_XPCBT | Call by reference | Type reference (TYPE) | MILL_XPCBT | Kennzeichen Stückcharge | 20031218 | |||
| 6 | IF_ZEILE | Call by reference | Type reference (TYPE) | MBLPO | Position im Materialbeleg | 20031218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IF_CHARG | Call by reference | Type reference (TYPE) | CHARG_D | Chargennummer | 20010130 | |||
| 2 | IF_MATNR | Call by reference | Type reference (TYPE) | MATNR | Materialnummer | 20010130 | |||
| 3 | IF_WERKS | Call by reference | Type reference (TYPE) | WERKS_D | Werk | 20010130 | |||
| 4 | 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 | IF_DPCBT | Call by reference | Type reference (TYPE) | MILL_DPCBT | Vorschlagswert Stückcharge | 20010126 | |||
| 2 | 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 | 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 | IF_COUNTER | Call by reference | Type reference (TYPE) | MIGO_GLOBAL_COUNTER | Eindeutige Nummer für eine Zeile | 20031218 | |||
| 2 | IF_UMXPC | Call by reference | Type reference (TYPE) | /SAPMP/UMXPC | Kennzeichen Stückcharge Umbuchung | 20031218 | |||
| 3 | IF_XPCBT | Call by reference | Type reference (TYPE) | MILL_XPCBT | Kennzeichen Stückcharge | 20031218 | |||
| 4 | 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 | IF_CHARG | Call by reference | Type reference (TYPE) | CHARG_D | Chargennummer | 20031218 | |||
| 2 | IF_MATNR | Call by reference | Type reference (TYPE) | MATNR | Materialnummer | 20031218 | |||
| 3 | IF_WERKS | Call by reference | Type reference (TYPE) | WERKS_D | Werk | 20031218 | |||
| 4 | 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 |