SAP ABAP Class CL_WORKFLOW_TASK_WS (Class for Workflow Maintenance (Type WS))
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-BMT-OM (Application Component) Organizational Management
⤷
SP00 (Package) Organization and Planning
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_WORKFLOW_GENERAL_TASK_DEF | Class for Maintenance of All Task Types in WF Environment | 20001204 |
Properties
| Class | CL_WORKFLOW_TASK_WS | |
| Short Description | Class for Workflow Maintenance (Type WS) | |
| Super Class | CL_WORKFLOW_GENERAL_TASK_DEF | Class for Maintenance of All Task Types in WF Environment |
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SP00 | Organization and Planning |
| Created | 20001204 | SAP |
| Last change | 20130531 | SAP |
| 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
Class CL_WORKFLOW_TASK_WS has no interface implemented.
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_WORKFLOW_FACTORY | 20001204 | Factory for WS Objects |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Public | Type reference (TYPE) | SWD_WFDKEY | Active Version (If Available) | 20001204 | |||
| 2 | Instance attribute | Public | Object reference (TYPE REF TO) | IF_SWF_CNT_CONTAINER | Container - Implementation of a 'Collection' | 20001204 | |||
| 3 | Constant | Private | Type reference (TYPE) | HR_S_SUBTY | '0001' | Subtype of Triggering Event | 20001204 | ||
| 4 | Instance attribute | Private | Type reference (TYPE) | HRSVERS | Versions to be Supplemented | 20001204 | |||
| 5 | Instance attribute | Public | Type reference (TYPE) | FLAG | Event Binding Was Changed at WS Instance | 20001204 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | HRSVERS | Versions to Be Deleted | 20001204 | |||
| 7 | Instance attribute | Public | Type reference (TYPE) | HRS1201-PHONE_ABLE | SAPphone: Flag 'Suitable for SAPphone' (4 values'´) | 20010419 | |||
| 8 | Instance attribute | Public | Type reference (TYPE) | FLAG | SAPPhone Changed | 20010419 | |||
| 9 | Instance attribute | Public | Type reference (TYPE) | HRS1201-TSKRELSTAT | Release status | 20010419 | |||
| 10 | Instance attribute | Public | Type reference (TYPE) | FLAG | Release Status Changed | 20010419 | |||
| 11 | Instance attribute | Public | Type reference (TYPE) | HRSEVTAB | Events Used in the WF Environment | 20001204 | |||
| 12 | Instance attribute | Public | Type reference (TYPE) | HRSEVBIND | Binding of Trigger Events with the Workflow Container | 20001204 | |||
| 13 | Instance attribute | Public | Type reference (TYPE) | FLAG | Trigger Events Have Been Changed at the WS Instance | 20001204 | |||
| 14 | Instance attribute | Public | Type reference (TYPE) | FLAG | The Text Has Been Changed at the WS Instance | 20001204 | |||
| 15 | Instance attribute | Public | Type reference (TYPE) | HRSVERS | WS Versions | 20001204 | |||
| 16 | Instance attribute | Public | Type reference (TYPE) | FLAG | Versions Have Been Changed | 20001204 | |||
| 17 | Instance attribute | Public | Type reference (TYPE) | WITEXT | Work Item Text | 20001204 | |||
| 18 | Instance attribute | Public | Type reference (TYPE) | FLAG | The WI Text Was Changed at the WS Instance | 20001204 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Set One Version to Active | 20001204 | |
| 2 | Instance method | Public | Method | New Container | 20010424 | |
| 3 | Instance method | Public | Method | Replace All Binding for Trigger Events: No Verification | 20001204 | |
| 4 | Instance method | Public | Method | Change Binding of Triggering Events | 20001204 | |
| 5 | Instance method | Public | Method | Change SAPPhone | 20010419 | |
| 6 | Instance method | Public | Method | Change Release Status | 20010419 | |
| 7 | Instance method | Public | Method | Change Trigger Events | 20001204 | |
| 8 | Instance method | Public | Method | Replace All Trigger Events: No Verification | 20001204 | |
| 9 | Instance method | Public | Method | Change Short and Long Text of Task | 20001204 | |
| 10 | Instance method | Public | Method | Change Individual Versions | 20001204 | |
| 11 | Instance method | Public | Method | Replace All Versions: No Verification | 20001204 | |
| 12 | Instance method | Public | Method | Change WI Text | 20001204 | |
| 13 | Instance method | Public | Constructor | Constructor | 20001204 | |
| 14 | Static method | Protected | Method | Create Instance | 20001204 | |
| 15 | Instance method | Public | Method | Make Object Instance Persistent | 20001204 | |
| 16 | Instance method | Private | Method | Puts OBJID in the Bindings: Saves From New WS | 20020305 |
Events
Class CL_WORKFLOW_TASK_WS has no event.
Types
Class CL_WORKFLOW_TASK_WS has no local type.
Method Signatures
Method ACTIVATE_VERSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | VERSION_NUMBER | Call by reference | Type reference (TYPE) | HRS1205-VERSION | Version | 20001204 | |||
| 2 | WFD_KEY | Call by reference | Type reference (TYPE) | SWD_WFDKEY | Schlüsselstruktur für alle Workflow-Definitions-Tabellen | 20010123 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Keine Änderungen erlaubt | 20010208 | ||
| 2 | Version existiert nicht | 20001204 |
Method CHANGE_CONTAINER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NEW_CONTAINER | Call by reference | Object reference (TYPE REF TO) | IF_SWF_CNT_CONTAINER | Container - Implementierung einer 'Collection' | 20010424 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Keine Änderungen erlaubt | 20010424 |
Method CHANGE_EVENTS_BIND_COMPLETE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NEW_BINDINGS | Call by reference | Type reference (TYPE) | HRSEVBIND | Binding Ereignisse - Conatainer im Workflowumfeld | 20001204 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Keine Änderungen erlaubt | 20001204 |
Method CHANGE_EVENT_BINDING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BINDING | Call by reference | Type reference (TYPE) | HRS1212 | Struktur für das zu ändernde Binding | 20001204 | |||
| 2 | DELETE | Call by reference | Type reference (TYPE) | FLAG | Bestehendes Binding löschen | 20001204 | |||
| 3 | INSERT | Call by reference | Type reference (TYPE) | FLAG | Neues Binding einfügen | 20001204 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Binding konnt nicht gelöscht werden | 20001204 | ||
| 2 | Parameter DELETE und INSERT nicht eindeutig gesetzt | 20001204 | ||
| 3 | Auslösendes Ereignis ist ncht am WS vorhanden | 20001204 | ||
| 4 | Keine Änderunge erlaubt | 20001204 | ||
| 5 | Element nicht Ws-Container vorhanden | 20001204 |
Method CHANGE_PHONE_ABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NEW_PHONE_ABLE | Call by reference | Type reference (TYPE) | HRS1201-PHONE_ABLE | SAPphone: Flag 'Für SAPphone geeignet' (4-wertig) | 20010419 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ungültiger Wert für PHONE_ABLE | 20020319 | ||
| 2 | keine Änderungen erlaubt | 20010419 |
Method CHANGE_RELEASE_STATUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NEW_STATUS | Call by reference | Type reference (TYPE) | HRS1201-TSKRELSTAT | Freigabestatus der Aufgabe | 20010419 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ungültiger Wert für RELEASE_STATUS | 20020319 | ||
| 2 | Keine Änderungen erlaubt | 20010419 |
Method CHANGE_STARTING_EVENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLSNAM | Call by reference | Type reference (TYPE) | SWF_CLSNAM | Workflow: Typ von Objekten in persistenten Objektreferenzen | 20001227 | |||
| 2 | CLSTYP | Call by reference | Type reference (TYPE) | SWD_CLSTYP | Objektkategorie | 20001227 | |||
| 3 | DELETE | Call by reference | Type reference (TYPE) | FLAG | Ereignis löschen | 20001204 | |||
| 4 | EVENT | Call by reference | Type reference (TYPE) | HR_S_EVENT | Ereignis eines Objekts | 20001204 | |||
| 5 | INSERT | Call by reference | Type reference (TYPE) | FLAG | Ereignis einfügen | 20001204 | |||
| 6 | OBJTYP | Call by reference | Type reference (TYPE) | SWO_OBJTYP | Objekttyp | 20001204 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Parameter DELETE und INSERT nicht eindeutig gesetzt | 20001204 | ||
| 2 | Ereignis gibt es an diesem Objektyp nicht | 20001204 | ||
| 3 | Keine Änderungen erlaubt | 20001204 |
Method CHANGE_START_EVENTS_COMPLETE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | STARTING_EVENTS | Call by reference | Type reference (TYPE) | HRSEVTAB | Verwendete Ereignisse im WF-Umfeld | 20001204 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Keine Änderungen erlaubt | 20001204 |
Method CHANGE_TEXTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NEW_SHORT_TEXT | Call by reference | Type reference (TYPE) | HR_MCSHORT | Neuer Kurztext | 20001204 | |||
| 2 | NEW_TEXT | Call by reference | Type reference (TYPE) | STEXT | Neuer Langtext | 20001204 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Keine Änderungen erlaubt | 20001204 | ||
| 2 | Aufgabe diesen Typs mit diesem Text existiert bereits | 20001204 |
Method CHANGE_VERSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DELETE | Call by reference | Type reference (TYPE) | FLAG | Version löschen | 20001204 | |||
| 2 | INSERT | Call by reference | Type reference (TYPE) | FLAG | Neue Version einfügen | 20001204 | |||
| 3 | VERSION | Call by reference | Type reference (TYPE) | HRS1205 | Zu ändernder Versioneintrag | 20001204 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Parameter DELETE und INSERT nicht eindeutig gesetzt | 20001204 | ||
| 2 | Mehr als eine aktive Version | 20010208 | ||
| 3 | Keine Änderunge erlaubt | 20001204 | ||
| 4 | Einzufügende Version existiert schon | 20001204 | ||
| 5 | Version konnte nicht gelöscht werden | 20001204 |
Method CHANGE_VERSIONS_COMPLETE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | VERSIONS | Call by reference | Type reference (TYPE) | HRSVERS | Versionentabelle | 20001204 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Keine Änderungen erlaubt | 20001204 |
Method CHANGE_WI_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NEW_WI_TEXT | Call by reference | Type reference (TYPE) | WITEXT | Neuer Workitem-Text | 20001204 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Keine Änderungen an der Objektinstanz erlaubt | 20001204 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ENQUEUE_ALREADY_DONE | Call by reference | Type reference (TYPE) | FLAG | SPACE | Sperre schon von PFWS aus erfolgt (Editor Call) | 20001204 | ||
| 2 | FROM_PERSISTENCE | Call by reference | Type reference (TYPE) | FLAG | 'X' | Instanziieren von der Datenbank | 20001204 | ||
| 3 | NO_CHANGES_ALLOWED | Call by reference | Type reference (TYPE) | FLAG | 'X' | Keine Änderungen erlaubt | 20001204 | ||
| 4 | OBJID | Call by reference | Type reference (TYPE) | HROBJID | Objekt-Id des Workflows | 20001204 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Sperre auf Workflow konnte nicht gesetzt werden | 20001204 | ||
| 2 | ID fehlt und Objekt soll von DB instanziiert werden | 20001204 | ||
| 3 | Aufgabentyp existiert nicht | 20001204 | ||
| 4 | Workflow Aufgabe existiert nicht | 20001204 |
Method CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ENQUEUE_ALREADY_DONE | Call by reference | Type reference (TYPE) | FLAG | SPACE | Sperre schon von PFWS aus erfolgt (Editor Call) | 20001204 | ||
| 2 | FROM_PERSISTENCE | Call by reference | Type reference (TYPE) | FLAG | 'X' | Instanziieren von der Datenbank | 20001204 | ||
| 3 | NO_CHANGES_ALLOWED | Call by reference | Type reference (TYPE) | FLAG | 'X' | Keine Änderungen erlaubt | 20001204 | ||
| 4 | OBJID | Call by reference | Type reference (TYPE) | HROBJID | Objekt-Id des Workflows | 20001204 | |||
| 5 | WS_INST | Value transfer | Object reference (TYPE REF TO) | CL_WORKFLOW_TASK_WS | Klasse zur Pflege von Workflows (Typ WS) | 20001204 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Sperre auf Workflow konnte nicht gesetzt werden | 20001204 | ||
| 2 | ID fehlt und Objekt soll von DB instanziiert werden | 20001204 | ||
| 3 | Aufgabentyp existiert nicht | 20001204 | ||
| 4 | Workflow Aufgabe existiert nicht | 20001204 |
Method SAVE_WORKFLOW_TASK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DEVELOPMENT_CLASS | Call by reference | Type reference (TYPE) | DEVCLASS | Paket | 20001204 | |||
| 2 | IV_FORCE_GEN | Call by reference | Type reference (TYPE) | XFLAG | 20031217 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler beim Anlegen eines neuen WS | 20001204 | ||
| 2 | Neuer Workflow konnte nicht gesperrt werden | 20001204 | ||
| 3 | Keine Änderungen an Persistenz erlaubt | 20001204 | ||
| 4 | Keine mandentenunabhängigen Änderungen erlaubt | 20001204 | ||
| 5 | User hat das Sichern abgebrochen | 20010227 | ||
| 6 | Fehler beim Insert oder Modify auf der Datenbank | 20001204 |
Method SET_OBJID_IN_BINDINGS Signature
Method SET_OBJID_IN_BINDINGS on class CL_WORKFLOW_TASK_WS has no parameter.
Method SET_OBJID_IN_BINDINGS on class CL_WORKFLOW_TASK_WS has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 610 |