/AWS1/CL_CEXCOSTCATSPLITCHAR00¶
Use the split charge rule to split the cost of one Cost Category value across several other target values.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_source TYPE /AWS1/CEXGENERICSTRING /AWS1/CEXGENERICSTRING¶
The Cost Category value that you want to split. That value can't be used as a source or a target in other split charge rules. To indicate uncategorized costs, you can use an empty string as the source.
it_targets TYPE /AWS1/CL_CEXCOSTCATSPLITCHAR01=>TT_COSTCATSPLITCHARGERLTGTSLST TT_COSTCATSPLITCHARGERLTGTSLST¶
The Cost Category values that you want to split costs across. These values can't be used as a source in other split charge rules.
iv_method TYPE /AWS1/CEXCOSTCATSPLITCHARGEMTH /AWS1/CEXCOSTCATSPLITCHARGEMTH¶
The method that's used to define how to split your source costs across your targets.
Proportional- Allocates charges across your targets based on the proportional weighted cost of each target.
Fixed- Allocates charges across your targets based on your defined allocation percentage.>
Even- Allocates costs evenly across all targets.
Optional arguments:¶
it_parameters TYPE /AWS1/CL_CEXCOSTCATSPLITCHAR02=>TT_COSTCATSPLITCHARGERLPRMSLST TT_COSTCATSPLITCHARGERLPRMSLST¶
The parameters for a split charge method. This is only required for the
FIXEDmethod.
Queryable Attributes¶
Source¶
The Cost Category value that you want to split. That value can't be used as a source or a target in other split charge rules. To indicate uncategorized costs, you can use an empty string as the source.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SOURCE() |
Getter for SOURCE, with configurable default |
ASK_SOURCE() |
Getter for SOURCE w/ exceptions if field has no value |
HAS_SOURCE() |
Determine if SOURCE has a value |
Targets¶
The Cost Category values that you want to split costs across. These values can't be used as a source in other split charge rules.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TARGETS() |
Getter for TARGETS, with configurable default |
ASK_TARGETS() |
Getter for TARGETS w/ exceptions if field has no value |
HAS_TARGETS() |
Determine if TARGETS has a value |
Method¶
The method that's used to define how to split your source costs across your targets.
Proportional- Allocates charges across your targets based on the proportional weighted cost of each target.
Fixed- Allocates charges across your targets based on your defined allocation percentage.>
Even- Allocates costs evenly across all targets.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_METHOD() |
Getter for METHOD, with configurable default |
ASK_METHOD() |
Getter for METHOD w/ exceptions if field has no value |
HAS_METHOD() |
Determine if METHOD has a value |
Parameters¶
The parameters for a split charge method. This is only required for the
FIXEDmethod.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PARAMETERS() |
Getter for PARAMETERS, with configurable default |
ASK_PARAMETERS() |
Getter for PARAMETERS w/ exceptions if field has no value |
HAS_PARAMETERS() |
Determine if PARAMETERS has a value |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_COSTCATSPLITCHARGERULESLIST¶
TYPES TT_COSTCATSPLITCHARGERULESLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_CEXCOSTCATSPLITCHAR00 WITH DEFAULT KEY
.