SAP ABAP Class CL_GRPC_WF_PROPOSAL (Workflow class for control proposal)
Hierarchy
☛
GRCFND_A (Software Component) GRC Foundation ABAP
⤷
GRC-SPC (Application Component) Process Controls
⤷
GRPC_WORKFLOW (Package) Workflow-Unique
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | BI_OBJECT | Business Instance | 20080919 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | BI_PERSISTENT | Persistent Business Instance | 20080919 |
| 3 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_WORKFLOW | Business Workflow | 20080919 |
Properties
| Class | CL_GRPC_WF_PROPOSAL | |
| Short Description | Workflow class for control proposal | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | GRPC_WORKFLOW | Workflow-Unique |
| Created | 20080919 | SAP |
| Last change | 20141106 | |
| 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 | 20080919 | ||
| 2 | BI_PERSISTENT | Persistent Business Instance | 20080919 | ||
| 3 | IF_WORKFLOW | Business Workflow | 20080919 |
Friends
Class CL_GRPC_WF_PROPOSAL 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 | '0PC_CONTROL_PROPOSAL_APPR' | Agent Slot for approval | 20080919 | ||
| 2 | Instance attribute | Public | Type reference (TYPE) | TSWHACTOR | User Name of approver | 20080919 | |||
| 3 | Instance attribute | Public | Type reference (TYPE) | SIBFLPOR | Local Persistent Object Reference | 20080919 | |||
| 4 | Instance attribute | Public | Type reference (TYPE) | SWHACTOR | User Name of the person raising change request | 20080919 | |||
| 5 | Instance attribute | Public | Type reference (TYPE) | STRING | Control Name | 20080925 | |||
| 6 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_GRPC_API_CONTROL_PROPOSAL | GRPC Control Proposal | 20081124 | |||
| 7 | Static Attribute | Private | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20081210 | |||
| 8 | Instance attribute | Public | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20080919 | |||
| 9 | Constant | Private | Type reference (TYPE) | OTYPE | 'US' | User Object Type | 20080919 | ||
| 10 | Instance attribute | Public | Type reference (TYPE) | GUID_32 | Proposal GUID | 20081016 | |||
| 11 | Instance attribute | Public | Object reference (TYPE REF TO) | CL_GRFN_API_SESSION | Session Management for GRC APIs | 20081020 | |||
| 12 | Constant | Private | Type reference (TYPE) | SEOCPDNAME | 'STARTED' | Constant for STARTED event name | 20080919 | ||
| 13 | Constant | Public | Type reference (TYPE) | GRPC_API_PROPOSAL_STATUS | '002' | Control Proposal Status | 20080925 | ||
| 14 | Constant | Public | Type reference (TYPE) | GRPC_API_PROPOSAL_STATUS | '001' | Control Proposal Status | 20080925 | ||
| 15 | Constant | Public | Type reference (TYPE) | GRPC_API_PROPOSAL_STATUS | '004' | Control Proposal Status | 20080925 | ||
| 16 | Constant | Public | Type reference (TYPE) | GRPC_API_PROPOSAL_STATUS | '003' | Control Proposal Status | 20080925 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | Initiate workflow class | 20080919 | |
| 2 | Instance method | Public | Method | Empty method for Workflow step | 20080919 | |
| 3 | Static method | Public | Method | Get approver by the object id | 20080919 | |
| 4 | Instance method | Public | Method | Return approved flag | 20080919 | |
| 5 | Static method | Public | Method | Check is there any approver. 0:no approver.1: approver exist | 20080919 | |
| 6 | Static method | Public | Method | Raise the change request to start the workflow | 20080919 | |
| 7 | Static method | Private | Method | Trigger an event for workflow | 20080919 |
Events
| # | Event | Type | Visibility | Description | Created on |
|---|---|---|---|---|---|
| 1 | STARTED | Instance Event (0) |
Public (2) |
Create control proposal | 20080919 |
Types
Class CL_GRPC_WF_PROPOSAL has no local type.
Method Signatures
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 | GUID | 20081022 |
Method CONSTRUCTOR on class CL_GRPC_WF_PROPOSAL has no exception.
Method DUMMY_METHOD Signature
Method DUMMY_METHOD on class CL_GRPC_WF_PROPOSAL has no parameter.
Method DUMMY_METHOD on class CL_GRPC_WF_PROPOSAL 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 | 20080919 | |||
| 2 | IV_REGULATION_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20121010 | |||
| 3 | IV_WF_INITIATOR | Call by reference | Type reference (TYPE) | UNAME | User Name | 20080919 | |||
| 4 | RT_APPROVER | Value transfer | Type reference (TYPE) | TSWHACTOR | Approver name | 20080919 |
Method GET_AGENT_APPROVER on class CL_GRPC_WF_PROPOSAL 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 | 20080919 |
Method GET_APPROVED_FLAG on class CL_GRPC_WF_PROPOSAL 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 | 20080919 | |||
| 2 | IV_REGULATION_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20121010 | |||
| 3 | RV_APPROVER_EXIST | Value transfer | Type reference (TYPE) | ABAP_BOOL | false: no approver. true: approver exists | 20080919 |
Method IS_ANY_APPROVER on class CL_GRPC_WF_PROPOSAL has no exception.
Method START_WORKFLOW Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_OBJECT_ID | Call by reference | Type reference (TYPE) | GRPC_API_OBJECT_ID | GRPC ID of the individual object | 20090224 | |||
| 2 | I_PROPOSAL_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | GUID in 'CHAR' Format in Uppercase | 20080923 |
Method START_WORKFLOW on class CL_GRPC_WF_PROPOSAL 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 | 20080919 | |||
| 2 | I_GUID | Call by reference | Type reference (TYPE) | GUID_32 | Proposal GUID | 20081016 | |||
| 3 | I_OBJECT_ID | Call by reference | Type reference (TYPE) | GRPC_API_OBJECT_ID | GRPC ID of the individual object | 20090224 |
Method TRIGGER_EVENT on class CL_GRPC_WF_PROPOSAL has no exception.
Event Signatures
Event STARTED Signature
| # | Parameter | Type | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | OBJECTID | Exporting | Value transfer | Type reference (TYPE) | GRPC_API_OBJECT_ID | GRPC ID of the individual object | 20090224 |
History
| Last changed by/on | SAP | 20141106 |
| SAP Release Created in | 300 |