SAP ABAP Class CL_USMD_WF_SSW (Service Class for Rule-Based Workflow)
Hierarchy
☛
MDG_FND (Software Component) MDG Foundation
⤷
CA-MDG-AF (Application Component) Application Framework
⤷
USMD5_SSW (Package) Rule based workflow
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | BI_OBJECT | Business Instance | 20090819 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | BI_PERSISTENT | Persistent Business Instance | 20090819 |
| 3 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_WORKFLOW | Business Workflow | 20090819 |
Properties
| Class | CL_USMD_WF_SSW | |
| Short Description | Service Class for Rule-Based Workflow | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | USMD5_SSW | Rule based workflow |
| Created | 20090819 | SAP |
| Last change | 20131127 | 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
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | BI_OBJECT | Business Instance | 20090819 | ||
| 2 | BI_PERSISTENT | Persistent Business Instance | 20090819 | ||
| 3 | IF_WORKFLOW | Business Workflow | 20090819 |
Friends
Class CL_USMD_WF_SSW has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | TNRO-OBJECT | 'USMD_CRIDX' | Name of Number Range Object | 20091029 | ||
| 2 | Static Attribute | Private | Type reference (TYPE) | LTYS_INSTANCES | Workflow Service for Single-Step Workflow | 20090819 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | SWW_WIID | Work Item ID | 20090819 | |||
| 4 | Instance attribute | Public | Type reference (TYPE) | SIBFLPOR | Local Persistent Object Reference | 20090819 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Call sub-workflow | 20090929 | |
| 2 | Instance method | Public | Method | Call Synch. system method | 20090819 | |
| 3 | Instance method | Public | Method | Check if it is single agent group processing | 20090819 | |
| 4 | Instance method | Public | Method | Clear assigned agent | 20090923 | |
| 5 | Instance method | Public | Method | Clear the step-action table | 20091101 | |
| 6 | Instance method | Public | Constructor | Constructor | 20090819 | |
| 7 | Instance method | Public | Method | Default Handler | 20090820 | |
| 8 | Instance method | Public | Method | Call rule service to find workflow path and agents | 20091021 | |
| 9 | Instance method | Public | Method | Get Agent from Assigned | 20090923 | |
| 10 | Instance method | Public | Method | Get the agent group table from user/non-user agent | 20090821 | |
| 11 | Instance method | Public | Method | Get change request attributes | 20091021 | |
| 12 | Instance method | Public | Method | Get Chang Request Type from Chang Request Number | 20090831 | |
| 13 | Instance method | Public | Method | Get the expiration time | 20091012 | |
| 14 | Instance method | Public | Method | Get expiration notification receivers | 20091022 | |
| 15 | Instance method | Private | Method | Enhance change request with inactive data | 20130326 | |
| 16 | Instance method | Private | Method | Get new change request index(for technical usage) | 20091029 | |
| 17 | Instance method | Public | Method | Get parallel change request group | 20090924 | |
| 18 | Instance method | Public | Method | Get the process pattern number | 20090819 | |
| 19 | Instance method | Public | Method | Merge parallel results | 20091021 | |
| 20 | Instance method | Public | Method | Simply pass through the action | 20091022 |
Events
| # | Event | Type | Visibility | Description | Created on |
|---|---|---|---|---|---|
| 1 | SUB_WORKFLOW_FINISHED | Instance Event (0) |
Public (2) |
20090929 |
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | LTYS_INSTANCE | Private | See coding | 20090819 | BEGIN OF ltys_instance,
wiid type SWW_WIID,
object type REF TO cl_usmd_wf_ssw,
END OF ltys_instance
|
||
| 2 | LTYS_INSTANCES | Private | See coding | 20090819 | ltys_instances type HASHED TABLE OF ltys_instance WITH UNIQUE key wiid
|
||
| 3 | LTYT_CR_GROUP | Public | See coding | 20090924 | ltyt_cr_group TYPE STANDARD TABLE OF obj_record
|
Method Signatures
Method CALL_SUBWORKFLOW Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_CHANGE_REQUEST | Call by reference | Type reference (TYPE) | OBJ_RECORD | Struktur der Typen OLE2_OBJECT uä. | 20090929 | |||
| 2 | IT_CONTEXT_TAB | Call by reference | Type reference (TYPE) | USMD_T_GENERIC_CONTEXT | Generic Context Table | 20091021 | |||
| 3 | IT_MESSAGE | Call by reference | Type reference (TYPE) | USMD_T_MESSAGE | Meldungen | 20091021 | |||
| 4 | IV_CR_CREATOR_NAME | Call by reference | Type reference (TYPE) | CHAR255 | char255 | 20090929 | |||
| 5 | IV_STEP | Call by reference | Type reference (TYPE) | USMD_CREQUEST_APPSTEP | Step + Action | 20091021 | |||
| 6 | IV_SUBWF_TEMPLATE | Call by reference | Type reference (TYPE) | USMD_SERVICE_NAME | Service Name | 20091001 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Rule-Based Workflow Exception Class | 20091119 |
Method CALL_SYNCH_SYST_METHOD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_CONTEXT_TAB | Call by reference | Type reference (TYPE) | USMD_T_GENERIC_CONTEXT | Generic Context Table | 20091116 | |||
| 2 | CT_MESSAGE | Call by reference | Type reference (TYPE) | USMD_T_MESSAGE | Meldungen | 20091116 | |||
| 3 | EV_ACTION | Call by reference | Type reference (TYPE) | USMD_CREQUEST_ACTION | Step Action | 20090831 | |||
| 4 | IV_CR_NUMBER | Call by reference | Type reference (TYPE) | USMD_CREQUEST | 20090819 | ||||
| 5 | IV_SERVICE_NAME | Call by reference | Type reference (TYPE) | USMD_SERVICE_NAME | Service Name | 20090819 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Temporary Business Exception | 20130304 | ||
| 2 | Rule-Based Workflow Exception Class | 20091119 |
Method CHECK_SINGLE_AGENT_GROUP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_IS_SINGLE_AGENT_GROUP | Call by reference | Type reference (TYPE) | BOOLEAN | boolsche Variable (X=true, -=false, space=unknown) | 20091027 | |||
| 2 | IT_NON_USER_AGENT | Call by reference | Type reference (TYPE) | USMD_T_NON_USER_AGENT_GROUP | Table of non-user agent | 20090819 | |||
| 3 | IT_USER_AGENT | Call by reference | Type reference (TYPE) | USMD_T_USER_AGENT_GROUP | Table of User Agent | 20090819 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Rule-Based Workflow Exception Class | 20091119 |
Method CLEAR_ASSIGNED_AGENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_AGENT | Call by reference | Type reference (TYPE) | USMD_S_AGENT_GROUP | Agent Group | 20090923 |
Method CLEAR_ASSIGNED_AGENT on class CL_USMD_WF_SSW has no exception.
Method CLEAR_STEP_ACTION_TAB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_STEP_ACTION | Call by reference | Type reference (TYPE) | USMD_T_STEP_ACTION | Step + Action Table | 20091101 |
Method CLEAR_STEP_ACTION_TAB on class CL_USMD_WF_SSW has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_WIID | Call by reference | Type reference (TYPE) | SWW_WIID | Workitem-Kennung | 20090819 |
Method CONSTRUCTOR on class CL_USMD_WF_SSW has no exception.
Method DEFAULT_HANDLER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_MESSAGE | Call by reference | Type reference (TYPE) | USMD_CREQUEST_ACTION | Branch Status | 20091021 | |||
| 2 | IV_CR_NUMBER | Call by reference | Type reference (TYPE) | USMD_CREQUEST | 20090820 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Rule-Based Workflow Exception Class | 20091119 |
Method FIND_PATH_PROCESSOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_CONTEXT_TAB | Call by reference | Type reference (TYPE) | USMD_T_GENERIC_CONTEXT | Generic Context Table | 20091116 | |||
| 2 | CT_MESSAGE | Call by reference | Type reference (TYPE) | USMD_T_MESSAGE | Meldungen | 20091116 | |||
| 3 | ES_STEP_RSLT_MERGE_HANDLER | Call by reference | Type reference (TYPE) | USMD_S_STEP_RSLT_MERGE_HANDLER | Branch Status Merge Handler | 20091021 | |||
| 4 | ET_NON_USER_AGENT | Call by reference | Type reference (TYPE) | USMD_T_NON_USER_AGENT_GROUP | Table of non-user agent | 20091021 | |||
| 5 | ET_USER_AGENT | Call by reference | Type reference (TYPE) | USMD_T_USER_AGENT_GROUP | Table of User Agent | 20091021 | |||
| 6 | EV_CR_STATUS | Call by reference | Type reference (TYPE) | USMD_CREQUEST_STATUS | Status des Änderungsantrags | 20091021 | |||
| 7 | EV_EXP_COMP_HOURS | Call by reference | Type reference (TYPE) | INT2 | 2 Byte Integer (Signed) | 20091021 | |||
| 8 | EV_NEXT_STEP | Call by reference | Type reference (TYPE) | USMD_CREQUEST_APPSTEP | Workflow-Schrittnummer | 20091021 | |||
| 9 | IV_ACTION | Call by reference | Type reference (TYPE) | USMD_CREQUEST_ACTION | Aktion auf der Benutzungsoberfläche des Änderungsantrags | 20091021 | |||
| 10 | IV_CR_CREATOR | Call by reference | Type reference (TYPE) | SWP_INITIA | Initiator einer Workflow-Instanz | 20091124 | |||
| 11 | IV_CR_NUMBER | Call by reference | Type reference (TYPE) | USMD_CREQUEST | Änderungsantrag | 20091021 | |||
| 12 | IV_CR_PRIORITY | Call by reference | Type reference (TYPE) | USMD_PRIORITY | Priorität | 20091021 | |||
| 13 | IV_CR_REASON | Call by reference | Type reference (TYPE) | USMD_REASON | Grund | 20091021 | |||
| 14 | IV_CR_REASON_REJ | Call by reference | Type reference (TYPE) | USMD_REASON_REJ | Ablehnungsgrund | 20091021 | |||
| 15 | IV_CR_TYPE | Call by reference | Type reference (TYPE) | USMD_CREQUEST_TYPE | Typ des Änderungsantrags | 20091116 | |||
| 16 | IV_PARENT_STEP | Call by reference | Type reference (TYPE) | USMD_CREQUEST_APPSTEP | boolsche Variable (X=true, -=false, space=unknown) | 20091021 | |||
| 17 | IV_PAR_AGT_GRP_NUM | Call by reference | Type reference (TYPE) | USMD_AGENT_GROUP | Agent Group | 20091021 | |||
| 18 | IV_STEP | Call by reference | Type reference (TYPE) | USMD_CREQUEST_APPSTEP | Workflow-Schrittnummer | 20091021 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Rule-Based Workflow Exception Class | 20091119 |
Method GET_AGENT_FROM_ASSIGNED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_NON_USER_AGENT | Call by reference | Type reference (TYPE) | USMD_T_NON_USER_AGENT_GROUP | Non-user agent group | 20090923 | |||
| 2 | ET_USER_AGENT | Call by reference | Type reference (TYPE) | USMD_T_USER_AGENT_GROUP | User Agent Group Table | 20090923 | |||
| 3 | IS_ASSIGNED_AGENT | Call by reference | Type reference (TYPE) | USMD_S_AGENT_GROUP | Agent Group | 20090923 |
Method GET_AGENT_FROM_ASSIGNED on class CL_USMD_WF_SSW has no exception.
Method GET_AGENT_GROUP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_AGENT | Call by reference | Type reference (TYPE) | USMD_T_AGENT_GROUP | Agent Group | 20090831 | |||
| 2 | IT_NON_USER_AGENT | Call by reference | Type reference (TYPE) | USMD_T_NON_USER_AGENT_GROUP | Non-user agent group | 20090821 | |||
| 3 | IT_USER_AGENT | Call by reference | Type reference (TYPE) | USMD_T_USER_AGENT_GROUP | User Agent Group Table | 20090821 |
Method GET_AGENT_GROUP on class CL_USMD_WF_SSW has no exception.
Method GET_CR_ATTRIBUTES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_CR_PRIORITY | Call by reference | Type reference (TYPE) | USMD_PRIORITY | Priorität | 20091021 | |||
| 2 | EV_CR_REASON | Call by reference | Type reference (TYPE) | USMD_REASON | Grund | 20091021 | |||
| 3 | EV_CR_REASON_REJ | Call by reference | Type reference (TYPE) | USMD_REASON_REJ | Ablehnungsgrund | 20091021 | |||
| 4 | IV_CR_NUMBER | Call by reference | Type reference (TYPE) | USMD_CREQUEST | Änderungsantrag | 20091021 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Rule-Based Workflow Exception Class | 20091119 |
Method GET_CR_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CR_NUMBER | Call by reference | Type reference (TYPE) | USMD_CREQUEST | Änderungsantrag | 20090831 | |||
| 2 | RV_CR_TYPE | Value transfer | Type reference (TYPE) | USMD_CREQUEST_TYPE | Typ des Änderungsantrags | 20090831 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Rule-Based Workflow Exception Class | 20091119 |
Method GET_EXPIRATION_TIME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_EXP_DATE | Call by reference | Type reference (TYPE) | SYDATUM | Datum | 20091012 | |||
| 2 | EV_EXP_TIME | Call by reference | Type reference (TYPE) | SYUZEIT | Verifikation : Zeitangabe | 20091012 | |||
| 3 | IV_EXP_COMP_DAYS | Call by reference | Type reference (TYPE) | INT2 | 2 Byte Integer (Signed) | 20091012 | |||
| 4 | IV_EXP_COMP_HOURS | Call by reference | Type reference (TYPE) | INT2 | 2 Byte Integer (Signed) | 20091012 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Rule-Based Workflow Exception Class | 20091119 |
Method GET_EXPR_NOTIF_RECEIVER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RECEIVERS | Call by reference | Type reference (TYPE) | USMD_T_NOTIF_RECIVERS | Notification recievers | 20091022 | |||
| 2 | IT_USER_AGENT_GROUP | Call by reference | Type reference (TYPE) | USMD_T_USER_AGENT_GROUP | User Agent Group Table | 20091022 |
Method GET_EXPR_NOTIF_RECEIVER on class CL_USMD_WF_SSW has no exception.
Method GET_INACTIVE_FROM_CREQUEST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MESSAGE | Call by reference | Type reference (TYPE) | USMD_T_MESSAGE | Messages | 20130326 | |||
| 2 | IV_CREQUEST | Call by reference | Type reference (TYPE) | USMD_CREQUEST | Change Request | 20130326 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130326 |
Method GET_NEW_CR_INDEX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_INDEX | Value transfer | Type reference (TYPE) | SWC_INDEX | Index für Tabellen-Element | 20091029 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Rule-Based Workflow Exception Class | 20091119 |
Method GET_PARALLEL_CR_GROUP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_CR_GRP | Call by reference | Type reference (TYPE) | LTYT_CR_GROUP | 20090924 | ||||
| 2 | IT_AGENT | Call by reference | Type reference (TYPE) | USMD_T_AGENT_GROUP | Agent Group | 20090924 | |||
| 3 | IV_CR_NUMBER | Call by reference | Type reference (TYPE) | USMD_CREQUEST | Struktur der Typen OLE2_OBJECT uä. | 20090924 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Rule-Based Workflow Exception Class | 20091119 |
Method GET_PROCESS_PATTERN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_PROCESS_PATTERN | Call by reference | Type reference (TYPE) | USMD_PROCESS_PATTERN | Process Pattern | 20090831 | |||
| 2 | IT_NON_USER_AGENT | Call by reference | Type reference (TYPE) | USMD_T_NON_USER_AGENT_GROUP | Table of non-user agent | 20090819 | |||
| 3 | IT_USER_AGENT | Call by reference | Type reference (TYPE) | USMD_T_USER_AGENT_GROUP | Table of User Agent | 20090819 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Rule-Based Workflow Exception Class | 20091119 |
Method MERGE_PARALLEL_STEP_ACTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_CONTEXT_TAB | Call by reference | Type reference (TYPE) | USMD_T_GENERIC_CONTEXT | Generic Context Table | 20091116 | |||
| 2 | CT_MESSAGE | Call by reference | Type reference (TYPE) | USMD_T_MESSAGE | Meldungen | 20091116 | |||
| 3 | EV_NEW_ACTION | Call by reference | Type reference (TYPE) | USMD_CREQUEST_ACTION | Aktion auf der Benutzungsoberfläche des Änderungsantrags | 20091021 | |||
| 4 | EV_NEW_STEP | Call by reference | Type reference (TYPE) | USMD_CREQUEST_APPSTEP | Workflow-Schrittnummer | 20091116 | |||
| 5 | IS_STATUS_MERGE_HANDLER | Call by reference | Type reference (TYPE) | USMD_S_STEP_RSLT_MERGE_HANDLER | Branch Status Merge Handler | 20091021 | |||
| 6 | IT_STEP_ACTION | Call by reference | Type reference (TYPE) | USMD_T_STEP_ACTION | Step + Action Table | 20091021 | |||
| 7 | IV_CR_NUMBER | Call by reference | Type reference (TYPE) | USMD_CREQUEST | Änderungsantrag | 20091116 | |||
| 8 | IV_STEP | Call by reference | Type reference (TYPE) | USMD_CREQUEST_APPSTEP | Workflow-Schrittnummer | 20091021 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Rule-Based Workflow Exception Class | 20091119 |
Method PASS_THROUGH_ACTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_ACTION_CODE | Call by reference | Type reference (TYPE) | USMD_CREQUEST_ACTION | Aktion auf der Benutzungsoberfläche des Änderungsantrags | 20091022 | |||
| 2 | IV_ACTION_CODE | Call by reference | Type reference (TYPE) | USMD_CREQUEST_ACTION | Aktion auf der Benutzungsoberfläche des Änderungsantrags | 20091022 |
Method PASS_THROUGH_ACTION on class CL_USMD_WF_SSW has no exception.
Event Signatures
Event SUB_WORKFLOW_FINISHED Signature
Event SUB_WORKFLOW_FINISHED on class CL_USMD_WF_SSW has no parameter.
History
| Last changed by/on | SAP | 20131127 |
| SAP Release Created in | 702 |