Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Differentiation of Category in Extended Notifications


I have a basic question regarding extended notifications. How does the framework understands what text it needs to apply for which category  in "General Settings"?

As I understand, the primary key of General Settings is just an setting & index. 

I have two categories: Material Workflows and Leave Management (For Fiori Apps).

Leave Management, I have added recently but my Leave Request's email got merged with the one from Material creation workflow

I have not changed anything in General Settings except from the URL



Any standard Text entered in "General Settings" in SWNCONFIG is common for all extended notification emails. Do not make these standard text specific to one workflow scenario.

It is a lot easier to add custom  text in workitem text in first place as suggested by Mike. But if you are interested to explore options in Extended notifications, refer to SAP Note 1646056

You can create your own message template and assign it to the category . Use the CL_SWN_NOTIF_WORKFLOW to change the text in the Notification.

Refer to attached SAP knowledge base article SAP Note 1646056

At the category e.g. there is the category handler (CL_SWN_CATEGORY), notification handler (CL_SWN_NOTIF_WORKFLOW) and the handler for user (CL_SWN_USER_STD). It is possible to create your own handler classes by inheriting from the standard classes. Afterwards they have to be maintained in SWNCONFIG (in this case at the category).

During runtime these classes are used instead of the standard classes. This allows the implementation of additional requirements.



0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question