SAP ABAP Class /SRMERP/CL_WF_APV_CONV_UTILS (utility class for structure conversion)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
MM-PUR-SSP (Application Component) Self-Service Procurement
⤷
/SRMERP/WF_FACADE_APV (Package) Facades for Approval Process View
⤷
⤷
Properties
| Class | /SRMERP/CL_WF_APV_CONV_UTILS | |
| Short Description | utility class for structure conversion | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /SRMERP/WF_FACADE_APV | Facades for Approval Process View |
| Created | 20100519 | SAP |
| Last change | 20110908 | 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
Class /SRMERP/CL_WF_APV_CONV_UTILS has no interface implemented.
Friends
Class /SRMERP/CL_WF_APV_CONV_UTILS has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | /SRMERP/WF_RECORD_TYPE | 'STP_ADJ_OPEN' | open ADJUST work item | 20100519 | ||
| 2 | Constant | Public | Type reference (TYPE) | /SRMERP/WF_RECORD_TYPE | 'STP_DS_CANCLD' | DECIDE work item cancelled | 20100519 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | add decision set to level structure | 20100519 | |
| 2 | Static method | Private | Method | add decision set to level structure | 20100519 | |
| 3 | Static method | Public | Method | create_hierarchical structure from other structures | 20100519 | |
| 4 | Static method | Public | Method | create_hierarchical structure from other structures | 20100519 | |
| 5 | Static method | Public | Method | create hierarchical structure from 2 hierarchical structures | 20100519 | |
| 6 | Static method | Private | Method | convert completed level structure | 20100519 | |
| 7 | Static method | Private | Method | convert level data of current/forecast level | 20100519 | |
| 8 | Static method | Private | Method | fill workitem structure | 20100519 | |
| 9 | Static method | Private | Method | find cancelled decision sets | 20100519 | |
| 10 | Static method | Private | Method | find open ADJUST work item | 20100519 | |
| 11 | Static method | Private | Method | find open ADJUST work item | 20100519 | |
| 12 | Static method | Private | Method | get agents for workitem | 20100519 | |
| 13 | Static method | Private | Method | add decision set to level structure | 20100519 | |
| 14 | Static method | Private | Method | get reviewer agent for review workitem | 20100519 | |
| 15 | Static method | Private | Method | get start of current level | 20100519 | |
| 16 | Static method | Private | Method | Gets Workitem Details | 20100519 |
Events
Class /SRMERP/CL_WF_APV_CONV_UTILS has no event.
Types
Class /SRMERP/CL_WF_APV_CONV_UTILS has no local type.
Method Signatures
Method ADD_DECISIONSET_TO_LEVEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_PROC_LEVEL | Call by reference | Type reference (TYPE) | /SRMERP/S_WF_PROC_LEVEL | basic data on process level | 20100519 | |||
| 2 | IR_DECISIONSET | Call by reference | Object reference (TYPE REF TO) | /SRMERP/S_WF_DECISIONSET | Structure for SAP Business WFL workitem counterpart | 20100519 | |||
| 3 | IV_AGENT_ID | Call by reference | Type reference (TYPE) | /SRMERP/WF_AGENT_ID | Identification (PD-Org. ID) of workflow agent | 20100519 | |||
| 4 | IV_WORKITEM_STATUS | Call by reference | Type reference (TYPE) | SWW_WISTAT | Processing Status of a Work Item | 20100519 |
Method ADD_DECISIONSET_TO_LEVEL on class /SRMERP/CL_WF_APV_CONV_UTILS has no exception.
Method ADD_REVIEWERS_TO_PROC_DETAIL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_PROC_DETAIL | Call by reference | Type reference (TYPE) | /SRMERP/S_WF_PROC_DETAIL | basic data on process detail | 20100519 | |||
| 2 | IT_CURR_REVIEWER | Call by reference | Type reference (TYPE) | /SRMERP/T_WF_REVIEWER | current reviewers with optional work items | 20100519 | |||
| 3 | IV_AGENT_ID | Call by reference | Type reference (TYPE) | /SRMERP/WF_AGENT_ID | Identification (PD-Org. ID) of workflow agent | 20100519 |
Method ADD_REVIEWERS_TO_PROC_DETAIL on class /SRMERP/CL_WF_APV_CONV_UTILS has no exception.
Method CONVERT_CURRENT_LEVEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_PROCESS_DETAIL | Call by reference | Type reference (TYPE) | /SRMERP/S_WF_PROC_DETAIL | process detail | 20100519 | |||
| 2 | IS_WF_PROCESS_CURRENT | Call by reference | Type reference (TYPE) | /SRMERP/S_WF_PROCESS | Data structure of a SRM process | 20100519 | |||
| 3 | IT_CURRENT_DOC_RELATED_WI | Call by reference | Type reference (TYPE) | /SRMERP/T_WF_WORKITEM_S | Table of /SAPSRM/S_WF_WORKITEM | 20100519 | |||
| 4 | IT_REVIEWER | Call by reference | Type reference (TYPE) | /SRMERP/T_WF_REVIEWER | Table of reviewers | 20100519 | |||
| 5 | IV_AGENT_ID | Call by reference | Type reference (TYPE) | /SRMERP/WF_AGENT_ID | Identification (PD-Org. ID) of workflow agent | 20100519 | |||
| 6 | IV_WI_ID | Call by reference | Type reference (TYPE) | SWW_WIID | Work item ID | 20100714 |
Method CONVERT_CURRENT_LEVEL on class /SRMERP/CL_WF_APV_CONV_UTILS has no exception.
Method CONVERT_FORECAST_LEVELS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_PROCESS_DETAIL | Call by reference | Type reference (TYPE) | /SRMERP/S_WF_PROC_DETAIL | process detail | 20100527 | |||
| 2 | IS_WF_PROCESS_FORECAST | Call by reference | Type reference (TYPE) | /SRMERP/S_WF_PROCESS | Data structure of a SRM process | 20100519 | |||
| 3 | IT_REVIEWER | Call by reference | Type reference (TYPE) | /SRMERP/T_WF_REVIEWER | Table of reviewers | 20100519 | |||
| 4 | IV_AGENT_ID | Call by reference | Type reference (TYPE) | /SRMERP/WF_AGENT_ID | Identification (PD-Org. ID) of workflow agent | 20100519 |
Method CONVERT_FORECAST_LEVELS on class /SRMERP/CL_WF_APV_CONV_UTILS has no exception.
Method CONVERT_HISTORY_LEVELS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_PROCESS_DETAIL | Call by reference | Type reference (TYPE) | /SRMERP/T_WF_PROC_DETAIL | process detail table | 20100527 | |||
| 2 | IS_PROCESS_HISTORY | Call by reference | Type reference (TYPE) | /SRMERP/S_WF_PROCESS | Data structure of a SRM process | 20100519 | |||
| 3 | IS_PROCESS_PROTOCOL | Call by reference | Type reference (TYPE) | /SRMERP/S_WF_PROCESS_PROTOCOL | Process protocol with chronological list of protocol records | 20100519 | |||
| 4 | IS_WF_PROCESS_CURRENT | Call by reference | Type reference (TYPE) | /SRMERP/S_WF_PROCESS | Data structure of a SRM process | 20100519 | |||
| 5 | IT_ALL_REVIEWER | Call by reference | Type reference (TYPE) | /SRMERP/T_WF_REVIEWER | all reviewewrs, including deleted ones | 20100519 | |||
| 6 | IT_CURRENT_DOC_RELATED_WI | Call by reference | Type reference (TYPE) | /SRMERP/T_WF_WORKITEM_S | Table of /SAPSRM/S_WF_WORKITEM | 20100519 | |||
| 7 | IT_CURR_REVIEWER | Call by reference | Type reference (TYPE) | /SRMERP/T_WF_REVIEWER | current reviewers | 20100519 | |||
| 8 | IV_AGENT_ID | Call by reference | Type reference (TYPE) | /SRMERP/WF_AGENT_ID | Identification (PD-Org. ID) of workflow agent | 20100519 |
Method CONVERT_HISTORY_LEVELS on class /SRMERP/CL_WF_APV_CONV_UTILS has no exception.
Method CONVERT_HIST_LEVEL_A Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_PROC_LEVEL | Call by reference | Type reference (TYPE) | /SRMERP/S_WF_PROC_LEVEL | Process Level Attributes | 20100527 | |||
| 2 | IR_LEVEL_A | Call by reference | Object reference (TYPE REF TO) | /SRMERP/S_WF_PROCESS_LEVEL_A | process level | 20100519 |
Method CONVERT_HIST_LEVEL_A on class /SRMERP/CL_WF_APV_CONV_UTILS has no exception.
Method CONVERT_LEVEL_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_PROC_LEVEL | Call by reference | Type reference (TYPE) | /SRMERP/S_WF_PROC_LEVEL | Process Level Attributes | 20100527 | |||
| 2 | IR_LEVEL | Call by reference | Object reference (TYPE REF TO) | /SRMERP/S_WF_PROCESS_LEVEL | process level | 20100519 |
Method CONVERT_LEVEL_DATA on class /SRMERP/CL_WF_APV_CONV_UTILS has no exception.
Method CONVERT_WORKITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_WORKITEM | Call by reference | Object reference (TYPE REF TO) | /SRMERP/S_WF_WORKITEM | Structure for SAP Business WFL workitem counterpart | 20100519 | |||
| 2 | IV_AGENT_ID | Call by reference | Type reference (TYPE) | /SRMERP/WF_AGENT_ID | Identification (PD-Org. ID) of workflow agent | 20100519 | |||
| 3 | RS_WORKITEM | Value transfer | Type reference (TYPE) | /SRMERP/S_WF_WORKITEM_BASE | basic data on workitem | 20100519 |
Method CONVERT_WORKITEM on class /SRMERP/CL_WF_APV_CONV_UTILS has no exception.
Method FIND_CANCELLED_DS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_PROCESS_HISTORY | Call by reference | Type reference (TYPE) | /SRMERP/S_WF_PROCESS | Data structure of a SRM process | 20100519 | |||
| 2 | RT_RECORD | Value transfer | Type reference (TYPE) | /SRMERP/T_WF_RECORD | Table of /SAPSRM/S_WF_RECORD | 20100519 |
Method FIND_CANCELLED_DS on class /SRMERP/CL_WF_APV_CONV_UTILS has no exception.
Method FIND_OPEN_ADJUST_WI Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_CURRENT_DOC_RELATED_WI | Call by reference | Type reference (TYPE) | /SRMERP/T_WF_WORKITEM_S | open rEVISE or ADJUST work items | 20100519 | |||
| 2 | RS_RECORD | Value transfer | Type reference (TYPE) | /SRMERP/S_WF_RECORD | protocol record | 20100519 |
Method FIND_OPEN_ADJUST_WI on class /SRMERP/CL_WF_APV_CONV_UTILS has no exception.
Method FIND_PROCESSED_ADJUST_WI Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_CURRENT_DOC_RELATED_WI | Call by reference | Type reference (TYPE) | /SRMERP/T_WF_WORKITEM_S | open rEVISE or ADJUST work items | 20100519 | |||
| 2 | RT_RECORD | Value transfer | Type reference (TYPE) | /SRMERP/T_WF_RECORD | protocol record | 20100519 |
Method FIND_PROCESSED_ADJUST_WI on class /SRMERP/CL_WF_APV_CONV_UTILS has no exception.
Method GET_AGENTS_BY_KEY_FOR_WI Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_AGENT_ID | Call by reference | Type reference (TYPE) | /SRMERP/WF_AGENT_ID | logon user | 20100519 | |||
| 2 | IV_AGENT_TYPE | Call by reference | Type reference (TYPE) | /SRMERP/WF_AGENT_TYPE | agent type | 20100519 | |||
| 3 | IV_LEADING_OBJECT_GUID | Call by reference | Type reference (TYPE) | /SRMERP/WF_DOCUMENT_GUID | GUID of SRM purchasing document | 20100519 | |||
| 4 | IV_WORKITEM_ID | Call by reference | Type reference (TYPE) | /SRMERP/WF_WORKITEM_ID | Workitem identifier | 20100519 | |||
| 5 | RS_AGENTS_BY_KEY | Value transfer | Type reference (TYPE) | /SRMERP/S_WF_PROC_AGENT_BY_KEY | agents by key | 20100519 |
Method GET_AGENTS_BY_KEY_FOR_WI on class /SRMERP/CL_WF_APV_CONV_UTILS has no exception.
Method GET_END_OF_HISTORY_PROC_DETAIL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_PROC_DETAIL | Call by reference | Type reference (TYPE) | /SRMERP/S_WF_PROC_DETAIL | basic data on process detail | 20100519 | |||
| 2 | RV_END_OF_PROC_DETAIL | Value transfer | Type reference (TYPE) | /SRMERP/WF_TIMESTMP | Time stamp | 20100519 |
Method GET_END_OF_HISTORY_PROC_DETAIL on class /SRMERP/CL_WF_APV_CONV_UTILS has no exception.
Method GET_REVIEW_AGENT_FOR_REVIEW_WI Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_WORKITEM | Call by reference | Type reference (TYPE) | /SRMERP/S_WF_WORKITEM_BASE | logon user | 20100519 | |||
| 2 | IT_REVIEWER | Call by reference | Type reference (TYPE) | /SRMERP/T_WF_REVIEWER | Table of reviewers | 20100519 | |||
| 3 | RS_AGENT | Value transfer | Type reference (TYPE) | /SRMERP/S_WF_PROC_AGENT | agents by key | 20100519 |
Method GET_REVIEW_AGENT_FOR_REVIEW_WI on class /SRMERP/CL_WF_APV_CONV_UTILS has no exception.
Method GET_START_OF_CURR_PROC_DETAIL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_PROC_DETAIL | Call by reference | Type reference (TYPE) | /SRMERP/S_WF_PROC_DETAIL | basic data on process detail | 20100519 | |||
| 2 | RV_START_OF_PROC_DETAIL | Value transfer | Type reference (TYPE) | /SRMERP/WF_TIMESTMP | Time stamp | 20100519 |
Method GET_START_OF_CURR_PROC_DETAIL on class /SRMERP/CL_WF_APV_CONV_UTILS has no exception.
Method GET_WORKITEM_DETAIL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_AGENT_ID | Call by reference | Type reference (TYPE) | /SRMERP/WF_AGENT_ID | Identification (PD-Org. ID) of workflow agent | 20100519 | |||
| 2 | IV_LANGUAGE | Call by reference | Type reference (TYPE) | SY-LANGU | Language | 20100519 | |||
| 3 | IV_WI_ID | Call by reference | Type reference (TYPE) | SWW_WIID | Workitem ID | 20100519 | |||
| 4 | RS_WI_DETAIL | Value transfer | Type reference (TYPE) | SWR_WIDTL | Workitem Details | 20100519 |
Method GET_WORKITEM_DETAIL on class /SRMERP/CL_WF_APV_CONV_UTILS has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 606 |