SAP ABAP Class CL_LOP_CALCULATE_DATE (Calculate the Date)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
LO-AB-TC (Application Component) Trading Contract
⤷
LOOP (Package) Model layer for logistical contract options
⤷
⤷
Properties
| Class | CL_LOP_CALCULATE_DATE | |
| Short Description | Calculate the Date | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | LOOP | Model layer for logistical contract options |
| Created | 20120209 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_LOP_CALCULATE_DATE has no forward declaration.
Interfaces
Class CL_LOP_CALCULATE_DATE has no interface implemented.
Friends
Class CL_LOP_CALCULATE_DATE has no friend class.
Attributes
Class CL_LOP_CALCULATE_DATE has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Take into account the calendar | 20120209 | |
| 2 | Static method | Public | Method | Apply the Date Rule | 20120209 | |
| 3 | Static method | Public | Method | Calculate the date | 20120209 | |
| 4 | Static method | Public | Method | Calculate the month | 20120209 |
Events
Class CL_LOP_CALCULATE_DATE has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | MTY_S_DATE | Public | See coding | 20120209 | BEGIN OF mty_s_date,
year(4) TYPE c,
month(2) TYPE c,
day(2) TYPE c,
END OF mty_s_date
|
Method Signatures
Method APPLY_CAL_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_DATE_RESULT | Call by reference | Type reference (TYPE) | SYDATUM | Current Date of Application Server | 20120209 | |||
| 2 | I_CALENDAR_ID | Call by reference | Type reference (TYPE) | SCAL-FCALID | Factory Calendar | 20120209 | |||
| 3 | I_DATE | Call by reference | Type reference (TYPE) | SYDATUM | Current Date of Application Server | 20120209 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Maintain error | 20120209 |
Method APPLY_DATE_RULE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_DATE_RESULT | Call by reference | Type reference (TYPE) | SYDATUM | Current Date of Application Server | 20120209 | |||
| 2 | IS_DATA_NEW | Call by reference | Type reference (TYPE) | LOP_S_DECL_DATA_ALL | All fields for the Declaration Date | 20120209 | |||
| 3 | I_DATE | Call by reference | Type reference (TYPE) | SYDATUM | Current Date of Application Server | 20120209 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Maintain error | 20120209 |
Method CALCULATE_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_DATE_RESULT | Call by reference | Type reference (TYPE) | SYDATUM | Current Date of Application Server | 20120209 | |||
| 2 | IS_DATA_NEW | Call by reference | Type reference (TYPE) | LOP_S_DECL_DATA_ALL | All fields for the Declaration Date | 20120209 | |||
| 3 | IS_HEADER | Call by reference | Type reference (TYPE) | LOP_S_LIST_HD_COM | Embedded option list header communication structure | 20120209 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Customizing error | 20120209 | ||
| 2 | Maintain error | 20120209 |
Method CALCULATE_MONTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_DATE_RESULT | Call by reference | Type reference (TYPE) | SYDATUM | Current Date of Application Server | 20120209 | |||
| 2 | I_DATE | Call by reference | Type reference (TYPE) | SYDATUM | Current Date of Application Server | 20120209 | |||
| 3 | I_NUM_MONTH | Call by reference | Type reference (TYPE) | I | 20120209 |
Method CALCULATE_MONTH on class CL_LOP_CALCULATE_DATE has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 607 |