SAP ABAP Class CL_WCCP_CALC_LOSS_OF_TIME_SAMP (Example Implementation)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
PM (Application Component) Plant Maintenance
⤷
PMEX (Package) PM: Extraction of Release-independent Objects

⤷

⤷

Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_BADI_INTERFACE | Tag Interface for BAdIs | 20110711 |
2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_EX_WCCP_CALC_LOSS_OF_TIME | Adjust tasklist on extraction from Orders and Notifs | 20110711 |
Properties
Class | CL_WCCP_CALC_LOSS_OF_TIME_SAMP | |
Short Description | Example Implementation | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | PMEX | PM: Extraction of Release-independent Objects |
Created | 20110711 | SAP |
Last change | 20130531 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ![]() |
Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
# | Interface | Abstract | Final | Description | Created on |
---|---|---|---|---|---|
1 | IF_BADI_INTERFACE | Tag Interface for BAdIs | 20110711 | ||
2 | IF_EX_WCCP_CALC_LOSS_OF_TIME | Adjust tasklist on extraction from Orders and Notifs | 20110711 |
Friends
Class CL_WCCP_CALC_LOSS_OF_TIME_SAMP has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Protected | Type reference (TYPE) | T | '000000' | 20110711 | ||
2 | ![]() |
Constant | Protected | Type reference (TYPE) | T | '240000' | 20110711 | ||
3 | ![]() |
Constant | Protected | Type reference (TYPE) | CHAR01 | 'X' | 20110711 | ||
4 | ![]() |
Constant | Protected | Type reference (TYPE) | KAPBEGZT | 86400 | 20110711 | ||
5 | ![]() |
Constant | Protected | Type reference (TYPE) | KAPBEGZT | 3600 | 20110711 | ||
6 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | T_PMWCCP_BW_EXT | 20110711 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Protected | Method | Assignment of Maintenance Times to Shifts | 20110711 |
2 | ![]() |
Instance method | Protected | Method | Main Routine - Preparation and Calculation | 20110711 |
3 | ![]() |
Instance method | Protected | Method | Calculation | 20110711 |
4 | ![]() |
Instance method | Protected | Method | Clear Time for Double-Booked and Overlapping Shifts | 20110711 |
5 | ![]() |
Instance method | Protected | Method | Determination of Breaks | 20110711 |
6 | ![]() |
Instance method | Protected | Method | Determine Overlapping Breakdown Times for Next Throughput | 20110711 |
7 | ![]() |
Instance method | Protected | Method | Fill Internal Tables and Enhance with Date-Time Conversion | 20110711 |
Events
Class CL_WCCP_CALC_LOSS_OF_TIME_SAMP has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | BREAKDOWNINFO_EXT | Protected | See coding | 20110711 | begin of breakdowninfo_ext,
ARBPL Type ARBPL,
ARBPLWERK Type QARBPWERKS,
AUSVN Type AUSVN,
AUSBS Type AUSBS,
AUZTV Type AUZTV,
AUZTB Type AUZTB,
URCOD Type URCOD,
TPLNR Type TPLNR,
EQUNR Type EQUNR,
ILOAN Type ILOAN,
QMNUM Type QMNUM,
PPSID Type PPSID,
SWERK Type SWERK,
from_bd type f,
to_bd type f,
end of breakdowninfo_ext
|
||
2 | PMWCCP_BW_EXT | Protected | See coding | 20110711 | begin of pmwccp_bw_ext,
ARBPL Type ARBPL,
WERKS Type WERKS_D,
VERWE Type AP_VERWE,
KAPAR Type KAPAR,
DATUM Type SYDATUM,
WEEK Type SYFWEEK,
TAGNR Type CR_TAGNR,
WDAY Type KAP_WOTAG,
SCHNR Type SCHICHTNR,
BREAKDOWN Type NUMC_3,
ANZSH Type ANZSCHICHT,
TPROG Type KAPTPROG,
ANZTG Type DZYKDAU,
ANZHL Type KAPANZAHL,
BEGZT Type BEGZT,
ENDZT Type ENDZT,
EINZH Type KAPEINZT_H,
KAPEH Type CR_KAPEH,
KAPAZ Type KAPAZIT_EH,
PAUSE Type KAPPAUZEIT,
NGRAD Type NUTZGRAD,
KKOPF Type KKOPF,
UEBERLAST Type UEBERLAST,
TZONE Type TZNZONESYS,
URCOD Type URCOD,
AUSVN Type AUSVN,
AUZTV Type AUZTV,
AUSBS Type AUSBS,
AUZTB Type AUZTB,
LOFFT Type KAPAZIT_EH,
TPLNR Type TPLNR,
EQUNR Type EQUNR,
QMNUM Type QMNUM,
from type f,
to type f,
from_bd type f,
to_bd type f,
index type sytabix,
from_ind type sytabix,
to_ind type sytabix,
end of pmwccp_bw_ext
|
||
3 | T_BREAKDOWNINFO_EXT | Protected | See coding | 20110711 | t_breakdowninfo_ext type standard table of breakdowninfo_ext
|
||
4 | T_PMWCCP_BW_EXT | Protected | See coding | 20110711 | t_pmwccp_bw_ext type standard table of pmwccp_bw_ext
|
Method Signatures
Method ASSIGNMENT_BD_TIMES_TO_SHIFTS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_BREAKDOWNINFO_EXT | Call by reference | Type reference (TYPE) | T_BREAKDOWNINFO_EXT | 20110711 | |||
2 | ![]() |
CT_PMWCCP_BW_EXT | Call by reference | Type reference (TYPE) | T_PMWCCP_BW_EXT | 20110711 | |||
3 | ![]() |
CT_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | 20110711 |
Method ASSIGNMENT_BD_TIMES_TO_SHIFTS on class CL_WCCP_CALC_LOSS_OF_TIME_SAMP has no exception.
Method CALCULATE_LOSS_OF_TIME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_PMWCCP_BW | Call by reference | Type reference (TYPE) | T_PMWCCP_BW | 20110711 | |||
2 | ![]() |
CT_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | 20110711 | |||
3 | ![]() |
ET_BREAKDOWNINFO_REST | Call by reference | Type reference (TYPE) | T_BREAKDOWNINFO | 20110711 | |||
4 | ![]() |
IT_BREAKDOWNINFO | Call by reference | Type reference (TYPE) | T_BREAKDOWNINFO | 20110711 | |||
5 | ![]() |
IT_TC37A | Call by reference | Type reference (TYPE) | TT_TC37A | 20110711 | |||
6 | ![]() |
IT_WORKCENTER_KALID | Call by reference | Type reference (TYPE) | CL_WORKCENTER_CAPACITY=>T_WORKCENTER_KALID | 20110711 | |||
7 | ![]() |
IV_ARBPL | Call by reference | Type reference (TYPE) | ARBPL | 20110711 | |||
8 | ![]() |
IV_SEL_DATE_FROM | Call by reference | Type reference (TYPE) | DATUV | 20110711 | |||
9 | ![]() |
IV_SEL_DATE_TO | Call by reference | Type reference (TYPE) | DATUB | 20110711 | |||
10 | ![]() |
IV_WERKS | Call by reference | Type reference (TYPE) | WERKS_D | 20110711 |
Method CALCULATE_LOSS_OF_TIME on class CL_WCCP_CALC_LOSS_OF_TIME_SAMP has no exception.
Method CALCULATION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_PMWCCP_BW | Call by reference | Type reference (TYPE) | T_PMWCCP_BW | 20110711 | |||
2 | ![]() |
CT_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | 20110711 | |||
3 | ![]() |
IT_PMWCCP_BW_EXT | Call by reference | Type reference (TYPE) | T_PMWCCP_BW_EXT | 20110711 | |||
4 | ![]() |
IT_TC37A | Call by reference | Type reference (TYPE) | TT_TC37A | 20110711 | |||
5 | ![]() |
IT_WORKCENTER_KALID | Call by reference | Type reference (TYPE) | CL_WORKCENTER_CAPACITY=>T_WORKCENTER_KALID | 20110711 | |||
6 | ![]() |
IV_ARBPL | Call by reference | Type reference (TYPE) | ARBPL | 20110711 | |||
7 | ![]() |
IV_WERKS | Call by reference | Type reference (TYPE) | WERKS_D | 20110711 |
Method CALCULATION on class CL_WCCP_CALC_LOSS_OF_TIME_SAMP has no exception.
Method CORRECT_DOUBLE_USED_SHIFTS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_RESULT_TABLE | Call by reference | Type reference (TYPE) | T_PMWCCP_BW | 20110711 | |||
2 | ![]() |
CT_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | 20110711 | |||
3 | ![]() |
IV_ARBPL | Call by reference | Type reference (TYPE) | ARBPL | 20110711 | |||
4 | ![]() |
IV_WERKS | Call by reference | Type reference (TYPE) | WERKS_D | 20110711 |
Method CORRECT_DOUBLE_USED_SHIFTS on class CL_WCCP_CALC_LOSS_OF_TIME_SAMP has no exception.
Method DET_BREAKS_AND_CALCULATE Signature
Method DET_BREAKS_AND_CALCULATE on class CL_WCCP_CALC_LOSS_OF_TIME_SAMP has no exception.
Method DET_OVERLAPPING_RECORDS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_BREAKDOWNINFO_EXT | Call by reference | Type reference (TYPE) | T_BREAKDOWNINFO_EXT | 20110711 | |||
2 | ![]() |
CT_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | 20110711 | |||
3 | ![]() |
ET_BREAKDOWNINFO_REST | Call by reference | Type reference (TYPE) | T_BREAKDOWNINFO | 20110711 | |||
4 | ![]() |
IT_PMWCCP_BW_EXT | Call by reference | Type reference (TYPE) | T_PMWCCP_BW_EXT | 20110711 | |||
5 | ![]() |
IV_ARBPL | Call by reference | Type reference (TYPE) | ARBPL | 20110711 | |||
6 | ![]() |
IV_WERKS | Call by reference | Type reference (TYPE) | WERKS_D | 20110711 |
Method DET_OVERLAPPING_RECORDS on class CL_WCCP_CALC_LOSS_OF_TIME_SAMP has no exception.
Method FILL_TABLES_EXTENDED_VERSION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_PMWCCP_BW_EXT | Call by reference | Type reference (TYPE) | T_PMWCCP_BW_EXT | 20110711 | |||
2 | ![]() |
CT_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | 20110711 | |||
3 | ![]() |
ET_BREAKDOWNINFO_EXT | Call by reference | Type reference (TYPE) | T_BREAKDOWNINFO_EXT | 20110711 | |||
4 | ![]() |
ET_PMWCCP_BW_EXT | Call by reference | Type reference (TYPE) | T_PMWCCP_BW_EXT | 20110711 | |||
5 | ![]() |
IT_BREAKDOWNINFO | Call by reference | Type reference (TYPE) | T_BREAKDOWNINFO | 20110711 | |||
6 | ![]() |
IT_PMWCCP_BW | Call by reference | Type reference (TYPE) | T_PMWCCP_BW | 20110711 | |||
7 | ![]() |
IV_ARBPL | Call by reference | Type reference (TYPE) | ARBPL | 20110711 | |||
8 | ![]() |
IV_WERKS | Call by reference | Type reference (TYPE) | WERKS_D | 20110711 |
Method FILL_TABLES_EXTENDED_VERSION on class CL_WCCP_CALC_LOSS_OF_TIME_SAMP has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 606 |