<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:verdana, helvetica, sans-serif;font-size:10pt;color:#000000;"><DIV></DIV>
<DIV>Hello wugers,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I've build a workflow for approval&nbsp;of internal&nbsp;order. Once all approved, workflow should set&nbsp;order system status to REL (=released). I could not find a BAPI for that. I also tried using STATUS_CHANGE_INTERN - it does&nbsp;set status REL but it does not&nbsp;affect table COAS as if manual release carried via KO02. I also tried&nbsp;calling SAP standard perform (<!--StartFragment -->&nbsp;
<STYLE type=text/css>
SPAN {
font-family: "Courier New";
font-size: 10pt;
color: #000000;
background: #FFFFFF;
}
.L1S33 {
color: #4DA619;
}
.L1S52 {
color: #0000FF;
}
</STYLE>
<SPAN>&nbsp;&nbsp;<SPAN class=L1S52>PERFORM</SPAN>&nbsp;order_activity&nbsp;<SPAN class=L1S52>IN</SPAN>&nbsp;<SPAN class=L1S52>PROGRAM</SPAN>&nbsp;sapmkauf<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN class=L1S52>USING</SPAN>&nbsp;lv_vrgng&nbsp;<SPAN class=L1S33>'&nbsp;'</SPAN>&nbsp;<SPAN class=L1S33>'&nbsp;'</SPAN>&nbsp;ls_coas&nbsp;ls_kauf.</SPAN>&nbsp;)</DIV>
<DIV>It was better but still not identical you&nbsp;release via KO02.</DIV>
<DIV>I even tried creating BDC&nbsp;- it works in foreground but not in background since some of the controls in KO02 requires GUI session.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Any idea? I never though I'd have&nbsp;to spend so much time on such a minor issue.</DIV>
<DIV>Thanks everyone.<BR>&nbsp;</DIV>
<P><FONT color=#00007f size=2 face="verdana, helvetica, sans-serif"><STRONG>Regards,<BR>Shai Eyal</STRONG></FONT></P>
<P><FONT color=#000080 size=2 face=Verdana><STRONG>SAP Logistics senior consultant<BR>SAP Workflow &amp; BPM specialist</STRONG></FONT></P>
<P><FONT color=#000080 size=2 face=Verdana><STRONG><A href="http://www.linkedin.com/in/shaieyal" rel=nofollow target=_blank>http://www.linkedin.com/in/shaieyal</A><BR>Mobile: 972-52-5816633</STRONG></FONT></P>
<DIV></DIV></div><br>




      <hr size=1> <a href="http://sg.rd.yahoo.com/aa/mail/domainchoice/mail/signature/*http://mail.promotions.yahoo.com/newdomains/aa/"> Get your preferred Email name! </a> <br>
Now you can @ymail.com and @rocketmail.com.</body></html>