SWLLOGHIST SAP (History of a Work Item) Structure details
Description: History of a Work Item
Structure field list including key, data, relationships and ABAP select examples
SWLLOGHIST 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 "History of a Work Item" 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_SWLLOGHIST TYPE SWLLOGHIST.
The SWLLOGHIST table consists of various fields, each holding specific information or linking keys about History of a Work Item data available in SAP. These include WI_ID (Work item ID), METHOD (Function name), METH_EDATE (End date of action), METH_ETIME (End time of action).. 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: Not classified
SAP SWLLOGHIST 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 |
CLIENT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
WI_ID | Work item ID | SWW_WIID | NUMC | 12 | SWWWIHEAD | SWW_WIID | WID | ||
METHOD | Function name | FUNCNAME | CHAR | 30 | TFDIR | FUNCNAME | LIB | ||
METH_EDATE | End date of action | SWW_EDATE | DATS | 8 | SYDATS | ||||
METH_ETIME | End time of action | SWW_ETIME | TIMS | 6 | SYTIME | ||||
LOG_COUNT | Counter for entries in work item log | SWW_LOGCNT | NUMC | 4 | SWW_LOGCNT | ||||
METH_USER | Actual Agent of Work Item | SWW_AAGENT | CHAR | 12 | SYCHAR12 | ||||
CODE | Exception for method | SWO_RETURN | NUMC | 4 | SWO_RETURN | ||||
ERRORTYPE | Error type | SWO_ERRTYP | NUMC | 1 | SWO_ERRTYP | ||||
WORKAREA | Application Area | ARBGB | CHAR | 20 | T100A | ARBGB | MAG | ||
MESSAGE | Message number | SWO_MSGNR | NUMC | 3 | NUMC3 | ||||
VARIABLE1 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 | ||||
VARIABLE2 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 | ||||
VARIABLE3 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 | ||||
VARIABLE4 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 | ||||
MSGTYPE | Message Type | SYMSGTY | CHAR | 1 | SYCHAR01 | ||||
PARA_NAM_1 | Name of import parameter | RS38L_IMPO | CHAR | 30 | IMPORTIN_3 | ||||
PARA_VAL_1 | Local Persistent Object Reference - BOR Compatible Unstruct. | SIBFLPORBU | CHAR | 104 | SIBFLPORBU | ||||
PARA_NAM_2 | Name of import parameter | RS38L_IMPO | CHAR | 30 | IMPORTIN_3 | ||||
PARA_VAL_2 | Local Persistent Object Reference - BOR Compatible Unstruct. | SIBFLPORBU | CHAR | 104 | SIBFLPORBU | ||||
SECT1 | Workflow: Time for Log | SWWLOGSECT | NUMC | 3 | SWWLOGSECT | ||||
SECT2 | Workflow: Time for Log | SWWLOGSECT | NUMC | 3 | SWWLOGSECT | ||||
SECT3 | Workflow: Time for Log | SWWLOGSECT | NUMC | 3 | SWWLOGSECT | ||||
SECT4 | Workflow: Time for Log | SWWLOGSECT | NUMC | 3 | SWWLOGSECT | ||||
SECT5 | Workflow: Time for Log | SWWLOGSECT | NUMC | 3 | SWWLOGSECT | ||||
TIMESTAMP | UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun) | TIMESTAMPL | DEC | 21(7) | TZNTSTMPL | ||||
CHI_LOGKEY | GUID in 'RAW' format | GUID_16 | RAW | 16 | SYSUUID | ||||
PAR_LOGKEY | GUID in 'RAW' format | GUID_16 | RAW | 16 | SYSUUID | ||||
TECH_USER | Workflow: Technical User | SWW_TECUSR | CHAR | 12 | SYCHAR12 | ||||
REQUEST | GUID in 'CHAR' Format in Uppercase | GUID_32 | CHAR | 32 | SYSUUID_C |
Key field | Non-key field |
How do I retrieve data from SAP structure SWLLOGHIST using ABAP code?
As SWLLOGHIST 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 SWLLOGHIST as there is no data to select.How to access SAP table SWLLOGHIST
Within an ECC or HANA version of SAP you can also view further information about SWLLOGHIST 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