Changing the Message Layout
Context
You can change the layout of the messages that are sent to the users as required. This enables you, for example, to change the format of e-mail messages to fit the corporate identity requirements of your company.
You define the layout of the messages in the view cluster for the configuration of notifications in the message template. You can assign a message template to one or more categories. This enables you to define a separate layout for each different category.
The message template references a BSP application (see also: Business Server Pages). This in turn generates the relevant message. SAP ships the message template WORKFLOW1 and the BSP application SWN_MESSAGE1.
Procedure
-
Open the Object Navigator (transaction SE80).
-
Copy the BSP application SWN_MESSAGE1 in package SWN that is shipped by SAP.
There is a view for each delivery type and granularity (see also: Granularity and Message Structure).
The table below explains the different views and the relevant delivery type and granularity:
View
Delivery Type
Granularity
html_inbox.htm
HTML message (e-mail in HTML format)
One message per category
html_indiv.htm
HTML message (e-mail in HTML format)
One Message Per Work Item
html_multi.htm
HTML message (e-mail in HTML format)
One message contains multiple work items
plain_inbox.htm
Text-only message (e-mail in text-only format)
One message per category
plain_indiv.htm
One message per category
One Message Per Work Item
plain_multi.htm
Text-only message (e-mail in text-only format)
One message contains multiple work items
sms_inbox.htm
SMS message
One message per category
sms_indiv.htm
SMS message
One Message Per Work Item
-
Choose the appropriate view and change it as required.
-
To open the view cluster for configuring notifications, choose (transaction SWNCONFIG).
See also: Configuring Notifications (View Cluster)
-
Create a new message template by copying the WORKFLOW1 message template.
See also: Message Template
-
In the BSP URL field, enter the new BSP application.
-
Leave the value in the Handler field unchanged.
-
Depending on the granularity and delivery type, assign the message template to a category.
-
Save you entries.
-

