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 | 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 | Instance attribute | Private | Type reference (TYPE) | PRCT_PROD_UOM | 'ST' | 20090225 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | D | '20021117' | 20090225 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | D | '20021118' | 20090225 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | D | '20021119' | 20090225 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | D | '20021120' | 20090225 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | D | '20021121' | 20090225 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | D | '20021122' | 20090225 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | D | '20021123' | Table type for product | 20090225 | ||
| 9 | Instance attribute | Private | Type reference (TYPE) | NUM1 | 1 | 20090225 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | NUMC2 | 1 | 20090225 | |||
| 11 | Constant | Private | Type reference (TYPE) | SY-MSGID | '/SAPCND/MASTERDATA' | Message Class | 20090225 | ||
| 12 | Constant | Private | Type reference (TYPE) | SY-MSGNO | '003' | Message Number | 20090225 | ||
| 13 | Constant | Private | Type reference (TYPE) | SY-MSGTY | 'E' | Message Type | 20090225 | ||
| 14 | Instance attribute | Private | Type reference (TYPE) | TT_CONN_ALT_QUANTITY_UNIT | 20090225 | ||||
| 15 | Instance attribute | Private | Type reference (TYPE) | BAPIRETTAB | 20090225 | ||||
| 16 | Instance attribute | Private | Type reference (TYPE) | PRCT_PARTNER_T | Table type for partner | 20090225 | |||
| 17 | Instance attribute | Private | Type reference (TYPE) | PRCT_PRODUCT_T | Table type for product | 20090225 | |||
| 18 | Instance attribute | Private | Type reference (TYPE) | PRCT_PRODUCT_T | Table type for product | 20090225 | |||
| 19 | Instance attribute | Private | Type reference (TYPE) | PRCT_PRODUCT_T | Table type for product | 20090225 | |||
| 20 | Instance attribute | Private | Type reference (TYPE) | PRCT_PRODUCT_T | 20090225 | ||||
| 21 | Instance attribute | Private | Type reference (TYPE) | PRCT_PRODUCT_T | Table type for product | 20090225 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | CONSTRUCTOR | 20090225 | |
| 2 | Instance method | Private | Method | Will create a condition record | 20090225 | |
| 3 | Instance method | Private | Method | Will create the neccessary products and partner | 20090225 | |
| 4 | Instance method | Public | Method | Will test the Calculation Type A (= percentual) | 20090225 | |
| 5 | 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 | 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 | ET_BAPIRET | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20090225 | |||
| 2 | IT_PARTNER | Call by reference | Type reference (TYPE) | PRCT_PARTNER_T | Table type for partner | 20090225 | |||
| 3 | IT_PRODUCT | Call by reference | Type reference (TYPE) | PRCT_PRODUCT_T | Table type for product | 20090225 | |||
| 4 | IV_APPLICATION | Call by reference | Type reference (TYPE) | /SAPCND/APPLICATION | Application for Condition Technique | 20090225 | |||
| 5 | IV_CONDITION_CURRENCY | Call by reference | Type reference (TYPE) | PRCT_COND_CURR | Condition Currency | 20090225 | |||
| 6 | IV_CONDITION_PRICE_UNIT | Call by reference | Type reference (TYPE) | PRCT_COND_PRICING_UNIT | Unit of Measure for Product-Specific Quantity | 20090225 | |||
| 7 | IV_CONDITION_RATE | Call by reference | Type reference (TYPE) | PRCT_COND_RATE | Condition Rate | 20090225 | |||
| 8 | IV_CONDITION_TABLE_ID | Call by reference | Type reference (TYPE) | /SAPCND/COND_TABLE_ID | Condition Table ID | 20090225 | |||
| 9 | IV_CONDITION_TYPE | Call by reference | Type reference (TYPE) | /SAPCND/COND_TYPE | Condition Type | 20090225 | |||
| 10 | IV_CONDITION_UOM | Call by reference | Type reference (TYPE) | PRCT_PROD_UOM | Unit of Measure for Product-Specific Quantity | 20090225 | |||
| 11 | IV_DATE | Call by reference | Type reference (TYPE) | D | Date | 20090225 | |||
| 12 | IV_MAINT_GROUP | Call by reference | Type reference (TYPE) | /SAPCND/MAINT_GROUP | Condition Maintenance Group | 20090225 | |||
| 13 | 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 | 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 | 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 |