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
⤷ 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 | CREATE_NEW_TS | Static method | Public | Method | Do Not Generate New Instance of Type TS from Persistence | 20001024 |
2 | CREATE_NEW_WS | Static method | Public | Method | Do Not Generate New Instance of Type WS from Persistence | 20001024 |
3 | CREATE_TS | Static method | Public | Method | Generate Instance of Type WS from Persistence | 20001024 |
4 | CREATE_WF | Static method | Public | Method | Generate Instance of Type WF from Persistence | 20001208 |
5 | CREATE_WS | 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 | Importing | SHORT_TEXT | Call by reference | Type reference (TYPE) | HR_MCSHORT | Objektkürzel | 20001024 | ||
2 | Returning | TASK_OBJECT | Value transfer | Object reference (TYPE REF TO) | CL_WORKFLOW_TASK_TS | Klasse zur Pflege von Einzelschrittaufgaben im Workflow | 20001024 | ||
3 | Importing | TEXT | Call by reference | Type reference (TYPE) | STEXT | Objektbezeichnung | 20001024 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | TEXT_EXISTS_ALREADY | 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 | Importing | SHORT_TEXT | Call by reference | Type reference (TYPE) | HR_MCSHORT | Objektkürzel | 20001024 | ||
2 | Importing | TEXT | Call by reference | Type reference (TYPE) | STEXT | Objektbezeichnung | 20001024 | ||
3 | Returning | 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 | TEXT_EXISTS_ALREADY | 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 | Importing | NO_CHANGES_ALLOWED | Call by reference | Type reference (TYPE) | FLAG | 'X' | Keine Änderungen erlaubt | 20001025 | |
2 | Importing | OBJID | Call by reference | Type reference (TYPE) | HROBJID | Objekt-Id des Workflows | 20001025 | ||
3 | Returning | 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 | OBJECT_COULD_NOT_BE_LOCKED | Sperre auf Workflow konnte nicht gesetzt werden | 20001025 | |
2 | OBJID_NOT_GIVEN | ID fehlt und Objekt soll von DB instanziiert werden | 20001025 | |
3 | STANDARD_TASK_DOES_NOT_EXIST | Workflow Aufgabe existiert nicht | 20001025 |
Method CREATE_WF Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | BEGIN_DATE | Call by reference | Type reference (TYPE) | DATS | Beginndatum des WF | 20001208 | ||
2 | Importing | END_DATE | Call by reference | Type reference (TYPE) | DATS | Endedatum des WF | 20001208 | ||
3 | Importing | ENQUEUE_ALREADY_DONE | Call by reference | Type reference (TYPE) | FLAG | Sperre schon von PFWF aus erfolgt (Editor Call) | 20001208 | ||
4 | Importing | NO_CHANGES_ALLOWED | Call by reference | Type reference (TYPE) | FLAG | Keine Änderungen erlaubt | 20001208 | ||
5 | Importing | OBJID | Call by reference | Type reference (TYPE) | HROBJID | Objekt-Id des Workflows | 20001208 | ||
6 | Returning | 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 | NO_ACTIVE_PLVAR | Keine aktive Workflowplanvariante vorhanden | 20001208 | |
2 | NO_DATES_GIVEN | Kein Beginn- oder Endedatum gegeben | 20001208 | |
3 | NO_LANGUAGES_MAINTAINED | Keine Sprachen gepflegt | 20001208 | |
4 | OBJECT_COULD_NOT_BE_LOCKED | Sperre auf Workflow konnte nicht gesetzt werden | 20001208 | |
5 | OBJID_NOT_GIVEN | Keine ID mitgegeben | 20001208 | |
6 | TASK_TYPE_DOES_NOT_EXIST | Aufgabentyp existiert nicht | 20001208 | |
7 | WORKFLOW_DOES_NOT_EXIST | Workflow Aufgabe existiert nicht | 20001208 |
Method CREATE_WS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | ENQUEUE_ALREADY_DONE | Call by reference | Type reference (TYPE) | FLAG | SPACE | Sperre schon von PFWS aus erfolgt (Editor Call) | 20001024 | |
2 | Importing | NO_CHANGES_ALLOWED | Call by reference | Type reference (TYPE) | FLAG | 'X' | Keine Änderungen erlaubt | 20001024 | |
3 | Importing | OBJID | Call by reference | Type reference (TYPE) | HROBJID | Objekt-Id des Workflows | 20001024 | ||
4 | Returning | 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 | OBJECT_COULD_NOT_BE_LOCKED | Sperre auf Workflow konnte nicht gesetzt werden | 20001024 | |
2 | OBJID_NOT_GIVEN | ID fehlt und Objekt soll von DB instanziiert werden | 20001024 | |
3 | WORKFLOW_DOES_NOT_EXIST | Workflow Aufgabe existiert nicht | 20001024 |
History
Last changed by/on | SAP | 00000000 |
SAP Release Created in | 610 |