If any user opnes the email (SAP inbox), other users loosing this email!
3 users (stored thier IDs in a custom config table) are receiving emails into their SAP inboxes, if outbound IDOC got fails!
But, for example if user_1 opens it, then this email is disappearing (deleting automatically) from the other 2 users's SAP inboxes!
Normally, in standard SAP, if the user_1 opened it and at the same time, if user_2 want to open it again, then system will tell him that already user_1 has opened this email!
In our case, IDOC, message type are custom developed, automatically, this email is got deleted from user_2 and user_3 SAP inobxes as soon as user_1 once opens it!
Pls. let me know the issue and how to fix it. My code is as below,
* Build Workflow element s_input_container-element = '_WI_OBJECT_ID' . s_input_container-value = idoc_number. APPEND s_input_container TO itab_input_container. * Build Email body s_swr_messag-msg_type = 'E'. s_swr_messag-line = 'IDOC failed!. APPEND s_swr_messag TO itab_swr_messag. CALL FUNCTION 'SAP_WAPI_START_WORKFLOW' EXPORTING task = 'TS00007989' language = sy-langu user = sy-uname start_asynchronous = 'X' IMPORTING return_code = v_sy_subrc TABLES input_container = itab_input_container message_lines = itab_swr_messag