SWL_PM_WIH SAP (Structure for inclusion of WIM logging) Structure details
Description: Structure for inclusion of WIM logging
Structure field list including key, data, relationships and ABAP select examples
SWL_PM_WIH 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 inclusion of WIM logging" 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_SWL_PM_WIH TYPE SWL_PM_WIH.
The SWL_PM_WIH table consists of various fields, each holding specific information or linking keys about Structure for inclusion of WIM logging data available in SAP. These include AGT_ADRNAM (Full name of agent), PM_ORDER (Status Numbers for WIM Log Entries in WF Log), WI_TYPE (Work item type), CLIENT (Client).. 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 SWL_PM_WIH 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 |
METHOD_NAM | Text for Function Which Was logged | SWL_FUNC | CHAR | 40 | CHAR40 | ||||
AGT_ADRNAM | Full name of agent | SWL_PM_A | CHAR | 40 | TEXT40 | ||||
PM_ORDER | Status Numbers for WIM Log Entries in WF Log | SWL_ORDER | NUMC | 4 | NUMC4 | ||||
WI_TYPE | Work item type | SWW_WITYPE | CHAR | 1 | SWW_WITYPE | ||||
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 SWL_PM_WIH using ABAP code?
As SWL_PM_WIH 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 SWL_PM_WIH as there is no data to select.How to access SAP table SWL_PM_WIH
Within an ECC or HANA version of SAP you can also view further information about SWL_PM_WIH 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