Skip to Content
Author's profile photo Eddie Morris

Remember that 50 byte limit on emails from workflow?

Just a quick note to let everyone know that the 50 byte limit of emails sent from workflow (Send Mail step using object SELFITEM and method SendTaskDescription) has been increased. If you use expressions in your mail title it can often exceed the 50 byte limit at runtime so if these emails were send to your email system they would be truncated.

Apply note 1609811 to get the functionality and note 1658491 to add the enable option to transaction SWPA.

[1] Details of note 1609811

Improvement
At the time of the definition, the mail title with the container expressions may be up to 120 bytes long. During the runtime, the expressions are replaces with values. Here, the system supports a length of up to 255 bytes. The new feature must be activated explicitly with SWPA. Finally, the maximum length also depends on the e-mail client. The SAP Business Workplace SBWP still only displays the first 50 bytes. However, if you post to an Internet address (TYPEID = ‘U’) or if you use the automatic forwarding to an Internet address (SO12), Microsoft Outlook, for example, can display up to 255 bytes.

Benefits
Informative e-mail titles greatly facilitate working with e-mails Only adding container data makes it possible to search for, sort, and filter e-mails according to business-relevant criteria.

Available in the following Support Packages

Software Component                        Release     Package name
________________________________________________________________________
SAP Basis component
(SAP_BASIS)                                  700          SAPKB70027
                                                      701          SAPKB70112
                                                      702          SAPKB70212
                                                      710          SAPKB71015
                                                      711          SAPKB71110
                                                      720          SAPKB72008
                                                      730          SAPKB73008
                                                      731          SAPKB73104

Note that you also require SAP Note 1658491.

[2] Details of note 1658491

Solution

Note that you have to perform manual pre-implementation steps. See the note for details. Once done, apply the note via SNOTE and afterwards a new checkbox for long mail titles is displayed in transaction SWPA in the frame “Office Documents in Workflow”. Choose this checkbox and save.

Details of new workflow functionality is available here.

Assigned Tags

      11 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Pavan Bhamidipati
      Pavan Bhamidipati

      Thanks Eddie

      Author's profile photo nabheet madan
      nabheet madan

      Wow..Relief..Thanks for sharing..:)

      Author's profile photo Susan Keohan
      Susan Keohan

      Hi Eddie,

      As a workflow developer who has struggled to explain why subject lines were truncated (and basically floundering because I could see no logic to the 50 char rule) I am very happy to see this note!  Our customers are busy and maybe even distracted - they need to see as much of the story about a workitem as can possibly be shown.  This is one example of SAP listening to customer requirements and implementing a change - albeit a small(ish) one!

      Thanks for keeping us posted - and keep up the good work!
      Sue

      Author's profile photo Eddie Morris
      Eddie Morris
      Blog Post Author

      Thanks Sue.

      Regards,

      Eddie

      Author's profile photo Syam Babu
      Syam Babu

      Hi Eddie,

      Thanks for the sharing the information...

      Syam.

      Author's profile photo Former Member
      Former Member

      This is a welcome change.  Like Sue says, a small change that makes the customers work look better.  Maybe we can avoid that embarrassing gaffe when the 'Associate Professor' title gets truncated to the first 3 characters!

      Jim

      Author's profile photo Eddie Morris
      Eddie Morris
      Blog Post Author

      Thanks very much for the feedback. It is a small(ish) change and lets hope there will be more like it. If there is something that you feel would improve the workflow engine you can submit your requirement at https://service.sap.com/influence.

      Author's profile photo Vinoth Kumar
      Vinoth Kumar

      Thanks Eddie.. for sharing the information

      Vinoth

      Author's profile photo Anjan Paul
      Anjan Paul

      Thanks Eddie. It is really helpful.

      Author's profile photo Satish Kumar Rangaswami
      Satish Kumar Rangaswami

      Thanks Eddie for sharing.

      It is something SAP should have addressed ages ago, but nevertheless......

      Author's profile photo Murali Krishna
      Murali Krishna

      Thanks Eddie for sharing very helpful document......