Problems when passing structure typed data into workflow container
Kjetil Kilhavn
KJETILK at statoil.com
Mon Aug 14 05:31:57 EDT 2006
You don't say if you actually have called swc_set_element 27 times. If you have, you should change your code and use swc_set_table (with a t_main internal table) instead of calling swc_set_element multiple times.
--
Kjetil Kilhavn, Statoil ØFT KTJ BAS DEV SAP
________________________________
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of Dart, Jocelyn
Sent: 14. august 2006 02:49
To: SAP Workflow Users' Group
Subject: RE: Problems when passing structure typed data into workflow container
Which release? It matters.
Regards,
Jocelyn Dart
Senior Consultant
SAP Australia Pty Ltd.
________________________________
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of Lu Luis
Sent: Saturday, 12 August 2006 10:37 PM
To: sap-wug at mit.edu
Subject: Problems when passing structure typed data into workflow container
Hi workflowers,
I'm now facing a problem when passing data of stuctured type into workflow container.
I've defined a DDIC structure named ZMAIN, and called folloing macro to build the container data of this type.
Data: ls_main type ZMAIN.
* Populate data into ls_main ......
* Then call macro:
swc_set_element container 'MAIN' ls_main.
After the the macro, multiple entries are created in the table container. However, when calling FM SAP_WAPI_START_WORKFLOW with this container, I get following error message: The single-line element 'MAIN' is passed several times ('27 times') and the FM call fails with no workflow started.
If I pass a simple type data(such as BUKRS) into the container and start the workflow, things work fine, so I guess the workflow is working fine. Can someone pls what's happenning over this issue?
Thanks in advance.
Best regards
Luis
-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorised use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20060814/90c7f567/attachment.htm
More information about the SAP-WUG
mailing list