multiline Event-Container Element in an ABAP-OO Event

Dart, Jocelyn jocelyn.dart at sap.com
Wed May 10 20:22:14 EDT 2006


Yes exactly - you should pass it as a table using a table type
definition. Well done!
 

Regards, 
Jocelyn Dart 
Senior Consultant 
SAP Australia Pty Ltd. 
Level 1/168 Walker St. 
North Sydney 
NSW, 2060 
Australia 
T   +61 412 390 267 
M   + 61 412 390 267 
E   jocelyn.dart at sap.com 
http://www.sap.com <http://www.sap.com/>  

The information contained in or attached to this electronic transmission
is confidential and may be legally privileged. It is intended only for
the person or entity to which it is addressed. If you are not the
intended recipient, you are hereby notified that any distribution,
copying, review, retransmission, dissemination or other use of this
electronic transmission or the information contained in it is strictly
prohibited. If you have received this electronic transmission in error,
please immediately contact the sender to arrange for the return of the
original documents. 

Electronic transmission cannot be guaranteed to be secure and
accordingly, the sender does not accept liability for any such data
corruption, interception, unauthorized amendment, viruses, delays or the
consequences thereof.

Any views expressed in this electronic transmission are those of the
individual sender, except where the message states otherwise and the
sender is authorized to state them to be the views of SAP AG or any of
its subsidiaries. SAP AG, its subsidiaries, and their directors,
officers and employees make no representation nor accept any liability
for the accuracy or completeness of the views or information contained
herein. Please be aware that the furnishing of any pricing information/
business proposal herein is indicative only, is subject to change and
shall not be construed as an offer or as constituting a binding
agreement on the part of SAP AG or any of its subsidiaries to enter into
any relationship, unless otherwise expressly stated. 

 

________________________________

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Markus Klein
Sent: Thursday, 11 May 2006 3:26 AM
To: SAP Workflow Users' Group
Subject: RE: multiline Event-Container Element in an ABAP-OO Event


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/20060511/07e128eb/attachment.htm


More information about the SAP-WUG mailing list