SWD_SFLOW SAP (Structure for a Workflow Runtime Representation) Structure details
Description: Structure for a Workflow Runtime Representation
Structure field list including key, data, relationships and ABAP select examples
SWD_SFLOW 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 "Structure for a Workflow Runtime Representation" 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_SWD_SFLOW TYPE SWD_SFLOW.
The SWD_SFLOW table consists of various fields, each holding specific information or linking keys about Structure for a Workflow Runtime Representation data available in SAP. These include CLIENT (Workflow definition: Client), WFD_ID (Number of workflow definition), VERSION (Version), EXETYP (Workflow Type).. 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 SWD_SFLOW 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 |
HEADER | 0 | ||||||||
CLIENT | Workflow definition: Client | SWD_MANDAN | CLNT | 3 | MANDT | ||||
WFD_ID | Number of workflow definition | SWD_WFD_ID | CHAR | 10 | SWD_WFDIDS | ||||
VERSION | Version | SWD_VERSIO | CHAR | 4 | SWD_VERSIO | ||||
EXETYP | Workflow Type | SWD_EXETYP | CHAR | 1 | SWD_EXETYP | ||||
STATUS | Workflow definition: Status | SWD_STATU_ | CHAR | 1 | SWD_STATUS | ||||
SUSPEND_E | Indicator: Workflow Definition Locked Against Execution | SWD_SUSP_E | CHAR | 1 | XFELD | ||||
SUSPEND_I | Indicator: Locked Against Instantiation | SWD_SUSP_I | CHAR | 1 | XFELD | ||||
ACTIV | Flag: Version of workflow definition is active | SWD_ACTFLG | CHAR | 1 | XFELD | ||||
CALENDAR | Workflow definition: Factory calendar | SWD_CALEND | CHAR | 2 | WFCID | ||||
LANGUAGE | Maintenance Language of Workflow Definition | SWD_MLANGU | LANG | 1 | ISOLA | SPRAS | |||
DYNPPROG | Workflow definition: Program name for screens | SWD_DYNPRG | CHAR | 40 | PROGNAME | ||||
DYNNR | Workflow definition: Screen number | SWD_DYNNR | CHAR | 4 | SYCHAR04 | ||||
PRIORITY | Workflow definition: Priority of a workflow | SWD_PRIO | NUMC | 1 | SWD_PRIORI | ||||
LONGTEXT | Workflow definition: Long text ID | SWD_LNGTXT | CHAR | 1 | XFELD | ||||
CREATED_BY | Creator of Workflow Definition | SWD_DEFUSR | CHAR | 12 | XUBNAME | ||||
CREATED_ON | Creation Date of Workflow Definition | SWD_DEFDAT | DATS | 8 | DATS | ||||
CREATED_AT | Creation Time of Workflow Definition | SWD_DEFTIM | TIMS | 6 | TIMES | ||||
CREATED_RL | Release when workflow definition created | SWD_DEFREL | CHAR | 4 | CHAR4 | ||||
CHANGED_BY | Last user to change workflow definition | SWD_CHGUSR | CHAR | 12 | XUBNAME | ||||
CHANGED_ON | Date of last change to workflow definition | SWD_CHGDAT | DATS | 8 | DATS | ||||
CHANGED_AT | Time of last change to workflow definition | SWD_CHGTIM | TIMS | 6 | TIMES | ||||
CHANGED_RL | Release of last change to workflow definition | SWD_CHGREL | CHAR | 4 | CHAR4 | ||||
ACTIVAT_BY | Last user to activate workflow definition | SWD_ACTUSR | CHAR | 12 | XUBNAME | ||||
ACTIVAT_ON | Date workflow definition last activated | SWD_ACTDAT | DATS | 8 | SYDATS | ||||
ACTIVAT_AT | Time workflow definition last activated | SWD_ACTTIM | TIMS | 6 | SYTIME | ||||
ACTIVAT_RL | Activation Release | SWD_ACTREL | CHAR | 4 | CHAR4 | ||||
DEADL_AGT | WF def.: Deadline agent | SWD_D_AGT | CHAR | 14 | HROBJEC_14 | ||||
DEADL_CONT | Workflow definition: Container element for role (deadline) | SWD_DEACON | CHAR | 32 | SWC_EDITEL | ||||
NOTIFY_AGT | WF def.: Org. unit for notifications | SWD_N_AGT | CHAR | 14 | HROBJEC_14 | ||||
NOTIF_CONT | Workflow definition: Container element f. role (notif.agent) | SWD_NOTCON | CHAR | 32 | SWC_EDITEL | ||||
WFI_ADMIN | Workflow System Administrator | SWD_ADMIN | CHAR | 14 | HROBJEC_14 | ||||
ADMIN_CONT | Workflow definition: Container element for role (admin.) | SWD_ADMCON | CHAR | 32 | SWC_EDITEL | ||||
AVG_ACTEXT | Workflow definition: Average effective processing time | SWD_AVG_ET | NUMC | 8 | NUMC08 | ||||
MIN_ACTEXT | Workflow definition: Minimum effective processing time | SWD_MIN_ET | NUMC | 8 | NUMC08 | ||||
MAX_ACTEXT | Workflow definition: Maximum effective processing time | SWD_MAX_ET | NUMC | 8 | NUMC08 | ||||
AVG_TOTALT | Workflow definition: Average total duration | SWD_AVG_TT | NUMC | 8 | NUMC08 | ||||
MIN_TOTALT | Workflow definition: Minimum total duration | SWD_MIN_TT | NUMC | 8 | NUMC08 | ||||
MAX_TOTALT | Workflow definition: Maximum total duration | SWD_MAX_TT | NUMC | 8 | NUMC08 | ||||
TASK | Task abbreviation | SWD_STEP_T | CHAR | 14 | HROBJEC_14 | ||||
DUMMY1 | Workflow definition: Dummy | SWD_CHAR20 | CHAR | 20 | CHAR20 | ||||
DUMMY2 | Workflow definition: Dummy | SWD_CHAR20 | CHAR | 20 | CHAR20 | ||||
DES_ST_B | Reference date/time for requested start | SWD_DST_B | CHAR | 3 | SWD_TIME_B | ||||
DES_ST_U | Time Unit | SWD_MEINS | UNIT | 3 | CUNIT | MEINS | |||
DES_ST_O | Offset between reference time and missed deadline | SWD_DST_O | INT4 | 10 | SWD_TIME_O | ||||
DES_END_B | Reference date/time for requested end | SWD_DE_B | CHAR | 3 | SWD_TIME_B | ||||
DES_END_U | Time Unit | SWD_MEINS | UNIT | 3 | CUNIT | MEINS | |||
DES_END_O | Offset between reference time and missed deadline | SWD_DE_O | INT4 | 10 | SWD_TIME_O | ||||
LATE_END_B | Reference Date/Time for Latest End | SWD_LE_B | CHAR | 3 | SWD_TIME_B | ||||
LATE_END_U | Time Unit | SWD_MEINS | UNIT | 3 | CUNIT | MEINS | |||
LATE_END_O | Offset between reference time and missed deadline | SWD_LE_O | INT4 | 10 | SWD_TIME_O | ||||
DIAL_FLAG | Indicator: NO advancing with dialog | SWD_DIALOG | CHAR | 1 | XFELD | ||||
CREATED_UL | < | SWD_DEFULV | CHAR | 1 | SWD_ULEVEL | ||||
CHANGED_UL | < | SWD_CHGULV | CHAR | 1 | SWD_ULEVEL | ||||
MAX_NODES | Max. node number in workflow (termination condition) | SWP_NCOUNT | INT4 | 10 | SWP_NCOUNT | ||||
MAX_SUBWF | Maximum subworkflow level (termination criterion) | SWP_MAXSUB | INT4 | 10 | SWP_MAXSUB | ||||
NO_LOG | Minimize Number of Entries in Workflow Log | SWD_NOLOG | CHAR | 1 | SWD_NOLOG | ||||
ORIG_VERS | Version | SWD_VERSIO | CHAR | 4 | SWD_VERSIO | ||||
TRANSIENT | Workflow definition executed transiently | SWD_TRANSI | CHAR | 1 | XFELD | ||||
WFTYPE | Type of Workflow Definition: Standard, Checklist, Ad Hoc, .. | SWD_WFTYPE | NUMC | 4 | SWD_DWFTYP | ||||
REVIEW_WF | ID of Review Workflow | SWD_REVWWF | CHAR | 14 | HROBJEC_14 | ||||
FB_WF_CREA | Function Module That Is Executed When Workflow Is Started | SWD_FBWCRE | CHAR | 30 | FUNCNAME | ||||
APPL | CATT: Application | CATAPPL | CHAR | 2 | CATAPPL | APC | |||
SAPPL | CATT: Sub-application | CATSUBAP | CHAR | 3 | CATSUBAP | SUC | |||
THST1 | CATT: Component | CATTHST1 | CHAR | 3 | CATTHST1 | KMP | |||
PRIND | Index of application-specific Workflow Builder | SWD_PRIND | NUMC | 4 | NUMC4 | ||||
PRS_PROFIL | Type of Persistence Profile | SWD_PERSID | NUMC | 4 | SWD_PERSID | ||||
ENQUEQUE | Lock Behavior of Workflow Runtime System | SWD_ENQUQU | CHAR | 2 | SWD_ENQUQU | ||||
XMLPROT | Transfer Format Used In Web Activity | SWD_XMLPRT | NUMC | 2 | SWD_XMLPRT | ||||
XMLGRP | Log Group | SWD_XMLGRP | CHAR | 4 | SWD_XMLGRP | ||||
ROLL_SELECTION | Number of Possible Role Settings | SWP_ROLL_SELECTION | NUMC | 1 | SWP_ROLL_SELECTION | ||||
ROLL_INTERVAL | Time Interval for WP Roll-Out/-In | SWP_ROLL_INTERVAL | NUMC | 6 | SWP_ROLL_INTERVAL | ||||
ROLL_FORK_COUNT | Number of Parallel Branches for WP Roll-Out/-In | SWP_ROLL_FORK_COUNT | NUMC | 6 | SWP_ROLL_FORK_COUNT | ||||
REFER_DATE | Reference date for calculating deadlines | SWD_REFDAT | CHAR | 255 | SWD_VALUE | ||||
REFER_TIME | Reference time for deadline calculation | SWD_REFTIM | CHAR | 255 | SWD_VALUE | ||||
DES_ST_EXP | Expression for requested start (time) | SWD_DSTTEX | CHAR | 255 | SWD_VALUE | ||||
DES_SD_EXP | Expression for requested start (date) | SWD_DSTDEX | CHAR | 255 | SWD_VALUE | ||||
LAT_ST_EXP | Expression for latest start (time) | SWD_LSTTEX | CHAR | 255 | SWD_VALUE | ||||
LAT_SD_EXP | Expression for latest start (date) | SWD_LSTDEX | CHAR | 255 | SWD_VALUE | ||||
DES_ET_EXP | Expression for requested end (time) | SWD_DENTEX | CHAR | 255 | SWD_VALUE | ||||
DES_ED_EXP | Expression for requested end (date) | SWD_DENDEX | CHAR | 255 | SWD_VALUE | ||||
LAT_ET_EXP | Expression for Latest End | SWD_LENTEX | CHAR | 255 | SWD_VALUE | ||||
LAT_ED_EXP | Expression for latest end (date) | SWD_LENDEX | CHAR | 255 | SWD_VALUE | ||||
ADMIN_EXPR | Expression for Agent of Activity | SWD_AGEXPR | CHAR | 255 | SWD_VALUE | ||||
DEADL_EXPR | Notification Agent for Deadline Monitoring | SWD_DEEXPR | CHAR | 255 | SWD_VALUE | ||||
NOTIF_EXPR | Expression for Notification Agent for Completion | SWD_NOEXPR | CHAR | 255 | SWD_VALUE | ||||
CL_WF_CREA | Class That Is Executed When the Workflow Is Started | SWD_CLWCRE | CHAR | 30 | SEOCLSNAME | ||||
AUTH_ROLE | Authorization Determination Rule | SWD_AUTROL | CHAR | 14 | HROBJEC_14 | ||||
CL_WF_DEST | Class That Is Executed When the Workflow Is Completed | SWD_CLWDES | CHAR | 30 | SEOCLSNAME | ||||
PROXY_EXPR | Container Element for Workflow Proxy | SWD_PRYEXP | CHAR | 255 | SWD_VALUE | ||||
XMLROUTCLS | Class for Routing | SWD_ROUCLS | CHAR | 30 | SEOCLSNAME | ||||
STEPS | 0 | ||||||||
NODES | 0 | ||||||||
LINES | 0 | ||||||||
BINDINGS | 0 | ||||||||
CONDITIONS | 0 | ||||||||
METHODS | 0 |
Key field | Non-key field |
How do I retrieve data from SAP structure SWD_SFLOW using ABAP code?
As SWD_SFLOW 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 SWD_SFLOW as there is no data to select.How to access SAP table SWD_SFLOW
Within an ECC or HANA version of SAP you can also view further information about SWD_SFLOW 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