SAP SWL_SHOW_PROCESS_DATA_TOOLBOX Function Module for WLC: Anzeigen des Workflow-Protokolls in Toolbox
SWL_SHOW_PROCESS_DATA_TOOLBOX is a standard swl show process data toolbox SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for WLC: Anzeigen des Workflow-Protokolls in Toolbox processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for swl show process data toolbox FM, simply by entering the name SWL_SHOW_PROCESS_DATA_TOOLBOX into the relevant SAP transaction such as SE37 or SE38.
Function Group: SWL7
Program Name: SAPLSWL7
Main Program: SAPLSWL7
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function SWL_SHOW_PROCESS_DATA_TOOLBOX pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'SWL_SHOW_PROCESS_DATA_TOOLBOX'"WLC: Anzeigen des Workflow-Protokolls in Toolbox.
EXPORTING
WF_ID = "
CHANGING
C_TREE_CONTROL = "
TABLES
* ET_NODES = "
* ET_ITEMS = "
* ET_CHRONVIEW_H = "
* ET_CHRONVIEW_I = "
* ET_ALV_FCAT = "
IMPORTING Parameters details for SWL_SHOW_PROCESS_DATA_TOOLBOX
WF_ID -
Data type: SWP_HEADER-WF_IDOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for SWL_SHOW_PROCESS_DATA_TOOLBOX
C_TREE_CONTROL -
Data type: CL_GUI_COLUMN_TREEOptional: No
Call by Reference: Yes
TABLES Parameters details for SWL_SHOW_PROCESS_DATA_TOOLBOX
ET_NODES -
Data type: TREEV_NTABOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_ITEMS -
Data type: SWL_TREEIT_TOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_CHRONVIEW_H -
Data type: SWL_PM_CVHOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_CHRONVIEW_I -
Data type: SWL_PM_CVIOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_ALV_FCAT -
Data type: LVC_T_FCATOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for SWL_SHOW_PROCESS_DATA_TOOLBOX Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_wf_id | TYPE SWP_HEADER-WF_ID, " | |||
| lt_et_nodes | TYPE STANDARD TABLE OF TREEV_NTAB, " | |||
| lv_c_tree_control | TYPE CL_GUI_COLUMN_TREE, " | |||
| lt_et_items | TYPE STANDARD TABLE OF SWL_TREEIT_T, " | |||
| lt_et_chronview_h | TYPE STANDARD TABLE OF SWL_PM_CVH, " | |||
| lt_et_chronview_i | TYPE STANDARD TABLE OF SWL_PM_CVI, " | |||
| lt_et_alv_fcat | TYPE STANDARD TABLE OF LVC_T_FCAT. " |
|   CALL FUNCTION 'SWL_SHOW_PROCESS_DATA_TOOLBOX' "WLC: Anzeigen des Workflow-Protokolls in Toolbox |
| EXPORTING | ||
| WF_ID | = lv_wf_id | |
| CHANGING | ||
| C_TREE_CONTROL | = lv_c_tree_control | |
| TABLES | ||
| ET_NODES | = lt_et_nodes | |
| ET_ITEMS | = lt_et_items | |
| ET_CHRONVIEW_H | = lt_et_chronview_h | |
| ET_CHRONVIEW_I | = lt_et_chronview_i | |
| ET_ALV_FCAT | = lt_et_alt_fcat | |
| . " SWL_SHOW_PROCESS_DATA_TOOLBOX | ||
ABAP code using 7.40 inline data declarations to call FM SWL_SHOW_PROCESS_DATA_TOOLBOX
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single WF_ID FROM SWP_HEADER INTO @DATA(ld_wf_id). | ||||
Search for further information about these or an SAP related objects