SAP ABAP Class /RPM/CL_PLAN_DISTRIBUTION (Advanced Distribution for Financial/Capacity Planning)
Hierarchy
☛
CPRXRPM (Software Component) SAP Portfolio and Project Management 6.0
⤷
PPM-PFM (Application Component) Portfolio Management
⤷
/RPM/API (Package) xRPM External Interfaces
⤷
⤷
Properties
| Class | /RPM/CL_PLAN_DISTRIBUTION | |
| Short Description | Advanced Distribution for Financial/Capacity Planning | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /RPM/API | xRPM External Interfaces |
| Created | 20070216 | SAP |
| Last change | 20141109 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class /RPM/CL_PLAN_DISTRIBUTION has no forward declaration.
Interfaces
Class /RPM/CL_PLAN_DISTRIBUTION has no interface implemented.
Friends
Class /RPM/CL_PLAN_DISTRIBUTION has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Public | Type reference (TYPE) | /RPM/TV_FIN_CAP | '2' | Capacity Planning | 20070801 | ||
| 2 | Static Attribute | Public | Type reference (TYPE) | /RPM/TV_PLAN_DIST | '2' | Distribution based on Calendar Days | 20070323 | ||
| 3 | Static Attribute | Public | Type reference (TYPE) | /RPM/TV_PLAN_DIST | '1' | Distribution based on Factory Calendar Working Days | 20070323 | ||
| 4 | Static Attribute | Public | Type reference (TYPE) | /RPM/TV_PLAN_DIST | '3' | Distribution based on Fixed Number of Days per Month | 20070323 | ||
| 5 | Static Attribute | Public | Type reference (TYPE) | /RPM/TV_PLAN_DIST | '4' | Distribution based on Number of Months in a period | 20070323 | ||
| 6 | Static Attribute | Public | Type reference (TYPE) | /RPM/TV_FIN_CAP | '1' | Financial Planning | 20070801 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Adds, subtracts or sets the required amount or capacity. | 20070219 | |
| 2 | Static method | Public | Method | Perform Advanced distribution for Financial/Capacity Plannin | 20070216 | |
| 3 | Static method | Public | Method | Calculate number of working days | 20070219 | |
| 4 | Static method | Public | Method | Calculate number of working days based on a calendar. | 20070217 | |
| 5 | Static method | Public | Method | Convert date to start of its period based on breakdown type | 20070219 | |
| 6 | Static method | Public | Method | Divides the int data based on distribution type into months | 20070604 | |
| 7 | Static method | Public | Method | Returns calendar id for a bucket or item or what-if. | 20070216 | |
| 8 | Static method | Public | Method | Return the distribution type of a capacity group | 20070323 | |
| 9 | Static method | Public | Method | Return the distribution type of a financial group | 20070220 | |
| 10 | Static method | Public | Method | Method for returning the last date of a month. | 20070219 | |
| 11 | Static method | Public | Method | Return the last date of a period based on breakdown type | 20070219 | |
| 12 | Static method | Public | Method | Gets number of months between start and end dates | 20090911 |
Events
Class /RPM/CL_PLAN_DISTRIBUTION has no event.
Types
Class /RPM/CL_PLAN_DISTRIBUTION has no local type.
Method Signatures
Method ADD_SUB_SET_DISTRIBUTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_PLAN | Value transfer | Type reference (TYPE) | /RPM/TT_PLAN_API | Plan Data | 20070219 | |||
| 2 | ET_MSG | Value transfer | Type reference (TYPE) | /RPM/TT_MESSAGES | Table Type for Messages | 20070219 | |||
| 3 | IT_DIST | Value transfer | Type reference (TYPE) | /RPM/TT_PLAN_DISTRIBUTION | Financial/Capacity Planning - Advanced Distribution | 20070219 | |||
| 4 | IV_ACTION_TYPE | Value transfer | Type reference (TYPE) | /RPM/TV_ACTION_TYPE | Action type for Fin/Cap Planning Distribution | 20070219 | |||
| 5 | IV_GUID | Value transfer | Type reference (TYPE) | RPM_TV_GUID | Guid for application objects | 20070219 | |||
| 6 | IV_PLAN_TYPE | Value transfer | Type reference (TYPE) | /RPM/TV_PLAN_TYPE | Plan Type | 20070219 |
Method ADD_SUB_SET_DISTRIBUTION on class /RPM/CL_PLAN_DISTRIBUTION has no exception.
Method ADVANCED_DISTRIBUTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_PLAN | Value transfer | Type reference (TYPE) | /RPM/TT_PLAN_API | Plan Data | 20070216 | |||
| 2 | ET_MSG | Value transfer | Type reference (TYPE) | /RPM/TT_MESSAGES | Table Type for Messages | 20070216 | |||
| 3 | IV_ACTION | Value transfer | Type reference (TYPE) | /RPM/TV_ACTION_TYPE | Action type for Fin/Cap Planning Distribution | 20070216 | |||
| 4 | IV_AMOUNT | Value transfer | Type reference (TYPE) | RPM_TV_CAPACITY | xRPM Capacity Amount | 20070216 | |||
| 5 | IV_BASE | Value transfer | Type reference (TYPE) | /RPM/TV_CALC_BASE | Calculation Base for Fin/Cap Planning Advanced Distribution | 20070216 | |||
| 6 | IV_CALENDAR | Value transfer | Type reference (TYPE) | SCAL-FCALID | Factory Calendar | 20070217 | |||
| 7 | IV_DIST_TYPE | Value transfer | Type reference (TYPE) | /RPM/TV_PLAN_DIST | Distribution Type for Financial/Capacity Planning | 20070216 | |||
| 8 | IV_FIN_CAP | Value transfer | Type reference (TYPE) | /RPM/TV_FIN_CAP | Financial or capacity planning | 20080303 | |||
| 9 | IV_FY_VARIANT | Value transfer | Type reference (TYPE) | PERIV | Fiscal Year Variant | 20100601 | |||
| 10 | IV_GUID | Value transfer | Type reference (TYPE) | RPM_TV_GUID | Guid for application objects | 20070216 | |||
| 11 | IV_PERIOD_TYPE | Value transfer | Type reference (TYPE) | /RPM/TV_PERIOD_TYPE | Period Breakdown | 20070216 | |||
| 12 | IV_PLAN_TYPE | Value transfer | Type reference (TYPE) | /RPM/TV_PLAN_TYPE | Plan Type | 20070216 | |||
| 13 | IV_VALID_FROM | Value transfer | Type reference (TYPE) | BEGDA | Start Date | 20070216 | |||
| 14 | IV_VALID_TO | Value transfer | Type reference (TYPE) | ENDDA | End Date | 20070216 |
Method ADVANCED_DISTRIBUTION on class /RPM/CL_PLAN_DISTRIBUTION has no exception.
Method CALCULATE_NO_OF_DAYS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_FROM | Value transfer | Type reference (TYPE) | BEGDA | Start Date | 20070219 | |||
| 2 | IV_FY_VARIANT | Call by reference | Type reference (TYPE) | PERIV | Fiscal Year Variant | 20100426 | |||
| 3 | IV_PERIOD | Value transfer | Type reference (TYPE) | /RPM/TV_PERIOD_ID | xRPM Period ID | 20070219 | |||
| 4 | IV_PERIOD_TYPE | Value transfer | Type reference (TYPE) | /RPM/TV_PERIOD_TYPE | Period Breakdown | 20070219 | |||
| 5 | IV_TO | Value transfer | Type reference (TYPE) | ENDDA | End Date | 20070219 | |||
| 6 | RV_DAYS | Value transfer | Type reference (TYPE) | I | 20070219 |
Method CALCULATE_NO_OF_DAYS on class /RPM/CL_PLAN_DISTRIBUTION has no exception.
Method CALCULATE_NO_OF_WORKDAYS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CALENDAR_ID | Value transfer | Type reference (TYPE) | SCAL-FCALID | Factory Calendar | 20070217 | |||
| 2 | IV_FROM | Value transfer | Type reference (TYPE) | BEGDA | Start Date | 20070217 | |||
| 3 | IV_FY_VARIANT | Call by reference | Type reference (TYPE) | PERIV | Fiscal Year Variant | 20100427 | |||
| 4 | IV_PERIOD | Value transfer | Type reference (TYPE) | /RPM/TV_PERIOD_ID | xRPM Period ID | 20070217 | |||
| 5 | IV_PERIOD_TYPE | Value transfer | Type reference (TYPE) | /RPM/TV_PERIOD_TYPE | Period Breakdown | 20070217 | |||
| 6 | IV_TO | Value transfer | Type reference (TYPE) | ENDDA | Field of type DATS | 20070217 | |||
| 7 | RV_DAYS | Value transfer | Type reference (TYPE) | I | Number of days | 20070217 |
Method CALCULATE_NO_OF_WORKDAYS on class /RPM/CL_PLAN_DISTRIBUTION has no exception.
Method CONVERT_DATE_TO_PERIOD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_PERIOD | Value transfer | Type reference (TYPE) | /RPM/TV_PERIOD_ID | xRPM Period ID | 20070219 | |||
| 2 | IV_DATE | Value transfer | Type reference (TYPE) | DATS | Field of type DATS | 20070219 | |||
| 3 | IV_FY_VARIANT | Call by reference | Type reference (TYPE) | PERIV | Fiscal Year Variant | 20100426 | |||
| 4 | IV_PERIOD_TYPE | Value transfer | Type reference (TYPE) | /RPM/TV_PERIOD_TYPE | Period Breakdown | 20070219 |
Method CONVERT_DATE_TO_PERIOD on class /RPM/CL_PLAN_DISTRIBUTION has no exception.
Method DIVIDE_INTEGRATION_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_PERIOD_AMOUNTS | Value transfer | Type reference (TYPE) | /RPM/TT_PERIOD_AMOUNT | Periods and Distributed amounts | 20070606 | |||
| 2 | IS_ITEM_ATTRIBUTES | Call by reference | Type reference (TYPE) | /RPM/TS_ITEM_D_API | Portfolio Item Attributes; external | 20100504 | |||
| 3 | IT_SKIP_YEARS | Value transfer | Type reference (TYPE) | /RPM/TT_FYEAR_LIST | Table type for fiscal year list | 20090811 | |||
| 4 | IV_AMOUNT | Value transfer | Type reference (TYPE) | RPM_TV_CAPACITY | Currency Amount | 20070606 | |||
| 5 | IV_CALENDAR_ID | Value transfer | Type reference (TYPE) | SCAL-FCALID | Factory Calendar | 20070604 | |||
| 6 | IV_DIST_TYPE | Value transfer | Type reference (TYPE) | /RPM/TV_PLAN_DIST | Distribution Type for Financial/Capacity Planning | 20070604 | |||
| 7 | IV_END_DATE | Value transfer | Type reference (TYPE) | ENDDA | End Date | 20070604 | |||
| 8 | IV_FIN_DATA | Value transfer | Type reference (TYPE) | RPM_FLAG | ' ' | Flag | 20090824 | ||
| 9 | IV_FY_VARIANT | Call by reference | Type reference (TYPE) | PERIV | Fiscal Year Variant | 20100413 | |||
| 10 | IV_PERIOD_TYPE | Value transfer | Type reference (TYPE) | RPM_TV_PERTYPE | Period Type | 20070604 | |||
| 11 | IV_START_DATE | Value transfer | Type reference (TYPE) | BEGDA | Start Date | 20070604 |
Method DIVIDE_INTEGRATION_DATA on class /RPM/CL_PLAN_DISTRIBUTION has no exception.
Method FIND_CALENDAR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OBJECT_GUID | Value transfer | Type reference (TYPE) | RPM_TV_GUID | Guid for application objects | 20070216 | |||
| 2 | IV_OBJECT_TYPE | Value transfer | Type reference (TYPE) | /RPM/OBJECT_TYPE | Object Type | 20070216 | |||
| 3 | RV_CALENDAR | Value transfer | Type reference (TYPE) | SCAL-FCALID | Factory Calendar | 20070323 |
Method FIND_CALENDAR on class /RPM/CL_PLAN_DISTRIBUTION has no exception.
Method FIND_CAP_DISTRIBUTION_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CATEGORY_GUID | Value transfer | Type reference (TYPE) | RPM_TV_GUID | Guid for application objects | 20070323 | |||
| 2 | IV_CATEGORY_ID | Value transfer | Type reference (TYPE) | /RPM/TV_CAP_CATG | 20070323 | ||||
| 3 | IV_GROUP_GUID | Value transfer | Type reference (TYPE) | RPM_TV_GUID | Guid for application objects | 20070323 | |||
| 4 | IV_GROUP_ID | Value transfer | Type reference (TYPE) | RPM_TV_EXTID | 20070323 | ||||
| 5 | IV_IS_BUCKET | Value transfer | Type reference (TYPE) | CHAR1 | Single-Character Flag | 20070323 | |||
| 6 | RV_DISTRIBUTION | Value transfer | Type reference (TYPE) | /RPM/TV_PLAN_DIST | Distribution Type for Financial/Capacity Planning | 20070323 |
Method FIND_CAP_DISTRIBUTION_TYPE on class /RPM/CL_PLAN_DISTRIBUTION has no exception.
Method FIND_FIN_DISTRIBUTION_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CATEGORY_GUID | Value transfer | Type reference (TYPE) | RPM_TV_GUID | Guid for application objects | 20070220 | |||
| 2 | IV_CATEGORY_ID | Value transfer | Type reference (TYPE) | /RPM/TV_FIN_CATG | 20070220 | ||||
| 3 | IV_GROUP_GUID | Value transfer | Type reference (TYPE) | RPM_TV_GUID | Guid for application objects | 20070220 | |||
| 4 | IV_GROUP_ID | Value transfer | Type reference (TYPE) | RPM_TV_EXTID | 20070220 | ||||
| 5 | IV_IS_BUCKET | Value transfer | Type reference (TYPE) | CHAR1 | Single-Character Flag | 20070323 | |||
| 6 | RV_DISTRIBUTION | Value transfer | Type reference (TYPE) | /RPM/TV_PLAN_DIST | Distribution Type for Financial/Capacity Planning | 20070323 |
Method FIND_FIN_DISTRIBUTION_TYPE on class /RPM/CL_PLAN_DISTRIBUTION has no exception.
Method GET_LAST_DAY_OF_MONTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_LAST_DATE | Value transfer | Type reference (TYPE) | DATS | Field of type DATS | 20070219 | |||
| 2 | IV_DATE | Value transfer | Type reference (TYPE) | DATS | Field of type DATS | 20070219 |
Method GET_LAST_DAY_OF_MONTH on class /RPM/CL_PLAN_DISTRIBUTION has no exception.
Method GET_LAST_DAY_OF_PERIOD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_LAST_DATE | Value transfer | Type reference (TYPE) | DATS | Field of type DATS | 20070219 | |||
| 2 | IV_FY_VARIANT | Call by reference | Type reference (TYPE) | PERIV | Fiscal Year Variant | 20100426 | |||
| 3 | IV_PERIOD | Value transfer | Type reference (TYPE) | /RPM/TV_PERIOD_ID | xRPM Period ID | 20070219 | |||
| 4 | IV_PERIOD_TYPE | Value transfer | Type reference (TYPE) | /RPM/TV_PERIOD_TYPE | Period Breakdown | 20070219 |
Method GET_LAST_DAY_OF_PERIOD on class /RPM/CL_PLAN_DISTRIBUTION has no exception.
Method GET_NUMBER_OF_MONTHS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DATE_FROM | Call by reference | Type reference (TYPE) | BEGDA | Start Date | 20090911 | |||
| 2 | IV_DATE_TO | Call by reference | Type reference (TYPE) | ENDDA | End Date | 20090911 | |||
| 3 | IV_FY_VARIANT | Call by reference | Type reference (TYPE) | PERIV | Fiscal Year Variant | 20100601 | |||
| 4 | RV_MONTHS | Value transfer | Type reference (TYPE) | I | 20090911 |
Method GET_NUMBER_OF_MONTHS on class /RPM/CL_PLAN_DISTRIBUTION has no exception.
History
| Last changed by/on | SAP | 20141109 |
| SAP Release Created in | 450 |