SAP ABAP Class /DSD/CL_OC_ATP_PRICING (DSD OC: ATP Check and Price Determination)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   LE-DSD (Application Component) Direct Store Delivery
     /DSD/OC (Package) DSD Occassional Connected Scenarios
Properties
Class /DSD/CL_OC_ATP_PRICING  
Short Description DSD OC: ATP Check and Price Determination    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /DSD/OC   DSD Occassional Connected Scenarios 
Created 20090302   SAP 
Last change 20100310   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class /DSD/CL_OC_ATP_PRICING has no forward declaration.
Interfaces
Class /DSD/CL_OC_ATP_PRICING has no interface implemented.
Friends
Class /DSD/CL_OC_ATP_PRICING has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_ATP_AVAIL Constant Public Type reference (TYPE) /DSD/ME_ATP_OVERALL_RESULT 'Y' ATP Check Status 'Available' 20090303
2 GC_ATP_ERROR Constant Public Type reference (TYPE) /DSD/ME_ATP_OVERALL_RESULT 'E' ATP Check Status 'Error' 20090303
3 GC_ATP_NOT_AVAIL Constant Public Type reference (TYPE) /DSD/ME_ATP_OVERALL_RESULT 'N' ATP Check Status 'Not Available' 20090303
4 GC_ATP_PARTIAL Constant Public Type reference (TYPE) /DSD/ME_ATP_OVERALL_RESULT 'P' ATP Check Status 'Partially Available' 20090303
5 GC_COND_TAX Constant Public Type reference (TYPE) KNTYP 'D' Condition category (examples: tax, freight, price, cost) 20090303
6 GC_MSG_ERROR Constant Public Type reference (TYPE) BAPI_MTYPE 'E' Message type: S Success, E Error, W Warning, I Info, A Abort 20090303
7 GC_MSG_ID Constant Public Type reference (TYPE) SYMSGID '/DSD/OC' Message Class 20090303
8 GC_MSG_WARNING Constant Public Type reference (TYPE) BAPI_MTYPE 'W' Message type: S Success, E Error, W Warning, I Info, A Abort 20090402
9 GC_OBJTYP_S Constant Public Type reference (TYPE) /DSD/HH_DOC_TYP '10' Object Type of a shipment 20090303
10 GC_OBJ_COND Constant Private Type reference (TYPE) TABNAME 'COND' Table Name 20090310
11 GC_OBJ_ITEM Constant Private Type reference (TYPE) TABNAME 'ITEM' Table Name 20090310
12 GC_OBJ_SLINE Constant Private Type reference (TYPE) TABNAME 'SLINE' Table Name 20090310
13 GC_PARVW_AG Constant Public Type reference (TYPE) PARVW 'AG' Partner Function 20090303
14 GC_TRTYP Constant Public Type reference (TYPE) TRTYP 'H' Transaction type 20090303
15 GC_TRVOG Constant Public Type reference (TYPE) TRVOG_VA 0 Transaction group 20090303
16 GR_OC_ATP_PRICING Instance attribute Private Object reference (TYPE REF TO) /DSD/BADI_OC_ATP_PRICING BAdI: Customer Enhancements ATP Check and Pricing Determinat 20090327
17 GS_HEAD_COMV Instance attribute Private Type reference (TYPE) TDS_HEAD_COMV Lean Order - Header Data (Values) 20090325
18 GS_HEAD_COMX Instance attribute Private Type reference (TYPE) TDS_HEAD_COMC Lean Order - Header Data (CHAR) 20090325
19 GS_PRC_DEF Instance attribute Private Type reference (TYPE) /DSD/C_OC_PRCDEF Def. of Order Type and Item Usage for Price Determination 20090310
20 GS_TOUR_STATUS Instance attribute Private Type reference (TYPE) /DSD/ST_STATUS Current tour status 20090310
21 GT_ATP_RESULT Instance attribute Private Type reference (TYPE) /DSD/ME_ATP_RESULT_TT DSD: Result of ATP Check 20090304
22 GT_COND_COMR Instance attribute Private Type reference (TYPE) TDT_COND_COMR Table Type for Structure TDS_COND_COMR 20090310
23 GT_COND_COMV Instance attribute Private Type reference (TYPE) TDT_COND_COMV Table Type for Structure TDS_COND_COMV 20090310
24 GT_COND_COMX Instance attribute Private Type reference (TYPE) TDT_COND_COMC Table Type for Structure TDS_COND_COMC 20090310
25 GT_ITEM_COMR Instance attribute Private Type reference (TYPE) TDT_ITEM_COMR Table Type for Structure TDS_ITEM_COMR 20090310
26 GT_ITEM_COMV Instance attribute Private Type reference (TYPE) TDT_ITEM_COMV Table Type for Structure TDS_ITEM_COMV 20090310
27 GT_ITEM_COMX Instance attribute Private Type reference (TYPE) TDT_ITEM_COMC Table Type for Structure TDS_ITEM_COMC 20090310
28 GT_MAT_LIST_ATP_PRICE Instance attribute Private Type reference (TYPE) /DSD/ME_MAT_LIST_ATP_PRICE_TT DSD: Material List for ATP Check and Price Determination 20090304
29 GT_OBJINST Instance attribute Private Type reference (TYPE) TDT_OBJINST Table Type for Structure TDS_OBJINST 20090310
30 GT_PRICE_MAN_COND Instance attribute Private Type reference (TYPE) /DSD/ME_PRICE_MAN_COND_TT DSD: Manual Conditions for Price Determination 20090304
31 GT_PRICING_RESULT Instance attribute Private Type reference (TYPE) /DSD/ME_PRICING_RESULT_TT DSD: Results of Price Determination 20090304
32 GT_RETURN Instance attribute Private Type reference (TYPE) BAPIRET2_T Return error table type parameter 20090304
33 GT_SLINE_COMV Instance attribute Private Type reference (TYPE) TDT_SLINE_COMV Table Type for Structure TDS_SLINE_COMV 20090327
34 GT_UOM Instance attribute Private Type reference (TYPE) /DSD/SV_T006_TT Unit of Measurements for SAP to ISO conversion 20090310
35 GV_ATP_CHECK Instance attribute Private Type reference (TYPE) /DSD/ME_ATP_CHECK DSD: Flag to execute ATP Check 20090304
36 GV_ATP_OVERALL_RESULT Instance attribute Private Type reference (TYPE) /DSD/ME_ATP_OVERALL_RESULT DSD: Overall Result of ATP Check 20090304
37 GV_CURRENCY Instance attribute Private Type reference (TYPE) WAERS Currency Key 20090304
38 GV_DIST_CHANNEL Instance attribute Private Type reference (TYPE) VTWEG Distribution Channel 20090304
39 GV_DIVISION Instance attribute Private Type reference (TYPE) SPART Division 20090304
40 GV_ERROR_FLAG Instance attribute Public Type reference (TYPE) FLAG General Flag 20090327
41 GV_HANDLE Instance attribute Private Type reference (TYPE) GUID_32 GUID in 'CHAR' Format in Uppercase 20090401
42 GV_HANDLE_HEAD Static Attribute Private Type reference (TYPE) GUID_32 GUID in 'CHAR' Format in Uppercase 20090310
43 GV_HANDLE_ITEM Static Attribute Private Type reference (TYPE) GUID_32 GUID in 'CHAR' Format in Uppercase 20090310
44 GV_MEUSER Instance attribute Private Type reference (TYPE) /DSD/ME_TRANS_T51-MEUSER DSD Connector: Mobile Engine User ID 20090304
45 GV_OBJ_ID Instance attribute Private Type reference (TYPE) /DSD/HH_DOC_ID DSD - RA: Tour Document Number of the Tour Document Type 20090304
46 GV_OBJ_TYP Instance attribute Private Type reference (TYPE) /DSD/HH_DOC_TYP DSD - RA: Tour Document Type 20090304
47 GV_ORDER_TYPE Instance attribute Private Type reference (TYPE) AUART Sales Document Type 20090304
48 GV_PLANT Instance attribute Private Type reference (TYPE) /DSD/ME_PLANT_CODE DSD Connector: plant code 20090304
49 GV_PRICE_DETERMINATION Instance attribute Private Type reference (TYPE) /DSD/ME_PRICE_DETERMINATION DSD: Flag to execute Price Determination 20090304
50 GV_PRICING_DET_ERROR Instance attribute Private Type reference (TYPE) /DSD/ME_PRC_DET_ERROR DSD: Error Flag of Price Determination 20090402
51 GV_PRICING_OVERALL_CURR Instance attribute Private Type reference (TYPE) /DSD/ME_PRC_OVERALL_CURR DSD: Currency for Total Result of Price Determination 20090304
52 GV_PRICING_OVERALL_TOTAL Instance attribute Private Type reference (TYPE) /DSD/ME_PRC_OVERALL_TOTAL DSD: Total Result of Price Determination 20090304
53 GV_REQ_DATE Instance attribute Private Type reference (TYPE) /DSD/ME_DATE DSD Connector: date 20090304
54 GV_SALES_ORG Instance attribute Private Type reference (TYPE) VKORG Sales Organization 20090304
55 GV_SHIP_TO_NO Instance attribute Private Type reference (TYPE) /DSD/ME_SHIP_TO_NO DSD Connector: Ship to number 20090304
56 GV_SOLD_TO_NO Instance attribute Private Type reference (TYPE) /DSD/ME_SOLD_TO_NO DSD Connector: Sold to number 20090304
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20090302
2 CREATE_COND Instance method Private Method Create Manual Price Conditions for temporary Order 20090302
3 CREATE_HEAD Instance method Private Method Create Header for temporary Order 20090302
4 CREATE_ITEM Instance method Private Method Create Items for temporary Order 20090302
5 DETERMINE_RESULTS Instance method Public Method Get Result of ATP Check and Price Determination 20090327
6 EXECUTE_DETERMINATION Instance method Public Method Execution of ATP Check and Price Determination 20090325
7 GET_ATP_RESULT Instance method Public Method Evaluate ATP Check Result 20090302
8 GET_MSG_TEXT Instance method Private Method Get message text 20090327
9 GET_MTPOS Instance method Private Method Evaluate material position type 20090310
10 GET_ORDER_DEFINITION Instance method Private Method Get Order Definition from Customizing 20090303
11 GET_PARTY Instance method Private Method Get Sold-To-Party and Ship-2-Party 20090302
12 GET_POS_TYPE Instance method Private Method Evaluate Position Type 20090302
13 GET_PRICE_RESULT Instance method Public Method Evaluate Price Determination Result 20090302
14 GET_RETURN_MSG Instance method Public Method Get Return Messages 20090302
15 GET_SALES_AREA Instance method Private Method Get Sales Area 20090302
16 LORD_GET_MULTI Instance method Private Method Get Data of temporary Order 20090302
17 LORD_LOAD Instance method Private Method Load LORD for temporary Order 20090302
18 LORD_SET_DATA Instance method Private Method Set Data for temporary Order 20090302
19 PREPARE_DETERMINATION Instance method Public Method Preparation of ATP Check and Price Determination 20090325
Events
Class /DSD/CL_OC_ATP_PRICING has no event.
Types
Class /DSD/CL_OC_ATP_PRICING has no local type.
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MAT_LIST_ATP_PRICE Call by reference Type reference (TYPE) /DSD/ME_MAT_LIST_ATP_PRICE_TT DSD: Material List for ATP Check and Price Determination 20090304
2 Importing IT_PRICE_MAN_COND Call by reference Type reference (TYPE) /DSD/ME_PRICE_MAN_COND_TT DSD: Manual Conditions for Price Determination 20090304
3 Importing I_ATP_CHECK Call by reference Type reference (TYPE) /DSD/ME_ATP_CHECK DSD: Flag to execute ATP Check 20090304
4 Importing I_CURRENCY Call by reference Type reference (TYPE) WAERS Currency Key 20090304
5 Importing I_DIST_CHANNEL Call by reference Type reference (TYPE) VTWEG Distribution Channel 20090304
6 Importing I_DIVISION Call by reference Type reference (TYPE) SPART Division 20090304
7 Importing I_MEUSER Call by reference Type reference (TYPE) /DSD/ME_TRANS_T51-MEUSER DSD Connector: Mobile Engine User ID 20090304
8 Importing I_OBJ_ID Call by reference Type reference (TYPE) /DSD/HH_DOC_ID DSD - RA: Tour Document Number of the Tour Document Type 20090304
9 Importing I_OBJ_TYP Call by reference Type reference (TYPE) /DSD/HH_DOC_TYP DSD - RA: Tour Document Type 20090304
10 Importing I_ORDER_TYPE Call by reference Type reference (TYPE) AUART Sales Document Type 20090304
11 Importing I_PLANT Call by reference Type reference (TYPE) /DSD/ME_PLANT_CODE DSD Connector: plant code 20090304
12 Importing I_PRICE_DETERMINATION Call by reference Type reference (TYPE) /DSD/ME_PRICE_DETERMINATION DSD: Flag to execute Price Determination 20090304
13 Importing I_REQ_DATE Call by reference Type reference (TYPE) /DSD/ME_DATE DSD Connector: date 20090304
14 Importing I_SALES_ORG Call by reference Type reference (TYPE) VKORG Sales Organization 20090304
15 Importing I_SHIP_TO_NO Call by reference Type reference (TYPE) /DSD/ME_SHIP_TO_NO DSD Connector: Ship to number 20090304
16 Importing I_SOLD_TO_NO Call by reference Type reference (TYPE) /DSD/ME_SOLD_TO_NO DSD Connector: Sold to number 20090304

Method CONSTRUCTOR on class /DSD/CL_OC_ATP_PRICING has no exception.

Method CREATE_COND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_MAN_COND Value transfer Type reference (TYPE) /DSD/ME_PRICE_MAN_COND_S DSD: Manual Pricing Conditions for Pricing Determination 20090310

Method CREATE_COND on class /DSD/CL_OC_ATP_PRICING has no exception.

Method CREATE_HEAD Signature

Method CREATE_HEAD on class /DSD/CL_OC_ATP_PRICING has no parameter.
Method CREATE_HEAD on class /DSD/CL_OC_ATP_PRICING has no exception.

Method CREATE_ITEM Signature

Method CREATE_ITEM on class /DSD/CL_OC_ATP_PRICING has no parameter.
Method CREATE_ITEM on class /DSD/CL_OC_ATP_PRICING has no exception.

Method DETERMINE_RESULTS Signature

Method DETERMINE_RESULTS on class /DSD/CL_OC_ATP_PRICING has no parameter.
Method DETERMINE_RESULTS on class /DSD/CL_OC_ATP_PRICING has no exception.

Method EXECUTE_DETERMINATION Signature

Method EXECUTE_DETERMINATION on class /DSD/CL_OC_ATP_PRICING has no parameter.
Method EXECUTE_DETERMINATION on class /DSD/CL_OC_ATP_PRICING has no exception.

Method GET_ATP_RESULT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ATP_RESULT Call by reference Type reference (TYPE) /DSD/ME_ATP_RESULT_TT DSD: Result of ATP Check 20090304
2 Exporting E_ATP_OVERALL_RESULT Call by reference Type reference (TYPE) /DSD/ME_ATP_OVERALL_RESULT DSD: Overall Result of ATP Check 20090304

Method GET_ATP_RESULT on class /DSD/CL_OC_ATP_PRICING has no exception.

Method GET_MSG_TEXT Signature

Method GET_MSG_TEXT on class /DSD/CL_OC_ATP_PRICING has no parameter.
Method GET_MSG_TEXT on class /DSD/CL_OC_ATP_PRICING has no exception.

Method GET_MTPOS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EF_MTPOS Call by reference Type reference (TYPE) MTPOS Item category group from material master 20090310
2 Importing IF_MAT_NO Call by reference Type reference (TYPE) MATNR Material Number 20090310

Method GET_MTPOS on class /DSD/CL_OC_ATP_PRICING has no exception.

Method GET_ORDER_DEFINITION Signature

Method GET_ORDER_DEFINITION on class /DSD/CL_OC_ATP_PRICING has no parameter.
Method GET_ORDER_DEFINITION on class /DSD/CL_OC_ATP_PRICING has no exception.

Method GET_PARTY Signature

Method GET_PARTY on class /DSD/CL_OC_ATP_PRICING has no parameter.
Method GET_PARTY on class /DSD/CL_OC_ATP_PRICING has no exception.

Method GET_POS_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EF_PSTYV Call by reference Type reference (TYPE) PSTYV Sales document item category 20090310
2 Importing IF_MTPOS Call by reference Type reference (TYPE) MTPOS Item category group from material master 20090310
3 Importing IF_VWPOS Call by reference Type reference (TYPE) VWPOS Item usage 20090310

Method GET_POS_TYPE on class /DSD/CL_OC_ATP_PRICING has no exception.

Method GET_PRICE_RESULT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PRICING_RESULT Call by reference Type reference (TYPE) /DSD/ME_PRICING_RESULT_TT DSD: Results of Price Determination 20090304
2 Exporting E_PRICING_DET_ERROR Call by reference Type reference (TYPE) /DSD/ME_PRC_DET_ERROR DSD: Error Flag of Price Determination 20090402
3 Exporting E_PRICING_OVERALL_CURR Call by reference Type reference (TYPE) /DSD/ME_PRC_OVERALL_CURR DSD: Currency for Total Result of Price Determination 20090304
4 Exporting E_PRICING_OVERALL_TOTAL Call by reference Type reference (TYPE) /DSD/ME_PRC_OVERALL_TOTAL DSD: Total Result of Price Determination 20090304

Method GET_PRICE_RESULT on class /DSD/CL_OC_ATP_PRICING has no exception.

Method GET_RETURN_MSG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Return error table type parameter 20090304

Method GET_RETURN_MSG on class /DSD/CL_OC_ATP_PRICING has no exception.

Method GET_SALES_AREA Signature

Method GET_SALES_AREA on class /DSD/CL_OC_ATP_PRICING has no parameter.
Method GET_SALES_AREA on class /DSD/CL_OC_ATP_PRICING has no exception.

Method LORD_GET_MULTI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IF_ITEM_HANDLE Call by reference Type reference (TYPE) GUID_32 GUID in 'CHAR' Format in Uppercase 20090310
2 Importing IF_OBJ_ID Call by reference Type reference (TYPE) TABNAME Table Name 20090310

Method LORD_GET_MULTI on class /DSD/CL_OC_ATP_PRICING has no exception.

Method LORD_LOAD Signature

Method LORD_LOAD on class /DSD/CL_OC_ATP_PRICING has no parameter.
Method LORD_LOAD on class /DSD/CL_OC_ATP_PRICING has no exception.

Method LORD_SET_DATA Signature

Method LORD_SET_DATA on class /DSD/CL_OC_ATP_PRICING has no parameter.
Method LORD_SET_DATA on class /DSD/CL_OC_ATP_PRICING has no exception.

Method PREPARE_DETERMINATION Signature

Method PREPARE_DETERMINATION on class /DSD/CL_OC_ATP_PRICING has no parameter.
Method PREPARE_DETERMINATION on class /DSD/CL_OC_ATP_PRICING has no exception.
History
Last changed by/on SAP  20100310 
SAP Release Created in 605