Skip to Content
avatar image
Former Member

Extended Notifications - Subject in reminder emails

Hi Gurus:

I'm facing a problem with Extended Notification reminders.

I have created a new category to the Workflow scenario and set the REMINDER_DAYS to 1.

I'm already receiving the reminders. The thing is that I need to customize the reminder email subject. It should be different that the subject for "regular" notifications.

I set the subject for the reminder in General Settings tab. However, system is not writing the reminder email subject for this kind of emails. It always uses the same subject for all the emails: "ACTION REQUIRED:  New work item appears in your SA".

Any ideas?

Thanks in advance.

Rodrigo.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Jul 02, 2015 at 12:02 AM

    Hello

    The items in "General settings" are common for all the categories.

    You will have to enhance the SAP standard code to get a dynamic subject.

    In standard BSP appliaction SWN_MESSAGE1. Go To-> main.do-> refer to controller class

    Refer to line no 108 in DO_Request method of class

    Refer too line no 108 in DO_Request method of class CL_SWN_MESSAGE_CONTROLLER.

    You have two options. Copy SWN_MESSAGE1 and CL_SWN_MESSAGE_CONTROLLER and change the following code

    OR make use of Implicit enhancement in DO_Request method of class CL_SWN_MESSAGE_CONTROLLER

     

    TRY.

          li_view->set_attribute( name = "SUBJECT_WF_INBOX" Name of item from the General settings

                                  value = <your_custom_value>).

        CATCH cx_bsp_exception.

      ENDTRY.

    Refer to Link below

    SWNCONFIG how to dynamically determine INBOX_URL

    Regards

    Sandy

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Sandy:

      Thanks for your response. It was solved through the deliverer handler (last folder in SWNCONFIG tcode). Standard class name is CL_SWN_DELIVERER_BCS.

      Regards,

      Rodrigo.