Skip to Content
0
Former Member
Nov 14, 2006 at 09:01 AM

delete workitem

25 Views

Hi,

I am using the FM

CALL FUNCTION 'SWW_WI_DELETE'

EXPORTING

wi_id = wa_evid-evtid

  • DO_COMMIT = 'X'

EXCEPTIONS

update_failed = 1

OTHERS = 2.

IF sy-subrc <> 0.

MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno

WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.

ENDIF.

ENDIF.

to delete Workitem if it is not required for me . i am passing workitem id to this function module .but it is showing work item cannot be read as error message can any body tell why it is raising this message or any other function module to delete the workitem permanently.