SAP ABAP Class CL_MAA_DIST_VALUE (Logic to distribute MAA in follow on document)
Hierarchy
☛
BBPCRM (Software Component) BBPCRM
⤷
CRM (Application Component) Customer Relationship Management
⤷
CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
⤷
ML (Package) R/3 services management
⤷
⤷
⤷
Properties
| Class | CL_MAA_DIST_VALUE | |
| Short Description | Logic to distribute MAA in follow on document | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | ML | R/3 services management |
| Created | 20091116 | SAP |
| Last change | 20110908 | 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_MAA_DIST_VALUE has no interface implemented.
Friends
Class CL_MAA_DIST_VALUE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | See coding | 20091116 | |||||
| 2 | Constant | Private | Type reference (TYPE) | INTEGER | 3 | Integer with +/- Sign (-2.147.483.648 .. 2.147.483.647) | 20091116 | ||
| 3 | Constant | Private | Type reference (TYPE) | INTEGER | 2 | Integer with +/- Sign (-2.147.483.648 .. 2.147.483.647) | 20091116 | ||
| 4 | Constant | Private | Type reference (TYPE) | INTEGER | 1 | Integer with +/- Sign (-2.147.483.648 .. 2.147.483.647) | 20091116 | ||
| 5 | Constant | Private | Type reference (TYPE) | INTEGER | 2 | Integer with +/- Sign (-2.147.483.648 .. 2.147.483.647) | 20091116 | ||
| 6 | Constant | Private | Type reference (TYPE) | INTEGER | 1 | Integer with +/- Sign (-2.147.483.648 .. 2.147.483.647) | 20091116 | ||
| 7 | Static Attribute | Private | Attribute reference (LIKE) | CAL_FOLLOW_ON_VALUE | 20091116 | ||||
| 8 | Static Attribute | Private | See coding | 20091116 | |||||
| 9 | Static Attribute | Private | Type reference (TYPE) | VRTKZ | Distribution Indicator for Multiple Account Assignment | 20091116 | |||
| 10 | Static Attribute | Private | Type reference (TYPE) | TWRKZ | Single-Character Indicator | 20091116 | |||
| 11 | Static Attribute | Private | Type reference (TYPE) | FLOAT | Quantity with Sign | 20091116 | |||
| 12 | Static Attribute | Private | Type reference (TYPE) | FLOAT | Quantity with Sign | 20091116 | |||
| 13 | Static Attribute | Private | Type reference (TYPE) | FLOAT | Quantity with Sign | 20091116 | |||
| 14 | Static Attribute | Private | Type reference (TYPE) | FLOAT | Quantity with Sign | 20091116 | |||
| 15 | Static Attribute | Private | Type reference (TYPE) | FLOAT | Field of type FLTP | 20091116 | |||
| 16 | Static Attribute | Private | Type reference (TYPE) | FLOAT | Quantity with Sign | 20091116 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Will calculate the proposed values for follow on doc. | 20091116 | |
| 2 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20100121 | |
| 3 | Static method | Private | Method | DELTA_PO_MINUS_SECOND | 20091116 | |
| 4 | Static method | Private | Method | To do the First Doc Reduction | 20091116 | |
| 5 | Static method | Private | Method | Checks any MAA with Final is present - if yes set GB_FINAL_P | 20091116 | |
| 6 | Static method | Private | Method | SURPLUS_BASED_ON_PO_RATIO | 20091116 |
Events
Class CL_MAA_DIST_VALUE has no event.
Types
Class CL_MAA_DIST_VALUE has no local type.
Method Signatures
Method CALC_PROPSED_VALUES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_MAA_DIST_MENGE | Call by reference | Type reference (TYPE) | MAA_DIST_TA | 20091116 | ||||
| 2 | IV_DISTRIBUTION_TYPE | Call by reference | Type reference (TYPE) | VRTKZ | Distribution Indicator for Multiple Account Assignment | 20091116 | |||
| 3 | IV_PARTIAL_INV | Call by reference | Type reference (TYPE) | TWRKZ | '2' | Single-Character Indicator | 20091116 | ||
| 4 | IV_PROPOSED_VALUE_FOR_AMNT | Call by reference | Type reference (TYPE) | NETWR | Net Value in Document Currency | 20091116 | |||
| 5 | IV_PROPOSED_VALUE_FOR_QTY | Call by reference | Type reference (TYPE) | MENGEV | Quantity with Sign | 20091116 | |||
| 6 | IV_ROUNDING_REQUIRED | Call by reference | Type reference (TYPE) | BOOLEAN | ABAP_TRUE | Boolean Variable (X=True, -=False, Space=Unknown) | 20091116 |
Method CALC_PROPSED_VALUES on class CL_MAA_DIST_VALUE has no exception.
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_MAA_DIST_VALUE has no parameter.
Method CLASS_CONSTRUCTOR on class CL_MAA_DIST_VALUE has no exception.
Method DELTA_PO_MIN_SECOND Signature
Method DELTA_PO_MIN_SECOND on class CL_MAA_DIST_VALUE has no parameter.
Method DELTA_PO_MIN_SECOND on class CL_MAA_DIST_VALUE has no exception.
Method FIRST_DOC_REDUCTION Signature
Method FIRST_DOC_REDUCTION on class CL_MAA_DIST_VALUE has no parameter.
Method FIRST_DOC_REDUCTION on class CL_MAA_DIST_VALUE has no exception.
Method SET_DEFAULT_VALUES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_MAA_DIST_MENGE | Call by reference | Type reference (TYPE) | MAA_DIST_TA | 20091116 |
Method SET_DEFAULT_VALUES on class CL_MAA_DIST_VALUE has no exception.
Method SURPLUS_BASED_ON_PO_RATIO Signature
Method SURPLUS_BASED_ON_PO_RATIO on class CL_MAA_DIST_VALUE has no parameter.
Method SURPLUS_BASED_ON_PO_RATIO on class CL_MAA_DIST_VALUE has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 605 |