Skip to Content
0
Former Member
Jun 09, 2009 at 09:23 AM

Workitem from SAP inbox is not getting removed

44 Views

Hello All,

Below is the FM i have used to create event ,

CALL FUNCTION 'SWE_EVENT_CREATE'

EXPORTING

objtype = 'ZIMSEC_SPE'

objkey = LS_OBJKEY " Requition ID

event = 'ZSUBMIT'

IMPORTING

EVENT_ID = IT_EVENT_ID

TABLES

EVENT_CONTAINER = IT_CONT

EXCEPTIONS

OBJTYPE_NOT_FOUND = 1

OTHERS = 2.

IF sy-subrc <> 0.

ENDIF.

IF IT_EVENT_ID IS NOT INITIAL.

COMMIT WORK.

ENDIF.

The value in LS_OBJKEY is the unique ID ...request ID in my case ....

Problem: The Workitem is not getting removed from my SAP INBOX.

Kindly share ur comments .

Thanks

Sonal