SWF_DBDATA_HEADER SAP (Workflow: Structure for Header) Structure details
Description: Workflow: Structure for Header
Related tables to SWF_DBDATA_HEADER
Access table SWF_DBDATA_HEADER
Structure field list including key, data, relationships and ABAP select examples
SWF_DBDATA_HEADER 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 "Workflow: Structure for Header" 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_SWF_DBDATA_HEADER TYPE SWF_DBDATA_HEADER.
The SWF_DBDATA_HEADER table consists of various fields, each holding specific information or linking keys about Workflow: Structure for Header data available in SAP. These include TABLENAME (Table name, 16 characters), DATA (), CLIENT (Client), WI_ID (Work item ID).. 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 SWF_DBDATA_HEADER 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 |
ACTION | Workflow: Action on Database | SWF_DBACTION | NUMC | 2 | SWF_DBACTION | ||||
TABLENAME | Table name, 16 characters | TABNAME16 | CHAR | 16 | DBOBJ_NAME | DTB | DD_DBTB_16 | ||
DATA | 0 | ||||||||
CLIENT | Client | MANDT | CLNT | 3 | MANDT | ||||
WI_ID | Work item ID | SWW_WIID | NUMC | 12 | SWW_WIID | WID | |||
WI_TYPE | Work item type | SWW_WITYPE | CHAR | 1 | SWW_WITYPE | ||||
WI_CREATOR | Creator of a work item | SWW_OBJID | CHAR | 90 | SWO_OBJID | ||||
WI_LANG | Language for Texts of a Work Item | SWW_LANG | LANG | 1 | ISOLA | SPRAS | |||
WI_TEXT | Work item text | SWW_WITEXT | CHAR | 120 | TEXT120 | ||||
WI_RHTEXT | Short Text from Task | SWW_RHTEXT | CHAR | 40 | CHAR40 | ||||
WI_STAT | Processing Status of a Work Item | SWW_WISTAT | CHAR | 12 | SWW_WISTAT | ||||
WI_CD | Creation Date of Work Item | SWW_CD | DATS | 8 | SYDATS | ||||
WI_CT | Creation Time of Work Item | SWW_CT | TIMS | 6 | SYTIME | ||||
WI_AED | End Date of Work Item | SWW_AED | DATS | 8 | SYDATS | ||||
WI_AAGENT | Actual Agent of Work Item | SWW_AAGENT | CHAR | 12 | SYCHAR12 | ||||
WI_AADDR | Key for BOR Object of Type ADDRESS (SWWADDRKEY) | SWWADDRESS | CHAR | 28 | SYCHAR28 | ||||
WI_CRUSER | User Who Created the Work Item | SWW_CRUSER | CHAR | 12 | SYCHAR12 | ||||
WI_CRADDR | Key for BOR Object of Type ADDRESS (SWWADDRKEY) | SWWADDRESS | CHAR | 28 | SYCHAR28 | ||||
WI_CHCKWI | Superordinate Work Item | SWW_CHCKWI | NUMC | 12 | SWW_WIID | ||||
WI_CBFB | Callback Function Module for Work Item Feedback | SWW_CBFB | CHAR | 30 | FUNCNAME | ||||
WI_RH_TASK | Task ID | SWW_TASK | CHAR | 14 | HROBJEC_14 | ||||
WI_PRIO | Priority of a Work Item | SWW_PRIO | NUMC | 1 | SWD_PRIORI | ||||
WI_CONFIRM | Indicator showing that end of processing must be confirmed | SWW_WICONF | CHAR | 1 | XFELD | ||||
WI_COMP_EV | Indicator Denoting That Completion By Event Is Possible | SWW_COMPEV | CHAR | 1 | XFELD | ||||
WI_FORW_BY | (Last) forwarder of work item | SWW_FORWBY | CHAR | 12 | SYCHAR12 | ||||
WI_DISABLE | Flag: Work item is currently locked | SWW_DISABL | CHAR | 1 | XFELD | ||||
WI_REJECT | Indicator Denoting that Work Item Can Be Rejected by Agent | SWW_REJECT | CHAR | 1 | XFELD | ||||
TCLASS | Classification of Tasks | HR_TASK_CL | CHAR | 12 | ALPHA | HR_TASK_CL | |||
NOTE_EXIST | Indicator Denoting that At Least One Note Exists for the WI | SWW_NOTEEX | CHAR | 1 | XFELD | ||||
NOTIFY | Flag: Whether a Notification of Completion Is To Be Sent | SWW_NOTIFY | CHAR | 1 | XFELD | ||||
RETRY_CNT | Retries for Work Items with Temporary Errors | SWW_RETCNT | NUMC | 2 | SWW_COUNT2 | ||||
MAX_RETRY | Retries for Work Items with Temporary Errors | SWW_RETCNT | NUMC | 2 | SWW_COUNT2 | ||||
RC_MODELED | Indicator whether return code modeled in step definition | SWW_RCMODL | CHAR | 1 | XFELD | ||||
CB_DONE | Status Transition for Executed Work Item Completed | SWW_CBDONE | CHAR | 1 | XFELD | ||||
HANDLE | ID of Workflow Trace | SWT_HANDL_ | NUMC | 12 | SWT_HANDLE | ||||
SYNCCHAIN | Flag: WI Is Part of a Synchronous Processing Chain | SWW_CHAIN | CHAR | 1 | XFELD | ||||
NO_DEADL | Flag Denoting Whether WI Contains Deadline Data | SWW_DEADFL | CHAR | 1 | XFELD | ||||
WI_DH_STAT | Deadline Status of a Work Item | SWW_WIDHST | NUMC | 4 | SWW_WIDHST | ||||
WI_RELEASE | Release of SAP System | SYSAPRL | CHAR | 4 | SYCHAR04 | ||||
WLC_DISPL | Display of WI in WLC modeled in step definition | SWW_MODDIS | CHAR | 1 | SWW_MODDIS | ||||
WI_RESTLOG | Minimize Number of Entries in Workflow Log | SWD_NOLOG | CHAR | 1 | SWD_NOLOG | ||||
REMOTE_ID | Work item ID | SWW_WIID | NUMC | 12 | SWW_WIID | WID | |||
REMOTE_SYS | Logical system | LOGSYS | CHAR | 10 | ALPHA | LOGSYS | |||
STATUS_EVT | Flag: Whether Event STATUS_CHANGED Is To Be Triggered (FIs) | SWW_STAEVT | CHAR | 1 | XFELD | ||||
TIMEOUT | Time Interval Between Creation of Work Item and Timeout | SWD_BI_W_O | INT4 | 10 | SWD_TIME_O | ||||
WF_TYPE | Type of Workflow Definition: Standard, Checklist, Ad Hoc, .. | SWD_WFTYPE | NUMC | 4 | SWD_DWFTYP | ||||
WLC_FLAGS | WF: Internal, conversion of 4-byte integer <-> 4-byte hex. | SWA_X4 | RAW | 4 | SWA_STATES | ||||
XMLPROT | Transfer Format Used In Web Activity | SWD_XMLPRT | NUMC | 2 | SWD_XMLPRT | ||||
WAIT4CB | Wait For Feedback By XML | SWD_WAIT4C | CHAR | 1 | XFELD | ||||
TOP_WI_ID | Workflow: Unique ID of Top-Level Instance (6.1/get) | SWFRTWIID | NUMC | 12 | SWW_WIID | ||||
DEF_GUID | Workflow: Unique ID of Step Definition (6.1/get) | SWFRDGUID | CHAR | 40 | CHAR40 | ||||
EXEC_TIME | Workflow: De Facto Execution Time in Sec (6.1/get) | SWFREXECTM | INT4 | 10 | |||||
NOTE_COUNT | Number of Attachments | SWFRNOTECN | INT4 | 10 | |||||
PRS_PROFIL | Type of Persistence Profile | SWD_PERSID | NUMC | 4 | SWD_PERSID | ||||
CREA_TMP | Workflow: Creation Time Stamp | SWFRCRETS | DEC | 21(7) | TZNTSTMPL | ||||
CHECK_STAT | Workflow: Status of Post Condition/Wait Condition | SWW_CHKSTA | NUMC | 2 | SWW_CHKSTA | ||||
BLOCKTYPE | WFM: Block Type | SWP_BLOCKTYPE | NUMC | 4 | SWP_BLOCKTYPE | ||||
PARENT_WI | Parent of a Work Item | SWFRPARWI | NUMC | 12 | SWW_WIID | ||||
RNDNUMBER | Workflow: Random Number | SWF_RNDNUM | NUMC | 2 | SWF_RNDNUM | ||||
WFD_ID | Number of workflow definition | SWD_WFD_ID | CHAR | 10 | SWD_WFDIDS | ||||
WFD_VERSION | Version | SWD_VERSIO | CHAR | 4 | SWD_VERSIO | ||||
WFD_EXETYP | Workflow Type | SWD_EXETYP | CHAR | 1 | SWD_EXETYP | ||||
PROCCAT | Process Category | SWD_PROCCAT | CHAR | 10 | SWD_PROCCAT | ||||
TOP_TASK | Task Identifier of Top-Level Task | SWW_TOP_TASK | CHAR | 14 | HROBJEC_14 |
Key field | Non-key field |
How do I retrieve data from SAP structure SWF_DBDATA_HEADER using ABAP code?
As SWF_DBDATA_HEADER 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 SWF_DBDATA_HEADER as there is no data to select.How to access SAP table SWF_DBDATA_HEADER
Within an ECC or HANA version of SAP you can also view further information about SWF_DBDATA_HEADER 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