Show TOC

Function documentationGetting the ID of the Current Work Item Locate this document in the navigation structure

 

In order to read work item data or execute functions on the work item on your tab page, you need the ID of the work item currently displayed.

This ID must be requested from the SAP main screen.

Features

The relevant macro is:

SWL_WIDISP_GET_WI_ID

The macro could be implemented as follows:

Syntax Syntax

  1. [...]
    clear g_wi_id.
    swl_widisp_get_wi_id g_wi_id.
    [...]
End of the code.