SAP ABAP IMG Activity _RMPS_WF_NOTDLMAIL (Set Up Workflow for Undeliverable E-Mails)
Hierarchy
SAP_ABA (Software Component) Cross-Application Component
   CA-GTF-RCM (Application Component) Records and Case Management
     RMPS_CUSTOMIZING (Package) Customizing Records Management for Public Sector
IMG Activity
ID _RMPS_WF_NOTDLMAIL Set Up Workflow for Undeliverable E-Mails  
Transaction Code S_SRM_25000005   (empty) 
Created on 20040407    
Customizing Attributes _RMPS_WF_NOTDLMAIL   Set Up Workflow for Undeliverable E-Mails 
Customizing Activity    
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name _RMPS_WF_NOTDLMAIL    

Use

If an Internet mail is sent from the electronic desk and cannot be delivered, the SAP Office triggers the workflow event ERRORSENDSTATUSREACHED for each recipient that was not reached.

SAP provides a workflow template for this event which makes it easy to analyse and re-send the Internet mail. In this IMG activity, you can set up the standard workflow provided by SAP.

The prerequisite for this error processing is that the SAP system uses standard status notification (Delivery Status Notification (DSN) to inform the user that the e-mail could not be delivered.

Requirements

  • The workflow Customizing is set up in your system. You can find more information on this in the implementation guide SAP Web Application Server -> Business Management -> SAP Business Workflow -> Maintain Standard Settings.
  • When sending e-mail, the setting "only in case of errors" should be selected under Report Send Status on the tab page Send Options".

    Note that the screen section Send Status is only visible if an Internet address or a business partner was selected as the recipient (tab page Recipient).

Standard settings

The standard SAP workflows for errors in sending records, cases, (see PSRM terminology) documents or incoming post items have two steps:

  • Determining and notifying the person responsible for processing and logging the unsuccessful delivery of the objects sent (record, case, document, incoming post item) by e-mail (background step).
    The person responsible for processing the error is always the user who sent the undeliverable mail.
  • Displaying the undeliverable e-mails in the electronic desk with the option of analyzing the error and re-sending the object (dialog step).

Activities

  1. Setting Up Delegation Relationships

    In order to be able to use the standard workflow for records, cases and documents described above, you have to set up a wf delegation of the Basis BOR objects RECORD, SCASE, DOCUMENT with the Public Sector BOR objects RMPSREC, RMPSCASE, RMPSDOC.

    You make these settings in the SAP Easy Access Menu under Tools -> Business Framework -> BAPI Development -> Settings -> Delegation.

  2. Event type linkage of the workflow template with the event ERRORSENDSTATUSREACHED:

    Activate the triggering event for the following workflow template ERRORSENDSTATUSREACHED in SAP menu Business Documents Administration (area menu ID SOA_COPY) under Documents Entering Customizing -> Workflow Scenarios -> General Task Maintenance:

Key    Workflow Template    Description

55100005    RMPSDMAILREC    Wf for undeliverable e-mails record

55100006    RMPSDMAILDOC    Wf for undeliverable e-mails document

55100007    RMPSDMAILCAS    Wf for undeliverable e-mails case

55100008    RMPSDMAILPE    Wf for undeliverable e-mails incoming post

  1. Standard tasks in processor assignment

    Define the task "General Task" for the following standard tasks in the same transaction General Task Maintenance under Additional Data -> User Assignment -> Maintain -> Characteristics:

Key    Standard Task    Description

78007915    RMPSDSCASE    Display Undeliverable Mail CASE

55107921    RMPSDSDOC    Display Undeliverable Mail Document

78007914    RMPSDSPOST    Display Undeliverable Mail Incoming Post

55107917    RMPSDSREC    Display Undeliverable Mail Record

  1. Synchronize the workflow runtime buffer in the SAP menu SAP Business Workflow (area menu ID SWLD) under Administration -> Workflow Runtime -> Synchronize Runtime Buffer.
  2. If you work with user-defined element types and/or user-defined BOR objects, you have to make the appropriate settings in the IMG activity Set Global Parameters:
    • If you have defined your own element type for e-mail, you have to assign it to the parameter PSMALSPS (default entry is RM_PS_SPS_MAIL).
    • If you want to trigger the workflow event for user-defined BOR objects to, you have to assign them to the parameters PSBMLCAS (case), PSBMLDOC (document), PSBMLPOS (incoming post item), PSBMLREC (record).
    • Note that the user-defined BOR objects contain the interface IFSENDSTAT.

Example

Business Attributes
ASAP Roadmap ID 899   not to be assigned 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG _RMPS_WF_NOTDLMAIL 0 ABB0000001 Records and Case Management 
Maintenance Objects
Maintenance object type    
History
Last changed by/on SAP  20040628 
SAP Release Created in 640