SWP_FNODES SAP (WFM: Node Properties and Node Hierarchy at Runtime) Structure details
Description: WFM: Node Properties and Node Hierarchy at Runtime
Structure field list including key, data, relationships and ABAP select examples
SWP_FNODES is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "WFM: Node Properties and Node Hierarchy at Runtime" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_SWP_FNODES TYPE SWP_FNODES.
The SWP_FNODES table consists of various fields, each holding specific information or linking keys about WFM: Node Properties and Node Hierarchy at Runtime data available in SAP. These include WF_ID (Workflow ID), WI_ID (Work item ID), CMPGUID (GUID of WFM Runtime Component), NODEID (Node Number).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced
SAP SWP_FNODES structure fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
WF_ID | Workflow ID | SWP_WF_ID | NUMC | 12 | Assigned to domain | SWW_WIID | |||
WI_ID | Work item ID | SWW_WIID | NUMC | 12 | Assigned to domain | SWW_WIID | WID | ||
CMPGUID | GUID of WFM Runtime Component | SWPCMPGUID | CHAR | 32 | SYSUUID_C | ||||
NODEID | Node Number | SWD_NODEID | NUMC | 10 | SWD_NODIDS | ||||
NODE_P_IND | Workflow: ParForEach index of a workflow step/node | SWP_PARIND | NUMC | 6 | SWC_INDEX | ||||
JOIN_NODEID | Node Number | SWD_NODEID | NUMC | 10 | SWD_NODIDS | ||||
PWI_ID | Work item ID | SWW_WIID | NUMC | 12 | Assigned to domain | SWW_WIID | WID | ||
PCMPGUID | GUID of WFM Runtime Component | SWPCMPGUID | CHAR | 32 | SYSUUID_C | ||||
TYPE | WFM: Type of Node Specific for the Workflow | SWP_NODETYPE | CHAR | 1 | SWP_NODETYPE | ||||
NODE_L_IND | WFM: Node Loop Counter | SWP_LOOPIND | NUMC | 6 | SWC_INDEX | ||||
LOOP_COUNT | WFM: Node Loop Counter | SWP_LOOPIND | NUMC | 6 | SWC_INDEX | ||||
CMPRELEASE | Release of SAP System | SYSAPRL | CHAR | 4 | SYCHAR04 | ||||
REC_TOKENS | Workflow: Number of tokens received by a node | SWP_RECT_C | CHAR | 3 | CHAR3 | ||||
MIN_TOKENS | Workflow: Token number n for which a n from m join triggers | SWP_MINT_C | CHAR | 3 | CHAR3 | ||||
EXP_TOKENS | Workflow: Number of Tokens Created | SWP_EXPT_C | CHAR | 3 | CHAR3 | ||||
FORK_DATE | Workflow: Start time of a workflow activity | SWP_CREA_D | DATS | 8 | SYDATS | ||||
FORK_TIME | Workflow: Start time of a workflow activity | SWP_CREA_T | TIMS | 6 | SYTIME | ||||
CANCELLED | WFM: Indicator that component was canceled | SWPNODECANC | CHAR | 1 | XFELD | ||||
COMPLETED | WFM: Indicator that WFM component is complete | SWPNODECOMP | CHAR | 1 | FLAG | ||||
OBJECTID | Object ID | SWO_OBJID | CHAR | 90 | SWO_OBJID | ||||
TASK_ID | Task ID | SWW_TASK | CHAR | 14 | HROBJEC_14 | ||||
STAT | Processing Status of a Work Item | SWW_WISTAT | CHAR | 12 | Assigned to domain | SWW_WISTAT | |||
BATCH | Flag whether line in work queue can run in background | SWZ_BATCH | CHAR | 1 | XFELD | ||||
RELEASED | Flag whether the line of a work queue is released | SWZ_RELEAS | CHAR | 1 | XFELD | ||||
NEW_FLAG | General Flag | FLAG | CHAR | 1 | FLAG | ||||
UPDATE_FLAG | General Flag | FLAG | CHAR | 1 | FLAG |
Key field | Non-key field |
How do I retrieve data from SAP structure SWP_FNODES using ABAP code?
As SWP_FNODES is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on SWP_FNODES as there is no data to select.How to access SAP table SWP_FNODES
Within an ECC or HANA version of SAP you can also view further information about SWP_FNODES and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects