SAP ABAP Class CL_SAWE_PERIOD_TOOL (Wrapper for Badi bs_period_toolset_context)
Hierarchy
☛
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
⤷ IS-PRS-LS (Application Component) Lean Staffing
⤷ PSAWE_CO_REUSE (Package) Reuse objects for Structure Package EA-SAWE
⤷ IS-PRS-LS (Application Component) Lean Staffing
⤷ PSAWE_CO_REUSE (Package) Reuse objects for Structure Package EA-SAWE
Properties
Class | CL_SAWE_PERIOD_TOOL | |
Short Description | Wrapper for Badi bs_period_toolset_context | |
Super Class | ||
Instantiability of a Class | 0 | Private |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | PSAWE_CO_REUSE | Reuse objects for Structure Package EA-SAWE |
Created | 20091020 | SAP |
Last change | 20100310 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_SAWE_PERIOD_TOOL has no forward declaration.
Interfaces
Class CL_SAWE_PERIOD_TOOL has no interface implemented.
Friends
Class CL_SAWE_PERIOD_TOOL has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | MO_BADI | Instance attribute | Private | Object reference (TYPE REF TO) | BS_PERIOD_TOOLSET_CONTEXT | 20091020 | |||
2 | MO_INSTANCE | Static Attribute | Private | Object reference (TYPE REF TO) | CL_SAWE_PERIOD_TOOL | Wrapper for Badi bs_period_toolset_context | 20091020 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CONSTRUCTOR | Instance method | Private | Constructor | CONSTRUCTOR | 20091020 |
2 | DATE_TO_YEAR_WEEK | Instance method | Public | Method | 20091020 | |
3 | GET_CALENDAR_WEEK | Instance method | Public | Method | 20091020 | |
4 | GET_FIRST_DAY_IN_WEEK | Instance method | Public | Method | 20091020 | |
5 | GET_INSTANCE | Static method | Public | Method | Returns Singleton | 20091020 |
6 | GET_WEEKDAY_NUMBER | Instance method | Public | Method | 20091020 | |
7 | SET_COUNTRY_CONTEXT | Instance method | Public | Method | 20091020 | |
8 | SET_PERSONNEL_CONTEXT | Instance method | Public | Method | set Context Employee | 20091027 |
9 | YEAR_WEEK_TO_DATE_PERIOD | Instance method | Public | Method | 20091020 |
Events
Class CL_SAWE_PERIOD_TOOL has no event.
Types
Class CL_SAWE_PERIOD_TOOL has no local type.
Method Signatures
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_SAWE_PERIOD_TOOL has no parameter.
Method CONSTRUCTOR on class CL_SAWE_PERIOD_TOOL has no exception.
Method DATE_TO_YEAR_WEEK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_DATE | Call by reference | Type reference (TYPE) | BSPERIOD_DATE | 20091020 | |||
2 | Returning | RV_YEARWEEK | Value transfer | Type reference (TYPE) | KWEEK | Factory calendar: Week | 20091020 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_BS_PERIOD_TOOLSET_BASICS | Period Toolset - Exceptions for Basic Functions | 20091020 |
Method GET_CALENDAR_WEEK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_DATE | Call by reference | Type reference (TYPE) | BSPERIOD_DATE | BS Period Toolset - Date | 20091020 | ||
2 | Returning | RV_WEEK | Value transfer | Type reference (TYPE) | BSPERIOD_WEEK | BS Period Toolset - Week | 20091020 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_BS_PERIOD_TOOLSET_BASICS | Period Toolset - Exceptions for Basic Functions | 20091020 |
Method GET_FIRST_DAY_IN_WEEK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_DATE | Call by reference | Type reference (TYPE) | BSPERIOD_DATE | BS Period Toolset - Date | 20091020 | ||
2 | Returning | RV_DATE | Value transfer | Type reference (TYPE) | BSPERIOD_DATE | BS Period Toolset - Week | 20091020 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_BS_PERIOD_TOOLSET_BASICS | Period Toolset - Exceptions for Basic Functions | 20091020 |
Method GET_INSTANCE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RO_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_SAWE_PERIOD_TOOL | Wrapper for Badi bs_period_toolset_context | 20091020 |
Method GET_INSTANCE on class CL_SAWE_PERIOD_TOOL has no exception.
Method GET_WEEKDAY_NUMBER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_DATE | Call by reference | Type reference (TYPE) | BSPERIOD_DATE | BS Period Toolset - Date | 20091020 | ||
2 | Returning | RV_WEEKDAY | Value transfer | Type reference (TYPE) | I | BS Period Toolset - Week | 20091020 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_BS_PERIOD_TOOLSET_BASICS | Period Toolset - Exceptions for Basic Functions | 20091020 |
Method SET_COUNTRY_CONTEXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_COUNTRY | Call by reference | Type reference (TYPE) | LAND1 | Country Key | 20091020 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_BS_PERIOD_TOOLSET_BASICS | Period Toolset - Exceptions for Basic Functions | 20091020 |
Method SET_PERSONNEL_CONTEXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_PERNR | Call by reference | Type reference (TYPE) | PERNR_D | 20091027 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_BS_PERIOD_TOOLSET_BASICS | Period Toolset - Exceptions for Basic Functions | 20091027 |
Method YEAR_WEEK_TO_DATE_PERIOD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EV_BEGIN_DATE | Call by reference | Type reference (TYPE) | BSPERIOD_BEGDA | BS Period Toolset - Week | 20091020 | ||
2 | Exporting | EV_END_DATE | Call by reference | Type reference (TYPE) | BSPERIOD_ENDDA | BS Period Toolset - End Date | 20091020 | ||
3 | Importing | IV_YEARWEEK | Call by reference | Type reference (TYPE) | KWEEK | BS Period Toolset - Date | 20091020 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_BS_PERIOD_TOOLSET_BASICS | Period Toolset - Exceptions for Basic Functions | 20091020 |
History
Last changed by/on | SAP | 20100310 |
SAP Release Created in | 605 |