<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>Vali:<BR>
&nbsp;<BR>
We've done this by using the 'Delivery Block'&nbsp; field (VBAK-LIFSK). Define some new codes that will not let the Order to be used and, after the approval process, you can clear this field (if the SO was approved).<BR>
&nbsp;<BR>
The problem is that is not possible to set a delivery block automatcaly &nbsp;when the order is created, so the first <FONT>WF step is to set this value. After this, the approval process will start.</FONT><BR>
&nbsp;<BR>
Another option that I can think&nbsp;is to&nbsp;create a form with all necessary fields to create the Sales Order. Send this form to be approved and, if it is approved, create the sales order with the form data (via BAPI).<BR>
&nbsp;<BR>
Regards,<BR>
Flávio.<BR><BR><BR><BR><BR>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #008080 2px solid; MARGIN-RIGHT: 0px">
<HR id=EC_stopSpelling>
Date: Wed, 23 Aug 2006 19:52:42 +0300<BR>From: vali.ivanov@gmail.com<BR>To: sap-wug@mit.edu<BR>Subject: approve a sales order<BR><BR>
<DIV>hello,<BR>I have a question.<BR>I have to build a workflow that will approve a sales order.<BR>any ideas how can i do that ?</DIV>
<DIV>&nbsp;</DIV>
<DIV>There is not an proper event in BUS2032. It can be modified by a delegation. yes, there is no problem in these way.<BR>The problem is other, and I belive it can be extended to all kinds of 'approval' workflow that does not stand on an existing business process in this way. <BR>After a sales order is created, the user click on the save button. this will trigger the workflow, no problem until now. But, i don't want the sales order to be created until it is approved. As I know, SAP don't deal with a status management with sales order as it is the case with production order, for example. <BR>So, if an sales order will not be approved, the workflow will have to delete the sales order, and this is a behaviour that i want to avoid because the things get complicated. <BR>how can i do a sales order and not save it, so I can approve it later ? and the same problem i will have with the delivery and the invoice.... <BR>Thanks</DIV></BLOCKQUOTE><br /><hr />Get the new Windows Live Messenger! <a href='http://get.live.com/messenger/overview' target='_new'>Try it!</a></body>
</html>