Programme SAP RPASR_WF_NOTIFICATION_EX - Workflow Notification: Determine Users To Be Excluded

Purpose
This report determines the users who should not receive an e-mailnotification for workflow tasks and saves the results in a databasetable (T5ASRSWNEXUSER).
This table is read when the notifications are created. Users in thistable do not obtain a notification for therelevant workflow tasks.

Prerequisites
You have selected the Organizational Management objects using the IMGactivity Determine Objects To Be Excluded,for which the assigned users are to be identified.

Selection
The report offers two functions:

  • Update of Database Table for Users To Be Excluded

  • With this function, the users linked directly to the OrganizationalManagement objects to be excluded are determined and stored in thedatabase table. The existing content of the table is overwritten.
    • Deletion of Contents of Database Table for Users To Be Excluded

    • If this function is performed, the content of the database table iscompletely deleted.
      The following parameters are available for controlling the report:
      • Test Run - No Changes Were Made to Database Table

      • If this parameter is set, the directly linked users are determined forthe Organizational Management objects to be excluded, but the resultsare not written to the database table. This enables a check to ascertainwhether it is possible to determine the users without errors.
        • Update Database Table Despite Errors for Specific Org. Management
        • Objects
          If this parameter is set and it is not a test run, the database table isupdated even if errors occurred when determining users for specificOrganizational Management objects. If, however, there are errors of ageneric kind, the database table is not updated.
          This option makes sense if a periodic background job (for example, thatdetermines the users again on a weekly basis) is scheduled for thedetermination of users to be excluded.
          Example
          An organizational unit 10004711 is entered as an object to be excludedin the corresponding Customizing table. In the meantime, thisorganizational unit is deleted in Organizational Management, althoughthis organizational unit is still entered as an object to be excluded.The next time the users to be excluded are determined, it is identifiedthat this organizational unit no longer exists, and an error messageappears for this object. Nevertheless, the users determined for theremaining objects to be excluded are written to the database table.
          Note
          SAP recommends scheduling a periodic background job as the relationshipsof the users to the Organizational Management objects can change overtime (IMG activity Schedule Job ToDetermine Users To Be Excluded).

          Output
          The report delivers a log output about the determination of the users.
          If the report is not started as a test run, the log is written under theobject HRAS and subobject WF_NOTIFICATION in theapplication log.