Wednesday 18 January 2017

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.
Tracking SAP system from Email

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
Tracking SAP system from Email

4. Select “Specific words in the message header”

Tracking SAP system from Email

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

Tracking SAP system from Email

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

Tracking SAP system from Email

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

Tracking SAP system from Email

8. Press Finish button to run the rule.

No comments:

Post a Comment