Hierarchy
⤷ 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_COLLECTOR | WF Notif: Determine Notifications | 20030822 |
Properties
Class | CL_SWN_COLLECTOR | |
Short Description | WF Notif: Get Notifications | |
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 | 20030822 | SAP |
Last change | 20130531 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | SWN1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
# | Interface | Abstract | Final | Description | Created on |
---|---|---|---|---|---|
1 | IF_SWN_COLLECTOR | WF Notif: Determine Notifications | 20030822 |
Friends
# | Friend | Modeled only | Created on | Description |
---|---|---|---|---|
1 | CL_SWN_TEST_HELPER | 20031006 | WF Notif: Generate Ad Hoc Objects |
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | M_FACTORY | Instance attribute | Private | Object reference (TYPE REF TO) | IF_SWN_OBJECT_FACTORY | Factory | 20030822 | ||
2 | M_FILTER_RELATION_TAB | Instance attribute | Private | Type reference (TYPE) | TT_RELATION | Relation ID for APP_OBJ_KEY (Only Valid for 1 Filter) | 20071127 | ||
3 | M_LOG | Instance attribute | Private | Object reference (TYPE REF TO) | CL_SWN_LOG | Application Log | 20030825 | ||
4 | M_PACK_SIZE_DB | Instance attribute | Private | Type reference (TYPE) | SYTABIX | Package Size for Database Operation | 20071127 | ||
5 | M_PACK_SIZE_NOTIF | Instance attribute | Private | Type reference (TYPE) | SYTABIX | Package Size Notifications | 20071127 | ||
6 | M_SCHEDULES | Instance attribute | Private | Type reference (TYPE) | SWNTCOLSCHED | Schedule Table | 20030822 | ||
7 | STATISTICS | Instance attribute | Public | Attribute reference (LIKE) | 20031014 |
Methods
Events
Class CL_SWN_COLLECTOR has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | LOCAL_TABLE_NOTIF | Private | See coding | 20130827 | local_table_notif type standard table of swn_notif with DEFAULT KEY
|
||
2 | TT_APP_OBJ_KEY | Protected | See coding | 20101108 | tt_app_obj_key TYPE SORTED TABLE OF t_app_obj_key
WITH UNIQUE KEY app_obj_key
|
||
3 | TT_NOTIF | Protected | See coding | 20101108 | tt_notif TYPE STANDARD TABLE OF swn_notif
|
||
4 | TT_NOTIFSTRING | Protected | See coding | 20100726 | tt_notifstring TYPE STANDARD TABLE OF t_notifstring
|
||
5 | TT_RELATION | Protected | See coding | 20071127 | tt_relation TYPE SORTED TABLE OF t_relation
WITH NON-UNIQUE KEY app_obj_key
|
||
6 | T_APP_OBJ_KEY | Protected | See coding | 20101108 | BEGIN OF t_app_obj_key,
app_obj_key TYPE swn_notif-app_obj_key,
END OF t_app_obj_key
|
||
7 | T_NOTIFSTRING | Protected | See coding | 20100726 | BEGIN OF t_notifstring, " note 1488974
scenario TYPE string,
filter TYPE string,
app_obj_key TYPE string,
id TYPE string,
cl_notif TYPE string,
cl_user TYPE string,
msgtmpl_id TYPE string,
app_obj_type TYPE string,
category TYPE string,
recipient_id TYPE string,
recipient_type TYPE string,
recipient_hash TYPE swn_notif-recipient_hash,
reliability TYPE swn_notif-reliability,
deliver_asap TYPE swn_notif-deliver_asap,
priority TYPE swn_notif-priority,
instid TYPE sibfinstid,
typeid TYPE sibftypeid,
catid TYPE sibfcatid,
operation TYPE swn_notifop,
status TYPE swn_notif-status,
filter_applied TYPE swn_notif-filter_applied,
last_modified TYPE swn_notif-last_modified,
last_modified_by TYPE string,
sap_release TYPE string,
app_obj_status TYPE swn_notif-app_obj_status,
recipient_hash2 TYPE string,
END OF t_notifstring
|
||
8 | T_RELATION | Protected | See coding | 20071127 | BEGIN OF t_relation, "note 1488974
id TYPE string,
app_obj_key TYPE string,
END OF t_relation
|
Method Signatures
Method BUILD_RELATION_TABLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_FILTER | Call by reference | Object reference (TYPE REF TO) | IF_SWN_FILTER | Filter | 20071127 | ||
2 | Importing | I_SCENARIO | Call by reference | Object reference (TYPE REF TO) | IF_SWN_SCENARIO | Scenario | 20071127 |
Method BUILD_RELATION_TABLE on class CL_SWN_COLLECTOR has no exception.
Method CLEANUP_NOTIFICATIONS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_FILTER | Call by reference | Object reference (TYPE REF TO) | IF_SWN_FILTER | Filter | 20030825 |
Method CLEANUP_NOTIFICATIONS on class CL_SWN_COLLECTOR 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 | 20030822 |
Method CONSTRUCTOR on class CL_SWN_COLLECTOR has no exception.
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 | Betretene Methode | 20030826 |
Method ENTERED on class CL_SWN_COLLECTOR 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) | SWNTCOLSCHED | Zeitpläne | 20031002 | ||
2 | Returning | R_SCHEDULES | Value transfer | Type reference (TYPE) | SWNTCOLSCHED | fällige Zeitpläne | 20031002 |
Method FIND_DUE_SCHEDULES on class CL_SWN_COLLECTOR has no exception.
Method GET_NOTIFICATIONS_SUBSCRIBED Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_ACTION | Call by reference | Type reference (TYPE) | STRING | 20130827 | |||
2 | Importing | IM_CLASSES | Call by reference | Type reference (TYPE) | SWFSTRTAB | 20130827 | |||
3 | Importing | IM_NOTIFICATIONS | Call by reference | Type reference (TYPE) | SWNTNOTIF1 | 20130827 | |||
4 | Returning | RE_NOTIFICATIONS | Value transfer | Type reference (TYPE) | SWNTNOTIF1 | 20130827 |
Method GET_NOTIFICATIONS_SUBSCRIBED on class CL_SWN_COLLECTOR has no exception.
Method GET_OPEN_NOTIFS_BY_APP_OBJ_KEY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_NOTIF | Call by reference | Type reference (TYPE) | TT_NOTIF | offene Notifications | 20101108 | ||
2 | Importing | IT_APP_OBJ_KEY | Call by reference | Type reference (TYPE) | TT_APP_OBJ_KEY | Tabelle mit APP_OBJ_KEY | 20101108 | ||
3 | Importing | I_FILTER | Call by reference | Object reference (TYPE REF TO) | IF_SWN_FILTER | WF Notif: Filter | 20101108 | ||
4 | Importing | I_SCENARIO | Call by reference | Object reference (TYPE REF TO) | IF_SWN_SCENARIO | WF Notif: Szenario | 20101108 |
Method GET_OPEN_NOTIFS_BY_APP_OBJ_KEY on class CL_SWN_COLLECTOR has no exception.
Method GET_PACKAGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_NEXT_START | Call by reference | Type reference (TYPE) | SYTABIX | Index interner Tabellen | 20071127 | ||
2 | Exporting | E_NOTIF_PACK | Call by reference | Type reference (TYPE) | SWNTNOTIF1 | Benachricht. wie von Szenario übergeben | 20071127 | ||
3 | Importing | I_NOTIF | Call by reference | Type reference (TYPE) | TT_NOTIFSTRING | Benachricht. wie von Szenario übergeben | 20071127 | ||
4 | Importing | I_START | Call by reference | Type reference (TYPE) | SYTABIX | Index interner Tabellen | 20071127 |
Method GET_PACKAGE on class CL_SWN_COLLECTOR has no exception.
Method GET_SUBSCRIPTION_CLASSES 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) | SWNTNOTIF1 | 20130827 | |||
2 | Returning | RE_CLASSES | Value transfer | Type reference (TYPE) | SWFSTRTAB | 20130827 |
Method GET_SUBSCRIPTION_CLASSES on class CL_SWN_COLLECTOR has no exception.
Method GET_VISU_TASKS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | R_TASKS | Value transfer | Type reference (TYPE) | SWNTVT | Tabelle von Task/Visu-Typ-Paaren | 20031006 |
Method GET_VISU_TASKS on class CL_SWN_COLLECTOR has no exception.
Method HANDLE_OBSOLETE_NOTIFICATIONS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_CNT_DEL | Call by reference | Type reference (TYPE) | SYDBCNT | Anzahl logisch gelöschter Benachrichtigungen | 20071127 | ||
2 | Importing | I_FILTER | Call by reference | Object reference (TYPE REF TO) | IF_SWN_FILTER | Filter | 20071127 | ||
3 | Importing | I_MERGE_MODE | Call by reference | Type reference (TYPE) | SWN_MERGEMODE | Abmischmodus | 20071127 | ||
4 | Importing | I_NOTIF | Call by reference | Type reference (TYPE) | TT_NOTIFSTRING | WF Notif: Benachrichtigungen (interne Tab.) | 20071127 | ||
5 | Importing | I_SCENARIO | Call by reference | Object reference (TYPE REF TO) | IF_SWN_SCENARIO | Scenario | 20071127 | ||
6 | Importing | I_TIMESTAMP | Call by reference | Type reference (TYPE) | SWN_FILTAPPL | Timestamp für Anwendung des Filters | 20071127 |
Method HANDLE_OBSOLETE_NOTIFICATIONS on class CL_SWN_COLLECTOR has no exception.
Method INSERT_DATABASE_TABLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_DATABASE_ENTRIES | Call by reference | Type reference (TYPE) | LOCAL_TABLE_NOTIF | 20130827 | |||
2 | Returning | RE_DBCNT | Value transfer | Type reference (TYPE) | SYDBCNT | 20130827 |
Method INSERT_DATABASE_TABLE on class CL_SWN_COLLECTOR has no exception.
Method IS_SUBSCRIPTION_CLASS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_CLASS_NAME | Call by reference | Type reference (TYPE) | SWN_USRCLASS | 20130827 | |||
2 | Returning | RE_IS_SUBSCRIPTION_CLASS | Value transfer | Type reference (TYPE) | XFELD | 20130827 |
Method IS_SUBSCRIPTION_CLASS on class CL_SWN_COLLECTOR 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 | Verlassene Methode | 20030826 |
Method LEAVING on class CL_SWN_COLLECTOR has no exception.
Method MODIFY_DATABASE_TABLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_DATABASE_ENTRIES | Call by reference | Type reference (TYPE) | LOCAL_TABLE_NOTIF | 20130827 | |||
2 | Returning | RE_DBCNT | Value transfer | Type reference (TYPE) | SYDBCNT | 20130827 |
Method MODIFY_DATABASE_TABLE on class CL_SWN_COLLECTOR has no exception.
Method PREPARE_INSERT_TABLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_NOTIF_NEW | Call by reference | Type reference (TYPE) | SWNTNOTIF1 | 20130827 | |||
2 | Returning | RE_NOTIF_INSERT | Value transfer | Type reference (TYPE) | LOCAL_TABLE_NOTIF | 20130827 |
Method PREPARE_INSERT_TABLE on class CL_SWN_COLLECTOR has no exception.
Method PREPARE_MODIFY_TABLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_CNT_DEL | Value transfer | Type reference (TYPE) | SYDBCNT | Bearbeitete Datenbanktabellenzeilen | 20130827 | ||
2 | Exporting | E_NOTIF_MODIFY | Value transfer | Type reference (TYPE) | LOCAL_TABLE_NOTIF | 20130827 | |||
3 | Importing | IM_NOTIF_MOD | Call by reference | Type reference (TYPE) | SWNTNOTIF1 | 20130827 |
Method PREPARE_MODIFY_TABLE on class CL_SWN_COLLECTOR has no exception.
Method PROCESS Signature
Method PROCESS on class CL_SWN_COLLECTOR has no parameter.
Method PROCESS on class CL_SWN_COLLECTOR has no exception.
Method PROCESS_FILTER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_FILTER | Value transfer | Type reference (TYPE) | SWN_FILTID | ID eines Filters | 20050718 | ||
2 | Importing | I_SCENARIO | Call by reference | Type reference (TYPE) | SWN_SCENID | ID eines Scenarios | 20050718 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NOT_FOUND | Filter nicht vorhanden | 20050718 |
Method READ_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) | SWNTCOLSCHED | diese Zeitpläne aus Datenbank lesen | 20030929 | ||
2 | Returning | R_SCHEDULES | Value transfer | Type reference (TYPE) | SWNTCOLSCHED | Zeitpläne | 20031002 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NOT_FOUND | Nicht alle Zeitpläne konnten gelesen werden | 20030929 |
Method REMAP Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | C_NOTIF | Call by reference | Type reference (TYPE) | SWNTNOTIF1 | Benachrichtigungen | 20030825 | ||
2 | Importing | I_SCENARIO | Call by reference | Type reference (TYPE) | SWN_SCENID | Szenario | 20031006 |
Method REMAP on class CL_SWN_COLLECTOR has no exception.
Method UPDATE_NOTIFICATIONS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_CNT_DEL | Call by reference | Type reference (TYPE) | SYDBCNT | Anzanl logisch gelöschter Benachrichtigungen | 20071127 | ||
2 | Exporting | E_CNT_INS | Call by reference | Type reference (TYPE) | SYDBCNT | Anzahl eingefügter Benachrichtigungen | 20071127 | ||
3 | Exporting | E_CNT_MOD | Call by reference | Type reference (TYPE) | SYDBCNT | Anzahl geänderter Benachrichtigungen | 20071127 | ||
4 | Importing | I_FILTER | Call by reference | Object reference (TYPE REF TO) | IF_SWN_FILTER | Filter | 20030825 | ||
5 | Importing | I_MERGE_MODE | Call by reference | Type reference (TYPE) | SWN_MERGEMODE | Abmischmodus | 20031017 | ||
6 | Importing | I_NOTIF | Call by reference | Type reference (TYPE) | SWNTNOTIF1 | Benachricht. wie von Szenario übergeben | 20030825 | ||
7 | Importing | I_SCENARIO | Call by reference | Object reference (TYPE REF TO) | IF_SWN_SCENARIO | Scenario | 20030825 | ||
8 | Importing | I_TIMESTAMP | Call by reference | Type reference (TYPE) | SWN_FILTAPPL | Timestamp für Anwendung des Filters | 20030825 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | INVALID_CONFIGURATION | Die Konfiguration ist unvollständig oder ungültig | 20030902 |
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 640 |