Skip to Content
Author's profile photo Bogdan Toma

Archive Processed Messages (emails)

One of the gaps found in SAP Sourcing and constantly requested by customers is the possibility to archive the processed messages list for more than the system configured number of days.

While email archiving does not come standard with SAP Sourcing, it is an easy task to implement with a custom process.

In this blog post I will detail the configurations required to archive the processed messages (emails) in Wave 10.

**similar configuration is also possible in other versions, with adaptation for the Integration Export Task**

Prerequisites

  1. FTP server with preconfigured email archive directory
  2. ACL to create Report
  3. ACL to create Scheduled Task
  4. ACL to create File Transfer Configuration **for Wave 10**

Step 1: Create custom report based on query definiton FCI-AllSentMessages

               **extra: standard query definition can be duplicated and enhanced to also archive email contents**

Screen Shot 2015-04-09 at 5.01.44 PM.png

Screen Shot 2015-04-09 at 5.04.44 PM.png

Step 2: Create File Transfer Configuration (**only for Wave 10**)

Screen Shot 2015-04-09 at 5.09.48 PM.png

Step 3: Check value of System Property messaging.savesentmsgsdays

               **this will be the basis number of days for setting the periodicity of the scheduled task**

Screen Shot 2015-04-09 at 5.16.08 PM.png

Step 4: Create Integration Export Scheduled Task

Screen Shot 2015-04-09 at 5.24.32 PM1.png

Screen Shot 2015-04-09 at 5.24.15 PM.png

Final result:

Full archive of processed messages (emails) list:

Screen Shot 2015-04-09 at 5.36.06 PM.png

Bogdan Toma

Assigned Tags

      3 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Kushagra Agrawal
      Kushagra Agrawal

      Hi Bogdon,

      Very Useful Blog!

      Best,

      Kushagra A

      Author's profile photo Former Member
      Former Member

      Very interesting!

      Does this mean you can archive the body of the email too rather than just the subject line?

      • **extra: standard query definition can be duplicated and enhanced to also archive email contents**

      Thanks,

      Mike

      Author's profile photo Bogdan Toma
      Bogdan Toma
      Blog Post Author

      Hello Mike,

      "Partially" yes. The database stores just the TOKENS. These combined with the email template itself produce the email body.

      Sample of what the database stores for a MA Renewal Reminder (sorry for the blur)

      Screen Shot 2015-04-10 at 3.57.56 PM.png

      Regards,

      Bogdan