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 DESCRIPTION Instance attribute Public Type reference (TYPE) TCDESC Description for all tasks 20000803
2 GUID Instance attribute Protected Type reference (TYPE) CSMSYSGUID Task GUID in char32 form 19991123
3 MODIFIED Instance attribute Protected Type reference (TYPE) CHAR1 indicator for modification 20000107
4 NAME Instance attribute Public Type reference (TYPE) BTCJOB Background job name 19991123
5 PERSISTENT Instance attribute Protected Type reference (TYPE) CHAR1 SPACE Flag for persistent object 20000808
6 STATE Instance attribute Protected Type reference (TYPE) BTCSTATUS Status of batch job 20000222
Methods
# Method Level Visibility Method type Description Created on
1 CHANGE_STATE Instance method Public Method Change the state of task 20000223
2 GET_GUID Instance method Public Method Get task GUID >>>> should be protected when friend is ready 20000809
3 GET_MODIFIED_FLAG Instance method Public Method Get modified flag 20000809
4 GET_NAME Instance method Public Method Get task name 20000107
5 GET_PERSISTENT_FLAG Instance method Public Method Get persistent flag 20000809
6 GET_STATE Instance method Public Method Get task state 20000222
7 SET_GUID Instance method Protected Method Set task GUID >>>> should be protected when friend is ready 20000107
8 SET_MODIFIED_FLAG Instance method Public Method Set modified flag 20000809
9 SET_NAME Instance method Public Method Set task name 20000107
10 SET_PERSISTENT_FLAG Instance method Protected Method Set persistent flag 20000808
11 SET_STATE 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 Importing SOURCE_STATE Call by reference Type reference (TYPE) BTCSTATUS Status eines Hintergrundjobs 20000223
2 Importing TARGET_STATE Call by reference Type reference (TYPE) BTCSTATUS Status eines Hintergrundjobs 20000223
# Exception Resumable Description Created on
1 CURRENT_STATE_UNDEFINED Aktueller Status nicht definiert 20000223
2 ERROR_CHANGE_STATE Unbekannter Fehler bei Statuswechsel 20000223
3 INVALID_SOURCE_STATE Ungültiger Quellstatus 20000223
4 INVALID_TARGET_STATE Ungültiger Zielstatus 20000223

Method GET_GUID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning 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 Returning 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 Returning 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 Returning 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 Returning O_STATE Value transfer Type reference (TYPE) BTCSTATUS Status eines Hintergrundjobs 20000222
# Exception Resumable Description Created on
1 NO_STATE_AVAILABLE 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 Importing 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 Importing 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 Importing 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 Importing I_STATE Call by reference Type reference (TYPE) BTCSTATUS Status eines Hintergrundjobs 20000222
# Exception Resumable Description Created on
1 ERROR_SET_STATE Unbekannter Fehler bei Setzen des Aufgabenstatus 20000222
2 INVALID_INPUT_STATE Ungültiger Eingabestatus 20000222
History
Last changed by/on SAP  20040909 
SAP Release Created in 46C