SAP ABAP Class CL_SWF_RUN_GET_MEM_INFO (Workflow: Calculates memory consumption of an instance)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-BMT-WFM (Application Component) SAP Business Workflow
⤷
SWF_RUN (Package) Workflow: Runtime
⤷
⤷
Properties
| Class | CL_SWF_RUN_GET_MEM_INFO | |
| Short Description | Workflow: Calculates memory consumption of an instance | |
| Super Class | ||
| Instantiability of a Class | 1 | Protected |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SWF_RUN | Workflow: Runtime |
| Created | 20131107 | SAP |
| Last change | 20141121 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_SWF_RUN_GET_MEM_INFO has no forward declaration.
Interfaces
Class CL_SWF_RUN_GET_MEM_INFO has no interface implemented.
Friends
Class CL_SWF_RUN_GET_MEM_INFO has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Protected | Type reference (TYPE) | TT_WORK_ITEM | Flow Items (buffer) | 20131113 | |||
| 2 | Static Attribute | Protected | Type reference (TYPE) | TT_TABNAME | Tables (buffer) | 20131113 | |||
| 3 | Static Attribute | Protected | Type reference (TYPE) | TT_TAB_INFO | Tables Info (buffer) | 20131113 | |||
| 4 | Instance attribute | Protected | Type reference (TYPE) | TT_WORK_ITEM | Work Items (buffer) | 20131113 | |||
| 5 | Instance attribute | Protected | Type reference (TYPE) | SWW_WIID | Work Item ID | 20131113 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Analyzes the container | 20131113 | |
| 2 | Instance method | Public | Method | Analyzes the header | 20131113 | |
| 3 | Instance method | Public | Method | Analyzes the WI text files | 20131113 | |
| 4 | Static method | Public | Constructor | CLASS_CONSTRUCTOR : Sets tables here | 20131113 | |
| 5 | Instance method | Protected | Constructor | CONSTRUCTOR | 20131113 | |
| 6 | Instance method | Public | Method | Releases instance buffer | 20131113 | |
| 7 | Instance method | Public | Method | Returns a list of database sizes for current WI | 20131113 | |
| 8 | Static method | Public | Method | Returns an instance of this class | 20131113 | |
| 9 | Instance method | Public | Method | Returns details of current WI | 20131113 | |
| 10 | Instance method | Public | Method | Sets a new WIID | 20131113 | |
| 11 | Instance method | Protected | Method | Returns the number of data records for all tables | 20131113 | |
| 12 | Instance method | Protected | Method | Returns the number of data records | 20131113 | |
| 13 | Instance method | Protected | Method | Sets a flag if details method exists | 20131113 | |
| 14 | Instance method | Protected | Method | Returns only the workflow items | 20131113 | |
| 15 | Instance method | Protected | Method | Returns table info: size, text (buffered) | 20131113 | |
| 16 | Instance method | Protected | Method | Returns the dependent work items for WIID | 20131113 |
Events
Class CL_SWF_RUN_GET_MEM_INFO has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TT_CNT_DB_SIZE | Public | See coding | Table Type | 20131113 | TT_CNT_DB_SIZE type table of T_CNT_DB_SIZE
|
|
| 2 | TT_TABNAME | Protected | See coding | Table Type | 20131113 | TT_TABNAME type table of T_TABNAME
|
|
| 3 | TT_TAB_INFO | Protected | See coding | Table Type | 20131113 | TT_TAB_INFO type table of T_TAB_INFO
|
|
| 4 | TT_WI_DB_SIZE | Public | See coding | Table Type | 20131113 | TT_WI_DB_SIZE type table of T_WI_DB_SIZE
|
|
| 5 | TT_WORK_ITEM | Protected | See coding | Table Type | 20131113 | TT_WORK_ITEM type table of T_WORK_ITEM
|
|
| 6 | T_CNT_DB_SIZE | Public | See coding | Container Size (details) | 20131113 | begin of T_CNT_DB_SIZE,
wi_id TYPE sww_wiid,
wi_type TYPE sww_witype,
wi_typetxt type SWW_TYPTXT,
wi_rh_task TYPE sww_task,
tabname type tabname,
lines type NUMC10,
size type NUMC10,
end of T_CNT_DB_SIZE
|
|
| 7 | T_TABNAME | Protected | Type reference (TYPE) | TABNAME | Table Name | 20131113 | |
| 8 | T_TAB_INFO | Protected | See coding | Table Information | 20131113 | begin of T_TAB_INFO,
tabname type TABNAME,
size type int4,
descr type string,
langu type sylangu,
end of T_TAB_INFO
|
|
| 9 | T_WI_DB_SIZE | Public | See coding | Tables, Size, Row, Text | 20131113 | begin of T_WI_DB_SIZE ,
tabname type tabname,
details type xfeld,
tabtext type as4text,
lines type NUMC10,
size type NUMC10,
END OF T_WI_DB_SIZE
|
|
| 10 | T_WORK_ITEM | Protected | Type reference (TYPE) | CL_SWF_UTL_GET_DEPENDANT_WIS=>WORKITEM_HEADER | Work Items | 20131113 | |
Method Signatures
Method ANALYZE_CONTAINER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_DETAILS | Call by reference | Type reference (TYPE) | TT_CNT_DB_SIZE | 20131113 |
Method ANALYZE_CONTAINER on class CL_SWF_RUN_GET_MEM_INFO has no exception.
Method ANALYZE_SWWWIHEAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_WB_COUNT | Call by reference | Type reference (TYPE) | INT4 | Natürliche Zahl | 20131113 | |||
| 2 | EX_WF_COUNT | Call by reference | Type reference (TYPE) | INT4 | Natürliche Zahl | 20131113 | |||
| 3 | EX_WW_COUNT | Call by reference | Type reference (TYPE) | INT4 | Natürliche Zahl | 20131113 | |||
| 4 | EX_WX_COUNT | Call by reference | Type reference (TYPE) | INT4 | Natürliche Zahl | 20131113 |
Method ANALYZE_SWWWIHEAD on class CL_SWF_RUN_GET_MEM_INFO has no exception.
Method ANALYZE_SWWWITEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_LANGU_COUNT | Call by reference | Type reference (TYPE) | INT4 | Natürliche Zahl | 20131113 | |||
| 2 | EX_LANGU_STRING | Call by reference | Type reference (TYPE) | STRING | 20131113 | ||||
| 3 | EX_WI_COUNT | Call by reference | Type reference (TYPE) | INT4 | Natürliche Zahl | 20131113 |
Method ANALYZE_SWWWITEXT on class CL_SWF_RUN_GET_MEM_INFO has no exception.
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_SWF_RUN_GET_MEM_INFO has no parameter.
Method CLASS_CONSTRUCTOR on class CL_SWF_RUN_GET_MEM_INFO has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_WIID | Call by reference | Type reference (TYPE) | SWW_WIID | Workitem-Kennung | 20131113 |
Method CONSTRUCTOR on class CL_SWF_RUN_GET_MEM_INFO has no exception.
Method FREE Signature
Method FREE on class CL_SWF_RUN_GET_MEM_INFO has no parameter.
Method FREE on class CL_SWF_RUN_GET_MEM_INFO has no exception.
Method GET_DB_SIZE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_DB_SIZE | Call by reference | Type reference (TYPE) | TT_WI_DB_SIZE | 20131113 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20131113 |
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_WIID | Call by reference | Type reference (TYPE) | SWW_WIID | Workitem-Kennung | 20131113 | |||
| 2 | RE_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_SWF_RUN_GET_MEM_INFO | Workflow: Ermittelt Speicherverbrauch einer Instanz | 20131113 |
Method GET_INSTANCE on class CL_SWF_RUN_GET_MEM_INFO has no exception.
Method GET_WI_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_WI_ID | Call by reference | Type reference (TYPE) | SWW_WIID | Workitem-Kennung | 20131113 | |||
| 2 | EX_WI_RH_TASK | Call by reference | Type reference (TYPE) | SWW_TASK | Aufgabenkennung | 20131113 | |||
| 3 | EX_WI_STAT | Call by reference | Type reference (TYPE) | SWW_WISTAT | Bearbeitungsstatus eines Workitem | 20131113 | |||
| 4 | EX_WI_TYPE | Call by reference | Type reference (TYPE) | SWW_WITYPE | Workitem-Typ | 20131113 |
Method GET_WI_INFO on class CL_SWF_RUN_GET_MEM_INFO has no exception.
Method SET_NEW_WIID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_WIID | Call by reference | Type reference (TYPE) | SWW_WIID | Workitem-Kennung | 20131113 |
Method SET_NEW_WIID on class CL_SWF_RUN_GET_MEM_INFO has no exception.
Method _GET_DB_COUNT_4_TABLES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_WI_DB_SIZE | Call by reference | Type reference (TYPE) | TT_WI_DB_SIZE | 20131113 |
Method _GET_DB_COUNT_4_TABLES on class CL_SWF_RUN_GET_MEM_INFO has no exception.
Method _GET_DB_COUNT_GENERIC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_LINES | Call by reference | Type reference (TYPE) | INT4 | Natürliche Zahl | 20131113 | |||
| 2 | IM_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Tabellenname | 20131113 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20131113 |
Method _GET_DETAILS_FLAG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_TABNAME | Call by reference | Type reference (TYPE) | C | 20131113 | ||||
| 2 | RE_FLAG | Value transfer | Type reference (TYPE) | XFLAG | neue Eingabewerte | 20131113 |
Method _GET_DETAILS_FLAG on class CL_SWF_RUN_GET_MEM_INFO has no exception.
Method _GET_FLOW_ITEMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_FLOW_ITEMS | Call by reference | Type reference (TYPE) | TT_WORK_ITEM | 20131113 |
Method _GET_FLOW_ITEMS on class CL_SWF_RUN_GET_MEM_INFO has no exception.
Method _GET_TABLE_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_DESCR | Call by reference | Type reference (TYPE) | AS4TEXT | Kurzbeschreibung von Repository-Objekten | 20131113 | |||
| 2 | EX_LANGU | Call by reference | Type reference (TYPE) | SYLANGU | Sprachenschlüssel | 20131113 | |||
| 3 | EX_SIZE | Call by reference | Type reference (TYPE) | INT4 | Natürliche Zahl | 20131113 | |||
| 4 | IM_LANGU | Call by reference | Type reference (TYPE) | SYLANGU | SY-LANGU | Sprachenschlüssel | 20131113 | ||
| 5 | IM_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Tabellenname | 20131113 |
Method _GET_TABLE_INFO on class CL_SWF_RUN_GET_MEM_INFO has no exception.
Method _GET_WORK_ITEMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_WORK_ITEMS | Call by reference | Type reference (TYPE) | TT_WORK_ITEM | 20131113 | ||||
| 2 | IM_WIID | Call by reference | Type reference (TYPE) | SWW_WIID | Workitem-Kennung | 20131113 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20131113 |
History
| Last changed by/on | SAP | 20141121 |
| SAP Release Created in | 740 |