cancel
Showing results for 
Search instead for 
Did you mean: 

delete workitem

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

use FM SWW_WI_DELETE to delete work item.

Rgds

Reddy