Hi friends of the Extended Notifications,
I have a business scenario, where I need to do something extra during the delivery of a notification by eMail, but my custom deliverer is not being used, as I do expect it.
What I've customized (succesfully) so far:
- Created a new scenario
- Created separate subscriptions, using standard EMAIL_HTML with "1 one message per notification"
- and filter settings and delivery schedule
The configuration works fine: New work items are selected and sent out, using the class CL_SWN_DELIVERER_BCS. If I set a break point in method CL_SWN_DELIVERER_BCS->IF_SWN_DELIVERER~SEND( ) the report SWN_SELSEN stops there and I can see the eMail being sent out through the SAP Office interface.
Now, I have created a subtype of the classCL_SWN_DELIVERER_BCS and redefined the method above. I have not changed anything, but just called the ->super( ) method, and set a break-point there.
I have now created a new delivery type YESCALATOR_HTML under SWNCONFIG, section "Delivery type".
Copied EMAIL_HTML to YESCALATOR_HTML with all depending entry.
Changed the class name within the office delivery to the subtyped class.
Now I do change the subscription setting (basic data) in the scenario, which is working, from EMAIL_HTML to YESCALATOR_HTML like this:
... i was expecting, that the delivery method send( ) from the custom class is being executed ... but actually it isn't.
What happends?
Nothing. There's no message created at all, the break-point isn't reached and ... what's even more questionable is: No application log in SLG1 for the extended notifations are created at all. No entries, no short dump. It just says "0 notificaitons sent".
Does anyone has used a custom delivery class, already? .... I mean: successfully used ?????
Best wishes
Florin
P.S.: I did search through the SAP Support Portal with CL_SWN_DELIVERER_BCS ... and there were some interesting notes, but nothing about my problem.