SAP ABAP Class CL_PT_REQ_UTILS (Default Implementation for BAdI Definition PT_GEN_REQ)
Hierarchy
☛
EA-HRRXX (Software Component) Sub component EA-HRRXX of EA-HR
⤷
PT (Application Component) Personnel Time Management
⤷
PAOC_TIM_REQUEST_COMP (Package) Database of Requests: Functions for All Request Types
⤷
⤷
Properties
| Class | CL_PT_REQ_UTILS | |
| Short Description | Default Implementation for BAdI Definition PT_GEN_REQ | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | PAOC_TIM_REQUEST_COMP | Database of Requests: Functions for All Request Types |
| Created | 20040414 | SAP |
| Last change | 20050409 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_PT_REQ_UTILS has no forward declaration.
Interfaces
Class CL_PT_REQ_UTILS has no interface implemented.
Friends
Class CL_PT_REQ_UTILS has no friend class.
Attributes
Class CL_PT_REQ_UTILS has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Clock Time Formatting | 20050221 | |
| 2 | Static method | Public | Method | Finds a Day in Future or Past | 20040423 | |
| 3 | Static method | Public | Method | Finds First Day of Week | 20040414 | |
| 4 | Static method | Public | Method | Finds Number of Days in a Particular Month | 20040416 | |
| 5 | Static method | Public | Method | Finds Correct Day Minus One Year | 20040422 |
Events
Class CL_PT_REQ_UTILS has no event.
Types
Class CL_PT_REQ_UTILS has no local type.
Method Signatures
Method FORMAT_TIME_OUTPUT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_FORMATTED_TIME | Call by reference | Type reference (TYPE) | CHAR12 | Charakterfeld der Länge 12 | 20050221 | |||
| 2 | IM_TIME | Call by reference | Type reference (TYPE) | SY-UZEIT | Aktuelle Uhrzeit des Applikationsservers | 20050221 | |||
| 3 | IM_TIME_FORMAT_FLAG | Call by reference | Type reference (TYPE) | PTREQ_TIME_FORMAT | Korrektur time format | 20050221 |
Method FORMAT_TIME_OUTPUT on class CL_PT_REQ_UTILS has no exception.
Method GET_DATE_FOR_N_MONTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_DATE | Call by reference | Type reference (TYPE) | SY-DATUM | Datum und Zeit, aktuelles (Applikationsserver-)Datum | 20040423 | |||
| 2 | IM_DATUM | Call by reference | Type reference (TYPE) | SY-DATUM | Datum und Zeit, aktuelles (Applikationsserver-)Datum | 20040423 | |||
| 3 | IM_DIRECTION | Call by reference | Type reference (TYPE) | C | Zukunft 'F' oder Vergangenheit 'P' | 20040423 | |||
| 4 | IM_NUM_MONTHS | Call by reference | Type reference (TYPE) | I | Monate zahlen | 20040423 |
Method GET_DATE_FOR_N_MONTH on class CL_PT_REQ_UTILS has no exception.
Method GET_FIRST_WEEK_DAY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_FIRST_WEEK_DAY | Call by reference | Type reference (TYPE) | SY-DATUM | Datum und Zeit, aktuelles (Applikationsserver-)Datum | 20040414 | |||
| 2 | IM_CUST_FIRST_DAY | Call by reference | Type reference (TYPE) | PTREQ_WEEKDAY | Erster Tag der Woche | 20040414 | |||
| 3 | IM_REFDATE | Call by reference | Type reference (TYPE) | SY-DATUM | Datum und Zeit, aktuelles (Applikationsserver-)Datum | 20040414 |
Method GET_FIRST_WEEK_DAY on class CL_PT_REQ_UTILS has no exception.
Method GET_NUM_OF_DAYS_OF_MONTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_NUM_DAYS | Call by reference | Type reference (TYPE) | I | 20040416 | ||||
| 2 | IM_DATE | Call by reference | Type reference (TYPE) | SY-DATUM | Datum und Zeit, aktuelles (Applikationsserver-)Datum | 20040416 |
Method GET_NUM_OF_DAYS_OF_MONTH on class CL_PT_REQ_UTILS has no exception.
Method GET_VALID_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_DATE | Call by reference | Type reference (TYPE) | SY-DATUM | Datum und Zeit, aktuelles (Applikationsserver-)Datum | 20040422 | |||
| 2 | IM_DATE | Call by reference | Type reference (TYPE) | SY-DATUM | Datum und Zeit, aktuelles (Applikationsserver-)Datum | 20040422 | |||
| 3 | IM_DIRECTION | Call by reference | Type reference (TYPE) | C | 20040422 |
Method GET_VALID_DATE on class CL_PT_REQ_UTILS has no exception.
History
| Last changed by/on | SAP | 20050409 |
| SAP Release Created in | 500 |