SAP ABAP Class CL_EAM_TL_REL (Class for task list API relations)
Hierarchy
☛
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
⤷
PM-PRM-TL (Application Component) Maintenance Task Lists
⤷
EAM_TL_API (Package) EAM Task List API
⤷
⤷
Properties
| Class | CL_EAM_TL_REL | |
| Short Description | Class for task list API relations | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | EAM_TL_API | EAM Task List API |
| Created | 20090804 | SAP |
| Last change | 20110908 | 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_EAM_TL_REL has no interface implemented.
Friends
Class CL_EAM_TL_REL has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | See coding | 'EF' | 20090908 | ||||
| 2 | Constant | Private | See coding | 'NF' | 20090908 | ||||
| 3 | Constant | Private | Type reference (TYPE) | AOBKY | '3' | 20090908 | |||
| 4 | Constant | Private | Type reference (TYPE) | AOBKY | '1' | 20090908 | |||
| 5 | Constant | Private | Type reference (TYPE) | AOBKY | '4' | 20090908 | |||
| 6 | Constant | Private | Type reference (TYPE) | AOBKY | '2' | 20090908 | |||
| 7 | Constant | Private | See coding | 'SF' | 20090908 | ||||
| 8 | Constant | Private | See coding | 'AF' | 20090908 | ||||
| 9 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_EAM_TL_REL | Class for task list API relations | 20090804 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | TCA01 | Task list types | 20090903 | |||
| 11 | Instance attribute | Private | Attribute reference (LIKE) | SY-TABIX | Internal counter used in messages | 20090903 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Checks operation relations of task list | 20090903 | |
| 2 | Instance method | Private | Method | Checks entry for factory calendar | 20090908 | |
| 3 | Instance method | Private | Method | Checks time interval key | 20090907 | |
| 4 | Instance method | Private | Method | Reads corresponding operation for operation relation | 20090903 | |
| 5 | Instance method | Private | Method | Checks the relation type | 20090904 | |
| 6 | Instance method | Private | Method | Checks single operation relation | 20090903 | |
| 7 | Instance method | Private | Method | Quecks time and unit of work in relation | 20090904 | |
| 8 | Instance method | Private | Method | Checks plant and work center and retrieves work ctr. & cal. | 20090907 | |
| 9 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20090804 | |
| 10 | Static method | Public | Method | Converts relation type to/from database format | 20090908 | |
| 11 | Instance method | Public | Method | Inserts new relation records | 20090925 | |
| 12 | Instance method | Public | Method | Deletes respective relations from buffer table | 20090916 | |
| 13 | Static method | Public | Method | Returns singleton instance | 20090804 | |
| 14 | Instance method | Public | Method | Reads relations from buffer tables | 20090817 | |
| 15 | Instance method | Private | Method | Reads existing relation record | 20090916 | |
| 16 | Instance method | Private | Method | Set predecessor and successor fields | 20100426 | |
| 17 | Instance method | Public | Method | Updates changed relation types | 20090915 |
Events
Class CL_EAM_TL_REL has no event.
Types
Class CL_EAM_TL_REL has no local type.
Method Signatures
Method CHECK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_PLABD | Call by reference | Type reference (TYPE) | EAM_T_PLABD | Task list relations dialog table type | 20090907 | |||
| 2 | IV_ACTYPE | Call by reference | Type reference (TYPE) | ACTYPE | Activity category Insert or update | 20090908 | |||
| 3 | IV_DATE | Call by reference | Type reference (TYPE) | STTAG | Key Date | 20090903 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Dynamic exception class for tasklist operation relations | 20090903 |
Method CHECK_FACTORY_CALENDAR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CALID | Call by reference | Type reference (TYPE) | WFCID | Factory Calendar | 20090908 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Dynamic exception class for tasklist operation relations | 20090908 |
Method CHECK_INTERVAL_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PROVG | Call by reference | Type reference (TYPE) | AOB_PROVG | Key for defining time intervals in a relationship | 20090907 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Dynamic exception class for tasklist operation relations | 20090907 |
Method CHECK_OPERATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_PLABD | Call by reference | Type reference (TYPE) | PLABD | 20090925 | ||||
| 2 | IV_ACTYPE | Call by reference | Type reference (TYPE) | ACTYPE | Activity category | 20090908 | |||
| 3 | IV_DATE | Call by reference | Type reference (TYPE) | STTAG | Key Date | 20090903 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Dynamic exception class for tasklist operation relations | 20090903 |
Method CHECK_RELATION_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_AOBAR | Call by reference | Type reference (TYPE) | AOBAR | Type of relationship | 20090904 | |||
| 2 | IV_LANGU | Call by reference | Attribute reference (LIKE) | SY-LANGU | SY-LANGU | Language Key of Current Text Environment | 20090907 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Dynamic exception class for tasklist operation relations | 20090904 |
Method CHECK_SINGLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_PLABD | Call by reference | Type reference (TYPE) | PLABD | Relationships I/O Table | 20090925 | |||
| 2 | EV_ERROR_OCCURED | Call by reference | Type reference (TYPE) | FLAG | General Flag | 20090929 | |||
| 3 | IV_ACTYPE | Call by reference | Type reference (TYPE) | ACTYPE | Activity category | 20090908 | |||
| 4 | IV_DATE | Call by reference | Type reference (TYPE) | STTAG | Key date | 20090903 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Dynamic exception class for tasklist operation relations | 20090903 |
Method CHECK_TIME_UNIT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DAUER | Call by reference | Type reference (TYPE) | AOBDAUER | Time Interval Between Relationships | 20090904 | |||
| 2 | IV_PRZNT | Call by reference | Type reference (TYPE) | AOB_PRZNT | % used to calc. time interval between predecessor/successor | 20090907 | |||
| 3 | IV_ZEINH | Call by reference | Type reference (TYPE) | AOBDAUEH | Unit for the time interval between relationships | 20090904 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Dynamic exception class for tasklist operation relations | 20090904 |
Method CHECK_WORKCENTER_PLANT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_ARBID | Call by reference | Type reference (TYPE) | CR_OBJID | Object ID of the resource | 20090907 | |||
| 2 | CV_KALID | Call by reference | Type reference (TYPE) | CR_WFCID | Factory calendar ID | 20090907 | |||
| 3 | IV_ARBPL | Call by reference | Type reference (TYPE) | ARBPL | Work center | 20090907 | |||
| 4 | IV_DATE | Call by reference | Type reference (TYPE) | STTAG | Key Date | 20090907 | |||
| 5 | IV_PLNTY | Call by reference | Type reference (TYPE) | PLNTY | Task List Type | 20090907 | |||
| 6 | IV_WERKS | Call by reference | Type reference (TYPE) | WERKS_D | Plant | 20090907 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Dynamic exception class for tasklist operation relations | 20090907 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_EAM_TL_REL has no parameter.
Method CLASS_CONSTRUCTOR on class CL_EAM_TL_REL has no exception.
Method CONVERT_RELATION_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_AOBAR | Call by reference | Type reference (TYPE) | AOBAR | Type of relationship | 20090908 | |||
| 2 | IV_LANGU | Call by reference | Attribute reference (LIKE) | SY-LANGU | SY-LANGU | Language Key of Current Text Environment | 20090908 | ||
| 3 | IV_TO_DB_FORMAT | Call by reference | Type reference (TYPE) | FLAG | ABAP_FALSE | Convert relationship to db format | 20090908 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Dynamic exception class for tasklist operation relations | 20090908 |
Method CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_RELATIONS | Call by reference | Type reference (TYPE) | EAM_T_TL_REL | Task list: Table for update / insert relations | 20090925 | |||
| 2 | IV_AENNR | Call by reference | Type reference (TYPE) | AENNR | Change Number | 20090925 | |||
| 3 | IV_DATE | Call by reference | Type reference (TYPE) | STTAG | Key Date | 20090925 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Dynamic exception class for tasklist operation relations | 20090925 |
Method DELETE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_RELATIONS | Call by reference | Type reference (TYPE) | EAM_T_TL_REL | Task list relations dialog table type | 20090924 | |||
| 2 | IV_AENNR | Call by reference | Type reference (TYPE) | AENNR | Change Number | 20090916 | |||
| 3 | IV_DATE | Call by reference | Type reference (TYPE) | STTAG | Key Date | 20090916 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Dynamic exception class for tasklist operation relations | 20090916 |
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_EAM_TL_REL | Class for task list API relations | 20090804 |
Method GET_INSTANCE on class CL_EAM_TL_REL has no exception.
Method READ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DATE | Call by reference | Type reference (TYPE) | STTAG | Key Date | 20090929 | |||
| 2 | IV_PLNAL | Call by reference | Type reference (TYPE) | PLNAL | Group Counter | 20090817 | |||
| 3 | IV_PLNNR | Call by reference | Type reference (TYPE) | PLNNR | Key for Task List Group | 20090817 | |||
| 4 | IV_PLNTY | Call by reference | Type reference (TYPE) | PLNTY | Task List Type | 20090817 | |||
| 5 | RT_RELATIONS | Value transfer | Type reference (TYPE) | EAM_T_PLABD | Relationships I/O Table | 20091005 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for dynamic checks | 20090817 |
Method READ_OLD_RECORD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_PLABD | Call by reference | Type reference (TYPE) | PLABD | Relationships I/O Table | 20090916 | |||
| 2 | EV_INDEX | Call by reference | Attribute reference (LIKE) | SY-TABIX | Index of Internal Tables | 20090916 | |||
| 3 | IV_DATE | Call by reference | Type reference (TYPE) | STTAG | Key Date | 20090921 | |||
| 4 | IV_KNNRN | Call by reference | Type reference (TYPE) | PLNKN | Number of the task list node | 20090921 | |||
| 5 | IV_PLNAL | Call by reference | Type reference (TYPE) | PLNAL | Group Counter | 20090916 | |||
| 6 | IV_PLNKN | Call by reference | Type reference (TYPE) | PLNKN | Number of the task list node | 20090921 | |||
| 7 | IV_PLNNR | Call by reference | Type reference (TYPE) | PLNNR | Key for Task List Group | 20090916 | |||
| 8 | IV_PLNTY | Call by reference | Type reference (TYPE) | PLNTY | Task List Type | 20090916 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Dynamic exception class for tasklist operation relations | 20090916 |
Method SET_VOR_NC_FIELDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_NCVOR | Call by reference | Type reference (TYPE) | NACH_VORG | Indicator: Relationship Data Maintained at Predecessor Level | 20100426 | |||
| 2 | EV_VORNC | Call by reference | Type reference (TYPE) | VORG_NACH | Indicator: maintained after successor | 20100426 | |||
| 3 | EV_VORNR | Call by reference | Type reference (TYPE) | VORNR | Operation/Activity Number | 20100426 | |||
| 4 | IV_NCHKZ | Call by reference | Type reference (TYPE) | NCHKZ | Indicator: Activity is successor to selected activity | 20100426 | |||
| 5 | IV_VORN1 | Call by reference | Type reference (TYPE) | VORNR | Operation/Activity Number | 20100426 | |||
| 6 | IV_VORN2 | Call by reference | Type reference (TYPE) | VORNR | Operation/Activity Number | 20100426 |
Method SET_VOR_NC_FIELDS on class CL_EAM_TL_REL has no exception.
Method UPDATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_RELATIONS | Call by reference | Type reference (TYPE) | EAM_T_TL_REL | Task list relations dialog table type | 20090924 | |||
| 2 | IT_RELATIONS_UP | Call by reference | Type reference (TYPE) | EAM_T_TL_REL_UP | Task list: Table containing update flags for relations | 20090924 | |||
| 3 | IV_AENNR | Call by reference | Type reference (TYPE) | AENNR | Change Number | 20090916 | |||
| 4 | IV_DATE | Call by reference | Type reference (TYPE) | STTAG | Key Date | 20090916 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Dynamic exception class for tasklist operation relations | 20090915 |
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 605 |