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 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | 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 | Constant | Private | See coding | 'AND' | AND | 20010322 | |||
| 2 | Constant | Private | Type reference (TYPE) | KZDCH | 0 | Indicator: Definition of Batch Management Level | 20010321 | ||
| 3 | Static Attribute | Private | Type reference (TYPE) | TCLA-KLART | '022' | Class Type | 20010321 | ||
| 4 | Static Attribute | Private | Type reference (TYPE) | TCLA-KLART | '023' | Class Type | 20010321 | ||
| 5 | Constant | Private | Type reference (TYPE) | MILL_DPCBT | SPACE | Single-Unit Batch Def. Value | 20010321 | ||
| 6 | Constant | Private | Type reference (TYPE) | MILL_DPCBT | 'C' | Single-Unit Batch Def. Value | 20010321 | ||
| 7 | Constant | Private | Type reference (TYPE) | KZWSO | 'B' | Unit of measure types | 20010321 | ||
| 8 | Static Attribute | Private | Type reference (TYPE) | INOB-OBTAB | 'MCH1' | Name of Database Table for Object | 20010321 | ||
| 9 | Static Attribute | Private | Type reference (TYPE) | INOB-OBTAB | 'MCHA' | Name of Database Table for Object | 20010321 | ||
| 10 | Constant | Private | Type reference (TYPE) | MILL_XPCBT | ABAP_TRUE | Single-Unit Batch Indicator | 20010321 | ||
| 11 | Static Attribute | Private | Type reference (TYPE) | KZDCH | Indicator: Definition of Batch Management Level | 20010321 | |||
| 12 | Static Attribute | Private | Type reference (TYPE) | TCLA-KLART | Class Type | 20010321 | |||
| 13 | 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 | Instance method | Private | Method | Adds Stocks Without Overflow | 20010322 | |
| 2 | Instance method | Public | Method | Checks Against MARA Entries Without MARC-DPCBT | 20010321 | |
| 3 | Instance method | Public | Method | Checks Against MARC Entries Without MARA-DPCBT | 20010321 | |
| 4 | Instance method | Public | Method | Checks Against MARC Entries With Incomplete SMARM | 20010321 | |
| 5 | Instance method | Public | Method | Checks Against Stand. Batches for DPCBT "Sng.-Un. Bch Reqmt" | 20010321 | |
| 6 | Instance method | Private | Method | Checks that Piece Unit of measure Exists | 20010321 | |
| 7 | Instance method | Public | Method | Checks Consistency of Conversion Factor | 20010321 | |
| 8 | Instance method | Public | Method | Checks Againt MCHX-XPCBT f. DPCBT "Sng.-Un. Bchs Forbidden" | 20010321 | |
| 9 | Static method | Public | Constructor | Constructor | 20010321 | |
| 10 | Static method | Private | Method | Reads Batches with Particular Single-Unit Batch Indicators | 20010321 | |
| 11 | Instance method | Public | Method | Reads Message Texts for the Errors | 20010322 | |
| 12 | Instance method | Private | Method | Reads MARM Data Relevant to Single-Unit Batches | 20010321 | |
| 13 | Instance method | Public | Method | Reads Batch Stock | 20010322 | |
| 14 | Instance method | Private | Method | Reads all Single-Unit Batch Materials at MARA Level | 20010321 | |
| 15 | Instance method | Private | Method | Reads all Single-Unit Batch Materials at MARC Level | 20010321 | |
| 16 | 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 | IF_QTY1 | Call by reference | Type reference (TYPE) | MCHB-CLABS | Wert1 | 20010322 | |||
| 2 | IF_QTY2 | Call by reference | Type reference (TYPE) | MCHB-CLABS | Wert2 | 20010322 | |||
| 3 | IF_QTY3 | Call by reference | Type reference (TYPE) | MCHB-CLABS | Wert3 | 20010322 | |||
| 4 | IF_QTY4 | Call by reference | Type reference (TYPE) | MCHB-CLABS | Wert4 | 20010322 | |||
| 5 | IF_QTY5 | Call by reference | Type reference (TYPE) | MCHB-CLABS | Wert5 | 20010322 | |||
| 6 | 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 | ET_ERROR | Call by reference | Type reference (TYPE) | MILL_TY_T_PCBT_ERROR | Fehlertabelle | 20010321 | |||
| 2 | IR_MATNR | Call by reference | Type reference (TYPE) | MILLC_R_MATNR | Range von Materialnummern | 20010321 | |||
| 3 | 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 | ET_ERROR | Call by reference | Type reference (TYPE) | MILL_TY_T_PCBT_ERROR | Fehlertabelle | 20010321 | |||
| 2 | IR_MATNR | Call by reference | Type reference (TYPE) | MILLC_R_MATNR | Range von Materialnummern | 20010321 | |||
| 3 | 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 | ET_ERROR | Call by reference | Type reference (TYPE) | MILL_TY_T_PCBT_ERROR | Fehlertabelle | 20010321 | |||
| 2 | IR_MATNR | Call by reference | Type reference (TYPE) | MILLC_R_MATNR | Range von Materialnummern | 20010321 | |||
| 3 | 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 | ET_ERROR | Call by reference | Type reference (TYPE) | MILL_TY_T_PCBT_ERROR | Fehlertabelle | 20010321 | |||
| 2 | IR_MATNR | Call by reference | Type reference (TYPE) | MILLC_R_MATNR | Range von Materialnummern | 20010321 | |||
| 3 | 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 | IT_SMARM | Call by reference | Type reference (TYPE) | PTY_T_SMARM | Mengeneinheiten zum Material | 20010321 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Keine Stückmengeneinheit | 20010321 | ||
| 2 | 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 | ET_ERROR | Call by reference | Type reference (TYPE) | MILL_TY_T_PCBT_ERROR | Fehlertabelle | 20010321 | |||
| 2 | IR_MATNR | Call by reference | Type reference (TYPE) | MILLC_R_MATNR | Range von Materialnummern | 20010321 | |||
| 3 | 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 | ET_ERROR | Call by reference | Type reference (TYPE) | MILL_TY_T_PCBT_ERROR | Fehlertabelle | 20010321 | |||
| 2 | IR_MATNR | Call by reference | Type reference (TYPE) | MILLC_R_MATNR | Range von Materialnummern | 20010321 | |||
| 3 | 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 | ET_MCHX | Call by reference | Type reference (TYPE) | PTY_T_MCHX | Chargendaten | 20010321 | |||
| 2 | IF_MATNR | Call by reference | Type reference (TYPE) | MATNR | Materialnummer | 20010321 | |||
| 3 | IF_WERKS | Call by reference | Type reference (TYPE) | WERKS_D | Werk | 20010321 | |||
| 4 | IF_XPCBT | Call by reference | Type reference (TYPE) | MILL_XPCBT | SPACE | Kennzeichen Stückcharge | 20010321 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | 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 | ET_SMARM | Call by reference | Type reference (TYPE) | PTY_T_SMARM | Mengeneinheiten zum Material | 20010321 | |||
| 2 | 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 | IF_CHARG | Call by reference | Type reference (TYPE) | CHARG_D | Chargennummer | 20010322 | |||
| 2 | IF_MATNR | Call by reference | Type reference (TYPE) | MATNR | Materialnummer | 20010322 | |||
| 3 | IF_WERKS | Call by reference | Type reference (TYPE) | WERKS_D | Werk | 20010322 | |||
| 4 | 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 | ET_MARA | Value transfer | Type reference (TYPE) | PTY_T_MARA | MARA-Ausschnitt | 20010321 | |||
| 2 | IF_DPCBT | Call by reference | Type reference (TYPE) | MILL_DPCBT | Vorschlagswert Stückcharge | 20010321 | |||
| 3 | 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 | ET_MARC | Value transfer | Type reference (TYPE) | PTY_T_MARC | MARC-Ausschnitt | 20010321 | |||
| 2 | IF_DPCBT | Call by reference | Type reference (TYPE) | MILL_DPCBT | Vorschlagswert Stückcharge | 20010321 | |||
| 3 | IR_MATNR | Call by reference | Type reference (TYPE) | MILLC_R_MATNR | Range von Materialnummern | 20010321 | |||
| 4 | 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 | 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 |