blocking the transaction to release manually the Purchase Req uisition

Zmudzin,Tomasz,VEVEY,GL-DS/DM Tomasz.Zmudzin at nestle.com
Thu Apr 4 23:18:38 EST 2002


Felipe,
 
apart from the technical issues -- if the user is allowed to release the
document within workflow, why shouldn't he/she be allowed to release it
manually?
 
Please remember that WF is basically a coordination tool supporting the
process / facilitating it. Should a user prefer to go  via standalone
transaction, let him do it and make your workflow react to this accordingly.
This should NOT change your control over the process or have an impact on
your process reporting.
 
To react to purchase requisition approvals / rejections, insert into your
workflow wait steps for the BUS2009.Released / BUS2009.Rejected events. To
react to purchase order releases wait for BUS2012.Released. If you do it in
a fork like this:
 
          Previous task
                !
                !
    fork: 1 of 2 needed to complete
    !                            !
    !                            !
 wait for event               "release" task
    !                            !
    !                            !
    end of fork (will be reached when one of the tasks is finished)
                !
                !
           (remaining tasks)
 
you'll have the workflow request the release the standard way (right branch)
and CANCEL that request if data is released outside workflow, proceeding to
the "remaining tasks".
 
Hope this helps,
Tomasz
 
 
P.S. For your objects it will be a bit tougher; you need to check the
release codes that have been used. In the "Wait for event" you can capture
them in a container element. You can loop at that step until the "right"
release code is captured.
 
 
-----Original Message-----
From: Felipe Uribe - SAP [mailto:jfelipe_uribed at hotmail.com]
Sent: Friday, April 05, 2002 12:40 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: blocking the transaction to release manually the Purchase
Requisition
 
 
 
Hi Everybody,
 
 
 
I have developed a WF to release the Purchase Requisition, nothing special
but I have a doubts about the permissions to access the transaction to
release the document manually ME54, I mean, The User which is gonna approve
the document will have to make it using Workflow and Workflow uses the
transaction ME54, same transaction to release it manually.
 
 
 
Te question is how could I block this transaction to avoid the user to use
it manually but I can't block it because Workflow is gonna call this
transaction in the method.
 
 
 
There is any possibility using the authorizations or something in the
profile??
 
 ....Idem with Purchase Order
 
Thanks a lot.
 


More information about the SAP-WUG mailing list