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 ABAP 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 GC_REL_TYPE_FINISH_FINISH Constant Private See coding 'EF' 20090908
2 GC_REL_TYPE_FINISH_START Constant Private See coding 'NF' 20090908
3 GC_REL_TYPE_KEY_FINISH_FINISH Constant Private Type reference (TYPE) AOBKY '3' 20090908
4 GC_REL_TYPE_KEY_FINISH_START Constant Private Type reference (TYPE) AOBKY '1' 20090908
5 GC_REL_TYPE_KEY_START_FINISH Constant Private Type reference (TYPE) AOBKY '4' 20090908
6 GC_REL_TYPE_KEY_START_START Constant Private Type reference (TYPE) AOBKY '2' 20090908
7 GC_REL_TYPE_START_FINISH Constant Private See coding 'SF' 20090908
8 GC_REL_TYPE_START_START Constant Private See coding 'AF' 20090908
9 GO_INSTANCE Static Attribute Private Object reference (TYPE REF TO) CL_EAM_TL_REL Class for task list API relations 20090804
10 MS_TCA01 Instance attribute Private Type reference (TYPE) TCA01 Task list types 20090903
11 MV_TABIX Instance attribute Private Attribute reference (LIKE) SY-TABIX Internal counter used in messages 20090903
Methods
# Method Level Visibility Method type Description Created on
1 CHECK Instance method Public Method Checks operation relations of task list 20090903
2 CHECK_FACTORY_CALENDAR Instance method Private Method Checks entry for factory calendar 20090908
3 CHECK_INTERVAL_KEY Instance method Private Method Checks time interval key 20090907
4 CHECK_OPERATION Instance method Private Method Reads corresponding operation for operation relation 20090903
5 CHECK_RELATION_TYPE Instance method Private Method Checks the relation type 20090904
6 CHECK_SINGLE Instance method Private Method Checks single operation relation 20090903
7 CHECK_TIME_UNIT Instance method Private Method Quecks time and unit of work in relation 20090904
8 CHECK_WORKCENTER_PLANT Instance method Private Method Checks plant and work center and retrieves work ctr. & cal. 20090907
9 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20090804
10 CONVERT_RELATION_TYPE Static method Public Method Converts relation type to/from database format 20090908
11 CREATE Instance method Public Method Inserts new relation records 20090925
12 DELETE Instance method Public Method Deletes respective relations from buffer table 20090916
13 GET_INSTANCE Static method Public Method Returns singleton instance 20090804
14 READ Instance method Public Method Reads relations from buffer tables 20090817
15 READ_OLD_RECORD Instance method Private Method Reads existing relation record 20090916
16 SET_VOR_NC_FIELDS Instance method Private Method Set predecessor and successor fields 20100426
17 UPDATE 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 Changing CT_PLABD Call by reference Type reference (TYPE) EAM_T_PLABD Task list relations dialog table type 20090907
2 Importing IV_ACTYPE Call by reference Type reference (TYPE) ACTYPE Activity category Insert or update 20090908
3 Importing IV_DATE Call by reference Type reference (TYPE) STTAG Key Date 20090903
# Exception Resumable Description Created on
1 CX_EAM_TL_CONS_REL 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 Importing IV_CALID Call by reference Type reference (TYPE) WFCID Factory Calendar 20090908
# Exception Resumable Description Created on
1 CX_EAM_TL_CONS_REL 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 Importing 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 CX_EAM_TL_CONS_REL 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 Importing IS_PLABD Call by reference Type reference (TYPE) PLABD 20090925
2 Importing IV_ACTYPE Call by reference Type reference (TYPE) ACTYPE Activity category 20090908
3 Importing IV_DATE Call by reference Type reference (TYPE) STTAG Key Date 20090903
# Exception Resumable Description Created on
1 CX_EAM_TL_CONS_REL 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 Importing IV_AOBAR Call by reference Type reference (TYPE) AOBAR Type of relationship 20090904
2 Importing 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 CX_EAM_TL_CONS_REL 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 Changing CS_PLABD Call by reference Type reference (TYPE) PLABD Relationships I/O Table 20090925
2 Exporting EV_ERROR_OCCURED Call by reference Type reference (TYPE) FLAG General Flag 20090929
3 Importing IV_ACTYPE Call by reference Type reference (TYPE) ACTYPE Activity category 20090908
4 Importing IV_DATE Call by reference Type reference (TYPE) STTAG Key date 20090903
# Exception Resumable Description Created on
1 CX_EAM_TL_CONS_REL 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 Importing IV_DAUER Call by reference Type reference (TYPE) AOBDAUER Time Interval Between Relationships 20090904
2 Importing IV_PRZNT Call by reference Type reference (TYPE) AOB_PRZNT % used to calc. time interval between predecessor/successor 20090907
3 Importing IV_ZEINH Call by reference Type reference (TYPE) AOBDAUEH Unit for the time interval between relationships 20090904
# Exception Resumable Description Created on
1 CX_EAM_TL_CONS_REL 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 Changing CV_ARBID Call by reference Type reference (TYPE) CR_OBJID Object ID of the resource 20090907
2 Changing CV_KALID Call by reference Type reference (TYPE) CR_WFCID Factory calendar ID 20090907
3 Importing IV_ARBPL Call by reference Type reference (TYPE) ARBPL Work center 20090907
4 Importing IV_DATE Call by reference Type reference (TYPE) STTAG Key Date 20090907
5 Importing IV_PLNTY Call by reference Type reference (TYPE) PLNTY Task List Type 20090907
6 Importing IV_WERKS Call by reference Type reference (TYPE) WERKS_D Plant 20090907
# Exception Resumable Description Created on
1 CX_EAM_TL_CONS_REL 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 Changing CV_AOBAR Call by reference Type reference (TYPE) AOBAR Type of relationship 20090908
2 Importing IV_LANGU Call by reference Attribute reference (LIKE) SY-LANGU SY-LANGU Language Key of Current Text Environment 20090908
3 Importing 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 CX_EAM_TL_CONS_REL 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 Importing IT_RELATIONS Call by reference Type reference (TYPE) EAM_T_TL_REL Task list: Table for update / insert relations 20090925
2 Importing IV_AENNR Call by reference Type reference (TYPE) AENNR Change Number 20090925
3 Importing IV_DATE Call by reference Type reference (TYPE) STTAG Key Date 20090925
# Exception Resumable Description Created on
1 CX_EAM_TL_CONS_REL 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 Importing IT_RELATIONS Call by reference Type reference (TYPE) EAM_T_TL_REL Task list relations dialog table type 20090924
2 Importing IV_AENNR Call by reference Type reference (TYPE) AENNR Change Number 20090916
3 Importing IV_DATE Call by reference Type reference (TYPE) STTAG Key Date 20090916
# Exception Resumable Description Created on
1 CX_EAM_TL_CONS_REL 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 Returning 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 Importing IV_DATE Call by reference Type reference (TYPE) STTAG Key Date 20090929
2 Importing IV_PLNAL Call by reference Type reference (TYPE) PLNAL Group Counter 20090817
3 Importing IV_PLNNR Call by reference Type reference (TYPE) PLNNR Key for Task List Group 20090817
4 Importing IV_PLNTY Call by reference Type reference (TYPE) PLNTY Task List Type 20090817
5 Returning RT_RELATIONS Value transfer Type reference (TYPE) EAM_T_PLABD Relationships I/O Table 20091005
# Exception Resumable Description Created on
1 CX_EAM_TL_CONSISTENCY 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 Exporting ES_PLABD Call by reference Type reference (TYPE) PLABD Relationships I/O Table 20090916
2 Exporting EV_INDEX Call by reference Attribute reference (LIKE) SY-TABIX Index of Internal Tables 20090916
3 Importing IV_DATE Call by reference Type reference (TYPE) STTAG Key Date 20090921
4 Importing IV_KNNRN Call by reference Type reference (TYPE) PLNKN Number of the task list node 20090921
5 Importing IV_PLNAL Call by reference Type reference (TYPE) PLNAL Group Counter 20090916
6 Importing IV_PLNKN Call by reference Type reference (TYPE) PLNKN Number of the task list node 20090921
7 Importing IV_PLNNR Call by reference Type reference (TYPE) PLNNR Key for Task List Group 20090916
8 Importing IV_PLNTY Call by reference Type reference (TYPE) PLNTY Task List Type 20090916
# Exception Resumable Description Created on
1 CX_EAM_TL_CONS_REL 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 Exporting EV_NCVOR Call by reference Type reference (TYPE) NACH_VORG Indicator: Relationship Data Maintained at Predecessor Level 20100426
2 Exporting EV_VORNC Call by reference Type reference (TYPE) VORG_NACH Indicator: maintained after successor 20100426
3 Exporting EV_VORNR Call by reference Type reference (TYPE) VORNR Operation/Activity Number 20100426
4 Importing IV_NCHKZ Call by reference Type reference (TYPE) NCHKZ Indicator: Activity is successor to selected activity 20100426
5 Importing IV_VORN1 Call by reference Type reference (TYPE) VORNR Operation/Activity Number 20100426
6 Importing 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 Importing IT_RELATIONS Call by reference Type reference (TYPE) EAM_T_TL_REL Task list relations dialog table type 20090924
2 Importing IT_RELATIONS_UP Call by reference Type reference (TYPE) EAM_T_TL_REL_UP Task list: Table containing update flags for relations 20090924
3 Importing IV_AENNR Call by reference Type reference (TYPE) AENNR Change Number 20090916
4 Importing IV_DATE Call by reference Type reference (TYPE) STTAG Key Date 20090916
# Exception Resumable Description Created on
1 CX_EAM_TL_CONS_REL Dynamic exception class for tasklist operation relations 20090915
History
Last changed by/on SAP  20110908 
SAP Release Created in 605