How to pass a strucure whose lenght is > 256 workflow through SAP_WAPI_START_WORKFLOW

Dart, Jocelyn jocelyn.dart at sap.com
Sun Jun 26 22:21:38 EDT 2005


Hi Pramod, 
You can't use a structured table type in this way. 
Build a single row of your table, then add it to the input container
using the multline Container element name.
This is the same as filling multiline container elements with the
workflow macros - you always work at the 
table/row level - never at the field level. 
 
E.g. Assuming your multiline container element is REQDET
wa_cont-element = 'REQDET'.

wa_reqdet-itcc_num = '987'.

wa_cont-value = wa_reqdet.

APPEND wa_cont TO itab_cont.

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 pramod reddy
Sent: Saturday, 25 June 2005 2:00 AM
To: SAP Workflow Users' Group
Subject: How to pass a strucure whose lenght is > 256 workflow through
SAP_WAPI_START_WORKFLOW



Hi,

 

I couldn't pass complete sturcture as an element to 

table "INPUT_CONTAINER" 

As this can take only with value length < 256.

So how I can pass inidividul sturcture fileds to into container table
and then pass it to above mentioned function module to triggere the
workflow.

I have tired passign the values following ways. Niether are working.

--------------------------------------------

wa_cont-element = 'REQDET-ITCC_NUM'.

wa_cont-value = '987'.

APPEND wa_cont TO itab_cont.

clear wa_cont.

-------------------------------------

wa_cont-element = 'REQDET.ITCC_NUM'.

wa_cont-value = '987'.

APPEND wa_cont TO itab_cont.

clear wa_cont.

--------------------------------------

I am sure I missing the right way of passing the structure to
containers. Can anyone please help me on how this can be done.

Thanking you,

Pramod

________________________________

Yahoo! Messenger
<http://us.rd.yahoo.com/mail/uk/taglines/default/messenger/*http://uk.me
ssenger.yahoo.com>  NEW - crystal clear PC to PC calling worldwide with
voicemail
<http://us.rd.yahoo.com/mail/uk/taglines/default/messenger/*http://uk.be
ta.messenger.yahoo.com> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20050627/56725d58/attachment.htm


More information about the SAP-WUG mailing list