Sending a work item to a Person

Munday,Sherie J. MUNDAYSJ at airproducts.com
Fri Apr 7 12:16:13 EDT 2006


If you have an employee number, you can use method "Get employee without
dialog" on business object "Employeet" to instantiate the person and
then find the attribute "userid" from there. 

-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Gavin Mooney
Sent: Friday, April 07, 2006 11:00 AM
To: SAP Workflow Users' Group
Subject: Re: Sending a work item to a Person

The element (BUS2032) is an importing parameter of the workflow and is
passed in when it's kicked off.

Just for the records we're on a 620 system.

To investigate the problem further I've created a test workflow where
this task is the only step, then I kicked it off and debugged through to
the rule (function module) and it's returning the Person number fine. I
don't know where (or when) the infotype code that links the Person to a
User is called though...


2006/4/7, Munday,Sherie J. <MUNDAYSJ at airproducts.com>:
> Even more obvious, but sometimes missed... Check your log to ensure 
> that the element on which your rule is based exists in the container 
> at the time of your dialog step.  (and then as Dave mentions, that the

> element is then bound properly)
>
> Best Wishes,
> Sherie
>
> -----Original Message-----
> From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On 
> Behalf Of Dave Weston
> Sent: Friday, April 07, 2006 10:50 AM
> To: SAP Workflow Users' Group
> Subject: RE: Sending a work item to a Person
>
> First thing to check: Is the binding from the workflow to the rule OK
?
>
> -----Original Message-----
> From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On 
> Behalf Of Gavin Mooney
> Sent: Friday, April 07, 2006 10:25 AM
> To: SAP Workflow Users' Group
> Subject: Sending a work item to a Person
>
> Dear group,
>
> As it's already Friday afternoon or later in most of the world I guess

> I'll have to wait until Monday for a response but anyway here we go:
>
> I have dialog step in a workflow that is routed via a rule that 
> returns a Person ID. From testing the rule in PFAC it seems to work
fine.
>
> In transaction PA30 I created a Communication Infotype (105) - subtype
> 1 - for the Person and put in my user ID.
>
> When I run the workflow I'm expecting the work item to be delivered to

> my Business Workplace but it doesn't go anywhere. The workflow remains

> in progress and the work item shows up in the SWI2_ADM1 Work Items 
> Without Agents report. (The dialog task is a general task.)
>
> I expect I've missed something obvious - any idea?
> TIA,
> Gavin
>
> _______________________________________________
> 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
>
> _______________________________________________
> 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




More information about the SAP-WUG mailing list