SAP ABAP Class CL_EAM_TL_PRT (Class for task list API PRTs)
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_PRT  
Short Description Class for task list API PRTs    
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_PRT has no interface implemented.
Friends
Class CL_EAM_TL_PRT has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_PRT_DOCUMENT Constant Private Type reference (TYPE) FHMAR 'D' Production resources/tools category: document 20090818
2 GC_PRT_EQUIPMENT Constant Private Type reference (TYPE) FHMAR 'E' Production resources/tools category: equipment 20090818
3 GC_PRT_MATERIAL Constant Private Type reference (TYPE) FHMAR 'M' Production resources/tools category: material 20090818
4 GC_PRT_MEASPOINT Constant Private Type reference (TYPE) FHMAR 'P' Production resources/tools category: measurement point 20090818
5 GC_PRT_OTHERS Constant Private Type reference (TYPE) FHMAR 'S' Production resources/tools category: others 20090818
6 GC_REF_DATE_KEY_END Constant Private Type reference (TYPE) BZOFFE '04' Reference date for end of production resource/tool usage 20090824
7 GC_REF_DATE_KEY_START Constant Private Type reference (TYPE) BZOFFB '02' Reference date to start of production resource/tool usage 20090824
8 GO_INSTANCE Static Attribute Private Object reference (TYPE REF TO) CL_EAM_TL_PRT Class for task list API PRTs 20090804
9 GV_CURRENT_LINE Instance attribute Private Type reference (TYPE) SYTABIX Index of current PRT 20090824
10 GV_MEASPOINT_AS_PRT_ACTIVE Static Attribute Private Type reference (TYPE) ABAP_BOOL 20090818
Methods
# Method Level Visibility Method type Description Created on
1 CHECK Instance method Private Method Checks validity of PRT assignment 20090818
2 CHECK_KEY Instance method Private Method Checks key of PRT 20090818
3 CHECK_MEASUREMENT_POINT Instance method Private Method Checks measurement point via BAdI 20090820
4 CHECK_NOT_CHANGEABLE_FIELDS Instance method Private Method Checks fields that can not be changed 20090924
5 CHECK_REF_DATE Instance method Private Method Checks reference date for PRT 20090824
6 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20090804
7 CREATE Instance method Public Method Creates new PRT assignments 20090918
8 DELETE Instance method Public Method Deletes PRTassignments 20090820
9 GET_INSTANCE Static method Public Method Returns singleton instance 20090804
10 GET_REFERENCE_VALUES Instance method Private Method Get reference values which must not be changed 20101007
11 INIT_NEW_KEY Instance method Private Method Initializes new PRT key 20090824
12 RCFKY_FROM_PLFHD_FILL Instance method Private Method Fills PRT key structure from details structure 20090819
13 READ Instance method Public Method Reads PRT assignments for operations 20090810
14 READ_OLD_PRT Instance method Private Method Reads old PRT data from buffer 20090908
15 SET_REF_DATE_KEY Instance method Private Method Sets internal key for reference date 20090824
16 UPDATE Instance method Public Method Updates PRT assignments 20090817
Events
Class CL_EAM_TL_PRT has no event.
Types
Class CL_EAM_TL_PRT has no local type.
Method Signatures

Method CHECK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_PLFHD Call by reference Type reference (TYPE) PLFHD Dialogue structure PRTs in task lists 20090818
2 Importing IV_DATE Call by reference Type reference (TYPE) STTAG Key Date 20090820
# Exception Resumable Description Created on
1 CX_EAM_TL_CONS_PRT Exception class for tasklist production ressources /tools 20090827

Method CHECK_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_PLFHD Call by reference Type reference (TYPE) PLFHD Dialogue structure PRTs in task lists 20090818
# Exception Resumable Description Created on
1 CX_EAM_TL_CONS_PRT Exception class for tasklist production ressources /tools 20090827

Method CHECK_MEASUREMENT_POINT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_PLFHD Call by reference Type reference (TYPE) PLFHD Dialogue structure PRTs in task lists 20090820
2 Importing IV_DATE Call by reference Type reference (TYPE) STTAG Key Date 20090820
# Exception Resumable Description Created on
1 CX_EAM_TL_CONS_PRT Exception class for tasklist production ressources /tools 20090827

Method CHECK_NOT_CHANGEABLE_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_PLFHD_NEW Call by reference Type reference (TYPE) PLFHD Dialogue structure PRTs in task lists 20090924
2 Importing IS_PLFHD_OLD Call by reference Type reference (TYPE) PLFHD Dialogue structure PRTs in task lists 20090924

Method CHECK_NOT_CHANGEABLE_FIELDS on class CL_EAM_TL_PRT has no exception.

Method CHECK_REF_DATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_BZOFF Call by reference Type reference (TYPE) CP_BZOFF Key for reference dates used in offset scheduling 20090824
2 Importing IV_OFFSET Call by reference Type reference (TYPE) OFFSTE Offset to finish of production resource/tool usage 20090824
3 Importing IV_UNIT Call by reference Type reference (TYPE) MEINS Base Unit of Measure 20090824
# Exception Resumable Description Created on
1 CX_EAM_TL_CONS_PRT Exception class for tasklist production ressources /tools 20090827

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_EAM_TL_PRT has no parameter.
Method CLASS_CONSTRUCTOR on class CL_EAM_TL_PRT has no exception.

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_PRT Call by reference Type reference (TYPE) EAM_T_TL_PRT task list API: table for PRT update 20090918
2 Importing IV_AENNR Call by reference Type reference (TYPE) AENNR Change Number 20090918
3 Importing IV_DATE Call by reference Type reference (TYPE) STTAG SY-DATUM Key Date 20090918
# Exception Resumable Description Created on
1 CX_EAM_TL_CONS_LONGTEXT Dynamic exception class for tasklist longtexts 20090929
2 CX_EAM_TL_CONS_PRT Exception class for tasklist production ressources /tools 20090921

Method DELETE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_PRT Call by reference Type reference (TYPE) EAM_T_TL_PRT task list API: table for PRT update 20090918
2 Importing IV_AENNR Call by reference Type reference (TYPE) AENNR Change Number 20090820
3 Importing IV_DATE Call by reference Type reference (TYPE) STTAG SY-DATUM Key Date 20090820
# Exception Resumable Description Created on
1 CX_EAM_TL_CONS_LONGTEXT Dynamic exception class for tasklist longtexts 20090929
2 CX_EAM_TL_CONS_PRT Exception class for tasklist production ressources /tools 20090827

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_PRT Class for task list API PRTs 20090804

Method GET_INSTANCE on class CL_EAM_TL_PRT has no exception.

Method GET_REFERENCE_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_CRFHD Call by reference Type reference (TYPE) CRFHD Structure of the production resources/tools master 20101007
2 Importing IS_PLFHD_NEW Call by reference Type reference (TYPE) PLFHD Dialogue structure PRTs in task lists 20101007
3 Importing IS_PLFHD_OLD Call by reference Type reference (TYPE) PLFHD Dialogue structure PRTs in task lists 20101007

Method GET_REFERENCE_VALUES on class CL_EAM_TL_PRT has no exception.

Method INIT_NEW_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_PLFHD Call by reference Type reference (TYPE) PLFHD Dialogue structure PRTs in task lists 20090824
# Exception Resumable Description Created on
1 CX_EAM_TL_CONS_PRT Exception class for tasklist production ressources /tools 20090827

Method RCFKY_FROM_PLFHD_FILL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_RCFKY Call by reference Type reference (TYPE) RCFKY Structure of the external keys for PRTs 20090819
2 Importing IS_PLFHD Call by reference Type reference (TYPE) PLFHD Dialogue structure PRTs in task lists 20090819
# Exception Resumable Description Created on
1 CX_EAM_TL_CONS_PRT Exception class for tasklist production ressources /tools 20090827

Method READ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PRT Call by reference Type reference (TYPE) EAM_T_TL_PRT_DETAIL task list API: table for PRT detail 20090925
2 Importing IV_DATE Call by reference Type reference (TYPE) DATUV Valid-From Date 20090810
3 Importing IV_PLNAL Call by reference Type reference (TYPE) PLNAL Group Counter 20090810
4 Importing IV_PLNNR Call by reference Type reference (TYPE) PLNNR Key for Task List Group 20090810
5 Importing IV_PLNTY Call by reference Type reference (TYPE) PLNTY Task List Type 20090810
# Exception Resumable Description Created on
1 CX_EAM_TL_CONS_PRT Exception class for tasklist production ressources /tools 20090827

Method READ_OLD_PRT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_PLFHD_OLD Call by reference Type reference (TYPE) PLFHD Dialogue structure PRTs in task lists 20090908
2 Exporting EV_INDEX Call by reference Type reference (TYPE) SYTABIX Index of PRT in buffer 20090908
3 Importing IV_DATE Call by reference Type reference (TYPE) STTAG Key Date 20090908
4 Importing IV_PLNNR Call by reference Type reference (TYPE) PLNNR Key for Task List Group 20090908
5 Importing IV_PLNTY Call by reference Type reference (TYPE) PLNTY Task List Type 20090908
6 Importing IV_PZLFH Call by reference Type reference (TYPE) PZLFH Item counter for production resources/tools 20090908
# Exception Resumable Description Created on
1 CX_EAM_TL_CONS_PRT Exception class for tasklist production ressources /tools 20090908

Method SET_REF_DATE_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_PLFHD Call by reference Type reference (TYPE) PLFHD Dialogue structure PRTs in task lists 20090824

Method SET_REF_DATE_KEY on class CL_EAM_TL_PRT has no exception.

Method UPDATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_TEXT_DEL Call by reference Type reference (TYPE) EAM_S_TEXT Text Header for Task List APIs 20090928
2 Importing IS_TEXT_INS Call by reference Type reference (TYPE) EAM_S_TEXT Text Header for Task List APIs 20090928
3 Importing IS_TEXT_UPD Call by reference Type reference (TYPE) EAM_S_TEXT Text Header for Task List APIs 20090928
4 Importing IT_PRT Call by reference Type reference (TYPE) EAM_T_TL_PRT task list API: table for PRT update 20090918
5 Importing IT_PRT_UP Call by reference Type reference (TYPE) EAM_T_TL_PRT_UP task list API: table for PRT update indicators 20090918
6 Importing IT_TEXT_LINES_INS Call by reference Type reference (TYPE) EAM_T_TEXT_LINES Table with Text Lines for Task List APIs 20090928
7 Importing IT_TEXT_LINES_UPD Call by reference Type reference (TYPE) EAM_T_TEXT_LINES Table with Text Lines for Task List APIs 20090928
8 Importing IV_AENNR Call by reference Type reference (TYPE) AENNR Change Number 20090817
9 Importing IV_DATE Call by reference Type reference (TYPE) STTAG SY-DATUM Key Date 20090817
# Exception Resumable Description Created on
1 CX_EAM_TL_CONS_LONGTEXT Dynamic exception class for tasklist longtexts 20090929
2 CX_EAM_TL_CONS_PRT Exception class for tasklist production ressources /tools 20090827
History
Last changed by/on SAP  20110908 
SAP Release Created in 605