SAP ABAP Class CL_PRC_MAST_CALCTYPE_SRV (Testing the calculation type)
Hierarchy
SAP_AP (Software Component) SAP Application Platform
   AP-PRC-PR (Application Component) Pricing
     PRICING_TEST_T (Package) Tools for Pricing
Properties
Class CL_PRC_MAST_CALCTYPE_SRV  
Short Description Testing the calculation type    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package PRICING_TEST_T   Tools for Pricing 
Created 20090225   SAP 
Last change 20091125   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CTMNT Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_PRC_MAST_CALCTYPE_SRV has no interface implemented.
Friends
Class CL_PRC_MAST_CALCTYPE_SRV has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_BASE_UOM Instance attribute Private Type reference (TYPE) PRCT_PROD_UOM 'ST' 20090225
2 CO_DATE_PROD1 Instance attribute Private Type reference (TYPE) D '20021117' 20090225
3 CO_DATE_PROD2 Instance attribute Private Type reference (TYPE) D '20021118' 20090225
4 CO_DATE_PROD3 Instance attribute Private Type reference (TYPE) D '20021119' 20090225
5 CO_DATE_PROD4 Instance attribute Private Type reference (TYPE) D '20021120' 20090225
6 CO_DATE_PROD5 Instance attribute Private Type reference (TYPE) D '20021121' 20090225
7 CO_DATE_PROD6 Instance attribute Private Type reference (TYPE) D '20021122' 20090225
8 CO_DATE_PROD7 Instance attribute Private Type reference (TYPE) D '20021123' Table type for product 20090225
9 CO_PARTNER_NUMBER Instance attribute Private Type reference (TYPE) NUM1 1 20090225
10 CO_PRODUCT_NUMBER Instance attribute Private Type reference (TYPE) NUMC2 1 20090225
11 GC_ERROR_MSG_ID Constant Private Type reference (TYPE) SY-MSGID '/SAPCND/MASTERDATA' Message Class 20090225
12 GC_ERROR_MSG_NO Constant Private Type reference (TYPE) SY-MSGNO '003' Message Number 20090225
13 GC_ERROR_MSG_TY Constant Private Type reference (TYPE) SY-MSGTY 'E' Message Type 20090225
14 MT_ALT_QUANTITY_UNIT Instance attribute Private Type reference (TYPE) TT_CONN_ALT_QUANTITY_UNIT 20090225
15 MT_BAPIRET Instance attribute Private Type reference (TYPE) BAPIRETTAB 20090225
16 MT_PARTNER Instance attribute Private Type reference (TYPE) PRCT_PARTNER_T Table type for partner 20090225
17 MT_PRODUCT_01 Instance attribute Private Type reference (TYPE) PRCT_PRODUCT_T Table type for product 20090225
18 MT_PRODUCT_02 Instance attribute Private Type reference (TYPE) PRCT_PRODUCT_T Table type for product 20090225
19 MT_PRODUCT_03 Instance attribute Private Type reference (TYPE) PRCT_PRODUCT_T Table type for product 20090225
20 MT_PRODUCT_04 Instance attribute Private Type reference (TYPE) PRCT_PRODUCT_T 20090225
21 MT_PRODUCT_05 Instance attribute Private Type reference (TYPE) PRCT_PRODUCT_T Table type for product 20090225
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20090225
2 CREATE_MAST_CONDITION Instance method Private Method Will create a condition record 20090225
3 INIT_PREFERENCES Instance method Private Method Will create the neccessary products and partner 20090225
4 TEST_CALCTYPE_A_PERCENTAGE Instance method Public Method Will test the Calculation Type A (= percentual) 20090225
5 TEST_CALCTYPE_C_QUANTITY Instance method Public Method Will Test the Calculation type C (= Quantitiy) 20090225
Events
Class CL_PRC_MAST_CALCTYPE_SRV has no event.
Types
Class CL_PRC_MAST_CALCTYPE_SRV has no local type.
Method Signatures

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_PRC_MAST_CALCTYPE_SRV has no parameter.
# Exception Resumable Description Created on
1 EXC_STOP_WORK severe error that makes further execution useless 20090225

Method CREATE_MAST_CONDITION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_BAPIRET Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20090225
2 Importing IT_PARTNER Call by reference Type reference (TYPE) PRCT_PARTNER_T Table type for partner 20090225
3 Importing IT_PRODUCT Call by reference Type reference (TYPE) PRCT_PRODUCT_T Table type for product 20090225
4 Importing IV_APPLICATION Call by reference Type reference (TYPE) /SAPCND/APPLICATION Application for Condition Technique 20090225
5 Importing IV_CONDITION_CURRENCY Call by reference Type reference (TYPE) PRCT_COND_CURR Condition Currency 20090225
6 Importing IV_CONDITION_PRICE_UNIT Call by reference Type reference (TYPE) PRCT_COND_PRICING_UNIT Unit of Measure for Product-Specific Quantity 20090225
7 Importing IV_CONDITION_RATE Call by reference Type reference (TYPE) PRCT_COND_RATE Condition Rate 20090225
8 Importing IV_CONDITION_TABLE_ID Call by reference Type reference (TYPE) /SAPCND/COND_TABLE_ID Condition Table ID 20090225
9 Importing IV_CONDITION_TYPE Call by reference Type reference (TYPE) /SAPCND/COND_TYPE Condition Type 20090225
10 Importing IV_CONDITION_UOM Call by reference Type reference (TYPE) PRCT_PROD_UOM Unit of Measure for Product-Specific Quantity 20090225
11 Importing IV_DATE Call by reference Type reference (TYPE) D Date 20090225
12 Importing IV_MAINT_GROUP Call by reference Type reference (TYPE) /SAPCND/MAINT_GROUP Condition Maintenance Group 20090225
13 Importing IV_PRODUCTGROUP Call by reference Type reference (TYPE) PRTT_PRODUCT_GROUP Product Group 20090225

Method CREATE_MAST_CONDITION on class CL_PRC_MAST_CALCTYPE_SRV has no exception.

Method INIT_PREFERENCES Signature

Method INIT_PREFERENCES on class CL_PRC_MAST_CALCTYPE_SRV has no parameter.
Method INIT_PREFERENCES on class CL_PRC_MAST_CALCTYPE_SRV has no exception.

Method TEST_CALCTYPE_A_PERCENTAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_BAPIRET Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20090225

Method TEST_CALCTYPE_A_PERCENTAGE on class CL_PRC_MAST_CALCTYPE_SRV has no exception.

Method TEST_CALCTYPE_C_QUANTITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_BAPIRET Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20090225

Method TEST_CALCTYPE_C_QUANTITY on class CL_PRC_MAST_CALCTYPE_SRV has no exception.
History
Last changed by/on SAP  20091125 
SAP Release Created in