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 CO_MAX_AVAILABILITY Static Attribute Private Type reference (TYPE) MNG06 9999999999 Committed Quantity 20071217
2 MR_INSTANCE Static Attribute Private Object reference (TYPE REF TO) CL_WSD_ATP 20060728
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Private Constructor 20060728
2 GET_AVAILABILITY Instance method Public Method Get the material's availability related to the plant 20060731
3 GET_AVAILABILITY_BOM Instance method Private Method Get the availability of a BOM 20071217
4 GET_AVAILABILITY_FOR_CBP Instance method Public Method Get material's availability of the close-by plants 20060731
5 GET_AVAILABILITY_FOR_PLANTS Instance method Public Method Get material's availability related to the plants 20060731
6 GET_FREE_STOCK Static method Public Method Get free stock information 20061026
7 GET_FREE_STOCK_BOM Static method Private Method Get free stock of BOM components 20071217
8 GET_INSTANCE 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 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20060731
2 Importing I_NO_COMPONENT_CHECK Call by reference Type reference (TYPE) CHAR1 SPACE Check stock of components 20071217
3 Importing I_ORDER_TYPE Call by reference Type reference (TYPE) AUART Sales Document Type 20071217
4 Importing I_PLANT Call by reference Type reference (TYPE) WERKS_D Plant 20060731
5 Importing I_UEPST Call by reference Type reference (TYPE) UEPST SPACE Item category of the higher-level item 20071217
6 Importing I_VKORG Call by reference Type reference (TYPE) VKORG Sales Organization 20071217
7 Importing I_VTWEG Call by reference Type reference (TYPE) VTWEG Distribution Channel 20071217
8 Returning RS_ATP Value transfer Type reference (TYPE) WSD_MV_ATP_STY Structure for material view - availability data 20060731
# Exception Resumable Description Created on
1 CX_WSD_EXCEPTION WSD basic exception class 20060731
2 CX_WSD_NO_DATA_FOUND 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 Exporting ES_ATP Call by reference Type reference (TYPE) WSD_MV_ATP_STY Structure for material view - availability data 20071217
2 Importing IT_BOM Call by reference Type reference (TYPE) WSD_BOM_TTY Bill of Material assignments 20071217
3 Importing I_ORDER_TYPE Call by reference Type reference (TYPE) AUART Sales Document Type 20071217
4 Importing I_UEPST Call by reference Type reference (TYPE) UEPST Item category of the higher-level item 20071217
5 Importing I_VKORG Call by reference Type reference (TYPE) VKORG Sales Organization 20071217
6 Importing 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 Importing I_APP_NAME Call by reference Type reference (TYPE) WSD_APPLICATION Application name 20070201
2 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20060731
3 Importing I_ORDER_TYPE Call by reference Type reference (TYPE) AUART Sales Document Type 20071217
4 Importing I_PLANT Call by reference Type reference (TYPE) WERKS_D Plant 20060731
5 Importing I_VKORG Call by reference Type reference (TYPE) VKORG Sales Organization 20071217
6 Importing I_VTWEG Call by reference Type reference (TYPE) VTWEG Distribution Channel 20071217
7 Returning RT_ATP Value transfer Type reference (TYPE) WSD_MV_ATP_TTY Internal table for material availability 20060731
# Exception Resumable Description Created on
1 CX_WSD_EXCEPTION 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 Importing IT_PLANTS Call by reference Type reference (TYPE) T_WERKS Plants 20060731
2 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20060731
3 Importing I_ORDER_TYPE Call by reference Type reference (TYPE) AUART Sales Document Type 20071217
4 Importing I_VKORG Call by reference Type reference (TYPE) VKORG Sales Organization 20071217
5 Importing I_VTWEG Call by reference Type reference (TYPE) VTWEG Distribution Channel 20071217
6 Returning RT_ATP Value transfer Type reference (TYPE) WSD_MV_ATP_TTY Internal table for material availability 20060731
# Exception Resumable Description Created on
1 CX_WSD_EXCEPTION 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 Exporting ET_FREE_STOCK Call by reference Type reference (TYPE) WSD_FREE_STOCK_TTY Material free stock info table type 20061115
2 Importing IT_MATERIALS Call by reference Type reference (TYPE) TBL_PRE01 Table for Structure PRE01 20061026
3 Importing I_ORDER_TYPE Call by reference Type reference (TYPE) AUART Sales Document Type 20071217
4 Importing I_VKORG Call by reference Type reference (TYPE) VKORG Sales Organization 20061026
5 Importing I_VTWEG Call by reference Type reference (TYPE) VTWEG Distribution Channel 20061026
# Exception Resumable Description Created on
1 CX_WSD_EXCEPTION WSD basic exception class 20061026
2 CX_WSD_NO_DATA_FOUND 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 Changing ES_FREE_STOCK Call by reference Type reference (TYPE) WSD_FREE_STOCK_STY Material free stock info 20071217
2 Importing IS_MATERIALS Call by reference Type reference (TYPE) PRE01 Table for Structure PRE01 20071217
3 Importing IT_BOM Call by reference Type reference (TYPE) WSD_BOM_TTY Bill of Material assignments 20071217
4 Importing I_ORDER_TYPE Call by reference Type reference (TYPE) AUART Sales Document Type 20071217
5 Importing I_VKORG Call by reference Type reference (TYPE) VKORG Sales Organization 20071217
6 Importing 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 Returning 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