cancel
Showing results for 
Search instead for 
Did you mean: 

Process Workflow "Z" - logon Update USR02 users

0 Kudos

gentlemen

We currently have a Z approval process for documents where the User receives an email and can approve or disapprove, after he respond to email it is fired into the SAP mail server is done reading with a User "master" and ENDORSES or disapproves the document, however we have another routine in the system that eliminates users without the X logon days in SAP USR02 table, such as approving mail users are not required to access the SAP they end up being eliminated forget to log into SAP.

Email users and the SAP are different, the only thing that can relate to each other is the email in the User registration on SAP.

There is how to make the adoption of email via exchange reflects in email User update on SAP in USR02 table, is there a function that can do this?

Accepted Solutions (0)

Answers (1)

Answers (1)

ronen_weisz
Active Contributor
0 Kudos

Well, I don't know about the logon, but how about this:

  • Make the approval task an asynchronous one terminated by events.
  • When raising the event using the SAP_WAPI_CREATE_EVENT transfer the approver as the user raising the event (you can use tables USR21 and ADR6 for the link between user and email).
  • Now have your routine which eliminates users also look at the SWWWIHEAD table's WI_AAGENT and WI_AED field before deleting the user.
0 Kudos

Thank you, I will evaluate the information.