<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>RE: SAP_WAPI_START_WORKFLOW</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1528" name=GENERATOR>
<STYLE>font-face {
        FONT-FAMILY: "MS Mincho"
}
font-face {
        FONT-FAMILY: Tahoma
}
font-face {
        FONT-FAMILY: "@MS Mincho"
}
font-face {
        FONT-FAMILY: "MS Mincho"
}
font-face {
        FONT-FAMILY: Tahoma
}
font-face {
        FONT-FAMILY: "@MS Mincho"
}
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: blue; TEXT-DECORATION: underline
}
P {
        FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY: "Times New Roman"
}
SPAN.e-mailformatvorlage18 {
        COLOR: navy; FONT-FAMILY: Arial
}
SPAN.E-MailFormatvorlage19 {
        COLOR: navy; FONT-FAMILY: Arial
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=DE-CH vLink=blue link=blue>
<DIV dir=ltr align=left><SPAN class=851363621-15032006><FONT face=Arial
color=#0000ff size=2>Yes but you still need to use the actual ztest structure to
format the data correctly first - INT1 is a bit format - not a byte format - so
you can't just type in 000 as bytes.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=851363621-15032006><FONT face=Arial
color=#0000ff size=2>Format the data correctly first, then you can move the
formatted data to VALUE as a string. </FONT></SPAN></DIV>
<DIV> </DIV><!-- Converted from text/rtf format -->
<P><SPAN lang=en-us><FONT face=Arial size=1>Regards,</FONT></SPAN> <BR><SPAN
lang=en-us><B><FONT face=Arial color=#000080 size=1>Jocelyn
Dart</FONT></B></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080
size=1>Senior Consultant</FONT></SPAN> <BR><SPAN lang=en-us><B><FONT face=Arial
color=#808080 size=1>SAP Australia Pty Ltd.</FONT></B></SPAN> <BR><SPAN
lang=en-us><FONT face=Arial color=#808080 size=1>Level 1/168 Walker
St.</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080
size=1>North Sydney </FONT></SPAN><BR><SPAN lang=en-us><FONT face=Arial
color=#808080 size=1>NSW, 2060</FONT></SPAN> <BR><SPAN lang=en-us><FONT
face=Arial color=#808080 size=1>Australia</FONT></SPAN> <BR><SPAN
lang=en-us><FONT face=Arial color=#808080 size=1>T +61 412 390
267</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080
size=1>M + 61 412 390 267</FONT></SPAN> <BR><SPAN lang=en-us><FONT
face=Arial color=#808080 size=1>E jocelyn.dart@sap.com</FONT></SPAN>
<BR><SPAN lang=en-us><FONT face=Arial color=#808080 size=1><A
href="http://www.sap.com/">http://www.sap.com</A></FONT></SPAN> </P>
<P><SPAN lang=en-au><FONT face="Times New Roman" color=#ff0000 size=1>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. </FONT></SPAN></P>
<P><SPAN lang=en-au><FONT face="Times New Roman" color=#ff0000 size=1>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.</FONT></SPAN></P>
<P><SPAN lang=en-au><FONT face="Times New Roman" color=#ff0000 size=1>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. </FONT></SPAN></P>
<DIV> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu
[mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of </B>Reyes Diaz,
Damian<BR><B>Sent:</B> Thursday, 16 March 2006 3:29 AM<BR><B>To:</B> SAP
Workflow Users' Group<BR><B>Subject:</B> RE:
SAP_WAPI_START_WORKFLOW<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV id=idOWAReplyText40711 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>I'd like to do that but
INPUT_CONTAINER in rfm uses NAME/VALUE pairs where they both are
string.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Thanks</FONT></DIV></DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>De:</B> sap-wug-bounces@mit.edu en nombre de
Schmidinger, Heinz (Unaxis IT BZ)<BR><B>Enviado el:</B> mié 15/03/2006
15:52<BR><B>Para:</B> SAP Workflow Users' Group<BR><B>Asunto:</B> AW:
SAP_WAPI_START_WORKFLOW<BR></FONT><BR></DIV>
<DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">I think you have to
fill ZTEST-COND with the right type and ZEST-DESC with the right type and than
move the content of ztest to VALUE.</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Or do thw
container-values.</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN></FONT> </P>
<DIV>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT
face="Times New Roman" size=3><SPAN lang=DE style="FONT-SIZE: 12pt">
<HR tabIndex=-1 align=center width="100%" SIZE=3>
</SPAN></FONT></DIV>
<P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN lang=DE
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">Von:</SPAN></FONT></B><FONT
face=Tahoma size=2><SPAN lang=DE style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">
Reyes Diaz, Damian [mailto:sap-wug-bounces@mit.edu] <B><SPAN
style="FONT-WEIGHT: bold">Im Auftrag von </SPAN></B>Reyes Diaz,
Damian<BR><B><SPAN style="FONT-WEIGHT: bold">Gesendet:</SPAN></B> Mittwoch, 15.
März 2006 15:02<BR><B><SPAN style="FONT-WEIGHT: bold">An:</SPAN></B> SAP
Workflow Users' Group<BR><B><SPAN style="FONT-WEIGHT: bold">Betreff:</SPAN></B>
RE: SAP_WAPI_START_WORKFLOW</SPAN></FONT><SPAN lang=DE></SPAN></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"></SPAN></FONT> </P>
<DIV id=idOWAReplyText16904>
<DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">Using webdynpro in
java to call to rfm I get the same error.</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"></SPAN></FONT> </P></DIV></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">I've tested with an
structure with two fields of type CHAR and it works fine, so, I think that the
problem is with INT1 types.</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"></SPAN></FONT> </P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Any
suggestion?</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"></SPAN></FONT> </P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks</SPAN></FONT></P></DIV></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"></SPAN></FONT> </P>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT
face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR tabIndex=-1 align=center width="100%" SIZE=3>
</SPAN></FONT></DIV>
<P class=MsoNormal style="MARGIN-BOTTOM: 12pt"><B><FONT face=Tahoma size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">De:</SPAN></FONT></B><FONT
face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">
sap-wug-bounces@mit.edu en nombre de Schmidinger, Heinz (Unaxis IT
BZ)<BR><B><SPAN style="FONT-WEIGHT: bold">Enviado el:</SPAN></B> mié 15/03/2006
14:30<BR><B><SPAN style="FONT-WEIGHT: bold">Para:</SPAN></B> SAP Workflow Users'
Group<BR><B><SPAN style="FONT-WEIGHT: bold">Asunto:</SPAN></B> AW:
SAP_WAPI_START_WORKFLOW</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">I belive the problem is
in the testbench for values type INT1 !</SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Write a litte report
about calling the f.m !</SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"></SPAN></FONT> </P>
<DIV>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT
face="Times New Roman" size=3><SPAN lang=DE style="FONT-SIZE: 12pt">
<HR tabIndex=-1 align=center width="100%" SIZE=3>
</SPAN></FONT></DIV>
<P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN lang=DE
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">Von:</SPAN></FONT></B><FONT
face=Tahoma size=2><SPAN lang=DE style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">
Reyes Diaz, Damian [mailto:sap-wug-bounces@mit.edu] <B><SPAN
style="FONT-WEIGHT: bold">Im Auftrag von </SPAN></B>Reyes Diaz,
Damian<BR><B><SPAN style="FONT-WEIGHT: bold">Gesendet:</SPAN></B> Mittwoch, 15.
März 2006 13:32<BR><B><SPAN style="FONT-WEIGHT: bold">An:</SPAN></B> SAP
Workflow Users' Group<BR><B><SPAN style="FONT-WEIGHT: bold">Betreff:</SPAN></B>
RE: SAP_WAPI_START_WORKFLOW</SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"></SPAN></FONT> </P>
<DIV id=idOWAReplyText12098>
<DIV>
<P class=MsoNormal><FONT face=Arial color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">I don't have any code
to send. I'm testing that rfc using SE37 transaction.</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">In Input_container table,
I fill one row with these values NAME='PPP' and VALUE='000TEST', where PPP
is an element defined in workflow container with type
ZTEST.</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">ZTEST is an structure with two
fields: COD: INT1 and DESC: CHAR(40) so, I hope that PPP is filled with
values:</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">PPP.CODE =
"000"</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">PPP.DESC =
"TEST"</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">but I get
errors!!!</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"></SPAN></FONT> </P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Please, anyone could help
me?</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"></SPAN></FONT> </P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks in
advance</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"></SPAN></FONT> </P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"></SPAN></FONT> </P></DIV></DIV>
<DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"></SPAN></FONT> </P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><BR> </SPAN></FONT></P></DIV>
<DIV>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT
face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR tabIndex=-1 align=center width="100%" SIZE=3>
</SPAN></FONT></DIV></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-BOTTOM: 12pt"><B><FONT face=Tahoma size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">De:</SPAN></FONT></B><FONT
face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">
sap-wug-bounces@mit.edu en nombre de Mike Pokraka<BR><B><SPAN
style="FONT-WEIGHT: bold">Enviado el:</SPAN></B> mié 15/03/2006
11:51<BR><B><SPAN style="FONT-WEIGHT: bold">Para:</SPAN></B> SAP Workflow Users'
Group<BR><B><SPAN style="FONT-WEIGHT: bold">Asunto:</SPAN></B> RE:
SAP_WAPI_START_WORKFLOW</SPAN></FONT></P></DIV></DIV>
<DIV>
<P><FONT face="Times New Roman" size=2><SPAN style="FONT-SIZE: 10pt">Should that
not read:<BR> NAME='000TEST'<BR><BR>Sounds like an ABAP issue, maybe it
might help if you post your code.<BR><BR>Reyes Diaz, Damian wrote:<BR>>
Thanks for your comments Mike.<BR>> I have this structure: ZTEST with two
fields: CODE: INT1 and DESC:<BR>> CHAR(40).<BR>> I fill this structure
defined in workflow container in input container:<BR>> NAME=PP
VALUE=000TEST<BR>> Then, I get the following error:<BR>><BR>> ERROR
CODE: 2<BR>> ERROR_MESSAGE: Structures of type 'ZTEST' cannot be assigned
any<BR>> constants<BR>><BR>> Can anyone help me?<BR>><BR>>
Thanks<BR>><BR>><BR>> ________________________________<BR>><BR>>
De: sap-wug-bounces@mit.edu en nombre de Mike Pokraka<BR>> Enviado el: mié
15/03/2006 10:00<BR>> Para: SAP Workflow Users' Group<BR>> Asunto: Re:
SAP_WAPI_START_WORKFLOW<BR>><BR>><BR>><BR>> Hi Damian,<BR>> If
you look at the structure of INPUT_CONTAINER, you'll see it's simply<BR>>
NAME and VALUE.<BR>> NAME contains the element name as defined in the
workflow container, and<BR>> VALUE will contain the data. Anything you want
to pass to WF you simply<BR>> add to the table, that's all there is to
it.<BR>> Cheers,<BR>> Mike<BR>><BR>> Reyes Diaz, Damian
wrote:<BR>>> Hi,<BR>>><BR>>> I'm trying to start a workflow
using SAP_WAPI_START_WORKFLOW.<BR>>> Our problem is an structure defined
as mandatory import parameter in<BR>>> workflow
container.<BR>>><BR>>> We don't know how to fill structure data
using INPUT_CONTAINER.<BR>>><BR>>> Please, any
suggestion?<BR>>><BR>>> Thanks in advance<BR>>><BR>>>
_______________________________________________<BR>>> SAP-WUG mailing
list<BR>>> SAP-WUG@mit.edu<BR>>> <A
href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR>>><BR>><BR>>
_______________________________________________<BR>> SAP-WUG mailing
list<BR>> SAP-WUG@mit.edu<BR>> <A
href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR>><BR>><BR>>
_______________________________________________<BR>> SAP-WUG mailing
list<BR>> SAP-WUG@mit.edu<BR>> <A
href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR>><BR><BR>_______________________________________________<BR>SAP-WUG
mailing list<BR>SAP-WUG@mit.edu<BR><A
href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</A></SPAN></FONT></P></DIV></DIV></DIV></DIV></BODY></HTML>