filling new element in the container externally

Grigorenko, J. (Joury) Joury.Grigorenko at akzonobel.com
Wed Dec 5 10:24:48 EST 2001


Dear all,
 
Do not bother to answer: I solved the problem myself.
 
Regards,
 
Joury
 
-----Original Message-----
From: Grigorenko, J. (Joury)
Sent: Friday, November 30, 2001 4:52 PM
To: 'SAP Workflow Users' Group'
Subject: RE: filling new element in the container externally
 
 
Thanks Workflow experts for your suggestions,
 
It does work now. I have defined this extra element as a parameter for my
event, as Alon suggested.
 
Now I am getting the table in my task container. But I still have a
question. How can I retrive it now with my method? When I am using
swc_get_element container and swc_get_table container seem not to be
working, as well as swc_get_property.
 
Maybe you have again some golden tips?
 
Thanks beforehand,
 
Regards,
 
Joury
 
 
-----Original Message-----
From: Raskin, Alon (Soliance) [mailto:ARaskin at cps-satx.com]
Sent: Thursday, November 29, 2001 3:16 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: filling new element in the container externally
 
 
Hi Joury,
 
You need to call the swc_set_table macro with the name of the parameter on
the event (not the name of the attribute of the object). If you go to SWO1
and display the object that you are using . Select the event and hit
PARAMETERS, you should have the multi-line element declared there. If not
then you need to declare it (this can be done by extending the event using a
sub-type).
 
Also, are you calling the macro just before you raise the event? Not sure if
you need to but.... Perhaps someone else can comment on the use of this
macro.
 
swc_container_to_persistent my_container.
 
Regards,
 
Alon Raskin
Workflow Advisor - Soliance
(xtn. 3183)
 
-----Original Message-----
From: Grigorenko, J. (Joury) [mailto:Joury.Grigorenko at akzonobel.com]
Sent: November 28 2001 10:26
To: SAP-WUG at MITVMA.MIT.EDU
Subject: filling new element in the container externally
 
Dear Workflow experts,
 
Can anybody tell me how to add a new (multipleline) element to the container
table when triggering event from auser exit.
 
I am using function SWE_EVENT_CREATE and I am filling the container table
using swc_set_table macro with the attribute name which I have created in
the corresponding object. I ma also passing the value of the attribute to
the WF container using binding in the Workflow template and from there to
the task container, but when I look in the task container, there are no
values for this element.
 
What did I do wrong? Is it possible to solve this problem and how?
 
Thanks beforehand,
 
Regards,
 
Joury Grigorenko
AKZO Nobel
Information Management
 


More information about the SAP-WUG mailing list