How can I make workitem to be executed immediately.

Dart, Jocelyn jocelyn.dart at sap.com
Thu Jun 14 21:33:42 EDT 2001


Hi Steve,
I agree with Mike that you are better off doing something in the
sales order user exit.
 
If you look under object WF_TASK method GETLISTANDDISPATCH the key
function modules to call are RH_SET_CREATE (to find the agents),
and SWU_WF_TASK_DISPATCH to display the list of agents found, let the
user select the agent, and pick up the returned agent.  You can then
check in your user exit whether they actually chose someone, and abort
the order save if they didn't.
 
Standard task TS302000141 can be used for further clues as to what
parameters
to use.
 
You will still need to find somewhere to hold the chosen agent that you
can then read in your workflow, e.g. somewhere on the sales order, or in
a custom table.
 
You could pass the agent as an event parameter but that would involve
changing
how the standard sales order event is raised - probably not a good idea.
 
Alternatively you could just send the first workitem express - but that's
still no
guarantee as the order creator can ignore it.
Regards,
        Jocelyn Dart
Consultant (BBP, Ecommerce, Internet Transaction Server, Workflow)
SAP Australia
Email jocelyn.dart at sap.com <mailto:jocelyn.dart at sap.com>
Tel: +61 412 390 267
Fax: +61 2 9935 4880
 
 
-----Original Message-----
From: ??? [mailto:gojoong at dreamx.net]
Sent: Thursday, 14 June 2001 5:12 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: How can I make workitem to be executed immediately.
 
 
Hi Aravindan,
 
Thanks for your interest on my problem.
Maybe my expression is not correct.
I meant that my first step is inputting the actual agent on the "Choose
agent" box which is included by wizard.
That is, when a sales order of specific type is created, I want designate
actual agents immediately.
Is it valid?
 
Regards,
Steve
 
-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU]On Behalf Of
Aravindan Kalaimannan
Sent: Thursday, June 14, 2001 10:20 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: How can I make workitem to be executed immediately.
 
 
Hi Steve,
  If I understand your problem correct, you can use Role Resolution to
select
the responsible agents. Use transaction PFAC_INS and PFAC_CHG (4.6B Ver) to
create and change Role Resolutions.
 
Hope this is of help to you.
 
Cheers,
Aravindan.
 
1h0mA_ wrote:
 
> Thanks,
>
> But the first step is selecting the responsible agents.
> Is it applicable to this situation?
> If it is, let me know the more detail method.
>
> Regards,
> Steve GoJoong Kim
>
> -----Original Message-----
>> From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU]On Behalf Of
> Mike Mathieson
> Sent: Thursday, June 14, 2001 3:25 AM
> To: SAP-WUG at MITVMA.MIT.EDU
> Subject: Re: How can I make workitem to be executed immediately.
>
> Why make the first step part of the flow, if it's always done by the
> initiator (unless you will have delay)?  Use a user-exit in sales order
> processing (user_exit_save_document).
>
> >From: 1h0mA_ <gojoong at dreamx.net>
> >Reply-To: SAP Workflow Users' Group <SAP-WUG at MITVMA.MIT.EDU>
> >To: SAP-WUG at MITVMA.MIT.EDU
> >Subject: How can I make workitem to be executed immediately.
> >Date: Wed, 13 Jun 2001 15:59:23 +0900
> >
> >Dear Experts,
> >
> >I made a workflow template which is started when a specific type of sales
> >order is created.
> >And the actual agent of first step is the initiator of workflow.
> >I know the "advance with immediate dialog" option of the step definition.
> >But that is operated well only at between the dialog steps not at the
first
> >step.
> >So, is there any method to execute the first step without going to the
> >workflow inbox?
> >Any comments will be appreciated.
> >
> >Thanks in advance.
> >
> >Regards,
> >Steve GoJoong Kim
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
 
--
"The information and or material contained in this email is  intended
for the named recipient only. It may contain privileged and confidential
information and or material.  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