<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> </DIV>
<DIV>I've build a workflow for approval of internal order. Once all approved, workflow should set order system status to REL (=released). I could not find a BAPI for that. I also tried using STATUS_CHANGE_INTERN - it does set status REL but it does not affect table COAS as if manual release carried via KO02. I also tried calling SAP standard perform (<!--StartFragment -->
<STYLE type=text/css>
SPAN {
font-family: "Courier New";
font-size: 10pt;
color: #000000;
background: #FFFFFF;
}
.L1S33 {
color: #4DA619;
}
.L1S52 {
color: #0000FF;
}
</STYLE>
<SPAN> <SPAN class=L1S52>PERFORM</SPAN> order_activity <SPAN class=L1S52>IN</SPAN> <SPAN class=L1S52>PROGRAM</SPAN> sapmkauf<BR> <SPAN class=L1S52>USING</SPAN> lv_vrgng <SPAN class=L1S33>' '</SPAN> <SPAN class=L1S33>' '</SPAN> ls_coas ls_kauf.</SPAN> )</DIV>
<DIV>It was better but still not identical you release via KO02.</DIV>
<DIV>I even tried creating BDC - it works in foreground but not in background since some of the controls in KO02 requires GUI session.</DIV>
<DIV> </DIV>
<DIV>Any idea? I never though I'd have to spend so much time on such a minor issue.</DIV>
<DIV>Thanks everyone.<BR> </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 & 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>