multiline Event-Container Element in an ABAP-OO Event
Markus Klein
Klein at abs-team.de
Wed May 10 13:25:52 EDT 2006
Hi,
just solved it using these lines:
ls_value = 'value1'.
append ls_value to lt_value.
ls_value = 'value2'.
append ls_value to lt_value.
call method lo_event_parameters->set
exporting
name = 'element'
value = lt_value.
regrads,
Markus
______________________________________
ABS Team GmbH
SAP-Consulting, Human Capital Management
Muehlenweg 65
37120 Bovenden
Markus Klein
SAP Consultant
eMail: klein at abs-team.de
Tel.: +49 551 820 33 0
Mobil: +49 151 126 23 047
Fax: +49 551 820 33 99
www.abs-team.com <http://www.abs-team.com/>
________________________________
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Markus Klein
Sent: Wednesday, May 10, 2006 6:47 PM
To: SAP Workflow Users' Group
Subject: multiline Event-Container Element in an ABAP-OO Event
Hello,
im faceing some problems passing a multiline Element via an Event to a
Workflow. The Container Element at the started workflow just holds the
last entry.
This is the code i use:
call method cl_swf_evt_container=>get_event_container
exporting
im_objcateg = 'CL'
im_objtype = 'YCL_TEST'
im_event = 'CREATED'
receiving
re_reference = lo_event_parameters.
call method lo_event_parameters->set
exporting
name = 'element'
value = 'value1'.
call method lo_event_parameters->set
exporting
name = 'element'
value = 'value2'.
l_key = xyz.
call method cl_swf_evt_raise=>raise
exporting
im_objcateg = 'CL'
im_objtype = 'YCL_TEST'
im_objkey = l_key
im_event_container = lo_event_parameters.
How can i achive passing multiline elements over the Event container to
a workflow?
regards,
Markus
______________________________________
ABS Team GmbH
SAP-Consulting, Human Capital Management
Muehlenweg 65
37120 Bovenden
Markus Klein
SAP Consultant
eMail: klein at abs-team.de
Tel.: +49 551 820 33 0
Mobil: +49 151 126 23 047
Fax: +49 551 820 33 99
www.abs-team.com <http://www.abs-team.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20060510/1573017f/attachment.htm
More information about the SAP-WUG
mailing list