SWF_DBDATA_HEADER SAP (Workflow: Structure for Header) Structure details

Dictionary Type: Structure
Description: Workflow: Structure for Header




ABAP Code to SELECT data from SWF_DBDATA_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
ACTIONWorkflow: Action on Database SWF_DBACTIONNUMC2SWF_DBACTION
TABLENAMETable name, 16 characters TABNAME16CHAR16DBOBJ_NAMEDTBDD_DBTB_16
DATA 0
CLIENTClient MANDTCLNT3MANDT
WI_IDWork item ID SWW_WIIDNUMC12SWW_WIIDWID
WI_TYPEWork item type SWW_WITYPECHAR1SWW_WITYPE
WI_CREATORCreator of a work item SWW_OBJIDCHAR90SWO_OBJID
WI_LANGLanguage for Texts of a Work Item SWW_LANGLANG1ISOLASPRAS
WI_TEXTWork item text SWW_WITEXTCHAR120TEXT120
WI_RHTEXTShort Text from Task SWW_RHTEXTCHAR40CHAR40
WI_STATProcessing Status of a Work Item SWW_WISTATCHAR12SWW_WISTAT
WI_CDCreation Date of Work Item SWW_CDDATS8SYDATS
WI_CTCreation Time of Work Item SWW_CTTIMS6SYTIME
WI_AEDEnd Date of Work Item SWW_AEDDATS8SYDATS
WI_AAGENTActual Agent of Work Item SWW_AAGENTCHAR12SYCHAR12
WI_AADDRKey for BOR Object of Type ADDRESS (SWWADDRKEY) SWWADDRESSCHAR28SYCHAR28
WI_CRUSERUser Who Created the Work Item SWW_CRUSERCHAR12SYCHAR12
WI_CRADDRKey for BOR Object of Type ADDRESS (SWWADDRKEY) SWWADDRESSCHAR28SYCHAR28
WI_CHCKWISuperordinate Work Item SWW_CHCKWINUMC12SWW_WIID
WI_CBFBCallback Function Module for Work Item Feedback SWW_CBFBCHAR30FUNCNAME
WI_RH_TASKTask ID SWW_TASKCHAR14HROBJEC_14
WI_PRIOPriority of a Work Item SWW_PRIONUMC1SWD_PRIORI
WI_CONFIRMIndicator showing that end of processing must be confirmed SWW_WICONFCHAR1XFELD
WI_COMP_EVIndicator Denoting That Completion By Event Is Possible SWW_COMPEVCHAR1XFELD
WI_FORW_BY(Last) forwarder of work item SWW_FORWBYCHAR12SYCHAR12
WI_DISABLEFlag: Work item is currently locked SWW_DISABLCHAR1XFELD
WI_REJECTIndicator Denoting that Work Item Can Be Rejected by Agent SWW_REJECTCHAR1XFELD
TCLASSClassification of Tasks HR_TASK_CLCHAR12ALPHAHR_TASK_CL
NOTE_EXISTIndicator Denoting that At Least One Note Exists for the WI SWW_NOTEEXCHAR1XFELD
NOTIFYFlag: Whether a Notification of Completion Is To Be Sent SWW_NOTIFYCHAR1XFELD
RETRY_CNTRetries for Work Items with Temporary Errors SWW_RETCNTNUMC2SWW_COUNT2
MAX_RETRYRetries for Work Items with Temporary Errors SWW_RETCNTNUMC2SWW_COUNT2
RC_MODELEDIndicator whether return code modeled in step definition SWW_RCMODLCHAR1XFELD
CB_DONEStatus Transition for Executed Work Item Completed SWW_CBDONECHAR1XFELD
HANDLEID of Workflow Trace SWT_HANDL_NUMC12SWT_HANDLE
SYNCCHAINFlag: WI Is Part of a Synchronous Processing Chain SWW_CHAINCHAR1XFELD
NO_DEADLFlag Denoting Whether WI Contains Deadline Data SWW_DEADFLCHAR1XFELD
WI_DH_STATDeadline Status of a Work Item SWW_WIDHSTNUMC4SWW_WIDHST
WI_RELEASERelease of SAP System SYSAPRLCHAR4SYCHAR04
WLC_DISPLDisplay of WI in WLC modeled in step definition SWW_MODDISCHAR1SWW_MODDIS
WI_RESTLOGMinimize Number of Entries in Workflow Log SWD_NOLOGCHAR1SWD_NOLOG
REMOTE_IDWork item ID SWW_WIIDNUMC12SWW_WIIDWID
REMOTE_SYSLogical system LOGSYSCHAR10ALPHALOGSYS
STATUS_EVTFlag: Whether Event STATUS_CHANGED Is To Be Triggered (FIs) SWW_STAEVTCHAR1XFELD
TIMEOUTTime Interval Between Creation of Work Item and Timeout SWD_BI_W_OINT410SWD_TIME_O
WF_TYPEType of Workflow Definition: Standard, Checklist, Ad Hoc, .. SWD_WFTYPENUMC4SWD_DWFTYP
WLC_FLAGSWF: Internal, conversion of 4-byte integer <-> 4-byte hex. SWA_X4RAW4SWA_STATES
XMLPROTTransfer Format Used In Web Activity SWD_XMLPRTNUMC2SWD_XMLPRT
WAIT4CBWait For Feedback By XML SWD_WAIT4CCHAR1XFELD
TOP_WI_IDWorkflow: Unique ID of Top-Level Instance (6.1/get) SWFRTWIIDNUMC12SWW_WIID
DEF_GUIDWorkflow: Unique ID of Step Definition (6.1/get) SWFRDGUIDCHAR40CHAR40
EXEC_TIMEWorkflow: De Facto Execution Time in Sec (6.1/get) SWFREXECTMINT410
NOTE_COUNTNumber of Attachments SWFRNOTECNINT410
PRS_PROFILType of Persistence Profile SWD_PERSIDNUMC4SWD_PERSID
CREA_TMPWorkflow: Creation Time Stamp SWFRCRETSDEC21(7) TZNTSTMPL
CHECK_STATWorkflow: Status of Post Condition/Wait Condition SWW_CHKSTANUMC2SWW_CHKSTA
BLOCKTYPEWFM: Block Type SWP_BLOCKTYPENUMC4SWP_BLOCKTYPE
PARENT_WIParent of a Work Item SWFRPARWINUMC12SWW_WIID
RNDNUMBERWorkflow: Random Number SWF_RNDNUMNUMC2SWF_RNDNUM
WFD_IDNumber of workflow definition SWD_WFD_IDCHAR10SWD_WFDIDS
WFD_VERSIONVersion SWD_VERSIOCHAR4SWD_VERSIO
WFD_EXETYPWorkflow Type SWD_EXETYPCHAR1SWD_EXETYP
PROCCATProcess Category SWD_PROCCATCHAR10SWD_PROCCAT
TOP_TASKTask Identifier of Top-Level Task SWW_TOP_TASKCHAR14HROBJEC_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 as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!