SAP ABAP Class CL_WORKFLOW_FACTORY (Factory for WS Objects)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-BMT-OM (Application Component) Organizational Management
⤷
SP00 (Package) Organization and Planning
⤷
⤷
Properties
| Class | CL_WORKFLOW_FACTORY | |
| Short Description | Factory for WS Objects | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SP00 | Organization and Planning |
| Created | 20001024 | SAP |
| Last change | 00000000 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_WORKFLOW_FACTORY has no forward declaration.
Interfaces
Class CL_WORKFLOW_FACTORY has no interface implemented.
Friends
Class CL_WORKFLOW_FACTORY has no friend class.
Attributes
Class CL_WORKFLOW_FACTORY has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Do Not Generate New Instance of Type TS from Persistence | 20001024 | |
| 2 | Static method | Public | Method | Do Not Generate New Instance of Type WS from Persistence | 20001024 | |
| 3 | Static method | Public | Method | Generate Instance of Type WS from Persistence | 20001024 | |
| 4 | Static method | Public | Method | Generate Instance of Type WF from Persistence | 20001208 | |
| 5 | Static method | Public | Method | Generate Instance of Type WS from Persistence | 20001024 |
Events
Class CL_WORKFLOW_FACTORY has no event.
Types
Class CL_WORKFLOW_FACTORY has no local type.
Method Signatures
Method CREATE_NEW_TS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SHORT_TEXT | Call by reference | Type reference (TYPE) | HR_MCSHORT | Objektkürzel | 20001024 | |||
| 2 | TASK_OBJECT | Value transfer | Object reference (TYPE REF TO) | CL_WORKFLOW_TASK_TS | Klasse zur Pflege von Einzelschrittaufgaben im Workflow | 20001024 | |||
| 3 | TEXT | Call by reference | Type reference (TYPE) | STEXT | Objektbezeichnung | 20001024 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Aufgabe diesen Typs mit diesem Text existiert bereits | 20001024 |
Method CREATE_NEW_WS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SHORT_TEXT | Call by reference | Type reference (TYPE) | HR_MCSHORT | Objektkürzel | 20001024 | |||
| 2 | TEXT | Call by reference | Type reference (TYPE) | STEXT | Objektbezeichnung | 20001024 | |||
| 3 | WORKFLOW_OBJECT | Value transfer | Object reference (TYPE REF TO) | CL_WORKFLOW_TASK_WS | Klasse zur Pflege von Workflows (Typ WS) | 20001024 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Aufgabe diesen Typs mit diesem Text existiert bereits | 20001024 |
Method CREATE_TS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NO_CHANGES_ALLOWED | Call by reference | Type reference (TYPE) | FLAG | 'X' | Keine Änderungen erlaubt | 20001025 | ||
| 2 | OBJID | Call by reference | Type reference (TYPE) | HROBJID | Objekt-Id des Workflows | 20001025 | |||
| 3 | TS_INST | Value transfer | Object reference (TYPE REF TO) | CL_WORKFLOW_TASK_TS | Klasse zur Pflege von Standardaufgaben (Typ TS) | 20001025 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Sperre auf Workflow konnte nicht gesetzt werden | 20001025 | ||
| 2 | ID fehlt und Objekt soll von DB instanziiert werden | 20001025 | ||
| 3 | Workflow Aufgabe existiert nicht | 20001025 |
Method CREATE_WF 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 | Beginndatum des WF | 20001208 | |||
| 2 | END_DATE | Call by reference | Type reference (TYPE) | DATS | Endedatum des WF | 20001208 | |||
| 3 | ENQUEUE_ALREADY_DONE | Call by reference | Type reference (TYPE) | FLAG | Sperre schon von PFWF aus erfolgt (Editor Call) | 20001208 | |||
| 4 | NO_CHANGES_ALLOWED | Call by reference | Type reference (TYPE) | FLAG | Keine Änderungen erlaubt | 20001208 | |||
| 5 | OBJID | Call by reference | Type reference (TYPE) | HROBJID | Objekt-Id des Workflows | 20001208 | |||
| 6 | WF_INST | Value transfer | Object reference (TYPE REF TO) | CL_WORKFLOW_TASK_WF | Klasse zur Pflege von Workflows (Typ WF) | 20001208 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Keine aktive Workflowplanvariante vorhanden | 20001208 | ||
| 2 | Kein Beginn- oder Endedatum gegeben | 20001208 | ||
| 3 | Keine Sprachen gepflegt | 20001208 | ||
| 4 | Sperre auf Workflow konnte nicht gesetzt werden | 20001208 | ||
| 5 | Keine ID mitgegeben | 20001208 | ||
| 6 | Aufgabentyp existiert nicht | 20001208 | ||
| 7 | Workflow Aufgabe existiert nicht | 20001208 |
Method CREATE_WS 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) | 20001024 | ||
| 2 | NO_CHANGES_ALLOWED | Call by reference | Type reference (TYPE) | FLAG | 'X' | Keine Änderungen erlaubt | 20001024 | ||
| 3 | OBJID | Call by reference | Type reference (TYPE) | HROBJID | Objekt-Id des Workflows | 20001024 | |||
| 4 | WS_INST | Value transfer | Object reference (TYPE REF TO) | CL_WORKFLOW_TASK_WS | Klasse zur Pflege von Workflows (Typ WS) | 20001024 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Sperre auf Workflow konnte nicht gesetzt werden | 20001024 | ||
| 2 | ID fehlt und Objekt soll von DB instanziiert werden | 20001024 | ||
| 3 | Workflow Aufgabe existiert nicht | 20001024 |
History
| Last changed by/on | SAP | 00000000 |
| SAP Release Created in | 610 |