SAP ABAP Class CL_TC_TASK (General task class)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-CCM-BTC (Application Component) Background Processing
⤷
SBTJOBAPI (Package) new background job API
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_TCINT_KERNEL_CLASS | ABAP-TCS Interface Class | 20000817 |
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_BP_JOB | General job class | 19991123 |
Properties
| Class | CL_TC_TASK | |
| Short Description | General task class | |
| Super Class | CL_TCINT_KERNEL_CLASS | ABAP-TCS Interface Class |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | P | SAP Standard Production Program |
| Category | 0 | |
| Package | SBTJOBAPI | new background job API |
| Created | 19991123 | SAP |
| Last change | 20040909 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_TC_TASK has no forward declaration.
Interfaces
Class CL_TC_TASK has no interface implemented.
Friends
Class CL_TC_TASK has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Public | Type reference (TYPE) | TCDESC | Description for all tasks | 20000803 | |||
| 2 | Instance attribute | Protected | Type reference (TYPE) | CSMSYSGUID | Task GUID in char32 form | 19991123 | |||
| 3 | Instance attribute | Protected | Type reference (TYPE) | CHAR1 | indicator for modification | 20000107 | |||
| 4 | Instance attribute | Public | Type reference (TYPE) | BTCJOB | Background job name | 19991123 | |||
| 5 | Instance attribute | Protected | Type reference (TYPE) | CHAR1 | SPACE | Flag for persistent object | 20000808 | ||
| 6 | Instance attribute | Protected | Type reference (TYPE) | BTCSTATUS | Status of batch job | 20000222 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Change the state of task | 20000223 | |
| 2 | Instance method | Public | Method | Get task GUID >>>> should be protected when friend is ready | 20000809 | |
| 3 | Instance method | Public | Method | Get modified flag | 20000809 | |
| 4 | Instance method | Public | Method | Get task name | 20000107 | |
| 5 | Instance method | Public | Method | Get persistent flag | 20000809 | |
| 6 | Instance method | Public | Method | Get task state | 20000222 | |
| 7 | Instance method | Protected | Method | Set task GUID >>>> should be protected when friend is ready | 20000107 | |
| 8 | Instance method | Public | Method | Set modified flag | 20000809 | |
| 9 | Instance method | Public | Method | Set task name | 20000107 | |
| 10 | Instance method | Protected | Method | Set persistent flag | 20000808 | |
| 11 | Instance method | Public | Method | Set task state | 20000222 |
Events
Class CL_TC_TASK has no event.
Types
Class CL_TC_TASK has no local type.
Method Signatures
Method CHANGE_STATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SOURCE_STATE | Call by reference | Type reference (TYPE) | BTCSTATUS | Status eines Hintergrundjobs | 20000223 | |||
| 2 | TARGET_STATE | Call by reference | Type reference (TYPE) | BTCSTATUS | Status eines Hintergrundjobs | 20000223 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Aktueller Status nicht definiert | 20000223 | ||
| 2 | Unbekannter Fehler bei Statuswechsel | 20000223 | ||
| 3 | Ungültiger Quellstatus | 20000223 | ||
| 4 | Ungültiger Zielstatus | 20000223 |
Method GET_GUID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | O_GUID | Value transfer | Type reference (TYPE) | CSMSYSGUID | System-GUID für R/3 oder anderes System | 20000809 |
Method GET_GUID on class CL_TC_TASK has no exception.
Method GET_MODIFIED_FLAG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | O_MODIFIED | Value transfer | Type reference (TYPE) | CHAR1 | Modifiziertes Kennzeichen zurückgeben | 20000809 |
Method GET_MODIFIED_FLAG on class CL_TC_TASK has no exception.
Method GET_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | O_NAME | Value transfer | Type reference (TYPE) | BTCJOB | Aufgabenname ausgeben | 20000107 |
Method GET_NAME on class CL_TC_TASK has no exception.
Method GET_PERSISTENT_FLAG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | O_PERSISTENT | Value transfer | Type reference (TYPE) | CHAR1 | Persistentes Kennzeichen holen | 20000809 |
Method GET_PERSISTENT_FLAG on class CL_TC_TASK has no exception.
Method GET_STATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | O_STATE | Value transfer | Type reference (TYPE) | BTCSTATUS | Status eines Hintergrundjobs | 20000222 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Für diese Aufgabe ist kein Status verfügbar | 20000222 |
Method SET_GUID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_GUID | Call by reference | Type reference (TYPE) | CSMSYSGUID | Aufgaben-GUID eingeben | 20000107 |
Method SET_GUID on class CL_TC_TASK has no exception.
Method SET_MODIFIED_FLAG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_MODIFIED | Call by reference | Type reference (TYPE) | CHAR1 | Modifiziertes Kennzeichen eingeben | 20000809 |
Method SET_MODIFIED_FLAG on class CL_TC_TASK has no exception.
Method SET_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_NAME | Call by reference | Type reference (TYPE) | BTCJOB | SPACE | Aufgabenname eingeben | 20000107 |
Method SET_NAME on class CL_TC_TASK has no exception.
Method SET_PERSISTENT_FLAG Signature
Method SET_PERSISTENT_FLAG on class CL_TC_TASK has no parameter.
Method SET_PERSISTENT_FLAG on class CL_TC_TASK has no exception.
Method SET_STATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_STATE | Call by reference | Type reference (TYPE) | BTCSTATUS | Status eines Hintergrundjobs | 20000222 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Unbekannter Fehler bei Setzen des Aufgabenstatus | 20000222 | ||
| 2 | Ungültiger Eingabestatus | 20000222 |
History
| Last changed by/on | SAP | 20040909 |
| SAP Release Created in | 46C |