Show TOC

Changing the Message LayoutLocate this document in the navigation structure

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.

Note

Any new categories that you create in the administration application are automatically assigned to the standard message template WORKFLOW1. To be able to use your own message template, you must switch to the view cluster and assign the required message template to the new category.

Procedure


  1. Open the Object Navigator (transaction SE80).

  2. 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

    1. Choose the appropriate view and change it as required.

    2. To open the view cluster for configuring notifications, choose Start of the navigation path Development Next navigation step Workflow Next navigation step Administration Next navigation step Basic Settings Next navigation step Notifications Next navigation step Configuring Extended Notifications End of the navigation path (transaction SWNCONFIG ).

      See also: Configuring Notifications (View Cluster)

    3. Create a new message template by copying the WORKFLOW1 message template.

      See also: Message Template

    4. In the BSP URL field, enter the new BSP application.

    5. Leave the value in the Handler field unchanged.

    6. Depending on the granularity and delivery type, assign the message template to a category.

    7. Save you entries.