SWL_PM_WIH SAP (Structure for inclusion of WIM logging) Structure details

Dictionary Type: Structure
Description: Structure for inclusion of WIM logging




ABAP Code to SELECT data from SWL_PM_WIH
Related tables to SWL_PM_WIH
Access table SWL_PM_WIH




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_NAMText for Function Which Was logged SWL_FUNCCHAR40CHAR40
AGT_ADRNAMFull name of agent SWL_PM_ACHAR40TEXT40
PM_ORDERStatus Numbers for WIM Log Entries in WF Log SWL_ORDERNUMC4NUMC4
WI_TYPEWork item type SWW_WITYPECHAR1SWW_WITYPE
CLIENTClient MANDTCLNT3T000MANDT
WI_IDWork item ID SWW_WIIDNUMC12SWWWIHEADSWW_WIIDWID
METHODFunction name FUNCNAMECHAR30TFDIRFUNCNAMELIB
METH_EDATEEnd date of action SWW_EDATEDATS8SYDATS
METH_ETIMEEnd time of action SWW_ETIMETIMS6SYTIME
LOG_COUNTCounter for entries in work item log SWW_LOGCNTNUMC4SWW_LOGCNT
METH_USERActual Agent of Work Item SWW_AAGENTCHAR12SYCHAR12
CODEException for method SWO_RETURNNUMC4SWO_RETURN
ERRORTYPEError type SWO_ERRTYPNUMC1SWO_ERRTYP
WORKAREAApplication Area ARBGBCHAR20T100AARBGBMAG
MESSAGEMessage number SWO_MSGNRNUMC3NUMC3
VARIABLE1Message Variable SYMSGVCHAR50SYCHAR50
VARIABLE2Message Variable SYMSGVCHAR50SYCHAR50
VARIABLE3Message Variable SYMSGVCHAR50SYCHAR50
VARIABLE4Message Variable SYMSGVCHAR50SYCHAR50
MSGTYPEMessage Type SYMSGTYCHAR1SYCHAR01
PARA_NAM_1Name of import parameter RS38L_IMPOCHAR30IMPORTIN_3
PARA_VAL_1Local Persistent Object Reference - BOR Compatible Unstruct. SIBFLPORBUCHAR104SIBFLPORBU
PARA_NAM_2Name of import parameter RS38L_IMPOCHAR30IMPORTIN_3
PARA_VAL_2Local Persistent Object Reference - BOR Compatible Unstruct. SIBFLPORBUCHAR104SIBFLPORBU
SECT1Workflow: Time for Log SWWLOGSECTNUMC3SWWLOGSECT
SECT2Workflow: Time for Log SWWLOGSECTNUMC3SWWLOGSECT
SECT3Workflow: Time for Log SWWLOGSECTNUMC3SWWLOGSECT
SECT4Workflow: Time for Log SWWLOGSECTNUMC3SWWLOGSECT
SECT5Workflow: Time for Log SWWLOGSECTNUMC3SWWLOGSECT
TIMESTAMPUTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun) TIMESTAMPLDEC21(7) TZNTSTMPL
CHI_LOGKEYGUID in 'RAW' format GUID_16RAW16SYSUUID
PAR_LOGKEYGUID in 'RAW' format GUID_16RAW16SYSUUID
TECH_USERWorkflow: Technical User SWW_TECUSRCHAR12SYCHAR12
REQUESTGUID in 'CHAR' Format in Uppercase GUID_32CHAR32SYSUUID_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 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!