SAP ABAP Class CL_WORKFLOW_GENERAL_TASK_DEF (Class for Maintenance of All Task Types in WF Environment)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-BMT-OM (Application Component) Organizational Management
⤷
SP00 (Package) Organization and Planning
⤷
⤷
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_WORKFLOW_TASK_TS | Class for Maintenance of Single-Step Tasks in Workflow | 20001204 |
| 2 | Inheritance (c INHERITING FROM c_ref) | CL_WORKFLOW_TASK_WF | Class for Workflow Maintenance (Type WF): No Creation | 20001204 |
| 3 | Inheritance (c INHERITING FROM c_ref) | CL_WORKFLOW_TASK_WS | Class for Workflow Maintenance (Type WS) | 20001204 |
Properties
| Class | CL_WORKFLOW_GENERAL_TASK_DEF | |
| Short Description | Class for Maintenance of All Task Types in WF Environment | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SP00 | Organization and Planning |
| Created | 20000808 | SAP |
| Last change | 20040518 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_WORKFLOW_GENERAL_TASK_DEF has no forward declaration.
Interfaces
Class CL_WORKFLOW_GENERAL_TASK_DEF has no interface implemented.
Friends
Class CL_WORKFLOW_GENERAL_TASK_DEF 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) | DATS | Start Date of Task | 20001213 | |||
| 2 | Constant | Protected | Type reference (TYPE) | OTYPE | 'WF' | Customer Workflow | 20000809 | ||
| 3 | Constant | Protected | Type reference (TYPE) | OTYPE | 'T ' | Customer Task | 20000809 | ||
| 4 | Constant | Protected | Type reference (TYPE) | OTYPE | 'WS' | Workflow Templates | 20000809 | ||
| 5 | Constant | Protected | Type reference (TYPE) | OTYPE | 'TS' | Standard Task | 20000809 | ||
| 6 | Constant | Protected | Type reference (TYPE) | CLASSNAME | 'CL_SWF_CNT_HRS_PERSISTENCE' | Reference Type | 20001122 | ||
| 7 | Instance attribute | Public | Type reference (TYPE) | WSTEXTS | Descriptive Texts for the Standard Objects | 20001009 | |||
| 8 | Instance attribute | Public | Type reference (TYPE) | FLAG | Description Has Been Changed | 20001009 | |||
| 9 | Instance attribute | Public | Type reference (TYPE) | DATS | End Date of Task | 20001213 | |||
| 10 | Instance attribute | Public | Type reference (TYPE) | I | '1' | Number of Locks | 20031113 | ||
| 11 | Instance attribute | Public | Type reference (TYPE) | FLAG | No Changes Allowed | 20000911 | |||
| 12 | Instance attribute | Public | Type reference (TYPE) | HROBJID | Object ID of the Task | 20000808 | |||
| 13 | Instance attribute | Public | Type reference (TYPE) | OTYPE | Object Type of the Task | 20000808 | |||
| 14 | Instance attribute | Public | Type reference (TYPE) | PLVAR | Plan Version | 20001208 | |||
| 15 | Instance attribute | Public | Type reference (TYPE) | HR_MCSHORT | Short Name of Task | 20000808 | |||
| 16 | Instance attribute | Public | Type reference (TYPE) | STEXT | Task Name | 20000808 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Allow Changes to Object | 20001206 | |
| 2 | Instance method | Public | Method | Change Entire Text in System Language or Import Language | 20001009 | |
| 3 | Instance method | Public | Method | Change Entire Text in System Language or Import Language | 20001009 | |
| 4 | Instance method | Protected | Method | Check Whether Changes Are Allowed | 20000914 | |
| 5 | Static method | Public | Method | Check Whether the Short Text Exists for WS and TS | 20000911 | |
| 6 | Instance method | Public | Constructor | 20000808 | ||
| 7 | Static method | Public | Method | Only Generate Container Handle | 20000925 | |
| 8 | Instance method | Public | Method | Unlock Object | 20001116 | |
| 9 | Instance method | Public | Method | Lock Object | 20001116 | |
| 10 | Instance method | Public | Method | Convert Texts From HRS1002 Format Using Subtype | 20001009 | |
| 11 | Instance method | Protected | Method | Save Descriptive Texts | 20001009 | |
| 12 | Instance method | Protected | Method | Set Object ID for Object | 20001218 |
Events
Class CL_WORKFLOW_GENERAL_TASK_DEF has no event.
Types
Class CL_WORKFLOW_GENERAL_TASK_DEF has no local type.
Method Signatures
Method ALLOW_CHANGES Signature
Method ALLOW_CHANGES on class CL_WORKFLOW_GENERAL_TASK_DEF has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Es konnte keine Sperre auf das Objekt gesetzt werden | 20001206 |
Method CHANGE_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_LANGU | Call by reference | Type reference (TYPE) | LANGU | SY-LANGU | Text in dieser Sprache speichern | 20030509 | ||
| 2 | NEW_TEXT | Call by reference | Type reference (TYPE) | WSTEXTS | Beschreibungstexte zu den Standardobjekten | 20001009 | |||
| 3 | SUBTY | Call by reference | Type reference (TYPE) | HRS1002-SUBTY | Standardinfotyp 1002 Verbale Beschreibung | 20001009 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Keine Änderungen erlaubt | 20001124 |
Method CHANGE_TEXT_COMPLETE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_LANGU | Call by reference | Type reference (TYPE) | LANGU | SY-LANGU | Text in dieser Sprache speichern | 20030509 | ||
| 2 | NEW_TEXT | Call by reference | Type reference (TYPE) | WSTEXTS | Beschreibungstexte zu den Standardobjekten | 20001009 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Keine Änderungen erlaubt | 20001009 |
Method CHECK_CHANGEABILITY Signature
Method CHECK_CHANGEABILITY on class CL_WORKFLOW_GENERAL_TASK_DEF has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Keine Änderungen an Objektinstanz erlaubt | 20000914 |
Method CHECK_OBJECT_TEXT_UNIQUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LANGU | Call by reference | Type reference (TYPE) | SY-LANGU | R/3-System, aktuelle Sprache | 20000911 | |||
| 2 | OBJID | Call by reference | Type reference (TYPE) | HRS1000-OBJID | Objekt-ID für Standardobjekt | 20010301 | |||
| 3 | OTYPE | Call by reference | Type reference (TYPE) | HRS1000-OTYPE | Standardobjekttyp | 20010301 | |||
| 4 | SHORT_TEXT | Call by reference | Type reference (TYPE) | HR_MCSHORT | Objektkürzel | 20000911 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Aufgabe diesen Typs mit diesem Kurztext existiert schon | 20000912 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BEGIN_DATE | Call by reference | Type reference (TYPE) | DATS | Existenzbeginn des Aufgabe (nur T, WF)) | 20000809 | |||
| 2 | END_DATE | Call by reference | Type reference (TYPE) | DATS | Existenzende der Aufagbe (nur T, WF) | 20000809 | |||
| 3 | ENQUEUE_ALREADY_DONE | Call by reference | Type reference (TYPE) | FLAG | SPACE | Sperrung des Objekts schon erfolgt (nur bei WS gültig) | 20001005 | ||
| 4 | FROM_PERSISTENCE | Call by reference | Type reference (TYPE) | FLAG | 'X' | Instanziieren von der Datenbank ( nur für TS und WS ) | 20000914 | ||
| 5 | NO_CHANGES_ALLOWED | Call by reference | Type reference (TYPE) | FLAG | 'X' | Keine Änderungen möglich | 20000911 | ||
| 6 | OBJID | Call by reference | Type reference (TYPE) | HROBJID | Objekt-Id der Aufgabe | 20000809 | |||
| 7 | OTYPE | Call by reference | Type reference (TYPE) | OTYPE | Objkettype der Aufgabe (WS,TS,T,WF) | 20000809 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Keine aktive Planvariante für T und WF-Objekte | 20001207 | ||
| 2 | Fehlendes Datum für die zeitabhängigen Aufgabentypen T or WF | 20000809 | ||
| 3 | Keine Sprachreihenfolge definiert | 20001009 | ||
| 4 | Es konnte keine Sperre auf das Objekt gesetzt werden | 20000911 | ||
| 5 | ID fehlt und Objekt soll von DB instanziiert werden | 20000913 | ||
| 6 | Aufgabe (TS, WS) mit diesem Schlüssel existiert nicht | 20000911 | ||
| 7 | Gewünschter Aufgabentyp existiert nicht | 20000809 |
Method CREATE_CONTAINER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONTAINER_OF_TASK | Call by reference | Object reference (TYPE REF TO) | IF_SWF_CNT_CONTAINER | Container - Implementierung einer 'Collection' | 20000925 | |||
| 2 | TASK_ID | Call by reference | Type reference (TYPE) | GUID_32 | GUID im 'CHAR' Format in Großschreibung | 20000925 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Nur WS oder TS Container können erzeugt werden | 20000925 | ||
| 2 | Keine aktive Planvariante für Workflow gesetzt | 20000925 | ||
| 3 | Aufgabe existiert nicht | 20000925 |
Method DEQUEUE_OBJECT Signature
Method DEQUEUE_OBJECT on class CL_WORKFLOW_GENERAL_TASK_DEF has no parameter.
Method DEQUEUE_OBJECT on class CL_WORKFLOW_GENERAL_TASK_DEF has no exception.
Method ENQUEUE_OBJECT Signature
Method ENQUEUE_OBJECT on class CL_WORKFLOW_GENERAL_TASK_DEF has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Keine Änderungen an Objektinstanz erlaubt | 20001116 | ||
| 2 | Es konnte keine Sperre auf das Objekt gesetzt werden | 20001116 |
Method GET_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | OBJECT_DESCRIPTION | Call by reference | Type reference (TYPE) | RCL_BAG_TLINE | Standard-Tabellentyp für TLINE | 20001009 | |||
| 2 | SUBTY | Call by reference | Type reference (TYPE) | HRS1002-SUBTY | Subtyp des Textes | 20001009 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Kein text zu diesem Subtyp vorhanden | 20001009 |
Method SAVE_TEXT Signature
Method SAVE_TEXT on class CL_WORKFLOW_GENERAL_TASK_DEF has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Keine Änderungen erlaubt | 20001009 | ||
| 2 | Fehler beim Insert oder Modify auf der Datenbank | 20001009 |
Method SET_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | OBJID | Call by reference | Type reference (TYPE) | HRS1000-OBJID | gezogene objid | 20001218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Keine Änderungen erlaubt | 20001218 |
History
| Last changed by/on | SAP | 20040518 |
| SAP Release Created in | 610 |