SAP ABAP Class CL_GRFN_WF_MDCHG (Workflow class for master data change)
Hierarchy
☛
GRCFND_A (Software Component) GRC Foundation ABAP
⤷
GRC (Application Component) Governance, Risk and Compliance
⤷
GRFN_MD_CHANGE (Package) GRC Master Data Change
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | BI_OBJECT | Business Instance | 20080605 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | BI_PERSISTENT | Persistent Business Instance | 20080605 |
| 3 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_WORKFLOW | Business Workflow | 20080605 |
Properties
| Class | CL_GRFN_WF_MDCHG | |
| Short Description | Workflow class for master data change | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | GRFN_MD_CHANGE | GRC Master Data Change |
| Created | 20080605 | SAP |
| Last change | 20141106 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_GRFN_WF_MDCHG has no forward declaration.
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | BI_OBJECT | Business Instance | 20080605 | ||
| 2 | BI_PERSISTENT | Persistent Business Instance | 20080605 | ||
| 3 | IF_WORKFLOW | Business Workflow | 20080605 |
Friends
Class CL_GRFN_WF_MDCHG has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | GRFN_AGENTSLOT | '0FN_MDCHG_APPR' | Agent Slot for approval | 20080707 | ||
| 2 | Constant | Private | Type reference (TYPE) | GRFN_AGENTSLOT | '0FN_MDCHG_NTFY' | Agent Slot for notification | 20080707 | ||
| 3 | Constant | Private | Type reference (TYPE) | GRFN_AGENTSLOT | '0FN_MDCHG_NTFY_L' | Agent Slot for notification local object owner | 20080709 | ||
| 4 | Instance attribute | Public | Type reference (TYPE) | TSWHACTOR | User Name of approver | 20080605 | |||
| 5 | Instance attribute | Public | Type reference (TYPE) | SIBFLPOR | Local Persistent Object Reference | 20080612 | |||
| 6 | Constant | Private | Type reference (TYPE) | SEOCPDNAME | 'CHANGED' | Constant for CHANGED event name | 20080827 | ||
| 7 | Instance attribute | Public | Type reference (TYPE) | SWHACTOR | User Name of the person raising change request | 20080605 | |||
| 8 | Constant | Private | Type reference (TYPE) | SWW_DET | '235959' | Requested end time for work item | 20080724 | ||
| 9 | Instance attribute | Public | Type reference (TYPE) | GUID_32 | Instance Identification in Persistent Object References | 20080612 | |||
| 10 | Instance attribute | Public | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20080605 | |||
| 11 | Instance attribute | Public | Type reference (TYPE) | STRING | 20090213 | ||||
| 12 | Constant | Private | Type reference (TYPE) | OTYPE | 'US' | User Object Type | 20080610 | ||
| 13 | Static Attribute | Public | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20081210 | |||
| 14 | Constant | Private | Type reference (TYPE) | SEOCPDNAME | 'STARTED' | Constant for STARTED event name | 20080827 | ||
| 15 | Constant | Private | Type reference (TYPE) | GRFN_API_ENTITY_ID | 'XCONTROL' | Entity ID | 20080711 | ||
| 16 | Constant | Private | Type reference (TYPE) | GRFN_API_ENTITY_ID | 'XECGROUP' | Entity ID | 20080711 | ||
| 17 | Constant | Private | Type reference (TYPE) | GRFN_API_ENTITY_ID | 'XECONTROL' | Entity ID | 20080711 | ||
| 18 | Constant | Private | Type reference (TYPE) | GRFN_API_ENTITY_ID | 'XPROCESS' | Entity ID | 20080711 | ||
| 19 | Constant | Private | Type reference (TYPE) | GRFN_API_ENTITY_ID | 'XSUBPROCESS' | Entity ID | 20080711 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | For step "Approve or Reject Change","Notify Employee If app" | 20080610 | |
| 2 | Instance method | Public | Method | Assign temporary authorization | 20080610 | |
| 3 | Static method | Public | Method | Data has been changed, start another workflow | 20080626 | |
| 4 | Instance method | Public | Method | Confirm Change, for step "Notify Approver" | 20080707 | |
| 5 | Instance method | Public | Constructor | Initiate workflow class | 20080605 | |
| 6 | Instance method | Public | Method | Empty method for Workflow step | 20080714 | |
| 7 | Static method | Public | Method | Get approver by the object id | 20080610 | |
| 8 | Static method | Public | Method | Get notification person by object id | 20080701 | |
| 9 | Instance method | Public | Method | Return approved flag | 20080626 | |
| 10 | Instance method | Public | Method | Get due data | 20080724 | |
| 11 | Instance method | Public | Method | Get due time | 20080724 | |
| 12 | Static method | Public | Method | Get local objects for a central one | 20080711 | |
| 13 | Static method | Public | Method | Get notifier list by obj, include business logic, replace FM | 20080827 | |
| 14 | Instance method | Private | Method | Get ObjType text | 20090213 | |
| 15 | Static method | Public | Method | Check is there any approver. 0:no approver.1: approver exist | 20080707 | |
| 16 | Instance method | Public | Method | For step "Notify Employee if Rejected" | 20080610 | |
| 17 | Static method | Public | Method | Resloves the change notification id | 20080723 | |
| 18 | Static method | Public | Method | Raise the change request to start the workflow | 20080618 | |
| 19 | Static method | Private | Method | Trigger an event for workflow | 20080618 |
Events
| # | Event | Type | Visibility | Description | Created on |
|---|---|---|---|---|---|
| 1 | CHANGED | Instance Event (0) |
Public (2) |
Master data changed | 20080610 |
| 2 | STARTED | Instance Event (0) |
Public (2) |
User request change master, trigger the workflow | 20080610 |
Types
Class CL_GRFN_WF_MDCHG has no local type.
Method Signatures
Method APPROVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | AC_CONTAINER | Call by reference | Type reference (TYPE) | SWCONTTAB | Instance Structure | 20080626 |
Method APPROVE on class CL_GRFN_WF_MDCHG has no exception.
Method ASSIGN_AUTH Signature
Method ASSIGN_AUTH on class CL_GRFN_WF_MDCHG has no parameter.
Method ASSIGN_AUTH on class CL_GRFN_WF_MDCHG has no exception.
Method COMPLETE_CHANGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_GUID | Call by reference | Type reference (TYPE) | C | GUID in 'CHAR' Format in Uppercase | 20080626 |
Method COMPLETE_CHANGE on class CL_GRFN_WF_MDCHG has no exception.
Method CONFIRM_CHANGE Signature
Method CONFIRM_CHANGE on class CL_GRFN_WF_MDCHG has no parameter.
Method CONFIRM_CHANGE on class CL_GRFN_WF_MDCHG has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_GUID | Call by reference | Type reference (TYPE) | GUID_32 | GRPC ID of the individual object | 20080612 |
Method CONSTRUCTOR on class CL_GRFN_WF_MDCHG has no exception.
Method DUMMY_METHOD Signature
Method DUMMY_METHOD on class CL_GRFN_WF_MDCHG has no parameter.
Method DUMMY_METHOD on class CL_GRFN_WF_MDCHG has no exception.
Method GET_AGENT_APPROVER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OBJECT_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20080707 | |||
| 2 | IV_REGULATION_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20081210 | |||
| 3 | IV_WF_INITIATOR | Call by reference | Type reference (TYPE) | UNAME | User Name | 20080724 | |||
| 4 | RT_APPROVER | Value transfer | Type reference (TYPE) | TSWHACTOR | Approver name | 20080610 |
Method GET_AGENT_APPROVER on class CL_GRFN_WF_MDCHG has no exception.
Method GET_AGENT_NOTIFIER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OBJECT_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20080708 | |||
| 2 | IV_REGULATION_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20081209 | |||
| 3 | IV_WF_INITIATOR | Call by reference | Type reference (TYPE) | UNAME | User Name | 20080724 | |||
| 4 | RT_NOTIFIER | Value transfer | Type reference (TYPE) | TSWHACTOR | Notifier name | 20080701 |
Method GET_AGENT_NOTIFIER on class CL_GRFN_WF_MDCHG has no exception.
Method GET_APPROVED_FLAG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_APPROVED_FLAG | Value transfer | Type reference (TYPE) | CHAR1 | General Flag | 20080626 |
Method GET_APPROVED_FLAG on class CL_GRFN_WF_MDCHG has no exception.
Method GET_DUE_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_DUE_DATE | Value transfer | Type reference (TYPE) | SWW_DED | Requested End Date for Work Item | 20080724 |
Method GET_DUE_DATE on class CL_GRFN_WF_MDCHG has no exception.
Method GET_DUE_TIME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_DUE_TIME | Value transfer | Type reference (TYPE) | SWW_DET | Requested end time for work item | 20080724 |
Method GET_DUE_TIME on class CL_GRFN_WF_MDCHG has no exception.
Method GET_LOCAL_OBJECT_LIST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CENTRAL_OBJECT_ID | Value transfer | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20080711 | |||
| 2 | IV_REGULATION_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20081209 | |||
| 3 | RT_LOCAL_OBJECT_ID | Value transfer | Type reference (TYPE) | GRFN_T_API_OBJECT_ID | table type of API object ID | 20080711 |
Method GET_LOCAL_OBJECT_LIST on class CL_GRFN_WF_MDCHG has no exception.
Method GET_NOTIFIER_LIST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_GUID | Call by reference | Type reference (TYPE) | GUID_32 | GUID in 'CHAR' Format in Uppercase | 20080827 | |||
| 2 | RT_NOTIFIER | Value transfer | Type reference (TYPE) | TSWHACTOR | Table with Organizational Objects | 20080827 |
Method GET_NOTIFIER_LIST on class CL_GRFN_WF_MDCHG has no exception.
Method GET_OBJTYPE_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_OBJTYPE_TEXT | Value transfer | Type reference (TYPE) | STRING | 20090213 |
Method GET_OBJTYPE_TEXT on class CL_GRFN_WF_MDCHG has no exception.
Method IS_ANY_APPROVER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OBJECT_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20080707 | |||
| 2 | IV_REGULATION_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20081210 | |||
| 3 | RV_APPROVER_EXIST | Value transfer | Type reference (TYPE) | INT4 | 0: no approver. 1: approver exists | 20080707 |
Method IS_ANY_APPROVER on class CL_GRFN_WF_MDCHG has no exception.
Method REJECT Signature
Method REJECT on class CL_GRFN_WF_MDCHG has no parameter.
Method REJECT on class CL_GRFN_WF_MDCHG has no exception.
Method RESOLVE_CHANGE_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ID | Call by reference | Type reference (TYPE) | GUID_32 | GUID in 'CHAR' Format in Uppercase | 20080723 | |||
| 2 | I_OBJECT_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20080723 | |||
| 3 | I_TIME | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | 20080723 | |||
| 4 | I_USERID | Call by reference | Type reference (TYPE) | GRFN_USERID | User ID | 20080723 |
Method RESOLVE_CHANGE_ID on class CL_GRFN_WF_MDCHG has no exception.
Method START_WORKFLOW Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_GUID | Call by reference | Type reference (TYPE) | GUID_32 | GUID in 'CHAR' Format in Uppercase | 20080618 |
Method START_WORKFLOW on class CL_GRFN_WF_MDCHG has no exception.
Method TRIGGER_EVENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_EVENT | Call by reference | Type reference (TYPE) | SEOCPDNAME | Character Field Length = 10 | 20080618 | |||
| 2 | I_GUID | Call by reference | Type reference (TYPE) | C | GUID in 'CHAR' Format in Uppercase | 20080618 | |||
| 3 | I_NOTIFIER | Call by reference | Type reference (TYPE) | SWHACTOR | Notifier | 20080827 |
Method TRIGGER_EVENT on class CL_GRFN_WF_MDCHG has no exception.
Event Signatures
Event CHANGED Signature
| # | Parameter | Type | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NOTIFIER | Exporting | Value transfer | Type reference (TYPE) | SWHACTOR | Notifier | 20080827 |
Event STARTED Signature
Event STARTED on class CL_GRFN_WF_MDCHG has no parameter.
History
| Last changed by/on | SAP | 20141106 |
| SAP Release Created in | 300 |