Binding Task container to Method container

Dart, Jocelyn jocelyn.dart at sap.com
Wed Feb 5 18:28:41 EST 2003


Hi Swami/Alon,
If you define appropriate parameters on the method then you should be
able to use initial values and the task to object method binding to
set up appropriate bindings.
 
If you use WORKINGWI directly then you can use the usual macros
e.g. swc_get_property in your method to read the attributes.
Otherwise you could always define your method parameters with the same
data definition as createdbyuser and actualworkitemagent and just
pass those during binding.
 
So it really shouldn't be any different than passing and using any
other parameter.
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: Alon Raskin [mailto:araskin at 3i-consulting.com]
Sent: Wednesday, 5 February 2003 5:24 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Binding Task container to Method container
 
 
Apologies for the previous blank email. I am a bit trigger happy.
 
I am not sure that the actual agent container element is available in
the method when you are executing the task. The actual agent is returned
from the task after it is executed.Why not just use SY-UNAME in the
method?
 
Regarding the 'Created by', are you talking about the person who kicked
off the workflow or are you referring to the person who created the
object (whatever it may be)?
 
Regards,
 
Alon Raskin
3i Consulting Group
e: araskin at 3i-consulting.com
w: http://www.3i-consulting.com
 
 
-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU] On Behalf Of
Swam_in
Sent: 05 February, 2003 5:43 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Binding Task container to Method container
 
Hello,
 
I am trying to get the task container variable _Woritem to the method
source
code. I declared the method container element same as workingwi ( or
same as
_workitem ). The binding between method and task looks good. All I am
trying
to do is getting the task container elements 'Created by user' & 'Actual
work item agent' over to method.
Any idea how do I make use of system container elements ?
Appreciating any suggestions.
 
Swami
 


More information about the SAP-WUG mailing list