SWC_GET_MANAGER' function module
Dart, Jocelyn
jocelyn.dart at sap.com
Thu Oct 30 18:29:20 EST 2003
Better still use the workflow macros, i.e.
SWC_CONTAINER my_container.
SWC_SET_ELEMENT my_container 'ORG_OBJECT' useridwithleadingUS.
CALL FUNCTION 'SWX_GET_MANAGER'
...
TABLES
...
AC_CONTAINER = my_container
...
Regards,
Jocelyn Dart
Consultant (SRM, EBP, Workflow)
and co-author of the book
"Practical Workflow for SAP"
SAP Australia
email: jocelyn.dart at sap.com
phone: +61 412 390 267
fax: +61 2 9935 4880
-----Original Message-----
From: Paul Batey [mailto:Paul.Batey at intelligroup.com.au]
Sent: Friday,31 October 2003 9:40 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: SWC_GET_MANAGER' function module
Hi Monica and Sue,
You need to enter the following into AC_CONTAINER:
Element = ORG_OBJECT
Elemlength = 14
Type = C
Value = US<userid>
The results of all role functions are in ACTOR_TAB
-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU] On Behalf Of
Susan R. Keohan
Sent: Friday, 31 October 2003 6:52 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: SWC_GET_MANAGER' function module
Hi Monica,
In our system, we have a function called SWX_GET_MANAGER. I think this
may be the one you are
referring to ??
When I test it, I fill in the Actor_tab with the 'US' and username.
Then after I hit the wrench, it
would return the manager (I think, but we don't have chief positions,
so this is all speculation
on my part).
Typically I have seen the ac_container used to store values being
returned from functions.
Try it this way and see if it works!
Sue
M Doe wrote:
> Hi all,
>
> I am a little confused about something relating to the function module
> "swc_get_manager". When I simulate test the role 168 which uses this
> function module I can enter "us' and then the user name and it brings
back
> the managerwhich is fine.
>
> But when I test the function module 'swc_get_manger' by itself it
brings
> back 2 tables: actor_tab and ac_container. I understand that the
input
> data
> must be in ac_container so when I double click on it to enter us and
the
> user name it brings back the fields: element, tab_in , ele, t and
value.
>
> These are flds from the structure 'swcont'. My question is where do I
> enter
> us and the user name.
>
> There is also no documentation on the interface of this function
module.
> What values it is expecting in the fields : element, tab_in, ele, t
and
> value.
>
> Thanks.
>
> Regards,
> Monica
>
> _________________________________________________________________
> Add MSN 8 Internet Software to your current Internet access and enjoy
> patented spam control and more. Get two months FREE!
> http://join.msn.com/?page=dept/byoa
--
Susan R. Keohan
SAP Workflow Developer
MIT Lincoln Laboratory
244 Wood Street
LI-200
Lexington, MA. 02420
781-981-3561
keohan at ll.mit.edu
More information about the SAP-WUG
mailing list