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
⤷ 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 | ABAP | 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 | CAL_FOLLOW_ON_VALUE | Instance attribute | Private | See coding | 20091116 | ||||
2 | GC_DISTRIBT_AMOUNT | Constant | Private | Type reference (TYPE) | INTEGER | 3 | Integer with +/- Sign (-2.147.483.648 .. 2.147.483.647) | 20091116 | |
3 | GC_DISTRIBT_PERCNT | Constant | Private | Type reference (TYPE) | INTEGER | 2 | Integer with +/- Sign (-2.147.483.648 .. 2.147.483.647) | 20091116 | |
4 | GC_DISTRIBT_QTY | Constant | Private | Type reference (TYPE) | INTEGER | 1 | Integer with +/- Sign (-2.147.483.648 .. 2.147.483.647) | 20091116 | |
5 | GC_PARTIAL_DIST_PROP | Constant | Private | Type reference (TYPE) | INTEGER | 2 | Integer with +/- Sign (-2.147.483.648 .. 2.147.483.647) | 20091116 | |
6 | GC_PARTIAL_DIST_SEQ | Constant | Private | Type reference (TYPE) | INTEGER | 1 | Integer with +/- Sign (-2.147.483.648 .. 2.147.483.647) | 20091116 | |
7 | GS_CAL_FOLLOW_ON_VALUE | Static Attribute | Private | Attribute reference (LIKE) | CAL_FOLLOW_ON_VALUE | 20091116 | |||
8 | GT_CAL_FOLLOW_ON_VALUE | Static Attribute | Private | See coding | 20091116 | ||||
9 | GV_DISTRIBUTION_TYPE | Static Attribute | Private | Type reference (TYPE) | VRTKZ | Distribution Indicator for Multiple Account Assignment | 20091116 | ||
10 | GV_PARTIAL_INV | Static Attribute | Private | Type reference (TYPE) | TWRKZ | Single-Character Indicator | 20091116 | ||
11 | GV_PROPOSED_VALUE_FOR | Static Attribute | Private | Type reference (TYPE) | FLOAT | Quantity with Sign | 20091116 | ||
12 | GV_TOTAL_DELTA_1_2 | Static Attribute | Private | Type reference (TYPE) | FLOAT | Quantity with Sign | 20091116 | ||
13 | GV_TOTAL_FIRST_DOC_VAL | Static Attribute | Private | Type reference (TYPE) | FLOAT | Quantity with Sign | 20091116 | ||
14 | GV_TOTAL_PO_DOC_VAL | Static Attribute | Private | Type reference (TYPE) | FLOAT | Quantity with Sign | 20091116 | ||
15 | GV_TOTAL_PROPOSED_VALUE | Static Attribute | Private | Type reference (TYPE) | FLOAT | Field of type FLTP | 20091116 | ||
16 | GV_TOTAL_SECOND_DOC_VAL | Static Attribute | Private | Type reference (TYPE) | FLOAT | Quantity with Sign | 20091116 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CALC_PROPSED_VALUES | Static method | Public | Method | Will calculate the proposed values for follow on doc. | 20091116 |
2 | CLASS_CONSTRUCTOR | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20100121 |
3 | DELTA_PO_MIN_SECOND | Static method | Private | Method | DELTA_PO_MINUS_SECOND | 20091116 |
4 | FIRST_DOC_REDUCTION | Static method | Private | Method | To do the First Doc Reduction | 20091116 |
5 | SET_DEFAULT_VALUES | Static method | Private | Method | Checks any MAA with Final is present - if yes set GB_FINAL_P | 20091116 |
6 | SURPLUS_BASED_ON_PO_RATIO | 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 | Changing | CT_MAA_DIST_MENGE | Call by reference | Type reference (TYPE) | MAA_DIST_TA | 20091116 | |||
2 | Importing | IV_DISTRIBUTION_TYPE | Call by reference | Type reference (TYPE) | VRTKZ | Distribution Indicator for Multiple Account Assignment | 20091116 | ||
3 | Importing | IV_PARTIAL_INV | Call by reference | Type reference (TYPE) | TWRKZ | '2' | Single-Character Indicator | 20091116 | |
4 | Importing | IV_PROPOSED_VALUE_FOR_AMNT | Call by reference | Type reference (TYPE) | NETWR | Net Value in Document Currency | 20091116 | ||
5 | Importing | IV_PROPOSED_VALUE_FOR_QTY | Call by reference | Type reference (TYPE) | MENGEV | Quantity with Sign | 20091116 | ||
6 | Importing | 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 | Importing | 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 |