deadline notification and forwarding

Omkaram, Raju omkaram.raju at mbco.com
Sun Jul 11 19:26:58 EDT 2004


I have just fixed the issue we had where deadline notification needs to be
sent 'Who has it' who should have it next' who had before (immediate one)'.
I accomplished all in rule responsibility of Deadline monitor. It is working
just fine. I usually do not touch SAP standard jobs, it is just me though.
 
I always use modeled Deadline monitoring. If actual agent is not found until
the agent clicks on it then I would recommend using FM 'RH_WI_AGENTS_GET' to
find the agent to be and pass this one to the actor table of the rule.
 
Hope this helps.
 
Raju
 
-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU]On Behalf Of
Vinod Ramchandani
Sent: Friday, July 09, 2004 3:38 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: deadline notification and forwarding
 
 
Matthias,
 
We have achieved similar functionality as per below.
(1) we have copied standard e-mail notification program RSWUWFML.
(2) go to form routine SELECT_WORKITEMS
(3) Insert code given below after SELECT...ENDSELECT for active workitems.
***************************************************************************
***     Forwarded Workitems
 
      SELECT wi_id INTO fw_id
                   FROM swwwihead
                  WHERE ( ( wi_type = 'D'
                     OR wi_type = 'F'
                     OR wi_type = 'W' )
                    AND ( wi_stat = 'WAITING' OR wi_stat = 'READY'
                     OR wi_stat = 'SELECTED' OR wi_stat = 'STARTED'
                     OR wi_stat = 'ERROR' ) )
                AND NOT wi_forw_by = '          '.
 
        SELECT SINGLE wi_id INTO fw_id
                           FROM swwloghist
                          WHERE wi_id = fw_id
                            AND method = 'SWW_WI_FORWARD'
                            AND ( meth_edate > from_date
                             OR ( meth_edate = from_date
                            AND meth_etime > from_time ) )
                            AND ( meth_edate < to_date
                             OR ( meth_edate = to_date
                            AND meth_etime <= to_time ) ).
 
        IF sy-subrc = 0.
          MOVE fw_id TO wi_id_tab.
          APPEND wi_id_tab.
 
        ENDIF.
      ENDSELECT.
***************************************************************************
Only above change will solve the purpose.
You can create variant and schedule the Job to send the deadline
notifications to users who have
forwarded overdued workitems in their inbox.
 
If you want to construct separate message subject and body for such mails
then you can modify
form routine SEND_MESSAGES accordingly.
 
Get back to me if you have any further queries.
 
Thanks and Regards
Vinod Ramchandani,
SAP Workflow Consultant.
 
 
 
 
 
-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU]On Behalf Of
Dart, Jocelyn
Sent: Friday, July 09, 2004 6:20 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: deadline notification and forwarding
 
 
Matthias,
The actual agent isn't the actual agent until they have completed the work
item.  By which time the need for the deadline notification is passed.
If you want further control then instead of using simple deadlines, use the
modeled deadline event,
add a step to call the relevant WAPI to find the current agents of the work
item, and send them a mail in a
send mail step.
Jocelyn
 
-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU] On Behalf Of
PSINOVA AG - Matthias Hilpert
Sent: Thursday,8 July 2004 6:24 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: deadline notification and forwarding
 
 
Hi there,
 
is it possible to send a deadline notification item to the actual agent in
case of forwarding (instead of the first receiver of the workitem)?
 
(Rel. 4.7)
 
Thanks
Matthias
 
"This e-mail may contain confidential and/or legally privileged material for the sole use of the intended recipient.  Any review or distribution by others is strictly prohibited.  If you are not the intended recipient, please contact the sender and delete all copies."
 


More information about the SAP-WUG mailing list