SAP ABAP Class CL_BS_PERIOD_TOOLSET_API (Period Toolset - Period Tool API)
Hierarchy
☛
SAP_BS_FND (Software Component) SAP Business Suite Foundation
⤷
CA-EPT (Application Component) Processes and Tools for Enterprise Applications
⤷
BS_PERIOD_API (Package) API for period toolset

⤷

⤷

Properties
Class | CL_BS_PERIOD_TOOLSET_API | |
Short Description | Period Toolset - Period Tool API | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | BS_PERIOD_API | API for period toolset |
Created | 20091020 | SAP |
Last change | 20130531 | 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_BS_PERIOD_TOOLSET_API has no interface implemented.
Friends
Class CL_BS_PERIOD_TOOLSET_API has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Private | Type reference (TYPE) | BSPERIOD_FRQ_MAP_CAT | 'BOP' | Begin of Period | 20091021 | |
2 | ![]() |
Constant | Private | Type reference (TYPE) | BSPERIOD_FRQ_MAP_CAT | 'EOP' | End of Period | 20091021 | |
3 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | '123' | ISO Date Type String | 20091021 | |
4 | ![]() |
Constant | Private | Type reference (TYPE) | CHAR4 | '0001' | First Year in Calendar | 20091021 | |
5 | ![]() |
Constant | Private | Type reference (TYPE) | NUMC1 | '1' | Mapping Entity 1 : n | 20091105 | |
6 | ![]() |
Constant | Private | Type reference (TYPE) | NUMC1 | '0' | Mapping Entity n : 1 | 20091105 | |
7 | ![]() |
Constant | Private | Type reference (TYPE) | BSPERIOD_DATE | '99991231' | Minimum Date Value | 20091021 | |
8 | ![]() |
Constant | Private | Type reference (TYPE) | BSPERIOD_FRQ_FACTOR | 255 | Frequency Factor | 20091021 | |
9 | ![]() |
Constant | Private | Type reference (TYPE) | BSPERIOD_TIME | '235959' | Maximum Time Value | 20091021 | |
10 | ![]() |
Constant | Private | Type reference (TYPE) | BSPERIOD_DATE | '19000101' | Maximum Date Value | 20091021 | |
11 | ![]() |
Constant | Private | Type reference (TYPE) | BSPERIOD_TIME | '000000' | Minimum Time Value | 20091021 | |
12 | ![]() |
Constant | Private | Type reference (TYPE) | BSPERIOD_APPL_AREA | 'SAP' | Default Application Area | 20091026 | |
13 | ![]() |
Static Attribute | Private | Object reference (TYPE REF TO) | LIF_CUSTOMIZING | 20120322 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Public | Method | Add Duration to Start Date | 20091104 |
2 | ![]() |
Static method | Public | Method | Build single Period | 20091021 |
3 | ![]() |
Static method | Public | Method | Build Period & Due Date Information | 20091021 |
4 | ![]() |
Static method | Public | Method | Build Period List | 20091021 |
5 | ![]() |
Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20120322 |
6 | ![]() |
Static method | Public | Method | Determine Due Date using a Due Date Rule | 20091021 |
7 | ![]() |
Static method | Public | Method | Map Single Source Period to Destination Period | 20091021 |
8 | ![]() |
Static method | Private | Method | set start date for period list determination | 20120327 |
9 | ![]() |
Static method | Public | Method | Adjust Start Date for Period Build | 20091021 |
10 | ![]() |
Static method | Public | Method | Subtract Duration from Start Date | 20091104 |
Events
Class CL_BS_PERIOD_TOOLSET_API has no event.
Types
Class CL_BS_PERIOD_TOOLSET_API has no local type.
Method Signatures
Method ADD_PERIOD_TO_START_DATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_DATE | Call by reference | Type reference (TYPE) | BSPERIOD_DATE | Key Date | 20091104 | ||
2 | ![]() |
IV_FACTOR | Call by reference | Type reference (TYPE) | BSPERIOD_FRQ_FACTOR | Frequency Factor (1..255) | 20091104 | ||
3 | ![]() |
IV_UNIT | Call by reference | Type reference (TYPE) | BSPERIOD_FRQ_UNIT | Frequency Unit (1 = Day, 2 = Week, 3 = Month) | 20091104 | ||
4 | ![]() |
RV_DATE | Value transfer | Type reference (TYPE) | BSPERIOD_DATE | Result Date | 20091104 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Period Toolset - Exceptions for Period Functions | 20091104 |
Method BUILD_PERIOD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ES_PERIOD | Call by reference | Type reference (TYPE) | BSPERIOD_S_PERIOD | Period Structure | 20091021 | ||
2 | ![]() |
IV_APPL_AREA | Call by reference | Type reference (TYPE) | BSPERIOD_APPL_AREA | Application Area | 20091022 | ||
3 | ![]() |
IV_DATE | Call by reference | Type reference (TYPE) | BSPERIOD_DATE | Key Date | 20091021 | ||
4 | ![]() |
IV_FRQ_TYPE | Call by reference | Type reference (TYPE) | BSPERIOD_FRQ_TYPE | Frequency Type | 20091021 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Period Toolset - Exceptions for Period Functions | 20091021 |
Method BUILD_PERIOD_INFO Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_PERIOD_INFO | Call by reference | Type reference (TYPE) | BSPERIOD_T_PERIOD_INFO | Period Information Table Structure | 20091021 | ||
2 | ![]() |
IS_PERIOD | Call by reference | Type reference (TYPE) | BSPERIOD_S_PERIOD | Selection Period | 20091021 | ||
3 | ![]() |
IV_APPL_AREA | Call by reference | Type reference (TYPE) | BSPERIOD_APPL_AREA | Application Area | 20091023 | ||
4 | ![]() |
IV_CUST_OPT | Call by reference | Type reference (TYPE) | BSPERIOD_FLAG | ABAP_FALSE | Include Customizing Options | 20091021 | |
5 | ![]() |
IV_DDR_TYPE | Call by reference | Type reference (TYPE) | BSPERIOD_DDR_TYPE | Due Date Rule Type (or SXP Type) | 20091021 | ||
6 | ![]() |
IV_MAP_TYPE | Call by reference | Type reference (TYPE) | BSPERIOD_FRQ_MAP_TYPE | Frequency Mapping Type (or SXP Type) | 20091021 | ||
7 | ![]() |
IV_PERMAX | Call by reference | Type reference (TYPE) | BSPERIOD_PERMAX | Maximum Number of Periods (Source Type) | 20091021 | ||
8 | ![]() |
IV_YEARMAX | Call by reference | Type reference (TYPE) | BSPERIOD_YEARMAX | Maximum Number of Years to be generated | 20091021 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Period Toolset - Exceptions for Period Functions | 20091021 |
Method BUILD_PERIOD_LIST Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_PERIOD | Call by reference | Type reference (TYPE) | BSPERIOD_T_PERIOD | Period Table Structure | 20091021 | ||
2 | ![]() |
IS_PERIOD | Call by reference | Type reference (TYPE) | BSPERIOD_S_PERIOD | Selection Period | 20091021 | ||
3 | ![]() |
IV_APPL_AREA | Call by reference | Type reference (TYPE) | BSPERIOD_APPL_AREA | Application Area | 20091022 | ||
4 | ![]() |
IV_FRQ_TYPE | Call by reference | Type reference (TYPE) | BSPERIOD_FRQ_TYPE | Frequency Type | 20091021 | ||
5 | ![]() |
IV_PERMAX | Call by reference | Type reference (TYPE) | BSPERIOD_PERMAX | Maximum Number of Periods | 20091021 | ||
6 | ![]() |
IV_YEARMAX | Call by reference | Type reference (TYPE) | BSPERIOD_YEARMAX | Maximum Number of Years | 20091021 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Period Toolset - Exceptions for Period Functions | 20091022 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_BS_PERIOD_TOOLSET_API has no parameter.
Method CLASS_CONSTRUCTOR on class CL_BS_PERIOD_TOOLSET_API has no exception.
Method GET_DUE_DATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_DATE | Call by reference | Type reference (TYPE) | BSPERIOD_DATE | Due Date | 20091021 | ||
2 | ![]() |
EV_SCAL_IND | Call by reference | Type reference (TYPE) | BSPERIOD_SCAL_INDICATOR | Factory Calendar Indicator | 20091021 | ||
3 | ![]() |
IS_DDR_CUST | Call by reference | Type reference (TYPE) | BSPERIOD_S_DDR_TYPE | Due Date Rule Customizing (alternative) | 20091021 | ||
4 | ![]() |
IS_PERIOD | Call by reference | Type reference (TYPE) | BSPERIOD_S_PERIOD | Payment Period | 20091021 | ||
5 | ![]() |
IS_VALUES | Call by reference | Type reference (TYPE) | ANY | Value Structure for Return Value Determination | 20091021 | ||
6 | ![]() |
IV_APPL_AREA | Call by reference | Type reference (TYPE) | BSPERIOD_APPL_AREA | BS PTS - Application Area | 20091023 | ||
7 | ![]() |
IV_DDR_TYPE | Call by reference | Type reference (TYPE) | BSPERIOD_DDR_TYPE | Due Date Rule Type | 20091021 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Period Toolset - Exceptions for Period Functions | 20091021 |
Method MAP_PERIOD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ES_PERIOD | Call by reference | Type reference (TYPE) | BSPERIOD_S_PERIOD | Destination Period Structure | 20091021 | ||
2 | ![]() |
IS_MAP_CUST | Call by reference | Type reference (TYPE) | BSPERIOD_S_FRQ_MAP_TYPE | Frequency Mapping Type Structure | 20091021 | ||
3 | ![]() |
IS_PERIOD | Call by reference | Type reference (TYPE) | BSPERIOD_S_PERIOD | Source Period Structure | 20091021 | ||
4 | ![]() |
IS_VALUES | Call by reference | Type reference (TYPE) | ANY | Value Structure for Return Value Determination | 20091021 | ||
5 | ![]() |
IV_APPL_AREA | Call by reference | Type reference (TYPE) | BSPERIOD_APPL_AREA | Application Area | 20091023 | ||
6 | ![]() |
IV_MAP_TYPE | Call by reference | Type reference (TYPE) | BSPERIOD_FRQ_MAP_TYPE | Frequency Mapping Type | 20091021 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Period Toolset - Exceptions for Period Functions | 20091021 |
Method SET_BEGDA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_FRQ_TYPE_INFO | Call by reference | Type reference (TYPE) | BSPERIOD_S_FRQ_TYPE | BS PTS - Structure for Frequency Types | 20120327 | ||
2 | ![]() |
IS_PERIOD | Call by reference | Type reference (TYPE) | BSPERIOD_S_PERIOD | BS PTS - Structure for Periods | 20120327 | ||
3 | ![]() |
RV_BEGDA | Value transfer | Type reference (TYPE) | DATUM | Date | 20120327 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Period Toolset - Exceptions for Period Functions | 20120405 |
Method SET_PERIOD_START_DATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_DATE | Call by reference | Type reference (TYPE) | BSPERIOD_DATE | Period Start Date | 20091021 | ||
2 | ![]() |
IV_UNIT | Call by reference | Type reference (TYPE) | BSPERIOD_FRQ_UNIT | Frequency Unit | 20091021 | ||
3 | ![]() |
RV_DATE | Value transfer | Type reference (TYPE) | BSPERIOD_DATE | Result Date | 20091021 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Period Toolset - Exceptions for Period Functions | 20091021 |
Method SUB_PERIOD_FROM_START_DATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_DATE | Call by reference | Type reference (TYPE) | BSPERIOD_DATE | Key Date | 20091104 | ||
2 | ![]() |
IV_FACTOR | Call by reference | Type reference (TYPE) | BSPERIOD_FRQ_FACTOR | Frequency Factor (1..255) | 20091104 | ||
3 | ![]() |
IV_UNIT | Call by reference | Type reference (TYPE) | BSPERIOD_FRQ_UNIT | Frequency Unit (1 = Day, 2 = Week, 3 = Month) | 20091104 | ||
4 | ![]() |
RV_DATE | Value transfer | Type reference (TYPE) | BSPERIOD_DATE | Result Date | 20091104 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Period Toolset - Exceptions for Period Functions | 20091104 |
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 702 |