<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>RE: SAP_WAPI_START_WORKFLOW</title>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@MS Mincho";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.E-MailFormatvorlage18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=DE-CH link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>I belive the problem is
in the testbench for values type INT1 !<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Write a litte report
about calling the f.m !<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=DE style='font-size:12.0pt'>
<hr size=3 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=DE style='font-size:
10.0pt;font-family:Tahoma;font-weight:bold'>Von:</span></font></b><font size=2
face=Tahoma><span lang=DE style='font-size:10.0pt;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> <st1:PersonName w:st="on">SAP
Workflow Users' Group</st1:PersonName><br>
<b><span style='font-weight:bold'>Betreff:</span></b> RE:
SAP_WAPI_START_WORKFLOW</span></font><span lang=DE><o:p></o:p></span></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<div id=idOWAReplyText12098>
<div>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'>I don't have any code to send. I'm
testing that rfc using SE37 transaction.</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
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><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
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><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>PPP.CODE = "000"</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>PPP.DESC = "TEST"</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>but I get errors!!!</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Please, anyone could help me?</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Thanks in advance</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
</div>
<div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
<o:p></o:p></span></font></p>
</div>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=3 width="100%" align=center tabIndex=-1>
</span></font></div>
</div>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'><b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>De:</span></font></b><font
size=2 face=Tahoma><span style='font-size:10.0pt;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> <st1:PersonName w:st="on">SAP
Workflow Users' Group</st1:PersonName><br>
<b><span style='font-weight:bold'>Asunto:</span></b> RE:
SAP_WAPI_START_WORKFLOW</span></font><o:p></o:p></p>
</div>
</div>
<div>
<p><font size=2 face="Times New Roman"><span style='font-size:10.0pt'>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: <st1:PersonName w:st="on">SAP Workflow Users' Group</st1:PersonName><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><o:p></o:p></p>
</div>
</div>
</body>
</html>