SAP ABAP Class /TDAG/CPCL_TM_TASKS_DATA (CP: Data class for the task list control)
Hierarchy
☛
TDAGBCA (Software Component) TechniData Basic Components
⤷
EHS (Application Component) Environment, Health and Safety
⤷
/TDAG/CP (Package) Compliance for products
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | /TDAG/CPIF_TM_DATA | CP: Interface für Objekte zur Datenverwaltung | 20060911 |
Properties
| Class | /TDAG/CPCL_TM_TASKS_DATA | |
| Short Description | CP: Data class for the task list control | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /TDAG/CP | Compliance for products |
| Created | 20060705 | SAP |
| Last change | 20141109 | |
| 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
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | /TDAG/CPIF_TM_DATA | CP: Interface für Objekte zur Datenverwaltung | 20060911 |
Friends
Class /TDAG/CPCL_TM_TASKS_DATA has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | /TDAG/CPS_TASKH_SELCOND | Structure containing the conditions for selecting tasks | 20060802 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Read the task items with log handle | 20060809 | |
| 2 | Instance method | Public | Method | Read all task headers according to selection conditions | 20060809 | |
| 3 | Instance method | Public | Method | Retrieve task header data from the buffer or database | 20060809 | |
| 4 | Instance method | Public | Method | Read single task header | 20060809 | |
| 5 | Instance method | Public | Method | Clears buffer | 20060802 | |
| 6 | Instance method | Public | Method | Set selection criteria | 20060802 |
Events
Class /TDAG/CPCL_TM_TASKS_DATA has no event.
Types
Class /TDAG/CPCL_TM_TASKS_DATA has no local type.
Method Signatures
Method GET_LOG_HANDLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_LOG_HANDLE | Call by reference | Type reference (TYPE) | /TDAG/CPY_LOGHANDLE | CP: Table type for log handles | 20060809 | |||
| 2 | IT_TASKH | Call by reference | Type reference (TYPE) | /TDAG/CPY_API_TASKH | Table type for API task headers | 20060809 |
Method GET_LOG_HANDLE on class /TDAG/CPCL_TM_TASKS_DATA has no exception.
Method READ_DATA_ALL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_TASKH | Call by reference | Type reference (TYPE) | /TDAG/CPY_API_TASKH | Table type for API task headers | 20060809 | |||
| 2 | I_FLG_READ_ARCHIVE | Call by reference | Type reference (TYPE) | ESEBOOLE | Flag whether to read archived tasks | 20070412 | |||
| 3 | XT_MESSAGE | Call by reference | Type reference (TYPE) | BAL_T_MSG | Message table | 20060911 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Authorization failed | 20060809 | ||
| 2 | Selection conditions had not been set | 20060809 | ||
| 3 | Error occurred while reading data | 20060809 | ||
| 4 | Maximum number of records to be read is exceeded | 20060809 | ||
| 5 | No records matched the selection criteria | 20061017 |
Method READ_DATA_N Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_TASKH | Call by reference | Type reference (TYPE) | /TDAG/CPY_API_TASKH | Table type for API task headers | 20060809 | |||
| 2 | IT_TASKH | Call by reference | Type reference (TYPE) | /TDAG/CPY_TASK_ALV | Task headers to read data for | 20060809 | |||
| 3 | I_FLG_READ_ARCHIVE | Call by reference | Type reference (TYPE) | ESEBOOLE | Flag whether to read archived tasks | 20070412 | |||
| 4 | XT_MESSAGE | Call by reference | Type reference (TYPE) | BAL_T_MSG | Message table | 20060911 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Task not found | 20060809 | ||
| 2 | No authorization | 20060809 |
Method READ_DATA_SINGLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_TASKH | Call by reference | Type reference (TYPE) | /TDAG/CPY_API_TASKH | Table type for API task headers | 20060809 | |||
| 2 | IS_TASKHEADER | Call by reference | Type reference (TYPE) | /TDAG/CPS_TASK_ALV | CP: Display structure for tasks | 20060809 | |||
| 3 | I_FLG_READ_ARCHIVE | Call by reference | Type reference (TYPE) | ESEBOOLE | Flag whether to read archived tasks | 20070412 | |||
| 4 | XT_MESSAGE | Call by reference | Type reference (TYPE) | BAL_T_MSG | Message table | 20060911 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Authorization Failed, refer to XT_MESSAGE for details | 20120829 |
Method RESET_BUFFER Signature
Method RESET_BUFFER on class /TDAG/CPCL_TM_TASKS_DATA has no parameter.
Method RESET_BUFFER on class /TDAG/CPCL_TM_TASKS_DATA has no exception.
Method SET_SELECTION_CONDITIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_SEL_COND | Call by reference | Type reference (TYPE) | /TDAG/CPS_TASKH_SELCOND | Structure containing the conditions for selecting tasks | 20060802 |
Method SET_SELECTION_CONDITIONS on class /TDAG/CPCL_TM_TASKS_DATA has no exception.
History
| Last changed by/on | SAP | 20141109 |
| SAP Release Created in | 0207B0406C |