Problem with Rule while using FM
Abir Kundu
abir.kundu at in.ibm.com
Tue Jul 3 00:44:37 EDT 2007
Hi Sherie/Ananth,
Thanks for the reply. It seems that I need to write a method for it.
The same FM used in the FM won't do the trick for me.
Thanks and Best Regards,
Abir Kundu
____________________________________________
IBM India Private Limited
DLF IT Park, New Town,
P.S. Rajarhat, Distt.: 24 Parganas (N),
Kolkata 700156 , India
Board : +91 33 400 94000[Extn : 94262]
Direct : +91 33 400 94262
Mob : +91 98310 32936
____________________________________________
Ananth
<write2ananth at gma
il.com> To
Sent by: "SAP Workflow Users' Group"
sap-wug-bounces at m <sap-wug at mit.edu>
it.edu cc
Subject
03/07/2007 06:39 Re: Problem with Rule while using
AM FM
Please respond to
"SAP Workflow
Users' Group"
<sap-wug at mit.edu>
Hi Abir,
There is no need to add one more exporting parameter.
ACTOR_TAB is a table of structure Otype and Objid, so it can have
multiple entries with different otypes like for example : US AAAAAAA
and P 00000001.
Btw, the workitem will be sent only the userid (AAAAAAAA). The purpose
of the rule is to find the agent/s dynamically.
Regards
Ananth
On 7/2/07, Munday,Sherie J. <MUNDAYSJ at airproducts.com> wrote:
> Abir,
> You can find the employee number (PERNR) from the userid by using the
> object USR01DOHR, attriubte "number".
> Cheers,
> Sherie
>
> Sherie Munday
> Workflow Developer/Analyst
> Air Products & Chemicals, Inc.
>
> -----Original Message-----
> From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
> Of Abir Kundu
> Sent: Monday, July 02, 2007 4:01 AM
> To: sap-wug at mit.edu
> Subject: Problem with Rule while using FM
>
> Hi,
> In our current project, I've created one Function Module
> (Z_FIND_MANAGER) to find the manager, using the function templet of
> SWX_GET_MANAGER. It was working fine with my custom rule, and was
> returning the Manager(s) user-ids.
> Now according to the changing requirement, we also need to send
> back the PERNR of the manager, along with the UserID. But if I add one
> exporting table parameter containing the PERNR(s) to my FM, the FM is
> not working with rule. Error reads, the Function module does not meet
> the workflow conventions.
> Is there any way-out that I can uses the FM in the rule as well as
> return the PERNR table to the workflow.
>
> Thanks and Best Regards,
> Abir Kundu
> ____________________________________________
> IBM India Private Limited
> DLF IT Park, New Town,
> P.S. Rajarhat, Distt.: 24 Parganas (N),
> Kolkata 700156 , India
> Board : +91 33 400 94000[Extn : 94262]
> Direct : +91 33 400 94262
> Mob : +91 98310 32936
> ____________________________________________
>
> _______________________________________________
> 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