IMPLEMENTATIONget_open_tasks
IMPORTING
status TYPE sww_wistat
EXPORTING
itab_swwwihead TYPE STANDARD TABLE OF swwwihead
METHOD get_open_tasks.
SELECT *
FROM swwwihead
INTO l_itab_swwwihead
WHERE wi_stat = status AND
wi_rh_task = 'TS90100108'.
IF sy-subrc = 0.
APPEND l_itab_swwwihead TO itab_swwwihead.
ENDIF.
ENDSELECT.
ENDMETHOD.