SWDIHEADER SAP (WF: Include Structure for Header Data) Structure details
Description: WF: Include Structure for Header Data
Structure field list including key, data, relationships and ABAP select examples
SWDIHEADER 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 "WF: Include Structure for Header Data" 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_SWDIHEADER TYPE SWDIHEADER.
The SWDIHEADER table consists of various fields, each holding specific information or linking keys about WF: Include Structure for Header Data data available in SAP. These include SUSPEND_E (Indicator: Workflow Definition Locked Against Execution), SUSPEND_I (Indicator: Locked Against Instantiation), ACTIV (Flag: Version of workflow definition is active), CALENDAR (Workflow definition: Factory calendar).. 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 SWDIHEADER 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 |
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 | TFACD | WFCID | |||
LANGUAGE | Maintenance Language of Workflow Definition | SWD_MLANGU | LANG | 1 | T002 | 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 | Assigned to domain | 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 | Assigned to domain | 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 | Assigned to domain | 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 | Assigned to domain | 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 | Assigned to domain | 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 | Assigned to domain | 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 | Assigned to domain | 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 | Assigned to domain | 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 |
Key field | Non-key field |
How do I retrieve data from SAP structure SWDIHEADER using ABAP code?
As SWDIHEADER 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 SWDIHEADER as there is no data to select.How to access SAP table SWDIHEADER
Within an ECC or HANA version of SAP you can also view further information about SWDIHEADER 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