Skip to Content
Author's profile photo Niyaz Ahamed

Tracking SAP system from Email

Sometimes during system refresh or upgrade, basis team forget to turn off the mail settings in SCOT. This results in sending emails from non productive environment and creates a big impact for business and increases support team effort. In this blog, I would like to explain how to trace the system which has triggered the email and steps to remove from user’s inbox.

  1. Get an original email received by the user. This needs to be received as mail attachment and not forwarded
  2. Open the email and click on File->Properties
  3. In the Internet headers section, scroll down until you find Date, From, Subject.
  4. Note the IP address in the Received section.

use function module RFC_IP_TO_HOST to get the host name or logon to transaction OS01(Application server) to find the host name. This would help in finding the system which triggered email. There are many other ways as well which you could search in SCN.

Removing emails

Below procedure would help to remove the non production environment emails from user’s inbox. This might not be helpful if there are too many users involved. You may consider exporting and importing rule.

  1. Open outlook and click on Rules->Manage Rules & Alerts
  2. Select New rule
  3. Select start from a blank rule

4. Select “Specific words in the message header”

5. Click on specific words under Step 2 and enter the IP address which you have found earlier and press add button.

6. Select the required action. I have chosen to delete it

7. Press next and give a name to this rule.

8. Press Finish button to run the rule.

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Good information.
      Short and crisp. 

      Author's profile photo Former Member
      Former Member

      Useful article. Thank you for sharing

      Author's profile photo Claus Andreasen
      Claus Andreasen

      Well done Niyaz, good post, shotrt and sharp.