Help How to reset the deadline on a forwarded workitem?

Halladay, Liz (Calgary) Liz_Halladay at nexeninc.com
Tue Jul 6 18:15:35 EDT 2010


 Rick,

Below is the code that I am using to update the deadline:

w_deadline-wi_dattype = 'DE'. "Required End
w_deadline-wi_date = sy-datum.
w_deadline-wi_time = sy-uzeit + ( 10 * 60 ).

APPEND w_deadline TO lt_deadline.
CALL FUNCTION 'SWW_WI_DEADLINES_CHANGE'
  EXPORTING
    wi_id               = wi_id
    do_commit           = 'X'
  TABLES
    deadline_attributes = lt_deadline
  EXCEPTIONS
    no_authorization    = 1
    invalid_type        = 2
    update_failed       = 3
    invalid_status      = 4
    OTHERS              = 5.

IF sy-subrc <> 0.
  MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
          WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.


This does reset the workitem DesiredEndDate and DesiredEndTime, however
in the SAP Inbox the workitem is still displayed with a Deadline Already
Missed icon and the scrolling message "The following deadline was missed
Requested end".  I thought that maybe after the background job RSwwDHEX
ran it would reset this, but it never seems to get rid of the icon and
this message.  Even with me refreshing the inbox.

-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of sap-wug-request at mit.edu
Sent: Tuesday, July 06, 2010 3:46 AM
To: sap-wug at mit.edu
Subject: SAP-WUG Digest, Vol 68, Issue 33

Send SAP-WUG mailing list submissions to
	sap-wug at mit.edu

To subscribe or unsubscribe via the World Wide Web, visit
	http://mailman.mit.edu/mailman/listinfo/sap-wug
or, via email, send a message with subject or body 'help' to
	sap-wug-request at mit.edu

You can reach the person managing the list at
	sap-wug-owner at mit.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of SAP-WUG digest..."


Today's Topics:

   1. RE: SAP-WUG Digest, Vol 68, Issue 1 (Michael Ghyoot)
   2. Help How to reset the deadline on a forwarded workitem?
      (Rick Bakker)
   3. RE: Help How to reset the deadline on a forwarded workitem?
      (Michael Ghyoot)


----------------------------------------------------------------------

Message: 1
Date: Tue, 6 Jul 2010 10:01:45 +0100
From: Michael Ghyoot <michael.ghyoot at uk.ciber.com>
Subject: RE: SAP-WUG Digest, Vol 68, Issue 1
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
	<261D5DD348D0904192CBD483EBE211733A8AE29A41 at UKEXCH01.ASCENT.COM>
Content-Type: text/plain; charset="us-ascii"

Liz,

I'm trying to achieve the same function currently. On ECC6 against the
item there are Program exits that I'm attempting to use.  Not working
yet though.

So far: (implemented interface)
ls_wihead = im_workitem_context->get_header( ).
lv_action = im_workitem_context->get_action_name( ).
lv_wiid = im_workitem_context->GET_WORKITEM_ID( ).

  IF im_event_name = swrco_event_before_action
  and lv_action = swrco_f_forward_workitem.

*--> Call to Private method.
*    me->after_status_change( ).

If I succeed I'll let you know, this should allow for the functionality
to be inserted on any WF item which is always a request from clients.

Mike. 
-----Original Message-----
From: sap-wug-bounces at MIT.EDU [mailto:sap-wug-bounces at MIT.EDU] On Behalf
Of Halladay, Liz (Calgary)
Sent: 05 July 2010 17:53
To: sap-wug at MIT.EDU
Subject: RE: SAP-WUG Digest, Vol 68, Issue 1


 Rick,

I tried using the function module SWW_WI_DEADLINES_CHANGE.  This didn't
seem to effect the deadline.

The container elements that I am initializing are the deadline_date and
deadline_time and loop_cnt that I am using for the Requested End.  I am
initializing them to the system date and time as the first step in the
enhancement I put in the function module SWW_WI_FORWARD.

What is "normal" deadline behaviour when a workflow item gets forwarded
to another approver?  My requirement is to restart the deadline every
time that it gets forwarded.  Within the workflow I handle this by
simply updating the container elements deadline_date and deadline_time
and loop_cnt.  But as I mentioned this doesn't seem to work when a user
right clicks on the workitem from their SAP Inbox and chooses "Forward".

I appreciate your help!! 

-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of sap-wug-request at mit.edu
Sent: Wednesday, June 30, 2010 11:17 PM
To: sap-wug at mit.edu
Subject: SAP-WUG Digest, Vol 68, Issue 1

Send SAP-WUG mailing list submissions to
	sap-wug at mit.edu

To subscribe or unsubscribe via the World Wide Web, visit
	http://mailman.mit.edu/mailman/listinfo/sap-wug
or, via email, send a message with subject or body 'help' to
	sap-wug-request at mit.edu

You can reach the person managing the list at
	sap-wug-owner at mit.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of SAP-WUG digest..."


Today's Topics:

   1. Help How to reset the deadline on a forwarded workitem?
      (Keohan, Susan - 1140 - MITLL)
   2. Re: Help How to reset the deadline on a forwarded workitem?
      (Rick Bakker)
   3. RE: Delete Workitem (Patil, Priyank)


----------------------------------------------------------------------

Message: 1
Date: Wed, 30 Jun 2010 15:01:33 -0400
From: "Keohan, Susan - 1140 - MITLL" <keohan at ll.mit.edu>
Subject: Help How to reset the deadline on a forwarded workitem?
To: "SAP Workflow Users' Group" <sap-wug at MIT.EDU>
Message-ID: <201006301901.o5UJ0KxI009958 at mailhub-dmz-3.mit.edu>
Content-Type: text/plain; charset="us-ascii"

 

From: mailman-bounces at mit.edu [mailto:mailman-bounces at mit.edu] On Behalf
Of
Halladay, Liz (Calgary)
Sent: Wednesday, June 30, 2010 1:36 PM
To: sap-wug-owner at mit.edu
Subject: Help How to reset the deadline on a forwarded workitem?

 

I have a modeled deadline for Requested End in a custom workflow. If the
deadline is reached and the user goes into their SAP Inbox and simply
right
clicks on the workflow item and forwards it to another user, I need to
be
able to reset the deadline as if it has never been reached because it's
in a
new users Inbox.

I have added an enhancement to the function module SWW_WI_FORWARD to
change
the container elements that are used in the expression of the Requested
End
expression.  However , that doesn't seem to reset the deadline. ?

Your help is appreciated. 

Liz Halladay 
Business Consultant, SAP Solution Center 

Nexen Inc. 
801-7th Avenue S.W. 
Calgary,  AB, Canada T2P 3P7 
 <http://www.nexeninc.com/> www.nexeninc.com 

T: (403) 699-4843   ::   F: (403) 699-5785   ::   C: (403) 470-3167   

Please consider the environment before printing this e-mail 

 

************************************************************ 
IMPORTANT NOTICE: This message is intended for the individual or entity
to
which it is addressed and may contain information that is privileged,
confidential, and/or exempt from disclosure under applicable law. If you
are
not the intended recipient, you are hereby notified that copying,
forwarding
or other dissemination or distribution of this message is prohibited and
that taking any action in reliance on the content of this message is to
be
avoided. Should you receive this e-mail in error, please notify the
sender
immediately via e-mail or call (403) 699-4000 and delete this message
from
your system. Thank you. 
************************************************************ 

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://mailman.mit.edu/pipermail/sap-wug/attachments/20100630/a6393960/a
ttachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5279 bytes
Desc: not available
Url :
http://mailman.mit.edu/pipermail/sap-wug/attachments/20100630/a6393960/s
mime-0001.bin

------------------------------

Message: 2
Date: Thu, 1 Jul 2010 07:39:53 +0800
From: Rick Bakker <rbakker at gmail.com>
Subject: Re: Help How to reset the deadline on a forwarded workitem?
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
	<AANLkTildWHCLkRv9BFv7erWBOMF28zZmjudyzYpVTbab at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hello Liz,

I searched for *DEADLINE* in SE37 and got:
SWL_ADM_DEADLINE_CHANGE
SWW_WI_DEADLINES_CHANGE

I'd try the second one first.
Which container elements did you change?

regards
Rick Bakker
Hanabi Technology

On Thu, Jul 1, 2010 at 3:01 AM, Keohan, Susan - 1140 - MITLL
<keohan at ll.mit.edu> wrote:
>
>
> From: mailman-bounces at mit.edu [mailto:mailman-bounces at mit.edu] On
Behalf Of
> Halladay, Liz (Calgary)
> Sent: Wednesday, June 30, 2010 1:36 PM
> To: sap-wug-owner at mit.edu
> Subject: Help How to reset the deadline on a forwarded workitem?
>
>
>
> I have a modeled deadline for Requested End in a custom workflow. If
the
> deadline is reached and the user goes into their SAP Inbox and simply
right
> clicks on the workflow item and forwards it to another user, I need to
be
> able to reset the deadline as if it has never been reached because
it's in a
> new users Inbox.
>
> I have added an enhancement to the function module SWW_WI_FORWARD to
change
> the container elements that are used in the expression of the
Requested End
> expression.? However , that doesn't seem to reset the deadline. ?
>
> Your help is appreciated.
>
> Liz Halladay
> Business Consultant, SAP Solution Center
>
> Nexen Inc.
> 801-7th Avenue S.W.
> Calgary,? AB, Canada T2P 3P7
> www.nexeninc.com
>
> T: (403) 699-4843?? ::?? F: (403) 699-5785?? ::?? C: (403) 470-3167
>
> Please consider the environment before printing this e-mail
>
>
>
> ************************************************************
> IMPORTANT NOTICE: This message is intended for the individual or
entity to
> which it is addressed and may contain information that is privileged,
> confidential, and/or exempt from disclosure under applicable law. If
you are
> not the intended recipient, you are hereby notified that copying,
forwarding
> or other dissemination or distribution of this message is prohibited
and
> that taking any action in reliance on the content of this message is
to be
> avoided. Should you receive this e-mail in error, please notify the
sender
> immediately via e-mail or call (403) 699-4000 and delete this message
from
> your system. Thank you.
> ************************************************************
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>



------------------------------

Message: 3
Date: Thu, 1 Jul 2010 10:46:22 +0530
From: "Patil, Priyank" <Priyank.Patil at keane.com>
Subject: RE: Delete Workitem
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
	
<79908A2D8E564E40BF42221D2EC963777DC94451EA at MAIL801.KDS.KEANE.COM>
Content-Type: text/plain; charset="us-ascii"

If you use SWWL it will delete the WI from the underlying database. I
suggest you to use Rick's solution for this.

Thanks,
Priyank

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Cathy
Sent: Wednesday, June 30, 2010 7:28 PM
To: SAP Workflow Users' Group
Subject: Re: Delete Workitem

Transaction SWWL will help you do this.  Delete the last workitem in the
workflow.

Cathy

--- On Wed, 6/30/10, Rick Bakker <rbakker at gmail.com> wrote:

From: Rick Bakker <rbakker at gmail.com>
Subject: Re: Delete Workitem
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Date: Wednesday, June 30, 2010, 1:18 AM
Hello,

I would try fm SAP_WAPI_RESERVE_WORKITEM first. Reserve it for A.
Otherwise, look at the other SAP_WAPIs, maybe you can forward it from B
to A.

regards
Rick Bakker
Hanabi Technology

On Wed, Jun 30, 2010 at 2:10 PM, velsankar sundar
<svelsankar at gmail.com<http://us.mc1136.mail.yahoo.com/mc/compose?to=svel
sankar at gmail.com>> wrote:
> Hi,
>      My question is the workitem is present in the inbox of 2 users.
Ex :
> User A and User B.
>
> Now, i want to delete or disable the workitem in User B's inbox only.
> I have to do this programmatically. Is there any possible solution.
>
> --
> Thanks & Regards,
> S.Velsankar
>
> _______________________________________________
> SAP-WUG mailing list
>
SAP-WUG at mit.edu<http://us.mc1136.mail.yahoo.com/mc/compose?to=SAP-WUG@mi
t.edu>
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>

_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu<http://us.mc1136.mail.yahoo.com/mc/compose?to=SAP-WUG@mi
t.edu>
http://mailman.mit.edu/mailman/listinfo/sap-wug



______________________________________________________________________
Disclaimer:  This email message and any attachments are for the sole use
of the intended recipient(s) and may contain information that is
confidential, legally privileged or otherwise exempt from disclosure
under applicable law. If you are not the intended recipient(s) or have
received this message in error, you are instructed to immediately notify
the sender by return email and required to delete this message from your
computer system. This communication does not form any contractual
obligation on behalf of the sender, the sender's employer or such
employer's parent company, affiliates or subsidiaries.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://mailman.mit.edu/pipermail/sap-wug/attachments/20100701/b1902ec2/a
ttachment.htm

------------------------------

_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug


End of SAP-WUG Digest, Vol 68, Issue 1
**************************************

************************************************************ 

IMPORTANT NOTICE: This message is intended for the individual or entity
to which it is addressed
and may contain information that is privileged, confidential, and/or
exempt from disclosure under 
applicable law. If you are not the intended recipient, you are hereby
notified that copying, 
forwarding or other dissemination or distribution of this message is
prohibited and that taking 
any action in reliance on the content of this message is to be avoided.
Should you receive this 
e-mail in error, please notify the sender immediately via e-mail or call
(403) 699-4000 
and delete this message from your system. Thank you. 

************************************************************

_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug
CIBER UK Ltd is a company registered in England
Registered Office Address: 35 Portman Square, London W1H 6LR
Registered Number: 02623681
VAT Number: GB707292730
 
Confidentiality Notice:  This message is intended only for the addressee
and may contain information that is confidential or privileged and
should not be considered evidence of intent to be bound to any
agreement.  The taking of any action in reliance on the contents is
strictly prohibited. Unauthorised use is strictly prohibited and may be
unlawful.
If you are not the addressee, you should not read, copy, disclose or
otherwise use this message, except for the purpose of delivery to the
addressee. Any opinions or advice contained in this message are subject
to CIBER UK standard terms and conditions.
________________________________________




------------------------------

Message: 2
Date: Tue, 6 Jul 2010 16:59:58 +0800
From: Rick Bakker <rbakker at gmail.com>
Subject: Help How to reset the deadline on a forwarded workitem?
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
	<AANLkTimOCZ6cAKN169O4u0Fj0KngO3mACZcsUxXHx8bD at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hi Liz,

SWW_WI_DEADLINES_CHANGE works for me!
What inputs are you giving?

I'm not sure what the default behaviour is with the deadlines when
your forward a workitem, what does your system do?

regards
Rick Bakker
Hanabi Technology

On Tue, Jul 6, 2010 at 12:52 AM, Halladay, Liz (Calgary)
<Liz_Halladay at nexeninc.com> wrote:
>
> ?Rick,
>
> I tried using the function module SWW_WI_DEADLINES_CHANGE. ?This
didn't
> seem to effect the deadline.
>
> The container elements that I am initializing are the deadline_date
and
> deadline_time and loop_cnt that I am using for the Requested End. ?I
am
> initializing them to the system date and time as the first step in the
> enhancement I put in the function module SWW_WI_FORWARD.
>
> What is "normal" deadline behaviour when a workflow item gets
forwarded
> to another approver? ?My requirement is to restart the deadline every
> time that it gets forwarded. ?Within the workflow I handle this by
> simply updating the container elements deadline_date and deadline_time
> and loop_cnt. ?But as I mentioned this doesn't seem to work when a
user
> right clicks on the workitem from their SAP Inbox and chooses
"Forward".
>
> I appreciate your help!!
>
> -----Original Message-----
> From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On
Behalf
> Of sap-wug-request at mit.edu
> Sent: Wednesday, June 30, 2010 11:17 PM
> To: sap-wug at mit.edu
> Subject: SAP-WUG Digest, Vol 68, Issue 1
>
> Send SAP-WUG mailing list submissions to
> ? ? ? ?sap-wug at mit.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
> ? ? ? ?http://mailman.mit.edu/mailman/listinfo/sap-wug
> or, via email, send a message with subject or body 'help' to
> ? ? ? ?sap-wug-request at mit.edu
>
> You can reach the person managing the list at
> ? ? ? ?sap-wug-owner at mit.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of SAP-WUG digest..."
>
>
> Today's Topics:
>
> ? 1. Help How to reset the deadline on a forwarded workitem?
> ? ? ?(Keohan, Susan - 1140 - MITLL)
> ? 2. Re: Help How to reset the deadline on a forwarded workitem?
> ? ? ?(Rick Bakker)
> ? 3. RE: Delete Workitem (Patil, Priyank)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 30 Jun 2010 15:01:33 -0400
> From: "Keohan, Susan - 1140 - MITLL" <keohan at ll.mit.edu>
> Subject: Help How to reset the deadline on a forwarded workitem?
> To: "SAP Workflow Users' Group" <sap-wug at MIT.EDU>
> Message-ID: <201006301901.o5UJ0KxI009958 at mailhub-dmz-3.mit.edu>
> Content-Type: text/plain; charset="us-ascii"
>
>
>
> From: mailman-bounces at mit.edu [mailto:mailman-bounces at mit.edu] On
Behalf
> Of
> Halladay, Liz (Calgary)
> Sent: Wednesday, June 30, 2010 1:36 PM
> To: sap-wug-owner at mit.edu
> Subject: Help How to reset the deadline on a forwarded workitem?
>
>
>
> I have a modeled deadline for Requested End in a custom workflow. If
the
> deadline is reached and the user goes into their SAP Inbox and simply
> right
> clicks on the workflow item and forwards it to another user, I need to
> be
> able to reset the deadline as if it has never been reached because
it's
> in a
> new users Inbox.
>
> I have added an enhancement to the function module SWW_WI_FORWARD to
> change
> the container elements that are used in the expression of the
Requested
> End
> expression. ?However , that doesn't seem to reset the deadline. ?
>
> Your help is appreciated.
>
> Liz Halladay
> Business Consultant, SAP Solution Center
>
> Nexen Inc.
> 801-7th Avenue S.W.
> Calgary, ?AB, Canada T2P 3P7
> ?<http://www.nexeninc.com/> www.nexeninc.com
>
> T: (403) 699-4843 ? :: ? F: (403) 699-5785 ? :: ? C: (403) 470-3167
>
> Please consider the environment before printing this e-mail
>
>
>
> ************************************************************
> IMPORTANT NOTICE: This message is intended for the individual or
entity
> to
> which it is addressed and may contain information that is privileged,
> confidential, and/or exempt from disclosure under applicable law. If
you
> are
> not the intended recipient, you are hereby notified that copying,
> forwarding
> or other dissemination or distribution of this message is prohibited
and
> that taking any action in reliance on the content of this message is
to
> be
> avoided. Should you receive this e-mail in error, please notify the
> sender
> immediately via e-mail or call (403) 699-4000 and delete this message
> from
> your system. Thank you.
> ************************************************************
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
>
http://mailman.mit.edu/pipermail/sap-wug/attachments/20100630/a6393960/a
> ttachment-0001.htm
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: smime.p7s
> Type: application/x-pkcs7-signature
> Size: 5279 bytes
> Desc: not available
> Url :
>
http://mailman.mit.edu/pipermail/sap-wug/attachments/20100630/a6393960/s
> mime-0001.bin
>
> ------------------------------
>
> Message: 2
> Date: Thu, 1 Jul 2010 07:39:53 +0800
> From: Rick Bakker <rbakker at gmail.com>
> Subject: Re: Help How to reset the deadline on a forwarded workitem?
> To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
> Message-ID:
> ? ? ? ?<AANLkTildWHCLkRv9BFv7erWBOMF28zZmjudyzYpVTbab at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hello Liz,
>
> I searched for *DEADLINE* in SE37 and got:
> SWL_ADM_DEADLINE_CHANGE
> SWW_WI_DEADLINES_CHANGE
>
> I'd try the second one first.
> Which container elements did you change?
>
> regards
> Rick Bakker
> Hanabi Technology
>
> On Thu, Jul 1, 2010 at 3:01 AM, Keohan, Susan - 1140 - MITLL
> <keohan at ll.mit.edu> wrote:
>>
>>
>> From: mailman-bounces at mit.edu [mailto:mailman-bounces at mit.edu] On
> Behalf Of
>> Halladay, Liz (Calgary)
>> Sent: Wednesday, June 30, 2010 1:36 PM
>> To: sap-wug-owner at mit.edu
>> Subject: Help How to reset the deadline on a forwarded workitem?
>>
>>
>>
>> I have a modeled deadline for Requested End in a custom workflow. If
> the
>> deadline is reached and the user goes into their SAP Inbox and simply
> right
>> clicks on the workflow item and forwards it to another user, I need
to
> be
>> able to reset the deadline as if it has never been reached because
> it's in a
>> new users Inbox.
>>
>> I have added an enhancement to the function module SWW_WI_FORWARD to
> change
>> the container elements that are used in the expression of the
> Requested End
>> expression.? However , that doesn't seem to reset the deadline. ?
>>
>> Your help is appreciated.
>>
>> Liz Halladay
>> Business Consultant, SAP Solution Center
>>
>> Nexen Inc.
>> 801-7th Avenue S.W.
>> Calgary,? AB, Canada T2P 3P7
>> www.nexeninc.com
>>
>> T: (403) 699-4843?? ::?? F: (403) 699-5785?? ::?? C: (403) 470-3167
>>
>> Please consider the environment before printing this e-mail
>>
>>
>>
>> ************************************************************
>> IMPORTANT NOTICE: This message is intended for the individual or
> entity to
>> which it is addressed and may contain information that is privileged,
>> confidential, and/or exempt from disclosure under applicable law. If
> you are
>> not the intended recipient, you are hereby notified that copying,
> forwarding
>> or other dissemination or distribution of this message is prohibited
> and
>> that taking any action in reliance on the content of this message is
> to be
>> avoided. Should you receive this e-mail in error, please notify the
> sender
>> immediately via e-mail or call (403) 699-4000 and delete this message
> from
>> your system. Thank you.
>> ************************************************************
>>
>> _______________________________________________
>> SAP-WUG mailing list
>> SAP-WUG at mit.edu
>> http://mailman.mit.edu/mailman/listinfo/sap-wug
>>
>>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Thu, 1 Jul 2010 10:46:22 +0530
> From: "Patil, Priyank" <Priyank.Patil at keane.com>
> Subject: RE: Delete Workitem
> To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
> Message-ID:
>
> <79908A2D8E564E40BF42221D2EC963777DC94451EA at MAIL801.KDS.KEANE.COM>
> Content-Type: text/plain; charset="us-ascii"
>
> If you use SWWL it will delete the WI from the underlying database. I
> suggest you to use Rick's solution for this.
>
> Thanks,
> Priyank
>
> From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On
Behalf
> Of Cathy
> Sent: Wednesday, June 30, 2010 7:28 PM
> To: SAP Workflow Users' Group
> Subject: Re: Delete Workitem
>
> Transaction SWWL will help you do this. ?Delete the last workitem in
the
> workflow.
>
> Cathy
>
> --- On Wed, 6/30/10, Rick Bakker <rbakker at gmail.com> wrote:
>
> From: Rick Bakker <rbakker at gmail.com>
> Subject: Re: Delete Workitem
> To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
> Date: Wednesday, June 30, 2010, 1:18 AM
> Hello,
>
> I would try fm SAP_WAPI_RESERVE_WORKITEM first. Reserve it for A.
> Otherwise, look at the other SAP_WAPIs, maybe you can forward it from
B
> to A.
>
> regards
> Rick Bakker
> Hanabi Technology
>
> On Wed, Jun 30, 2010 at 2:10 PM, velsankar sundar
>
<svelsankar at gmail.com<http://us.mc1136.mail.yahoo.com/mc/compose?to=svel
> sankar at gmail.com>> wrote:
>> Hi,
>> ? ? ?My question is the workitem is present in the inbox of 2 users.
> Ex :
>> User A and User B.
>>
>> Now, i want to delete or disable the workitem in User B's inbox only.
>> I have to do this programmatically. Is there any possible solution.
>>
>> --
>> Thanks & Regards,
>> S.Velsankar
>>
>> _______________________________________________
>> SAP-WUG mailing list
>>
>
SAP-WUG at mit.edu<http://us.mc1136.mail.yahoo.com/mc/compose?to=SAP-WUG@mi
> t.edu>
>> http://mailman.mit.edu/mailman/listinfo/sap-wug
>>
>>
>
> _______________________________________________
> SAP-WUG mailing list
>
SAP-WUG at mit.edu<http://us.mc1136.mail.yahoo.com/mc/compose?to=SAP-WUG@mi
> t.edu>
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>
>
> ______________________________________________________________________
> Disclaimer: ?This email message and any attachments are for the sole
use
> of the intended recipient(s) and may contain information that is
> confidential, legally privileged or otherwise exempt from disclosure
> under applicable law. If you are not the intended recipient(s) or have
> received this message in error, you are instructed to immediately
notify
> the sender by return email and required to delete this message from
your
> computer system. This communication does not form any contractual
> obligation on behalf of the sender, the sender's employer or such
> employer's parent company, affiliates or subsidiaries.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
>
http://mailman.mit.edu/pipermail/sap-wug/attachments/20100701/b1902ec2/a
> ttachment.htm
>
> ------------------------------
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>
> End of SAP-WUG Digest, Vol 68, Issue 1
> **************************************
>
> ************************************************************
>
> IMPORTANT NOTICE: This message is intended for the individual or
entity to which it is addressed
> and may contain information that is privileged, confidential, and/or
exempt from disclosure under
> applicable law. If you are not the intended recipient, you are hereby
notified that copying,
> forwarding or other dissemination or distribution of this message is
prohibited and that taking
> any action in reliance on the content of this message is to be
avoided. Should you receive this
> e-mail in error, please notify the sender immediately via e-mail or
call (403) 699-4000
> and delete this message from your system. Thank you.
>
> ************************************************************
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>



------------------------------

Message: 3
Date: Tue, 6 Jul 2010 10:45:29 +0100
From: Michael Ghyoot <michael.ghyoot at uk.ciber.com>
Subject: RE: Help How to reset the deadline on a forwarded workitem?
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
	<261D5DD348D0904192CBD483EBE211733A8AE29B2E at UKEXCH01.ASCENT.COM>
Content-Type: text/plain; charset="iso-8859-1"

Hi Liz, mines working too now.

Please see attached file.

Mike.

-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Rick Bakker
Sent: 06 July 2010 10:00
To: SAP Workflow Users' Group
Subject: Help How to reset the deadline on a forwarded workitem?

Hi Liz,

SWW_WI_DEADLINES_CHANGE works for me!
What inputs are you giving?

I'm not sure what the default behaviour is with the deadlines when
your forward a workitem, what does your system do?

regards
Rick Bakker
Hanabi Technology

On Tue, Jul 6, 2010 at 12:52 AM, Halladay, Liz (Calgary)
<Liz_Halladay at nexeninc.com> wrote:
>
> ?Rick,
>
> I tried using the function module SWW_WI_DEADLINES_CHANGE. ?This
didn't
> seem to effect the deadline.
>
> The container elements that I am initializing are the deadline_date
and
> deadline_time and loop_cnt that I am using for the Requested End. ?I
am
> initializing them to the system date and time as the first step in the
> enhancement I put in the function module SWW_WI_FORWARD.
>
> What is "normal" deadline behaviour when a workflow item gets
forwarded
> to another approver? ?My requirement is to restart the deadline every
> time that it gets forwarded. ?Within the workflow I handle this by
> simply updating the container elements deadline_date and deadline_time
> and loop_cnt. ?But as I mentioned this doesn't seem to work when a
user
> right clicks on the workitem from their SAP Inbox and chooses
"Forward".
>
> I appreciate your help!!
>
> -----Original Message-----
> From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On
Behalf
> Of sap-wug-request at mit.edu
> Sent: Wednesday, June 30, 2010 11:17 PM
> To: sap-wug at mit.edu
> Subject: SAP-WUG Digest, Vol 68, Issue 1
>
> Send SAP-WUG mailing list submissions to
> ? ? ? ?sap-wug at mit.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
> ? ? ? ?http://mailman.mit.edu/mailman/listinfo/sap-wug
> or, via email, send a message with subject or body 'help' to
> ? ? ? ?sap-wug-request at mit.edu
>
> You can reach the person managing the list at
> ? ? ? ?sap-wug-owner at mit.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of SAP-WUG digest..."
>
>
> Today's Topics:
>
> ? 1. Help How to reset the deadline on a forwarded workitem?
> ? ? ?(Keohan, Susan - 1140 - MITLL)
> ? 2. Re: Help How to reset the deadline on a forwarded workitem?
> ? ? ?(Rick Bakker)
> ? 3. RE: Delete Workitem (Patil, Priyank)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 30 Jun 2010 15:01:33 -0400
> From: "Keohan, Susan - 1140 - MITLL" <keohan at ll.mit.edu>
> Subject: Help How to reset the deadline on a forwarded workitem?
> To: "SAP Workflow Users' Group" <sap-wug at MIT.EDU>
> Message-ID: <201006301901.o5UJ0KxI009958 at mailhub-dmz-3.mit.edu>
> Content-Type: text/plain; charset="us-ascii"
>
>
>
> From: mailman-bounces at mit.edu [mailto:mailman-bounces at mit.edu] On
Behalf
> Of
> Halladay, Liz (Calgary)
> Sent: Wednesday, June 30, 2010 1:36 PM
> To: sap-wug-owner at mit.edu
> Subject: Help How to reset the deadline on a forwarded workitem?
>
>
>
> I have a modeled deadline for Requested End in a custom workflow. If
the
> deadline is reached and the user goes into their SAP Inbox and simply
> right
> clicks on the workflow item and forwards it to another user, I need to
> be
> able to reset the deadline as if it has never been reached because
it's
> in a
> new users Inbox.
>
> I have added an enhancement to the function module SWW_WI_FORWARD to
> change
> the container elements that are used in the expression of the
Requested
> End
> expression. ?However , that doesn't seem to reset the deadline. ?
>
> Your help is appreciated.
>
> Liz Halladay
> Business Consultant, SAP Solution Center
>
> Nexen Inc.
> 801-7th Avenue S.W.
> Calgary, ?AB, Canada T2P 3P7
> ?<http://www.nexeninc.com/> www.nexeninc.com
>
> T: (403) 699-4843 ? :: ? F: (403) 699-5785 ? :: ? C: (403) 470-3167
>
> Please consider the environment before printing this e-mail
>
>
>
> ************************************************************
> IMPORTANT NOTICE: This message is intended for the individual or
entity
> to
> which it is addressed and may contain information that is privileged,
> confidential, and/or exempt from disclosure under applicable law. If
you
> are
> not the intended recipient, you are hereby notified that copying,
> forwarding
> or other dissemination or distribution of this message is prohibited
and
> that taking any action in reliance on the content of this message is
to
> be
> avoided. Should you receive this e-mail in error, please notify the
> sender
> immediately via e-mail or call (403) 699-4000 and delete this message
> from
> your system. Thank you.
> ************************************************************
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
>
http://mailman.mit.edu/pipermail/sap-wug/attachments/20100630/a6393960/a
> ttachment-0001.htm
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: smime.p7s
> Type: application/x-pkcs7-signature
> Size: 5279 bytes
> Desc: not available
> Url :
>
http://mailman.mit.edu/pipermail/sap-wug/attachments/20100630/a6393960/s
> mime-0001.bin
>
> ------------------------------
>
> Message: 2
> Date: Thu, 1 Jul 2010 07:39:53 +0800
> From: Rick Bakker <rbakker at gmail.com>
> Subject: Re: Help How to reset the deadline on a forwarded workitem?
> To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
> Message-ID:
> ? ? ? ?<AANLkTildWHCLkRv9BFv7erWBOMF28zZmjudyzYpVTbab at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hello Liz,
>
> I searched for *DEADLINE* in SE37 and got:
> SWL_ADM_DEADLINE_CHANGE
> SWW_WI_DEADLINES_CHANGE
>
> I'd try the second one first.
> Which container elements did you change?
>
> regards
> Rick Bakker
> Hanabi Technology
>
> On Thu, Jul 1, 2010 at 3:01 AM, Keohan, Susan - 1140 - MITLL
> <keohan at ll.mit.edu> wrote:
>>
>>
>> From: mailman-bounces at mit.edu [mailto:mailman-bounces at mit.edu] On
> Behalf Of
>> Halladay, Liz (Calgary)
>> Sent: Wednesday, June 30, 2010 1:36 PM
>> To: sap-wug-owner at mit.edu
>> Subject: Help How to reset the deadline on a forwarded workitem?
>>
>>
>>
>> I have a modeled deadline for Requested End in a custom workflow. If
> the
>> deadline is reached and the user goes into their SAP Inbox and simply
> right
>> clicks on the workflow item and forwards it to another user, I need
to
> be
>> able to reset the deadline as if it has never been reached because
> it's in a
>> new users Inbox.
>>
>> I have added an enhancement to the function module SWW_WI_FORWARD to
> change
>> the container elements that are used in the expression of the
> Requested End
>> expression.? However , that doesn't seem to reset the deadline. ?
>>
>> Your help is appreciated.
>>
>> Liz Halladay
>> Business Consultant, SAP Solution Center
>>
>> Nexen Inc.
>> 801-7th Avenue S.W.
>> Calgary,? AB, Canada T2P 3P7
>> www.nexeninc.com
>>
>> T: (403) 699-4843?? ::?? F: (403) 699-5785?? ::?? C: (403) 470-3167
>>
>> Please consider the environment before printing this e-mail
>>
>>
>>
>> ************************************************************
>> IMPORTANT NOTICE: This message is intended for the individual or
> entity to
>> which it is addressed and may contain information that is privileged,
>> confidential, and/or exempt from disclosure under applicable law. If
> you are
>> not the intended recipient, you are hereby notified that copying,
> forwarding
>> or other dissemination or distribution of this message is prohibited
> and
>> that taking any action in reliance on the content of this message is
> to be
>> avoided. Should you receive this e-mail in error, please notify the
> sender
>> immediately via e-mail or call (403) 699-4000 and delete this message
> from
>> your system. Thank you.
>> ************************************************************
>>
>> _______________________________________________
>> SAP-WUG mailing list
>> SAP-WUG at mit.edu
>> http://mailman.mit.edu/mailman/listinfo/sap-wug
>>
>>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Thu, 1 Jul 2010 10:46:22 +0530
> From: "Patil, Priyank" <Priyank.Patil at keane.com>
> Subject: RE: Delete Workitem
> To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
> Message-ID:
>
> <79908A2D8E564E40BF42221D2EC963777DC94451EA at MAIL801.KDS.KEANE.COM>
> Content-Type: text/plain; charset="us-ascii"
>
> If you use SWWL it will delete the WI from the underlying database. I
> suggest you to use Rick's solution for this.
>
> Thanks,
> Priyank
>
> From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On
Behalf
> Of Cathy
> Sent: Wednesday, June 30, 2010 7:28 PM
> To: SAP Workflow Users' Group
> Subject: Re: Delete Workitem
>
> Transaction SWWL will help you do this. ?Delete the last workitem in
the
> workflow.
>
> Cathy
>
> --- On Wed, 6/30/10, Rick Bakker <rbakker at gmail.com> wrote:
>
> From: Rick Bakker <rbakker at gmail.com>
> Subject: Re: Delete Workitem
> To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
> Date: Wednesday, June 30, 2010, 1:18 AM
> Hello,
>
> I would try fm SAP_WAPI_RESERVE_WORKITEM first. Reserve it for A.
> Otherwise, look at the other SAP_WAPIs, maybe you can forward it from
B
> to A.
>
> regards
> Rick Bakker
> Hanabi Technology
>
> On Wed, Jun 30, 2010 at 2:10 PM, velsankar sundar
>
<svelsankar at gmail.com<http://us.mc1136.mail.yahoo.com/mc/compose?to=svel
> sankar at gmail.com>> wrote:
>> Hi,
>> ? ? ?My question is the workitem is present in the inbox of 2 users.
> Ex :
>> User A and User B.
>>
>> Now, i want to delete or disable the workitem in User B's inbox only.
>> I have to do this programmatically. Is there any possible solution.
>>
>> --
>> Thanks & Regards,
>> S.Velsankar
>>
>> _______________________________________________
>> SAP-WUG mailing list
>>
>
SAP-WUG at mit.edu<http://us.mc1136.mail.yahoo.com/mc/compose?to=SAP-WUG@mi
> t.edu>
>> http://mailman.mit.edu/mailman/listinfo/sap-wug
>>
>>
>
> _______________________________________________
> SAP-WUG mailing list
>
SAP-WUG at mit.edu<http://us.mc1136.mail.yahoo.com/mc/compose?to=SAP-WUG@mi
> t.edu>
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>
>
> ______________________________________________________________________
> Disclaimer: ?This email message and any attachments are for the sole
use
> of the intended recipient(s) and may contain information that is
> confidential, legally privileged or otherwise exempt from disclosure
> under applicable law. If you are not the intended recipient(s) or have
> received this message in error, you are instructed to immediately
notify
> the sender by return email and required to delete this message from
your
> computer system. This communication does not form any contractual
> obligation on behalf of the sender, the sender's employer or such
> employer's parent company, affiliates or subsidiaries.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
>
http://mailman.mit.edu/pipermail/sap-wug/attachments/20100701/b1902ec2/a
> ttachment.htm
>
> ------------------------------
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>
> End of SAP-WUG Digest, Vol 68, Issue 1
> **************************************
>
> ************************************************************
>
> IMPORTANT NOTICE: This message is intended for the individual or
entity to which it is addressed
> and may contain information that is privileged, confidential, and/or
exempt from disclosure under
> applicable law. If you are not the intended recipient, you are hereby
notified that copying,
> forwarding or other dissemination or distribution of this message is
prohibited and that taking
> any action in reliance on the content of this message is to be
avoided. Should you receive this
> e-mail in error, please notify the sender immediately via e-mail or
call (403) 699-4000
> and delete this message from your system. Thank you.
>
> ************************************************************
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>

_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug
CIBER UK Ltd is a company registered in England
Registered Office Address: 35 Portman Square, London W1H 6LR
Registered Number: 02623681
VAT Number: GB707292730
 
Confidentiality Notice:  This message is intended only for the addressee
and may contain information that is confidential or privileged and
should not be considered evidence of intent to be bound to any
agreement.  The taking of any action in reliance on the contents is
strictly prohibited. Unauthorised use is strictly prohibited and may be
unlawful.
If you are not the addressee, you should not read, copy, disclose or
otherwise use this message, except for the purpose of delivery to the
addressee. Any opinions or advice contained in this message are subject
to CIBER UK standard terms and conditions.
________________________________________
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: DL_Reset.txt
Url:
http://mailman.mit.edu/pipermail/sap-wug/attachments/20100706/7fc72f23/D
L_Reset.txt

------------------------------

_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug


End of SAP-WUG Digest, Vol 68, Issue 33
***************************************

************************************************************ 

IMPORTANT NOTICE: This message is intended for the individual or entity to which it is addressed
and may contain information that is privileged, confidential, and/or exempt from disclosure under 
applicable law. If you are not the intended recipient, you are hereby notified that copying, 
forwarding or other dissemination or distribution of this message is prohibited and that taking 
any action in reliance on the content of this message is to be avoided. Should you receive this 
e-mail in error, please notify the sender immediately via e-mail or call (403) 699-4000 
and delete this message from your system. Thank you. 

************************************************************




More information about the SAP-WUG mailing list