Cancel PO release strategy in workflow

Manoj Gandhi gandhi_manoj at yahoo.com
Tue Aug 21 10:39:29 EDT 2001


Hi,
Thanks a lot Arnoud, Neerja and Flavio.
Your suggestions were very helpful
I will be using User Decision task and propose the
supervisor to Release or reject the PO .
 
Thanks a lot again.
Manoj
 
--- "Van Heerde, Arnoud" <arnoud.van.heerde at sap.com>
wrote:
> Furthermore in contrast to a purchase requisition a
> purchase order cannot be
> rejected as such. The rejection function for PR is
> only available when using
> workflow. With a PO basically what you can do is set
> or cancel a previously
> set release code. There are two methods:
> PurchaseOrder.Release and
> PurchaseOrder.ResetRelease to do this in background.
> Another thing is the
> event PurchaseOrder.significantlyChanged it will be
> triggered in case a
> different release strategy is required after changes
> to the PO. Creating
> your own rejection function with a user decision is
> a good idea. The
> mechanism behind the rejection function is not to
> cancel the release code,
> because it was not set in the first place. Instead
> you create a work item
> for the workflow initiator with a user decision:
> revise or delete? Because
> the changes in case the user wants to revise the PO
> may result in a
> different release strategy make sure you have one
> step in a parallel process
> waiting for the event
> PurchaseOrder.significantlyChanged in order to
> complete the workflow with the old release strategy.
>
> Hope this helps,
>
> Arnoud
>
>
> -----Original Message-----
>> From: Flavio Oliveira
> [mailto:oliveiraflavio at hotmail.com]
> Sent: Monday, August 20, 2001 10:41 PM
> To: SAP-WUG at MITVMA.MIT.EDU
> Subject: Re: Cancel PO release strategy in workflow
>
> The problem is that, when the supervisor releases
> the order and than cancel
> the release, the PO remains on the second release
> level. That is why the
> supervisor is still with the inbox message.
>
> In my opinion, what you can do is create two
> background methods: one to
> release the PO and the other to reject it. Instead
> of send the transaction
> ME28 (approve PO) to the user, send an user decision
> with two possible
> decisions: Approve or Reject and, depending on user
> choice, use the methods
> created to actually release or reject the PO.
>
> Flavio.
>
> >From: Manoj Gandhi <gandhi_manoj at yahoo.com>
> >Reply-To: SAP Workflow Users' Group
> <SAP-WUG at MITVMA.MIT.EDU>
> >To: SAP-WUG at MITVMA.MIT.EDU
> >Subject: Cancel PO release strategy in workflow
> >Date: Mon, 20 Aug 2001 06:53:08 -0700
> >
> >Hi Workflow gurus,
> >I have set up a workflow for Purchase Order release
> >Strategy.
> >There are 2 levels of release. Supervisor and
> >Manager.User creates the PO and releases it. WF is
> >triggered and a request is sent to the inbox of
> >Supervisor for the next level release.
> >The superisor releases and it goes to the manager.
> >This works fine.
> >But when the supervisor feels that a change is
> >required in the PO how does he reject it through
> >workitem? I have tried in this way-- first he
> releases
> >the PO and then Cancels the release. But the
> workitem
> >still remains in the inbox. And when the user
> changes
> >the PO and releases it again it again goes to the
> >inbox of the supervisor. so now there are 2
> workitems
> >for the same PO. I want that the supervisor should
> be
> >able to cancel the release and the workitem should
> >diappear from the inbox and at the same time send a
> >message to the user for stating the reason for
> >rejection.
> >The task uses BUS2012 object. The Outcomes of the
> task
> >are:
> >a)Release purchase order
> >b)Release of purchase order cancelled(But SAP says
> it
> >is not used).
> >c)Purchase order changed significantly
> >
> >Please let me know if Im missing anything and what
> >should I do for rejecting the PO release.
> >
> >
> >TIA,
> >Manoj
> >
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Make international calls for as low as $.04/minute
> with Yahoo! Messenger
> >http://phonecard.yahoo.com/
>
>
>
_________________________________________________________________
> Get your FREE download of MSN Explorer at
http://explorer.msn.com/intl.asp
 
 
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
 


More information about the SAP-WUG mailing list