SAP ABAP Class CL_WSD_PRICE_HANDLER (WSD price handler responsible of dealing with prices)
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_PRICE_HANDLER  
Short Description WSD price handler responsible of dealing with prices    
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 20060731   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_WSD_PRICE_HANDLER has no forward declaration.
Interfaces
Class CL_WSD_PRICE_HANDLER has no interface implemented.
Friends
Class CL_WSD_PRICE_HANDLER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_SUBTOTAL_1 Static Attribute Private Type reference (TYPE) WSD_PP_SUBTOTAL '1' Subtotal of Pricing Procedure for Sales Documents 20071114
2 GC_SUBTOTAL_2 Static Attribute Private Type reference (TYPE) WSD_PP_SUBTOTAL '2' Subtotal of Pricing Procedure for Sales Documents 20071114
3 GC_SUBTOTAL_3 Static Attribute Private Type reference (TYPE) WSD_PP_SUBTOTAL '3' Subtotal of Pricing Procedure for Sales Documents 20071114
4 GC_SUBTOTAL_4 Static Attribute Private Type reference (TYPE) WSD_PP_SUBTOTAL '4' Subtotal of Pricing Procedure for Sales Documents 20071114
5 GC_SUBTOTAL_5 Static Attribute Private Type reference (TYPE) WSD_PP_SUBTOTAL '5' Subtotal of Pricing Procedure for Sales Documents 20071114
6 GC_SUBTOTAL_6 Static Attribute Private Type reference (TYPE) WSD_PP_SUBTOTAL '6' Subtotal of Pricing Procedure for Sales Documents 20071114
7 GC_SUBTOTAL_7 Static Attribute Private Type reference (TYPE) WSD_PP_SUBTOTAL '7' Subtotal of Pricing Procedure for Sales Documents 20071114
8 GC_SUBTOTAL_8 Static Attribute Private Type reference (TYPE) WSD_PP_SUBTOTAL '8' Subtotal of Pricing Procedure for Sales Documents 20071114
9 GC_SUBTOTAL_9 Static Attribute Private Type reference (TYPE) WSD_PP_SUBTOTAL '9' Subtotal of Pricing Procedure for Sales Documents 20071114
10 GC_SUBTOTAL_A Static Attribute Private Type reference (TYPE) WSD_PP_SUBTOTAL 'A' Subtotal of Pricing Procedure for Sales Documents 20071114
11 GC_SUBTOTAL_B Static Attribute Private Type reference (TYPE) WSD_PP_SUBTOTAL 'B' Subtotal of Pricing Procedure for Sales Documents 20071114
12 GC_SUBTOTAL_C Static Attribute Private Type reference (TYPE) WSD_PP_SUBTOTAL 'C' Subtotal of Pricing Procedure for Sales Documents 20071114
13 MR_INSTANCE Static Attribute Private Object reference (TYPE REF TO) CL_WSD_PRICE_HANDLER WSD price handler responsible of dealing with prices 20060731
Methods
# Method Level Visibility Method type Description Created on
1 CUSTOMER_PRICE_BOM Instance method Private Method Customer price for BOM 20071217
2 CUSTOMER_PRICE_MATERIAL Instance method Public Method Price the material/customer 20070504
3 FILL_KOMK_STRUCTURE Instance method Private Method Fill komk structure 20070426
4 FILL_KOMP_STRUCTURE Instance method Private Method Fill KOMP structure 20070426
5 FIND_PRICE_CONDITION_TYPE Static method Public Method Read condition type from customizing for list price 20070427
6 GET_ALL_LIST_PRICES Static method Public Method Get all listprices for a material 20070410
7 GET_CALCULATION_SCHEME Static method Public Method Get calculation scheme 20070504
8 GET_CONDITION_RECORD Instance method Public Method Get condition records of a sales order 20060811
9 GET_CONDITION_RECORDS Instance method Public Method Get condition records of a sales order 20060811
10 GET_CUSTOMER_PRICES Instance method Public Method Get the price for the given customer 20060801
11 GET_INSTANCE Static method Public Method Get the singleton instance 20060731
12 GET_LIST_PRICE Instance method Public Method Get standard sales price of the material 20060731
13 GET_LIST_PRICE_CONDITION_TYPE Static method Public Method Get condition type for list price 20071114
14 GET_LIST_SCALE_PRICES Instance method Private Method Get the scale price for customer 20060811
15 GET_MARGIN Static method Public Method get Margin (absolute and percenatge) 20070510
16 GET_MASTER_AND_ORG_DATA Instance method Private Method Read Master and organizational Data for Pricing 20070427
17 GET_PRICE_CONDITION_TYPE Static method Public Method Get sales price condition key 20070426
18 GET_PRICE_ELEMENT_VALUE Instance method Public Method Get value for price element 20071120
19 GET_PURCHASE_PRICES Instance method Public Method Get purchase price of the material/vendor 20060731
20 GET_SUBTOTAL_CONDITION Instance method Private Method Get Pricing condition from subtotal 20071114
21 LIST_PRICE_BOM Instance method Private Method List price for BOM 20071217
22 LIST_PRICE_MATERIAL Instance method Public Method Price the material/customer 20070504
23 PRICE_MATERIAL Instance method Public Method Price the material/customer 20060801
Events
Class CL_WSD_PRICE_HANDLER has no event.
Types
Class CL_WSD_PRICE_HANDLER has no local type.
Method Signatures

Method CUSTOMER_PRICE_BOM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_CUSTOMER_PRICE Call by reference Type reference (TYPE) WSD_PRICE_WITH_SCALE_STY Net Price 20071217
2 Exporting E_PRICE_FOR_HEADER Call by reference Type reference (TYPE) CHAR1 Price for header 20071217
3 Importing I_KUNNR Call by reference Type reference (TYPE) KUNNR Customer Number 1 20071217
4 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20071217
5 Importing I_MGAME Call by reference Type reference (TYPE) MENGE_D Quantity 20071217
6 Importing I_ORDER_TYPE Call by reference Type reference (TYPE) AUART Sales Document Type 20071217
7 Importing I_PLANT Call by reference Type reference (TYPE) WERKS_D Plant 20071217
8 Importing I_PRICE_DATE Call by reference Type reference (TYPE) WSD_EFFECTIVE_DATE WSD effective date 20071217
9 Importing I_SPART Call by reference Type reference (TYPE) SPART Division 20071217
10 Importing I_VKORG Call by reference Type reference (TYPE) VKORG Sales Organization 20071217
11 Importing I_VRKME Call by reference Type reference (TYPE) VRKME Sales unit 20071217
12 Importing I_VTWEG Call by reference Type reference (TYPE) VTWEG Distribution Channel 20071217
# Exception Resumable Description Created on
1 CX_WSD_EXCEPTION WSD basic exception class 20071217
2 CX_WSD_NO_DATA_FOUND General exception for data-not-found errors 20071217

Method CUSTOMER_PRICE_MATERIAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ES_CUSTOMER_PRICE Value transfer Type reference (TYPE) WSD_PRICE_WITH_SCALE_STY Net Price in Purchasing Info Record 20070504
2 Importing I_KUNNR Call by reference Type reference (TYPE) KUNNR Customer Number 1 20070504
3 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20070504
4 Importing I_MGAME Call by reference Type reference (TYPE) MENGE_D Quantity 20070504
5 Importing I_NET_PRICE Call by reference Type reference (TYPE) WSD_PRICE_STY WSD general structure to hold price information 20070504
6 Importing I_ORDER_TYPE Call by reference Type reference (TYPE) AUART Sales Document Type 20070504
7 Importing I_PLANT Call by reference Type reference (TYPE) WERKS_D Plant 20070504
8 Importing I_PRICE_DATE Call by reference Type reference (TYPE) WSD_EFFECTIVE_DATE WSD effective date 20070504
9 Importing I_SPART Call by reference Type reference (TYPE) SPART Division 20070504
10 Importing I_VKORG Call by reference Type reference (TYPE) VKORG Sales Organization 20070504
11 Importing I_VRKME Call by reference Type reference (TYPE) VRKME Sales unit 20070504
12 Importing I_VTWEG Call by reference Type reference (TYPE) VTWEG Distribution Channel 20070504
# Exception Resumable Description Created on
1 CX_WSD_EXCEPTION WSD basic exception class 20070504
2 CX_WSD_NO_DATA_FOUND General exception for data-not-found errors 20070504

Method FILL_KOMK_STRUCTURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_KOMK Call by reference Type reference (TYPE) KOMK Communication Header for Pricing 20070426
2 Importing I_KALSM Call by reference Type reference (TYPE) KALSM_D Sales Pricing: Sales Price Calculation Schema 20070426
3 Importing I_KUAGV Call by reference Type reference (TYPE) KUAGV Sold-to Party View of the Customer Master Record 20070426
4 Importing I_ORDER_TYPE Call by reference Type reference (TYPE) AUART Sales Document Type 20071123
5 Importing I_PRSDT Call by reference Type reference (TYPE) PRSDT Date for pricing and exchange rate 20070426
6 Importing I_T001 Call by reference Type reference (TYPE) T001 Company Codes 20070426
7 Importing I_T001W Call by reference Type reference (TYPE) T001W Plants/Branches 20070426
8 Importing I_TVKO Call by reference Type reference (TYPE) TVKO Organizational Unit: Sales Organizations 20070426
9 Importing I_TVKOV Call by reference Type reference (TYPE) TVKOV Org. Unit: Distribution Channels per Sales Organization 20070426
10 Importing I_TVTA Call by reference Type reference (TYPE) TVTA Organizational Unit: Sales Area(s) 20070426

Method FILL_KOMK_STRUCTURE on class CL_WSD_PRICE_HANDLER has no exception.

Method FILL_KOMP_STRUCTURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_KOMP Call by reference Type reference (TYPE) KOMP Pricing Communication Item 20070426
2 Importing IS_KOMK Call by reference Type reference (TYPE) KOMK Communication Header for Pricing 20070426
3 Importing IS_MAAPV Call by reference Type reference (TYPE) MAAPV Material Master View: Sales Screen 1 20090923
4 Importing IS_MAEPV Call by reference Type reference (TYPE) MAEPV Material Master View: Sales 2 20090923
5 Importing IS_MARA Call by reference Type reference (TYPE) MARA General Material Data 20070426
6 Importing IS_MARM Call by reference Type reference (TYPE) MARM Units of Measure for Material 20070426
7 Importing IS_MLAN Call by reference Type reference (TYPE) MLAN Tax Classification for Material 20070426
8 Importing IS_MVKE Call by reference Type reference (TYPE) MVKE Sales Data for Material 20070426
9 Importing IS_T001 Call by reference Type reference (TYPE) T001 Company Codes 20070426
10 Importing IS_T001W Call by reference Type reference (TYPE) T001W Plants/Branches 20070426
11 Importing I_KPOSN Call by reference Type reference (TYPE) KPOSN Condition item number 20070426
12 Importing I_MGAME Call by reference Type reference (TYPE) MENGE_D Quantity 20070426
13 Importing I_PRSFD Call by reference Type reference (TYPE) PRSFD 'X' Carry out pricing 20070426
14 Importing I_VRKME Call by reference Type reference (TYPE) VRKME Sales unit 20070426

Method FILL_KOMP_STRUCTURE on class CL_WSD_PRICE_HANDLER has no exception.

Method FIND_PRICE_CONDITION_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_CONFIG_OPT Call by reference Type reference (TYPE) WSD_PRIC_ELEMENT_CONFIG_OPTION Configuration Options for Special Pricing Elements 20070427
2 Exporting E_KSCHL Call by reference Type reference (TYPE) KSCHL Condition Type 20070427
3 Exporting E_SUBTOTAL Call by reference Type reference (TYPE) WSD_PP_SUBTOTAL Subtotal of Pricing Procedure for Sales Documents 20070427
4 Importing I_KALSM Call by reference Type reference (TYPE) KALSM_D Procedure (Pricing, Output Control, Acct. Det., Costing,...) 20070427
5 Importing I_VKORG Call by reference Type reference (TYPE) VKORG Sales Organization 20070427
6 Importing I_VTWEG Call by reference Type reference (TYPE) VTWEG Distribution Channel 20070427

Method FIND_PRICE_CONDITION_TYPE on class CL_WSD_PRICE_HANDLER has no exception.

Method GET_ALL_LIST_PRICES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DATE_FROM Call by reference Type reference (TYPE) DATE_FROM Date From 20070410
2 Importing I_KUNNR Call by reference Type reference (TYPE) KUNNR Customer Number 1 20071114
3 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20070410
4 Importing I_ORDER_TYPE Call by reference Type reference (TYPE) AUART Sales Document Type 20070504
5 Importing I_PLANT Call by reference Type reference (TYPE) WERKS_D Plant 20070410
6 Importing I_SPART Call by reference Type reference (TYPE) SPART Division 20070410
7 Importing I_VKORG Call by reference Type reference (TYPE) VKORG Quantity 20070410
8 Importing I_VRKME Value transfer Type reference (TYPE) KOMP-VRKME SPACE Sales unit 20101126
9 Importing I_VTWEG Call by reference Type reference (TYPE) VTWEG Sales unit 20070410
10 Returning RT_PRICE_LIST Value transfer Type reference (TYPE) WSD_MV_MAT_PRICE_TTY Material Price list 20070410
# Exception Resumable Description Created on
1 CX_WSD_EXCEPTION WSD basic exception class 20070410

Method GET_CALCULATION_SCHEME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_KALSM Call by reference Type reference (TYPE) KALSM_D Procedure (Pricing, Output Control, Acct. Det., Costing,...) 20070504
2 Importing I_KUNNR Call by reference Type reference (TYPE) KUNNR Customer Number 1 20071114
3 Importing I_ORDER_TYPE Call by reference Type reference (TYPE) AUART Sales Document Type 20070504
4 Importing I_SPART Call by reference Type reference (TYPE) SPART Division 20070504
5 Importing I_VKORG Call by reference Type reference (TYPE) VKORG Sales Organization 20070504
6 Importing I_VTWEG Call by reference Type reference (TYPE) VTWEG Distribution Channel 20070504
# Exception Resumable Description Created on
1 CX_WSD_EXCEPTION WSD basic exception class 20070504
2 CX_WSD_NO_DATA_FOUND General exception for data-not-found errors 20070504

Method GET_CONDITION_RECORD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CONDITION_TYPE Call by reference Type reference (TYPE) KSCHA Condition type 20060811
2 Importing I_POS Call by reference Type reference (TYPE) POSNR Item number of the SD document 20060811
3 Importing I_SO_NO Call by reference Type reference (TYPE) VBELN Sales and Distribution Document Number 20060811
4 Returning RS_CONDITION Value transfer Type reference (TYPE) KOMV Table Type: Condition data 20060811

Method GET_CONDITION_RECORD on class CL_WSD_PRICE_HANDLER has no exception.

Method GET_CONDITION_RECORDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ET_CONDITIONS Value transfer Type reference (TYPE) TY_KOMV Table Type: Condition data 20060811
2 Importing I_POS Call by reference Type reference (TYPE) POSNR Item number of the SD document 20060811
3 Importing I_SO_NO Call by reference Type reference (TYPE) VBELN Sales and Distribution Document Number 20060811

Method GET_CONDITION_RECORDS on class CL_WSD_PRICE_HANDLER has no exception.

Method GET_CUSTOMER_PRICES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CUST_PRICE Call by reference Type reference (TYPE) WSD_PRICE_STY WSD general structure to hold price information 20070309
2 Importing I_KUNNR Call by reference Type reference (TYPE) KUNNR Customer Number 1 20060801
3 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20060801
4 Importing I_MGAME Call by reference Type reference (TYPE) MENGE_D 20061120
5 Importing I_ORDER_TYPE Call by reference Type reference (TYPE) AUART Sales Document Type 20060801
6 Importing I_PLANT Call by reference Type reference (TYPE) WERKS_D Plant 20060801
7 Importing I_PRICE_DATE Call by reference Type reference (TYPE) WSD_EFFECTIVE_DATE WSD effective date 20060801
8 Importing I_READ_SCALES Call by reference Type reference (TYPE) CHAR1 ' ' Read scales 20061207
9 Importing I_SPART Call by reference Type reference (TYPE) SPART Division 20070213
10 Importing I_VKORG Call by reference Type reference (TYPE) VKORG Sales Org 20061120
11 Importing I_VRKME Call by reference Type reference (TYPE) VRKME 20061120
12 Importing I_VTWEG Call by reference Type reference (TYPE) VTWEG Distribution Channel 20061120
13 Returning RS_CUSTOMER_PRICE Value transfer Type reference (TYPE) WSD_PRICE_WITH_SCALE_STY Net Price in Purchasing Info Record 20060918
# Exception Resumable Description Created on
1 CX_WSD_EXCEPTION WSD basic exception class 20060801
2 CX_WSD_NO_DATA_FOUND General exception for data-not-found errors 20060802

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RR_INSTANCE Value transfer Object reference (TYPE REF TO) CL_WSD_PRICE_HANDLER WSD price handler responsible of dealing with prices 20060918

Method GET_INSTANCE on class CL_WSD_PRICE_HANDLER has no exception.

Method GET_LIST_PRICE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_PRICE Value transfer Type reference (TYPE) WSD_PRICE_STY WSD list sales price 20070530
2 Exporting ET_SCALE Call by reference Type reference (TYPE) WSD_CONDITION_SCALE_TTY Internal table for condition scale 20070530
3 Importing I_KUNNR Call by reference Type reference (TYPE) KUNNR Customer Number 1 20071114
4 Importing I_LIST_PRICE Call by reference Type reference (TYPE) WSD_PRICE_STY WSD general structure to hold price information 20070309
5 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20060731
6 Importing I_MGAME Call by reference Type reference (TYPE) MENGE_D Quantity 20061120
7 Importing I_ORDER_TYPE Call by reference Type reference (TYPE) AUART Sales Document Type 20060824
8 Importing I_PLANT Call by reference Type reference (TYPE) WERKS_D Plant 20061120
9 Importing I_PRICE_DATE Call by reference Type reference (TYPE) WSD_EFFECTIVE_DATE WSD effective date 20060731
10 Importing I_READ_SCALES Call by reference Type reference (TYPE) CHAR1 ' ' Read scales 20070530
11 Importing I_SPART Call by reference Type reference (TYPE) SPART Division 20070213
12 Importing I_VKORG Call by reference Type reference (TYPE) VKORG Sales Organization 20061120
13 Importing I_VRKME Call by reference Type reference (TYPE) VRKME Sales unit 20061120
14 Importing I_VTWEG Call by reference Type reference (TYPE) VTWEG Distribution Channel 20061120
# 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_LIST_PRICE_CONDITION_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_KALSM Call by reference Type reference (TYPE) KALSM_D Procedure (Pricing, Output Control, Acct. Det., Costing,...) 20071114
2 Exporting E_KSCHL Call by reference Type reference (TYPE) KSCHL Condition Type 20071114
3 Exporting E_SUBTOTAL Call by reference Type reference (TYPE) WSD_PP_SUBTOTAL Subtotal of Pricing Procedure for Sales Documents 20071114
4 Importing I_KUNNR Call by reference Type reference (TYPE) KUNNR Customer Number 1 20071114
5 Importing I_ORDER_TYPE Call by reference Type reference (TYPE) AUART Sales Document Type 20071114
6 Importing I_SPART Call by reference Type reference (TYPE) SPART Division 20071114
7 Importing I_VKORG Call by reference Type reference (TYPE) VKORG Sales Organization 20071114
8 Importing I_VTWEG Call by reference Type reference (TYPE) VTWEG Distribution Channel 20071114
# Exception Resumable Description Created on
1 CX_WSD_EXCEPTION WSD basic exception class 20071114
2 CX_WSD_NO_DATA_FOUND General exception for data-not-found errors 20071114

Method GET_LIST_SCALE_PRICES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_PRICE Call by reference Type reference (TYPE) WSD_PRICE_STY WSD general structure to hold price information 20060811
2 Exporting ET_SCALE Call by reference Type reference (TYPE) WSD_CONDITION_SCALE_TTY Internal table for condition scale 20060811
3 Importing I_KUNNR Call by reference Type reference (TYPE) KUNNR Customer Number 1 20060811
4 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20060811
5 Importing I_ORDER_TYPE Call by reference Type reference (TYPE) AUART Sales Document Type 20071114
6 Importing I_PLANT Call by reference Type reference (TYPE) WERKS_D Plant 20060811
7 Importing I_PRICE_DATE Call by reference Type reference (TYPE) WSD_EFFECTIVE_DATE WSD effective date 20060811
8 Importing I_SPART Call by reference Type reference (TYPE) SPART Division 20070213
9 Importing I_VKORG Call by reference Type reference (TYPE) VKORG Sales Organization 20061121
10 Importing I_VTWEG Call by reference Type reference (TYPE) VTWEG Distribution Channel 20061121
# Exception Resumable Description Created on
1 CX_WSD_EXCEPTION WSD basic exception class 20060811
2 CX_WSD_NO_DATA_FOUND General exception for data-not-found errors 20060811

Method GET_MARGIN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_MARGIN_ABSOLUTE Call by reference Type reference (TYPE) WSD_MARGIN_ABSOLUTE Absolute contribution margin 20070510
2 Exporting E_MARGIN_PERCENTAGE Call by reference Type reference (TYPE) WSD_MARGIN_PERCENTAGE Contribution Margin in % 20070510
3 Importing IS_KOMP Call by reference Type reference (TYPE) KOMP Pricing Communication Item 20071114
4 Importing IS_ORDER Call by reference Type reference (TYPE) BAPIORDERS View: Order Items for Material 20070510
5 Importing IT_KOMV Call by reference Type reference (TYPE) VA_KOMV_T Table for structure KOMV 20070521
6 Importing I_KAPPL Call by reference Type reference (TYPE) KAPPL Application 20070510
7 Importing I_KUNNR Call by reference Type reference (TYPE) KUNNR Customer Number 1 20071114
8 Importing I_KVEWE Call by reference Type reference (TYPE) KVEWE Usage of the condition table 20070510

Method GET_MARGIN on class CL_WSD_PRICE_HANDLER has no exception.

Method GET_MASTER_AND_ORG_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_KUAGV Call by reference Type reference (TYPE) KUAGV Sold-to Party View of the Customer Master Record 20070427
2 Exporting E_MAAPV Call by reference Type reference (TYPE) MAAPV Material Master View: Sales Screen 1 20090923
3 Exporting E_MAEPV Call by reference Type reference (TYPE) MAEPV Material Master View: Sales 2 20090923
4 Exporting E_MARA Call by reference Type reference (TYPE) MARA General Material Data 20070427
5 Exporting E_MARM Call by reference Type reference (TYPE) MARM Units of Measure for Material 20070427
6 Exporting E_MLAN Call by reference Type reference (TYPE) MLAN Tax Classification for Material 20070427
7 Exporting E_MVKE Call by reference Type reference (TYPE) MVKE Sales Data for Material 20070427
8 Exporting E_T001 Call by reference Type reference (TYPE) T001 Company Codes 20070427
9 Exporting E_T001W Call by reference Type reference (TYPE) T001W Plants/Branches 20070427
10 Exporting E_T134 Call by reference Type reference (TYPE) T134 Material Types 20070427
11 Exporting E_TVKO Call by reference Type reference (TYPE) TVKO Organizational Unit: Sales Organizations 20070427
12 Exporting E_TVKOV Call by reference Type reference (TYPE) TVKOV Org. Unit: Distribution Channels per Sales Organization 20070427
13 Exporting E_TVTA Call by reference Type reference (TYPE) TVTA Organizational Unit: Sales Area(s) 20070427
14 Changing X_PISPR Call by reference Type reference (TYPE) WSD_PRICE_DETERMINE_STY Import Structure for SALES_PRICE_READ etc. 20070427

Method GET_MASTER_AND_ORG_DATA on class CL_WSD_PRICE_HANDLER has no exception.

Method GET_PRICE_CONDITION_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_KSCHL Call by reference Type reference (TYPE) KSCHL Condition Type 20070426
2 Importing I_KALSM Call by reference Type reference (TYPE) KALSM_D Procedure (Pricing, Output Control, Acct. Det., Costing,...) 20070426
3 Importing I_KAPPL Call by reference Type reference (TYPE) KAPPL Application 20070426
4 Importing I_KVEWE Call by reference Type reference (TYPE) KVEWE Usage of the Condition Table 20070426

Method GET_PRICE_CONDITION_TYPE on class CL_WSD_PRICE_HANDLER has no exception.

Method GET_PRICE_ELEMENT_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_VALUE Value transfer Type reference (TYPE) ANY 20071120
2 Exporting E_VALUE_KMEIN Value transfer Type reference (TYPE) ANY 20100712
3 Exporting E_VALUE_KPEIN Value transfer Type reference (TYPE) ANY 20100712
4 Exporting E_VALUE_WAERS Value transfer Type reference (TYPE) ANY 20100712
5 Importing IS_KOMP Call by reference Type reference (TYPE) KOMP Pricing Communication Item 20071120
6 Importing IT_KOMV Call by reference Type reference (TYPE) VA_KOMV_T Table for structure KOMV 20071120
7 Importing I_KALSM Call by reference Type reference (TYPE) KALSM_D Procedure (Pricing, Output Control, Acct. Det., Costing,...) 20071120
8 Importing I_KAPPL Call by reference Type reference (TYPE) KAPPL Application 20071120
9 Importing I_KVEWE Call by reference Type reference (TYPE) KVEWE Usage of the condition table 20071120
10 Importing I_PRICING_ELEMENT Call by reference Type reference (TYPE) WSD_PRICING_ELEMENT Predefined Pricing Element 20071120
# Exception Resumable Description Created on
1 CX_WSD_NO_DATA_FOUND General exception for data-not-found errors 20100722

Method GET_PURCHASE_PRICES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_EINA Call by reference Type reference (TYPE) EINA Purchasing Info Record: General Data 20070410
2 Importing IS_EINE Call by reference Type reference (TYPE) EINE Purchasing Info Record: Purchasing Organization Data 20070410
3 Importing I_EKORG Call by reference Type reference (TYPE) EKORG Purchasing Organization 20070410
4 Importing I_ESOKZ Call by reference Type reference (TYPE) ESOKZ Purchasing info record category 20070426
5 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20060731
6 Importing I_PLANT Call by reference Type reference (TYPE) WERKS_D Plant 20060801
7 Importing I_PRICE_DATE Call by reference Type reference (TYPE) WSD_EFFECTIVE_DATE 20060731
8 Importing I_VENDOR Call by reference Type reference (TYPE) ELIFN Vendor Account Number 20060731
9 Returning RS_PRICE Value transfer Type reference (TYPE) WSD_PRICE_WITH_SCALE_STY Currency Key 20060918
# 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_SUBTOTAL_CONDITION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_COND_VALUE Value transfer Type reference (TYPE) KZWIS Condition subtotal 20071114
2 Importing IS_KOMP Call by reference Type reference (TYPE) KOMP Pricing Communication Item 20071114
3 Importing IV_IS_MARGIN Call by reference Type reference (TYPE) BOOLE_D 'X' Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20100803
4 Importing I_SUBTOTAL Call by reference Type reference (TYPE) WSD_PP_SUBTOTAL Subtotal of Pricing Procedure for Sales Documents 20071114
# Exception Resumable Description Created on
1 CX_WSD_NO_DATA_FOUND General exception for data-not-found errors 20100722

Method LIST_PRICE_BOM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_LIST_PRICE Call by reference Type reference (TYPE) WSD_PRICE_WITH_SCALE_STY List Price 20071217
2 Exporting E_PRICE_FOR_HEADER Call by reference Type reference (TYPE) CHAR1 Price for header 20071217
3 Importing I_KUNNR Call by reference Type reference (TYPE) KUNNR Customer Number 1 20071217
4 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20071217
5 Importing I_MGAME Call by reference Type reference (TYPE) MENGE_D Quantity 20071217
6 Importing I_ORDER_TYPE Call by reference Type reference (TYPE) AUART Sales Document Type 20071217
7 Importing I_PLANT Call by reference Type reference (TYPE) WERKS_D Plant 20071217
8 Importing I_PRICE_DATE Call by reference Type reference (TYPE) WSD_EFFECTIVE_DATE WSD effective date 20071217
9 Importing I_SPART Call by reference Type reference (TYPE) SPART Division 20071217
10 Importing I_VKORG Call by reference Type reference (TYPE) VKORG Sales Organization 20071217
11 Importing I_VRKME Call by reference Type reference (TYPE) VRKME Sales unit 20071217
12 Importing I_VTWEG Call by reference Type reference (TYPE) VTWEG Distribution Channel 20071217
# Exception Resumable Description Created on
1 CX_WSD_EXCEPTION WSD basic exception class 20071217
2 CX_WSD_NO_DATA_FOUND General exception for data-not-found errors 20071217

Method LIST_PRICE_MATERIAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_CUSTOMER_PRICE Call by reference Type reference (TYPE) WSD_PRICE_WITH_SCALE_STY Net Price in Purchasing Info Record 20070504
2 Exporting ET_SCALE Call by reference Type reference (TYPE) WSD_CONDITION_SCALE_TTY Internal table for condition scale 20071114
3 Importing I_KUNNR Call by reference Type reference (TYPE) KUNNR Customer Number 1 20071114
4 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20070504
5 Importing I_MGAME Call by reference Type reference (TYPE) MENGE_D Quantity 20070504
6 Importing I_NET_PRICE Call by reference Type reference (TYPE) WSD_PRICE_STY WSD general structure to hold price information 20070504
7 Importing I_ORDER_TYPE Call by reference Type reference (TYPE) AUART Sales Document Type 20070504
8 Importing I_PLANT Call by reference Type reference (TYPE) WERKS_D Plant 20070504
9 Importing I_PRICE_DATE Call by reference Type reference (TYPE) WSD_EFFECTIVE_DATE WSD effective date 20070504
10 Importing I_READ_SCALE Call by reference Type reference (TYPE) CHAR1 Single-Character Indicator 20071114
11 Importing I_SPART Call by reference Type reference (TYPE) SPART Division 20070504
12 Importing I_VKORG Call by reference Type reference (TYPE) VKORG Sales Organization 20070504
13 Importing I_VRKME Call by reference Type reference (TYPE) VRKME Sales unit 20070504
14 Importing I_VTWEG Call by reference Type reference (TYPE) VTWEG Distribution Channel 20070504
# Exception Resumable Description Created on
1 CX_WSD_EXCEPTION WSD basic exception class 20070504
2 CX_WSD_NO_DATA_FOUND General exception for data-not-found errors 20070504

Method PRICE_MATERIAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ES_CUSTOMER_PRICE Value transfer Type reference (TYPE) WSD_PRICE_WITH_SCALE_STY Net Price in Purchasing Info Record 20060801
2 Importing I_KUNNR Call by reference Type reference (TYPE) KUNNR Customer Number 1 20060801
3 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20060801
4 Importing I_MGAME Call by reference Type reference (TYPE) MENGE_D Quantity 20061120
5 Importing I_NET_PRICE Call by reference Type reference (TYPE) WSD_PRICE_STY WSD general structure to hold price information 20070308
6 Importing I_ORDER_TYPE Call by reference Type reference (TYPE) AUART Sales Document Type 20060801
7 Importing I_PLANT Call by reference Type reference (TYPE) WERKS_D Plant 20061120
8 Importing I_PRICE_DATE Call by reference Type reference (TYPE) WSD_EFFECTIVE_DATE WSD effective date 20060801
9 Importing I_SPART Call by reference Type reference (TYPE) SPART Division 20070126
10 Importing I_VKORG Call by reference Type reference (TYPE) VKORG Sales Organization 20061120
11 Importing I_VRKME Call by reference Type reference (TYPE) VRKME Sales unit 20061120
12 Importing I_VTWEG Call by reference Type reference (TYPE) VTWEG Distribution Channel 20061120
# Exception Resumable Description Created on
1 CX_WSD_EXCEPTION WSD basic exception class 20060801
2 CX_WSD_NO_DATA_FOUND General exception for data-not-found errors 20060802
History
Last changed by/on SAP  20110908 
SAP Release Created in 700