SAP ABAP Class CL_WSD_ATP (CL_WSD_ATP)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
SD-MD-MM-CS (Application Component) Additional Material Functions
⤷
WSD_CS_FU (Package) Functionality Enhanced Material Search
⤷
⤷
Properties
| Class | CL_WSD_ATP | |
| Short Description | ||
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | WSD_CS_FU | Functionality Enhanced Material Search |
| Created | 20060728 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_WSD_ATP has no forward declaration.
Interfaces
Class CL_WSD_ATP has no interface implemented.
Friends
Class CL_WSD_ATP has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | MNG06 | 9999999999 | Committed Quantity | 20071217 | ||
| 2 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_WSD_ATP | 20060728 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Constructor | 20060728 | ||
| 2 | Instance method | Public | Method | Get the material's availability related to the plant | 20060731 | |
| 3 | Instance method | Private | Method | Get the availability of a BOM | 20071217 | |
| 4 | Instance method | Public | Method | Get material's availability of the close-by plants | 20060731 | |
| 5 | Instance method | Public | Method | Get material's availability related to the plants | 20060731 | |
| 6 | Static method | Public | Method | Get free stock information | 20061026 | |
| 7 | Static method | Private | Method | Get free stock of BOM components | 20071217 | |
| 8 | Static method | Public | Method | Get the singleton instance | 20060728 |
Events
Class CL_WSD_ATP has no event.
Types
Class CL_WSD_ATP has no local type.
Method Signatures
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_WSD_ATP has no parameter.
Method CONSTRUCTOR on class CL_WSD_ATP has no exception.
Method GET_AVAILABILITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20060731 | |||
| 2 | I_NO_COMPONENT_CHECK | Call by reference | Type reference (TYPE) | CHAR1 | SPACE | Check stock of components | 20071217 | ||
| 3 | I_ORDER_TYPE | Call by reference | Type reference (TYPE) | AUART | Sales Document Type | 20071217 | |||
| 4 | I_PLANT | Call by reference | Type reference (TYPE) | WERKS_D | Plant | 20060731 | |||
| 5 | I_UEPST | Call by reference | Type reference (TYPE) | UEPST | SPACE | Item category of the higher-level item | 20071217 | ||
| 6 | I_VKORG | Call by reference | Type reference (TYPE) | VKORG | Sales Organization | 20071217 | |||
| 7 | I_VTWEG | Call by reference | Type reference (TYPE) | VTWEG | Distribution Channel | 20071217 | |||
| 8 | RS_ATP | Value transfer | Type reference (TYPE) | WSD_MV_ATP_STY | Structure for material view - availability data | 20060731 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | WSD basic exception class | 20060731 | ||
| 2 | General exception for data-not-found errors | 20060802 |
Method GET_AVAILABILITY_BOM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_ATP | Call by reference | Type reference (TYPE) | WSD_MV_ATP_STY | Structure for material view - availability data | 20071217 | |||
| 2 | IT_BOM | Call by reference | Type reference (TYPE) | WSD_BOM_TTY | Bill of Material assignments | 20071217 | |||
| 3 | I_ORDER_TYPE | Call by reference | Type reference (TYPE) | AUART | Sales Document Type | 20071217 | |||
| 4 | I_UEPST | Call by reference | Type reference (TYPE) | UEPST | Item category of the higher-level item | 20071217 | |||
| 5 | I_VKORG | Call by reference | Type reference (TYPE) | VKORG | Sales Organization | 20071217 | |||
| 6 | I_VTWEG | Call by reference | Type reference (TYPE) | VTWEG | Distribution Channel | 20071217 |
Method GET_AVAILABILITY_BOM on class CL_WSD_ATP has no exception.
Method GET_AVAILABILITY_FOR_CBP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_APP_NAME | Call by reference | Type reference (TYPE) | WSD_APPLICATION | Application name | 20070201 | |||
| 2 | I_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20060731 | |||
| 3 | I_ORDER_TYPE | Call by reference | Type reference (TYPE) | AUART | Sales Document Type | 20071217 | |||
| 4 | I_PLANT | Call by reference | Type reference (TYPE) | WERKS_D | Plant | 20060731 | |||
| 5 | I_VKORG | Call by reference | Type reference (TYPE) | VKORG | Sales Organization | 20071217 | |||
| 6 | I_VTWEG | Call by reference | Type reference (TYPE) | VTWEG | Distribution Channel | 20071217 | |||
| 7 | RT_ATP | Value transfer | Type reference (TYPE) | WSD_MV_ATP_TTY | Internal table for material availability | 20060731 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | WSD basic exception class | 20060731 |
Method GET_AVAILABILITY_FOR_PLANTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_PLANTS | Call by reference | Type reference (TYPE) | T_WERKS | Plants | 20060731 | |||
| 2 | I_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20060731 | |||
| 3 | I_ORDER_TYPE | Call by reference | Type reference (TYPE) | AUART | Sales Document Type | 20071217 | |||
| 4 | I_VKORG | Call by reference | Type reference (TYPE) | VKORG | Sales Organization | 20071217 | |||
| 5 | I_VTWEG | Call by reference | Type reference (TYPE) | VTWEG | Distribution Channel | 20071217 | |||
| 6 | RT_ATP | Value transfer | Type reference (TYPE) | WSD_MV_ATP_TTY | Internal table for material availability | 20060731 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | WSD basic exception class | 20060731 |
Method GET_FREE_STOCK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_FREE_STOCK | Call by reference | Type reference (TYPE) | WSD_FREE_STOCK_TTY | Material free stock info table type | 20061115 | |||
| 2 | IT_MATERIALS | Call by reference | Type reference (TYPE) | TBL_PRE01 | Table for Structure PRE01 | 20061026 | |||
| 3 | I_ORDER_TYPE | Call by reference | Type reference (TYPE) | AUART | Sales Document Type | 20071217 | |||
| 4 | I_VKORG | Call by reference | Type reference (TYPE) | VKORG | Sales Organization | 20061026 | |||
| 5 | I_VTWEG | Call by reference | Type reference (TYPE) | VTWEG | Distribution Channel | 20061026 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | WSD basic exception class | 20061026 | ||
| 2 | General exception for data-not-found errors | 20061026 |
Method GET_FREE_STOCK_BOM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_FREE_STOCK | Call by reference | Type reference (TYPE) | WSD_FREE_STOCK_STY | Material free stock info | 20071217 | |||
| 2 | IS_MATERIALS | Call by reference | Type reference (TYPE) | PRE01 | Table for Structure PRE01 | 20071217 | |||
| 3 | IT_BOM | Call by reference | Type reference (TYPE) | WSD_BOM_TTY | Bill of Material assignments | 20071217 | |||
| 4 | I_ORDER_TYPE | Call by reference | Type reference (TYPE) | AUART | Sales Document Type | 20071217 | |||
| 5 | I_VKORG | Call by reference | Type reference (TYPE) | VKORG | Sales Organization | 20071217 | |||
| 6 | I_VTWEG | Call by reference | Type reference (TYPE) | VTWEG | Distribution Channel | 20071217 |
Method GET_FREE_STOCK_BOM on class CL_WSD_ATP has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_WSD_ATP | 20060728 |
Method GET_INSTANCE on class CL_WSD_ATP has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 700 |