SAP ABAP Class CL_SWN_DELIVERY_MAN (WF Notif: Message Dispatch)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-BMT-WFM (Application Component) SAP Business Workflow
     SWN (Package) Business Workflow: E-Mail Notifications for Work Items
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_SWN_DELIVERY_MAN WF Notif: Controls Message Dispatch 20030912
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_SWN_DELIVERY_MAN_STEPS WF Notif: Controls Message Dispatch (Process Steps) 20130827
3 Interface implementation (CLASS c. INTERFACES i_ref)  IF_SWN_DELIVERY_VIA_JOBS WF Notif: Creates Jobs for Delivery 20130827
Properties
Class CL_SWN_DELIVERY_MAN  
Short Description WF Notif: Message Dispatch    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SWN   Business Workflow: E-Mail Notifications for Work Items 
Created 20030912   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 IF_SWN_DELIVERY_MAN_STEPS Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
2 SWN1 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_SWN_DELIVERY_MAN WF Notif: Controls Message Dispatch 20030912
2 IF_SWN_DELIVERY_MAN_STEPS WF Notif: Controls Message Dispatch (Process Steps) 20130827
3 IF_SWN_DELIVERY_VIA_JOBS WF Notif: Creates Jobs for Delivery 20130827
Friends
Class CL_SWN_DELIVERY_MAN has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 M_DEBUG Instance attribute Private Type reference (TYPE) XFELD 20130827
2 M_FACTORY Instance attribute Protected Object reference (TYPE REF TO) IF_SWN_OBJECT_FACTORY Factory 20030912
3 M_HASH_CODE_FROM Instance attribute Private Type reference (TYPE) SWN_HASH Edit: Hash Code From 20030915
4 M_HASH_CODE_PROCESSING Instance attribute Private Type reference (TYPE) XFELD Flag for Hash Code Processing 20030916
5 M_HASH_CODE_TO Instance attribute Private Type reference (TYPE) SWN_HASH Edit: Hash Code To 20030915
6 M_LOG Instance attribute Protected Object reference (TYPE REF TO) CL_SWN_LOG Application Log 20030912
7 M_MAX_JOBS Instance attribute Private Type reference (TYPE) I 20130827
8 M_MIN_NOTIFICATIONS_PER_JOB Instance attribute Private Type reference (TYPE) I 20130827
9 M_NOTIFICATIONS Instance attribute Private Type reference (TYPE) SWNTNOTIFSUBS Notifications and Subscription 20030915
10 M_PACKAGES Instance attribute Private Type reference (TYPE) LOCAL_PACKAGE_TABLE 20130827
11 M_SCHEDULES Instance attribute Private Type reference (TYPE) SWNTDELSCHED1 Schedule Table 20030912
12 M_WITHOUT_DELIVERY Instance attribute Private Type reference (TYPE) XFELD Without Delivering Message 20030929
13 M_WITHOUT_DUE_DATE_CHECK Instance attribute Private Type reference (TYPE) XFELD Without Checking Due Date 20030929
14 M_WITHOUT_TIMESTAMPS Instance attribute Private Type reference (TYPE) XFELD Without Writing Time Stamp 20030929
15 STATISTICS Instance attribute Private Type reference (TYPE) SWN_STATISTICS 20031014
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_REMINDER Instance method Private Method Checks Whether Reminder is Due 20031128
2 COLLECT_MESSAGES_PER_USER Instance method Private Method Gather and Send Messages for Each User 20030924
3 CONSTRUCTOR Instance method Public Constructor Constructor 20030912
4 CREATE_COLLECTIVE_MESSAGE Instance method Private Method Generate Collective Message (also Inbox Msg for Each Cat.) 20030926
5 CREATE_SINGLE_MESSAGE Instance method Private Method Generate Individual Message 20030926
6 ENTERED Instance method Protected Method Log When Method Is Accessed 20030912
7 FILTER_NOTIFICATIONS Instance method Private Method 20130827
8 FIND_DUE_SCHEDULES Instance method Private Method Determine Valid Schedules 20030915
9 LEAVING Instance method Protected Method Log When Method Is Exited 20030912
10 PROCESS Instance method Public Method 20030912
11 READ_NOTIFICATIONS Instance method Private Method Determine Notifications 20030915
12 READ_SCHEDULES Instance method Private Method Read Schedules 20030912
13 READ_SUBSCRIPTIONS_BY_SCHEDULE Instance method Private Method Determine Subscriptions That Use Schedule 20030912
14 SEND_MESSAGES Instance method Private Method Construct and Send Messages 20030929
15 SEND_NOTIFICATIONS Instance method Private Method Sort Messages 20030924
16 SET_HASH_CODES Instance method Private Method Check and Set Hash Codes 20030916
Events
Class CL_SWN_DELIVERY_MAN has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 LOCAL_PACKAGE_STRUCTURE Private See coding 20130827 begin of local_package_structure. TYPES: name type string. types: count type i. types: ids type STANDARD TABLE OF SWN_NOTIFGUID with DEFAULT KEY. types: end of local_package_structure
2 LOCAL_PACKAGE_TABLE Private See coding 20130827 local_package_table type STANDARD TABLE OF local_package_structure
Method Signatures

Method CHECK_REMINDER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_LAST_SENT_TIME Call by reference Type reference (TYPE) SWN_LSENTTST letzter Sendezeitpunkt 20031128
2 Importing I_REMINDER_DAYS Call by reference Type reference (TYPE) SWN_REMINDERDAYS Anzahl Tage 20031128
# Exception Resumable Description Created on
1 REMINDER_IS_NOT_DUE Die Erinnerung ist noch nicht fällig 20031128

Method COLLECT_MESSAGES_PER_USER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DELIVERY_TYPE Call by reference Object reference (TYPE REF TO) IF_SWN_DELIVERY_TYPE Referenz auf Zustellungsart 20030924
2 Importing I_NOTIF_SUBS Call by reference Type reference (TYPE) SWNTNOTIFSUBS1 Benachrichtigungen + Abo 20030924
3 Importing I_RECIPIENT Call by reference Object reference (TYPE REF TO) IF_SWN_USER Empfänger 20030924
4 Returning R_MESSAGES Value transfer Type reference (TYPE) SWNTMSGTMPL1 Tab. mit MSG-Referenzen 20030929

Method COLLECT_MESSAGES_PER_USER on class CL_SWN_DELIVERY_MAN has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_FACTORY Call by reference Object reference (TYPE REF TO) IF_SWN_OBJECT_FACTORY Factory 20030912

Method CONSTRUCTOR on class CL_SWN_DELIVERY_MAN has no exception.

Method CREATE_COLLECTIVE_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_MESSAGE_CAT_C Call by reference Object reference (TYPE REF TO) IF_SWN_MESSAGE Inboxnachricht pro Kategorie 20030926
2 Changing C_MESSAGE_CAT_N Call by reference Object reference (TYPE REF TO) IF_SWN_MESSAGE mehrere Notifs pro Kateg. 20030926
3 Changing C_MESSAGE_N Call by reference Object reference (TYPE REF TO) IF_SWN_MESSAGE Sammelnachricht Kat. egal 20030926
4 Importing I_CATEGORY Call by reference Object reference (TYPE REF TO) IF_SWN_CATEGORY 20030926
5 Importing I_DELIVERY_TYPE Call by reference Object reference (TYPE REF TO) IF_SWN_DELIVERY_TYPE 20030926
6 Importing I_GRANULARITY Call by reference Type reference (TYPE) SWN_GRANUL 20030926
7 Importing I_ID Call by reference Type reference (TYPE) SWN_MSGTEMPLID 20030926
8 Importing I_NOTIF Call by reference Object reference (TYPE REF TO) IF_SWN_NOTIF 20030926
9 Importing I_RECIPIENT Call by reference Object reference (TYPE REF TO) IF_SWN_USER 20030926
# Exception Resumable Description Created on
1 OBJECT_NOT_FOUND Message-Object konnte nicht instanziiert werden 20030926

Method CREATE_SINGLE_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CATEGORY Call by reference Object reference (TYPE REF TO) IF_SWN_CATEGORY Kategorie 20030926
2 Importing I_DELIVERY_TYPE Call by reference Object reference (TYPE REF TO) IF_SWN_DELIVERY_TYPE Zustellungsart 20030926
3 Importing I_GRANULARITY Call by reference Type reference (TYPE) SWN_GRANUL Granularität 20030926
4 Importing I_ID Call by reference Type reference (TYPE) SWN_MSGTEMPLID Nachrichtenvorlage 20030926
5 Importing I_MSG_REMAPPED Call by reference Type reference (TYPE) SWN_REMAPPED stammt aus Remapping 20031111
6 Importing I_NOTIF Call by reference Object reference (TYPE REF TO) IF_SWN_NOTIF Benachrichtigung 20030926
7 Importing I_RECIPIENT Call by reference Object reference (TYPE REF TO) IF_SWN_USER Empfänger 20030926
8 Returning R_MESSAGE Value transfer Object reference (TYPE REF TO) IF_SWN_MESSAGE Nachricht 20030926
# Exception Resumable Description Created on
1 NOT_SINGLE_MESSAGE Es handelt sich um keiene Einzelnachricht 20030926
2 OBJECT_NOT_FOUND Objekt konnte nicht instanziiert werden 20030926
3 TEMPLATE_NOT_ASSIGNED Nachrichtenvorlage nicht gefunden 20031009

Method ENTERED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_METHOD Call by reference Type reference (TYPE) C 'unknown' Methodenname 20030912

Method ENTERED on class CL_SWN_DELIVERY_MAN has no exception.

Method FILTER_NOTIFICATIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_NOTIFICATIONS Call by reference Type reference (TYPE) SWNTNOTIFSUBS 20130827
2 Returning RE_NOTIFICATIONS Value transfer Type reference (TYPE) SWNTNOTIFSUBS 20130827

Method FILTER_NOTIFICATIONS on class CL_SWN_DELIVERY_MAN has no exception.

Method FIND_DUE_SCHEDULES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SCHEDULES Call by reference Type reference (TYPE) SWNTDELSCHEDKEY alle Zeitpläne (Schlüssel) 20030915
2 Returning R_SCHEDULES Value transfer Type reference (TYPE) SWNTDELSCHED1 nur gültige Zeitpläne 20030915

Method FIND_DUE_SCHEDULES on class CL_SWN_DELIVERY_MAN has no exception.

Method LEAVING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_METHOD Call by reference Type reference (TYPE) C 'unknown' Methodenname 20030912

Method LEAVING on class CL_SWN_DELIVERY_MAN has no exception.

Method PROCESS Signature

Method PROCESS on class CL_SWN_DELIVERY_MAN has no parameter.
Method PROCESS on class CL_SWN_DELIVERY_MAN has no exception.

Method READ_NOTIFICATIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_NOTIFICATIONS Value transfer Type reference (TYPE) SWNTNOTIFSUBS Benachrichtigungen + Abo 20030915
# Exception Resumable Description Created on
1 ILLEGAL_FILTER Die Methode FILTER_NOTIFICATIONS hat die Tabelle unerlaubt m 20050504

Method READ_SCHEDULES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_SCHEDULES Value transfer Type reference (TYPE) SWNTDELSCHEDKEY interne Tab. mit Zeitplänen 20030915

Method READ_SCHEDULES on class CL_SWN_DELIVERY_MAN has no exception.

Method READ_SUBSCRIPTIONS_BY_SCHEDULE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SCHEDULES Call by reference Type reference (TYPE) SWNTDELSCHED1 Zustellungszeitpläne 20030925
2 Returning R_SUBSCRIPTIONS Value transfer Type reference (TYPE) SWNTSUBS2 Abonnements (Schlüssel) 20030915

Method READ_SUBSCRIPTIONS_BY_SCHEDULE on class CL_SWN_DELIVERY_MAN has no exception.

Method SEND_MESSAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MESSAGES Call by reference Type reference (TYPE) SWNTMSGTMPL1 Nachrichten 20030929
2 Returning R_MESSAGE_COUNTER Value transfer Type reference (TYPE) I Anzahl gesendeter Nachr 20030930

Method SEND_MESSAGES on class CL_SWN_DELIVERY_MAN has no exception.

Method SEND_NOTIFICATIONS Signature

Method SEND_NOTIFICATIONS on class CL_SWN_DELIVERY_MAN has no parameter.
Method SEND_NOTIFICATIONS on class CL_SWN_DELIVERY_MAN has no exception.

Method SET_HASH_CODES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_HASH_CODE_FROM Call by reference Type reference (TYPE) SWN_HASH 20030916
2 Importing I_HASH_CODE_TO Call by reference Type reference (TYPE) SWN_HASH 20030916
# Exception Resumable Description Created on
1 INVALID_HASH_CODES eingegebene Hashcodes sind nicht gültig 20030916
History
Last changed by/on SAP  20110908 
SAP Release Created in 640